Re: [Dev-C++] Windows XP Home edition
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Reid T. <rei...@at...> - 2004-01-22 01:31:39
|
did you define your project as a C project, or a C++ project?
stdio.h is a C header file -- cstdio is the C++ implementation of same.
Scott Simontis wrote:
> B.Alexandrov wrote:
>
>> Thank you so much for your attention! The code is simply:
>>
>> #include <stdio.h>
>> int main()
>> {
>> return 0;
>> }
>> And the message is:
>>
>> C:\DEV-C_~1\Bin\ld.exe: warning: cannot find entry symbol
>> _WinMainCRTStartup; defaulting to 00401000
>>
>> C:\DOCUME~1\BOIANA~1\LOCALS~1\Temp\ccIbdaaa.o: In function `main':
>>
>> //c/disk/source/hello.cpp:4: undefined reference to `__main'
>>
> I get no errors. I compiled it under Microsoft Visual C++ .NET./
> However, with Dev-C++ 4.9.8.5, I get an error about there being no make
> target for the .o file. I have no clue what is wrong. The only thing I
> changed was typing #include <cstdio> instead of #include <stdio.h>
>
>> */age...@co.../* wrote:
>>
>> May I see the code you are having trouble with?
>>
>> --
>> ~~Scott Simontis~~
>> Programmer
>>
>> ------------------------------------------------------------------------
>> Do you Yahoo!?
>> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>> <http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus>
>
>
>
|