Thread: [Dev-C++] rebuild doesn't always work
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Aimee S. <Ai...@ca...> - 2003-01-28 11:26:46
|
Greetings;
We, my students and I, were working in devC++ and SOMETIMES the =
rebuild
command worked :);
other times it did not -- even when we copied the code into another =
program
-- even after exiting devC++
and restarting -- still recieving the old code.
We are working in version 4.x (something) as that was what was left to =
me
by the previous instructor.
We only create new source code -- not projects.
It's an Introductory level course -- they are having a hard enough time =
with
remembering when to use cout and cin
Please help
ta
Aimee
=20
-----Original Message-----
From: OROSZI Bal=E1zs [mailto:or...@vp...]
Sent: 28 January 2003 00:48
To: dev...@li...
Subject: Re: [Dev-C++] why dev-c++ ver. 4.9.7.9 with GCC 3.2produce so
large executable ?
Hello!
in...@se... wrote:
> dev-c++ ver. 4.9.7.9 with GCC 3.2 produce about 96,4Kb Exe
> and Dev-C++ 4.9.4.1 with GCC 2.95.3-6 produce about 4.5Kb Exe
> that is about 20 times more . is that to optimized code
> i test that with simple Windows App included with both version of =
Dev-c++
I have noticed that too, and after I took a look at the exe, I found=20
things that only debug compile does (puts source in exe). Also the =
debug=20
and optimized compile creates same sized exes. So I suppose g++ has=20
debug compile mode turned on automatically, but I will have to look=20
after it...
--
Greetings,
Bal=E1zs
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld =3D Something 2 See!
http://www.vasoftware.com
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Ioannis V. <no...@ho...> - 2003-01-28 11:57:09
|
-------Original Message-------=0D =0D From: Aimee Smith=0D Date: =D4=F1=DF=F4=E7, 28 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 1:27:34 =EC= =EC=0D To: 'OROSZI Bal=E1zs'; dev...@li...=0D Subject: [Dev-C++] rebuild doesn't always work=0D =0D Greetings;=0D We, my students and I, were working in devC++ and SOMETIMES the rebuild=0D command worked :);=0D other times it did not -- even when we copied the code into another progr= am=0D -- even after exiting devC++=0D and restarting -- still recieving the old code.=0D We are working in version 4.x (something) as that was what was left to me= =0D by the previous instructor.=0D We only create new source code -- not projects.=0D =0D =0D =3D=3D> Well better try to download the latest version.=0D =0D =0D =0D It's an Introductory level course -- they are having a hard enough time w= ith=0D remembering when to use cout and cin=0D =0D =0D =3D=3D> cout is the standard output (usually screen) and cin the standard= input (usually keyboard). The "usually" part is "always" for all kinds of PCs (although this is not required by the standard). But why do they have suc= h a confusion?=0D =0D =0D Please help=0D =0D =0D =3D=3D> Download the latest release.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Richard C. <tel...@ya...> - 2003-01-28 13:17:42
|
cout and cin are usually used for simple DOS based programs it's basically C for console, CIN = console in, (ie keyboard, what u type into command prompt) and COUT = console OUT (what is OUTput from the console/command) 28/01/03 10:56:49 PM, "Ioannis Vranos" <no...@ho...> wrote: > > > From: "Ioannis Vranos" <no...@ho...> > > To: <dev...@li...> > Subject:Re: [Dev-C++] rebuild doesn't always work > Date: Tue, 28 Jan 2003 13:56:49 +0200 (GTB Standard Time) > > > > -------Original Message------- > > From: Aimee Smith > > Date: ?????, 28 ?????????? 2003 1:27:34 ?? > To: 'OROSZI Bal?zs'; dev...@li... > > Subject: [Dev-C++] rebuild doesn't always work > > Greetings; > We, my students and I, were working in devC++ and SOMETIMES the rebuild > command worked :); > other times it did not -- even when we copied the code into another program > -- even after exiting devC++ > and restarting -- still recieving the old code. > We are working in version 4.x (something) as that was what was left to me > by the previous instructor. > We only create new source code -- not projects. > > > ==> Well better try to download the latest version. > > > > It's an Introductory level course -- they are having a hard enough time > with > remembering when to use cout and cin > > > ==> cout is the standard output (usually screen) and cin the standard input > (usually keyboard). The "usually" part is "always" for all kinds of PCs > (although this is not required by the standard). But why do they have such > a confusion? > > > Please help > > > ==> Download the latest release. > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2003-01-28 15:37:20
|
-------Original Message-------=0D =0D From: tel...@ya...=0D Date: =D4=F1=DF=F4=E7, 28 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 3:18:22 =EC= =EC=0D To: dev...@li...=0D Subject: Re: [Dev-C++] rebuild doesn't always work=0D =0D cout and cin are usually used for simple DOS based programs=0D =0D =3D=3D> ... usually used for console programs.=0D =0D =0D it's basically C for console, CIN =3D console in, (ie keyboard, what u ty= pe into command prompt)=0D and COUT =3D console OUT (what is OUTput from the console/command)=0D =0D =0D =3D=3D> There is no such meaning. The standard does not require cout to o= utput to a console (even if it exists one) or cin to read from keyboard.=0D =0D An example is a robotic arm taking commands as characters to cout. Other examples include an alarm system, a watering machine, your tv, your refrigerator.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: Per W. <pw...@ia...> - 2003-01-28 17:22:10
|
On Tue, 28 Jan 2003, Ioannis Vranos wrote: > -------Original Message------- > > From: tel...@ya... > Date: =D4=F1=DF=F4=E7, 28 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 3:18:22 =EC= =EC > To: dev...@li... > Subject: Re: [Dev-C++] rebuild doesn't always work > > cout and cin are usually used for simple DOS based programs > > =3D=3D> ... usually used for console programs. > > > it's basically C for console, CIN =3D console in, (ie keyboard, what u ty= pe > into command prompt) > and COUT =3D console OUT (what is OUTput from the console/command) > > > =3D=3D> There is no such meaning. The standard does not require cout to o= utput > to a console (even if it exists one) or cin to read from keyboard. > > An example is a robotic arm taking commands as characters to cout. Other > examples include an alarm system, a watering machine, your tv, your > refrigerator. Oops, I do hope that the robotic alarm is taking it's commands as characters from cin and not cout :-) > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2003-01-28 18:17:05
|
-------Original Message-------=0D =0D From: Per Westermark=0D Date: =D4=F1=DF=F4=E7, 28 =C9=E1=ED=EF=F5=DC=F1=E9=EF=F2 2003 7:20:59 =EC= =EC=0D To: Ioannis Vranos=0D Cc: dev...@li...=0D Subject: Re: [Dev-C++] rebuild doesn't always work=0D =0D =0D Oops, I do hope that the robotic alarm is taking it's commands as=0D characters from cin and not cout :-)=0D =0D =0D =3D=3D>Robotic arm. Example:=0D =0D cout<<'L'; // 1 move left =0D cout<<'L'<<'\0'; // 1 move left, do nothing=0D =0D cout<<"LLR";=0D =0D =0D The commands may come from anything, from cin (which may not be a keyboar= d) or taking its decisions (Lets grab him from the neck to see what happens: cout<<"LLRUUSRUDUDUD"; ). =0D =0D :)=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |