fultu
asked on
problems running simple c program
although the program is a long one
yet
the error it generates is that of the error when you run a blank file with "ctrl F9"
Linker error :unable to open file in C0.asm
yet
the error it generates is that of the error when you run a blank file with "ctrl F9"
Linker error :unable to open file in C0.asm
according to the hotkey I assume your are using a kind of borland compiler ? What do u mean with "run" and "blank file" ???
C0.asm is the startup routine that calls main I think.
So emm what do you mean by blank file?
So emm what do you mean by blank file?
C0.asm is the one which calls main(). (at least in C++ compiler...)
all these object files are linked by the compiler. at this time the linker is trying to locate main(). since there is no code, (assumed, as you told it is blank file) the linker is cribbing..
probably your code has a main() with a different signature... could you elaborate on the specific problem?
all these object files are linked by the compiler. at this time the linker is trying to locate main(). since there is no code, (assumed, as you told it is blank file) the linker is cribbing..
probably your code has a main() with a different signature... could you elaborate on the specific problem?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
by blank file I mean
you write absolutely nothing in the new file and try to compile it with ctrl F9
the error is same as is generatd when I try to run the programms that I GOt from the CD .as mentioned earlier
you write absolutely nothing in the new file and try to compile it with ctrl F9
the error is same as is generatd when I try to run the programms that I GOt from the CD .as mentioned earlier
ASKER
Adjusted points from 20 to 30
hongjun