| delorie.com/archives/browse.cgi | search |
| Message-ID: | <38C52111.D5C5C3EE@home.com> |
| From: | Robin Johnson <robbat2 AT home DOT com> |
| Organization: | Orbit Computers |
| X-Mailer: | Mozilla 4.7 [en] (Win98; U) |
| X-Accept-Language: | en,af,es |
| MIME-Version: | 1.0 |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | convert STL vector to *int |
| Lines: | 19 |
| Date: | Tue, 07 Mar 2000 15:32:14 GMT |
| NNTP-Posting-Host: | 24.113.36.103 |
| X-Complaints-To: | abuse AT home DOT net |
| X-Trace: | news1.rdc1.bc.home.com 952443134 24.113.36.103 (Tue, 07 Mar 2000 07:32:14 PST) |
| NNTP-Posting-Date: | Tue, 07 Mar 2000 07:32:14 PST |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi, I need some help trying to convert all the elements of an STL vector array <int> to an *int array, for use with the Allegro polygon function. I am currently using libgpp for the STL. I had some code that worked with TC and most real mode compilers, using a few assembler shortcuts that of course don't work in protected mode. Anybody willing to lend a hand? source: vector <int> v_list; dest: *int p_list; -- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2 AT t-p-l DOT com ICQ# : 30269588 or 41961639 Home Page : http://tesla.t-p-l.com Time Zone : Pacific Daylight (GMT - 8)
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |