Thread: [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: andre <bo...@wa...> - 2004-02-04 21:27:20
|
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é
|
|
From: andre <bo...@wa...> - 2004-02-04 22:31:55
|
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
>>
>
>
|
|
From: stephane w. <ste...@li...> - 2004-02-04 22:58:03
|
Try this :
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
printf("hello world, i'm not the best, yet\n");
system("PAUSE");=09
return 0;
}
-----Message d'origine-----
De=A0: dev...@li...
[mailto:dev...@li...] De la part de andre
Envoy=E9=A0: mercredi 4 f=E9vrier 2004 23:31
=C0=A0: Scott Simontis
Cc=A0: dev...@li...
Objet=A0: Re: [Dev-C++] New to C, New to dev cpp, New to the list
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=20
same error, line 2, Unable to run program file.
Here is the compilation log :
Compilateur: Default compiler
Building Makefile: "C:\devc\Makefile.win"
Ex=E9cution de make...
make.exe -f "C:\devc\Makefile.win" all
Ex=E9cution termin=E9e
Compilateur: Default compiler
Building Makefile: "C:\devc\Makefile.win"
Ex=E9cution de make clean
Ex=E9cution termin=E9e.
Thanks,
Andr=E9
Scott Simontis wrote:
> I wouldn't reccomend C. Try at least using C++ code. If you want C, =
make=20
> 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=20
> C++ console project and type in this:
>=20
> #include <cstdio>
> using namespace std;
>=20
> int main()
> {
> cout << "Hello, world!\n";
> return 0;
> }
>=20
> I would also reccomend getting a good C++ book. Get C++ From the =
Ground=20
> Up 2nd Edition if you can. It is a great book and what I am using.
> andre wrote:
>=20
>> Hi everybody,
>>
>> I can say "still new in englisg too".
>>
>> Trying my first and shorter program in C, "hello world", by cutting=20
>> 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=20
>> 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=20
>> 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=E9
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> 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
>>
>=20
>=20
-------------------------------------------------------
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
|
|
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
>>>
>>
>>
>
>
|
|
From: andre <bo...@wa...> - 2004-02-05 01:00:13
|
My first idea was that the compiler was not installed with devcpp but
after having read the manual, the web site, i always saw that mingw was
the default compiler and included in devcpp.
Alas, NO !
I just read the announcement of devcpp 4.9.8.7 and i noticed that i had
the ide's executables only. Arrrgghhhhhh.
maybe i'm not used to read devcpp website, yet. ;:).
I'm downloading the full version and the update and we'll see.
Coming back.
André.
Scott Simontis wrote:
> 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
>>>>
>>>
>>>
>>
>>
>
>
>
> -------------------------------------------------------
> 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
>
|
|
From: andre <bo...@wa...> - 2004-02-05 03:34:30
|
I uninstalled devc++, i re-downloaded 4.9.8.0, i updated it with
4.9.8.7, and i have the same problem, the same message, with devc++
examples.
It's a fresh install, out-of-the-box.
Is there something special to do ?
TIA
André
andre wrote:
> My first idea was that the compiler was not installed with devcpp but
> after having read the manual, the web site, i always saw that mingw was
> the default compiler and included in devcpp.
>
> Alas, NO !
>
> I just read the announcement of devcpp 4.9.8.7 and i noticed that i had
> the ide's executables only. Arrrgghhhhhh.
>
> maybe i'm not used to read devcpp website, yet. ;:).
>
> I'm downloading the full version and the update and we'll see.
>
> Coming back.
>
> André.
>
> Scott Simontis wrote:
>
>> 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
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> -------------------------------------------------------
>> 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
>>
>
>
>
> -------------------------------------------------------
> 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
>
|
|
From: <wa...@wa...> - 2004-02-05 04:09:17
|
On 4 Feb 2004 at 23:33, andre wrote: > I uninstalled devc++, i re-downloaded 4.9.8.0, i updated it with > 4.9.8.7, and i have the same problem, the same message, with devc++ > examples. > > It's a fresh install, out-of-the-box. > > Is there something special to do ? I've never had to do anything special to get it to run properly. I've been having e-mail issues so I haven't been following this closely. I'm probably going to ask you the same questions that other people have asked. 1. You let it install into the directory it wanted to? 2. When you re-installed, you're sure you deleted the hidden files? 3. There are no spaces in any of your directory names? 4. You did the full download that gets the compiler along with the IDE instead of just the IDE? From what I saw of the thread, your original e-mail showed an error in a .o program but the new errors are showing problems even making anything. How did you build the .o program without using make? Or did you? Watson (the pencil neck) Davis |
|
From: andre <bo...@wa...> - 2004-02-05 04:26:07
|
wa...@wa... wrote: > On 4 Feb 2004 at 23:33, andre wrote: > > >>I uninstalled devc++, i re-downloaded 4.9.8.0, i updated it with >>4.9.8.7, and i have the same problem, the same message, with devc++ >>examples. >> >>It's a fresh install, out-of-the-box. >> >>Is there something special to do ? > > > I've never had to do anything special to get it to run properly. > > I've been having e-mail issues so I haven't been following this > closely. I'm probably going to ask you the same questions that other > people have asked. > > 1. You let it install into the directory it wanted to? Yes sir > 2. When you re-installed, you're sure you deleted the hidden files? Not sure but i deleted the directory > 3. There are no spaces in any of your directory names? No sir > 4. You did the full download that gets the compiler along with the > IDE instead of just the IDE? The full download sir > >>From what I saw of the thread, your original e-mail showed an error > in a .o program but the new errors are showing problems even making > anything. How did you build the .o program without using make? Or > did you? I tried that with mingw iwth the same file but i supposed the error message is linked to my power skills in that matter. If you have an explanation i'll be happy. André > > Watson (the pencil neck) Davis > > > > ------------------------------------------------------- > 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 > |
|
From: Mats L. <mat...@to...> - 2004-02-05 12:08:43
|
From: "andre" <bo...@wa...> > > 2. When you re-installed, you're sure you deleted the hidden files? > Not sure but i deleted the directory Snipped from http://sourceforge.net/forum/message.php?msg_id=2256328 " (3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in: c:\documents and settings\username\local settings\application data You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine. " /M |
|
From: andre <bo...@wa...> - 2004-02-05 12:40:53
|
Mats Lidstrom wrote: > have XP, 2000 etc., the files ARE there. Do not answer that the files > were not on my machine. I won't answer that ;:) Everything's right now, i can compile and execute. Now i must write something... Thanks 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 > |
|
From: <wa...@wa...> - 2004-02-05 20:43:04
|
On 5 Feb 2004 at 0:25, andre wrote: > > 2. When you re-installed, you're sure you deleted the hidden files? > Not sure but i deleted the directory That's not enough. There are two hidden config files put in your local user account that you've got to remove. Go to https://sourceforge.net/forum/message.php?msg_id=2256328 and read the part on how to do re-installs. HTH. Watson (the pencil neck) Davis |
|
From: andre <bo...@wa...> - 2004-02-05 20:44:52
|
Thanks watson i received the information from Mats. Everything's right André wa...@wa... wrote: > On 5 Feb 2004 at 0:25, andre wrote: > > >>>2. When you re-installed, you're sure you deleted the hidden files? >> >>Not sure but i deleted the directory > > > That's not enough. > > There are two hidden config files put in your local user account that > you've got to remove. > > Go to https://sourceforge.net/forum/message.php?msg_id=2256328 and > read the part on how to do re-installs. > > HTH. > > Watson (the pencil neck) Davis > > |
|
From: Mats L. <mat...@to...> - 2004-02-06 18:35:48
|
----- Original Message ----- From: "andre" <bo...@wa...> > Thanks watson i received the information from Mats. > Everything's right Except that it was supposed to go to the mailing list! I wish they could fix that "Reply-To" field in the mail header! gaaaaah Anyway... here it is for anyone else that got a similar problem: Snipped from http://sourceforge.net/forum/message.php?msg_id=2256328 " (3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in: c:\documents and settings\username\local settings\application data You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine. " /M |
|
From: <wa...@wa...> - 2004-02-05 21:39:11
|
On 5 Feb 2004 at 16:44, andre wrote: > Thanks watson i received the information from Mats. > Everything's right Cool. I hadn't read Mats' e-mail before I read yours. :) And I'm sorry if I sent that e-mail to you instead of the group. This e-mail client sometimes sends to the person instead of the list and sometimes I forget to check which way it's set. Watson (the pencil neck) Davis |
|
From: Mats L. <mat...@to...> - 2004-02-06 12:41:10
|
From: <wa...@wa...> > This e-mail client sometimes sends to the person instead of the list > and sometimes I forget to check which way it's set. I think it's the mailing list script that needs some working on. The mails are missing the "Reply-To" field in the mail headers. It should say dev...@li... there. Right now it replies to whoever is on the "From" field. Very irritating on a mailing list. /M |
|
From: <wa...@wa...> - 2004-02-04 23:34:22
|
On 4 Feb 2004 at 23:57, stephane weber wrote:
> Try this :
>
>
> #include <iostream>
> #include <stdlib.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> printf("hello world, i'm not the best, yet\n");
> system("PAUSE");
> return 0;
> }
Actually, if you're wanting this to be C, then it should be rewritten
like so:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("yadda yadda yadda\n");
system("pause");
return 0;
}
The mixture of C (stdlib.h) and C++ (iostream and namespaces) is not
a good thing.
If you want this to be C++, then it should be:
#include <iostream>
#include <cstdlib>
using namespace std;
// or more appropriately using std::<whatever you're using>
int main()
{
cout << "yadda yadda yadda" << endl;
system("pause");
return 0;
}
HTH.
Watson (the pencil neck) Davis
|