Mail Archives: djgpp/2000/01/28/08:03:50
Hello,
I tried to post this message before, but it seems that it wasn't been posted
correctly 'cause it still not showing up even up to this writing...
Well, my problem is really simple, though I don't know how to fix it because I
am not sure what should be fixed...
In my case, I tried to pass 3 consecutive dots (...) to my program compiled
with djgpp (latest version)...something like:
C:\>myprog ...
I expected my argv[1] should be "..." but it wasn't...djgpp will give me just a
single dot in argv[]...I tried to pass 2 dots and 4 dots and it was working
fine ...my code is:
-----------------
int main(int argc, char **argv) {
printf("%s", argv[1]);
return 0;
};
I tried also other programs compiled with djgpp (like allegro's example
exbitmap.exe) by using:
C:\djgpp\allegro\examples\>exbitmap ...\allegro.pcx
it was able to open the file successfully (there should be an error cause the
file is not in d:\djgpp)...so I think this is not an error with my code but
with djgpp...I tried this under Windows 98 DOS box...any help would be highly
appreciated...
Thanks
Lars
- Raw text -