| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | IBM C/C++ Tools and EMX |
On Dec 06, Jonathan de Boyne Pollard of 2:440/4 wrote:
>> I have to write a UNIX program for school, which has t
>> use the opendir(), readdir() etc functions.
JdBP> In which case, either use EMX (which I believe has lots
JdBP> of UNIX-style libraries for this sort of thing), use High
JdBP> C++ (which I know has these particular library calls
JdBP> because I have just checked), use Borland C++ (which also
JdBP> has these calls), or write your own based around
JdBP> DosFindFirst.
I have now created a dummy readdir() function, which just returns some
names I've put in an array. This way, I can write a big part of the program
without using the real opendir() and readdir() functions and test it at
home.
>> Using the EMX headers, I can compile the program, but I
>> can't get it to link correctly, because I don't know
>> exactly what libraries to use.
JdBP> NO! DO NOT DO IT!
Thank you for your explanation why not to use headers from other compilers.
I already thought there were problems like this, but I hoped somebody had a
way to do it.
Regards,
Ruud.
E-Mail: rsenden{at}cs.ruu.nl
--- Msgedsq/2 2.2e
* Origin: The OS/2 Based RS Point System. (2:512/4.2054)SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413 SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1 @PATH: 1004/2054 512/4 141/209 270/101 396/1 3615/50 229/2 @PATH: 12/2442 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.