Re: [Dev-C++] New to C, New to dev cpp, New to the list
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Scott S. <age...@co...> - 2004-02-04 23:00:53
|
Very strange, I would try reisntalling Dev-C++. Also, try making an
executable versus a makefile.
andre wrote:
> Thanks for your quick answer.
>
> I'll follow your advice and look for a book.
>
> I tried what you suggested, startng a new C++ project, and i got the
> same error, line 2, Unable to run program file.
>
> Here is the compilation log :
>
> Compilateur: Default compiler
> Building Makefile: "C:\devc\Makefile.win"
> Exécution de make...
> make.exe -f "C:\devc\Makefile.win" all
> Exécution terminée
> Compilateur: Default compiler
> Building Makefile: "C:\devc\Makefile.win"
> Exécution de make clean
> Exécution terminée.
>
> Thanks,
> André
>
>
> Scott Simontis wrote:
>
>> I wouldn't reccomend C. Try at least using C++ code. If you want C,
>> make sure you are using the .c format or it won't work. Also, make
>> sure you created a new project. If you want to do it the C++ way,
>> create a new C++ console project and type in this:
>>
>> #include <cstdio>
>> using namespace std;
>>
>> int main()
>> {
>> cout << "Hello, world!\n";
>> return 0;
>> }
>>
>> I would also reccomend getting a good C++ book. Get C++ From the
>> Ground Up 2nd Edition if you can. It is a great book and what I am
>> using.
>> andre wrote:
>>
>>> Hi everybody,
>>>
>>> I can say "still new in englisg too".
>>>
>>> Trying my first and shorter program in C, "hello world", by cutting
>>> and pasting the source below in dev cpp manual,
>>>
>>> #include <stdio.h>
>>>
>>> main()
>>>
>>> {
>>> printf("hello world, i'm not the best, yet");
>>>
>>> }
>>>
>>> i receive the following error, pasted from the compiler's message
>>> window down devcpp main window.
>>>
>>> line File Message
>>> 2 C:\devc\2 unable to run program file.
>>>
>>> I downloaded mingw and msys
>>> I compiled my source without errors but when i try to "make" it, i
>>> have the errors below :
>>> myfile.o:1: warning: NUL character seen; rest of line ignored
>>> myfile.o:1: *** missing separator. Stop.
>>>
>>> I'm running dev-c++ 4.9.8.0
>>> Windows XP Pro SP1a
>>>
>>> TIA,
>>>
>>> André
>>>
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> The SF.Net email is sponsored by EclipseCon 2004
>>> Premiere Conference on Open Tools Development and Integration
>>> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
>>> http://www.eclipsecon.org/osdn
>>> _______________________________________________
>>> Dev-cpp-users mailing list
>>> Dev...@li...
>>> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>>> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>>>
>>
>>
>
>
|