Chat on IRC |
invalid argument with DJGPP
Posted by have_dinner [send private reply] at October 15, 2001, 05:58:53 AM
hi, all i'm trying to do is create a simple program to print something to the screen and it's saying invalid argument.
#include <iostream.h> int main() { cout << "test"; return 0; } The errors are as follows: Compiling: project1.cpp no errors Creating: project1.exe The error was: Invalid argument (EINVAL) no errors Any help here??
Posted by taubz [send private reply] at October 15, 2001, 06:44:44 PM
How are you running djgpp to compile it? I think that means there's a bad command line argument.
Posted by have_dinner [send private reply] at October 15, 2001, 06:59:15 PM
hey, it's cool now, i worked it out, it meant that it could not rename a file... and i've singled it down to windows ME. anyway, i'm using the rhide compiler... so like, i click the [build all] button from the menu and it gets to the [make] part.. and returns that error... but it's all good i've worked it out... thanks anyway guys :)!
Posted by sphinX [send private reply] at October 15, 2001, 08:57:25 PM
you obviously mean the rhide interface, not the rhide compiler, gcc is the compiler. i know it's pedantic, but if a newbie was to read that they might get confused.
sphinX (the let's-get-things-exactly-right patrol) :-))
Posted by Setherd123 [send private reply] at October 17, 2001, 07:11:37 AM
What happened with learning Perl? :P
Posted by have_dinner [send private reply] at October 18, 2001, 05:59:36 AM
taht's happening in the background... i've just foudn someone at work to direct my queries to there... and while i'm slowly slowly learning perl, i thought, hey, c++ is a "powerful" language... so why not
Register as a new user | ||||||||