dev-cpp-users Mailing List for Dev-C++ (Page 432)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ioannis V. <no...@ho...> - 2003-02-26 13:01:18
|
If you are interested in C there is only one book that is a MUST for ever= y C programmer. "The C Programming Language" Second Edition by Brian Kernigha= n - Dennis Ritchie (the creator of C). It is relatively cheap and with that y= ou will not ever need any help file regarding the C programming language (bu= t Win32 API is naturally a different thing).=0D =0D fflush(NULL); empties all outgoing streams.=0D =0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D -------Original Message-------=0D =0D From: Andr=E9 Mac=E1rio Barros=0D Date: =D4=E5=F4=DC=F1=F4=E7, 26 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 2:= 01:22 =EC=EC=0D To: Dev-Cpp-Users=0D Subject: [Dev-C++] Documentation Environment, Commands & Theory=0D =0D Gentlemen,=0D =0D Two downloadable books, please:=0D =0D 1) One for the Dev-C++ environment, functions of the menus, how to=0D compile, how click here and there, etc; and=0D =0D 2) One for the C and C++ commands in general (console only - not Windows=0D needed right now). Some days before, one student asked me how to correctl= y=0D use the old C/flushall, what header file includes it and how are the=0D remaining commands inside this header file. The old compilers, presented=0D environment and C/C++ commands and basic theory information in a on-line=0D basis, including examples. And now? How can I made this or what e-book=0D (free) can I recommned for the student to clear their questions?=0D =0D NOTE: I=B4ve already asked this some months befor, but... loose the answe= r=0D message... sorry=0D =0D Regards=0D Andre Barros=0D =0D =0D =0D =0D -------------------------------------------------------=0D This SF.net email is sponsored by: Scholarships for Techies!=0D Can't afford IT training? All 2003 ictp students receive scholarships.=0D Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.=0D www.ictp.com/training/sourceforge.asp=0D _______________________________________________=0D Dev-cpp-users mailing list=0D Dev...@li...=0D TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Robson B. <rob...@su...> - 2003-02-26 12:42:51
|
André, Bom saber que tem mais um brasileiro por aqui! ;-) Tente http://www.bloodshed.net/dev/doc/index.html que tem uns links bons lá! Um abraço, Robson Bernard |
|
From: <ama...@uo...> - 2003-02-26 11:59:35
|
Gentlemen, Two downloadable books, please: 1) One for the Dev-C++ environment, functions of the menus, how to compile, how click here and there, etc; and 2) One for the C and C++ commands in general (console only - not Windo= ws needed right now). Some days before, one student asked me how to correctl= y use the old C/flushall, what header file includes it and how are the remaining commands inside this header file. The old compilers, presented environment and C/C++ commands and basic theory information in a on-line basis, including examples. And now? How can I made this or what e-book (free) can I recommned for the student to clear their questions? NOTE: I=B4ve already asked this some months befor, but... loose the answe= r message... sorry Regards Andre Barros |
|
From: <cg...@wo...> - 2003-02-26 11:32:15
|
See if you have libconio.a and link it (with -lconio in libraries/further object files) Samuel Keding wrote: >I have include conio.h which has the clrscr() function but when I compile dev gives me an implicit declaration of a function error. What am I doing wrong? > > >_____________________________________________________________ >Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. >http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus > > >------------------------------------------------------- >This SF.net email is sponsored by: Scholarships for Techies! >Can't afford IT training? All 2003 ictp students receive scholarships. >Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. >www.ictp.com/training/sourceforge.asp >_______________________________________________ >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: Asko K. <ask...@sc...> - 2003-02-26 08:46:31
|
Hi, all! I've moved a project from MSC to DevCpp (v.4.9.7.0) and otherwise pleased, but... Is it possible to somewhere select the name of the makefile DevCpp generates for each project? What I'd like to do is release-make all my (sub)projects at one time, even though I develop them one at a time. There are some 5-6 .dev files, but since they all create/overwrite the same makefile.win, I'm unable to sketch a 'makeall' file by hand. Under MSC, they've got a feature called "batch build" (or something) that allows you to make several subprojects at one time. Also, the IDE supports having several projects open in the project tree (each having its own node). This would be a welcome feature to DevCpp as well (now there's only one project node and you need to close it if you change projects). Any suggestions? -ak |
|
From: Daniel G. <sp...@ho...> - 2003-02-26 08:23:40
|
Umm, am I missing something here?
// Forward declaration of getData
void getData(int& lengCo,int& lengGro,string& comet,string& group);
The & in this function prototype means the function accepts a reference
(changes affect the actual variable, not a copy) for those variables. So
void ChangeSpeed(int& Speed)
{
Speed = 7;
}
// In main()
int Speed = 0;
// Call ChangeSpeed
ChangeSpeed(Speed);
// Speed is now 7
If I had done
void ChangeSpeed(int Speed)
{
Speed = 7;
}
// In main()
int Speed = 0;
// Call ChangeSpeed
ChangeSpeed(Speed);
// Speed is still 0 because we only changed a copy
The * means a pointer. So
void ChangeSpeed(int* Speed)
{
// 'dereference' the pointer - act on what it is pointing to
*Speed = 7;
}
// In main()
int MySpeed = 0;
// Pointer points to MySpeed - in this case & means the address of
int* Speed = &MySpeed;
// Call ChangeSpeed
ChangeSpeed(Speed);
// MySpeed is now 7
Apologies if I have got the wrong end of the stick,
Daniel
>From: Jeeun Cho <koo...@ya...>
>To: dev c <dev...@li...>
>Subject: [Dev-C++] & and *
>Date: Tue, 25 Feb 2003 23:03:16 -0800 (PST)
>
>void
>getData(int&lengCo,int&lengGro,string&comet,string&group);
>void Convert(int lengCo,int lengGro,string
>comet,string
>group,vector<int>&ComNum,vector<int>&GroNum);
>void
>modNum(int&modCom,int&modGro,vector<int>ComNum,vector<int>GroNum,int
>lengCo,int lengGro);
>
>this is part of my program...and..as u can see, i used
>& between a data type and a changeable variable..(i
>was taught lyke that in my c++ class at school)..
>but i found out that people are using * instead of &
>for changeable variables...
>so..i chaged every & to * and compiled it, but i got
>lotta errors; when i used & and compiled, i didnt get
>any error..
>
>what should i use or do?
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Tax Center - forms, calculators, tips, more
>http://taxes.yahoo.com/
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Scholarships for Techies!
>Can't afford IT training? All 2003 ictp students receive scholarships.
>Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
>www.ictp.com/training/sourceforge.asp
>_______________________________________________
>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
_________________________________________________________________
MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
|
|
From: Jeeun C. <koo...@ya...> - 2003-02-26 07:03:17
|
void getData(int&lengCo,int&lengGro,string&comet,string&group); void Convert(int lengCo,int lengGro,string comet,string group,vector<int>&ComNum,vector<int>&GroNum); void modNum(int&modCom,int&modGro,vector<int>ComNum,vector<int>GroNum,int lengCo,int lengGro); this is part of my program...and..as u can see, i used & between a data type and a changeable variable..(i was taught lyke that in my c++ class at school).. but i found out that people are using * instead of & for changeable variables... so..i chaged every & to * and compiled it, but i got lotta errors; when i used & and compiled, i didnt get any error.. what should i use or do? __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |
|
From: Jeeun C. <koo...@ya...> - 2003-02-26 06:59:51
|
void getData(int&lengCo,int&lengGro,string&comet,string&group); void Convert(int lengCo,int lengGro,string comet,string group,vector<int>&ComNum,vector<int>&GroNum); void modNum(int&modCom,int&modGro,vector<int>ComNum,vector<int>GroNum,int lengCo,int lengGro); this is the part of my program...and...i did as i was taught in my c++ class at school..(using & when the variable is changable).. however, i found out that people are using * instead of & when i read their mails. what should i use? & or *? cuz when i chaged & to * and compiled, i got lotta errors, and when i used & and compiled, there wasn't any errors... __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |
|
From: Jasin C. <tco...@st...> - 2003-02-26 03:53:33
|
why doesn't this work like i want it to, i would just like to read and =
write to the same file but it just won't do it. but if i add this =
ios::trunc to the fstream it works just fine, the file is empty. I am =
tryin to load a text file with a list of ip's and port numbers and some =
other garbage. All i want is the ip and port numbers when finished. =
example looks like this.
example.
200.63.21.82:8080 anon. 220 bps Argentina =20
200.32.86.100:80 anon. 413 bps Argentina
etc...
formatted look.
200.63.21.82:8080
200.32.86.100:80
etc... =20
#include <iostream>
#include <fstream>
#include <string>
#include <ios>
using namespace std;
int main(int argc, char* argv[])
{
string str;
string str2;
string garbage;
=20
if(argc < 2)
{
cerr << "Usage: proxysort inputfile" << endl; // see if program =
was called right
return -1;
}
fstream file1(argv[1], ios::in|ios::out);
/* loop through the entire file
and finding just the ip,port info
deleting the rest of the line until \n=20
*/
while(file1.good())
{
file1 >> str;
getline(file1, garbage); // ignore the rest of the =
line
file1 << str << endl;
}
file1.close();
return (0);
} |
|
From: Samuel K. <ib...@ly...> - 2003-02-26 03:41:54
|
I have include conio.h which has the clrscr() function but when I compile dev gives me an implicit declaration of a function error. What am I doing wrong? _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus |
|
From: Ioannis V. <no...@ho...> - 2003-02-25 22:15:28
|
=0D =0D -------Original Message-------=0D =0D From: Pa...@ad...=0D Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 9:18:50 = =EC=EC=0D To: dev...@li...=0D Subject: [Dev-C++] help=0D =0D =0D help in unsubscribing please..=0D =0D =0D =3D=3D> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |
|
From: jo m. <non...@ho...> - 2003-02-25 20:19:46
|
Hello. Great colaborators here, as you, Ioannis. I'm learning a lot. Thank you. but... Would you mind, please, post your messages in PLAIN TEXT? (you and others). Among other considerations, I have limited mail space in my account. Sorry for bad English. Thank you once more. _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: Michel W. <mic...@fr...> - 2003-02-25 20:18:26
|
lamont a écrit: >I have wxwindows version 2.4.0 and dev cpp 4.9.7.4. I'm able to get >wxwindows compiled into a lib from the command line, but when I try to >compile an example program it fails with the following error: > >unrecognised emulation mode: windows >Supported emulations: i386pe > >I have check every option that I know of in dev cpp and the -mwindows >directive is not listed. Here are my compiler and linker options: > >compiler: -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing > -Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -DWINVER=0x400 -D__WIN95__ > -DSTRICT -D__WXDEBUG__ > I'm using these options : -D_X86_=1 -DWIN32 -DWINVER=0x0400 -D__WIN95__ -D__GNUWIN32__ -D__WIN32__ -mthreads -DSTRICT -D__WXMSW__ -D__WINDOWS__ -Wall -fno-pcc-struct-return -O2 -fno-rtti -fno-exceptions > >linker: -lwxmswd -lcomdlg32 -luser32 -lgdi32 -lole32 -lwsock32 -lcomctl32 -l >ctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -Le:\work_area >\programming\wxWindows\lib > > -lwxmswu -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lodbc32 -lwsock32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid >The project type is set to 'Win32 GUI' and here is the command line that >devcpp sends to the compiler: > >g++.exe -D__DEBUG__ 1stproject.o -o >"Project1.exe" -lwinmm -L"D:/program_files/Dev-Cpp/lib" -L"E:/work_area/prog >ramming/c++/utilLib" -L"" -mwindows -lwxmswd -lcomdlg32 -luser32 -lgdi32 -lo >le32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -lad >vapi32 -luuid -Le:/work_area/programming/wxWindows/lib -I"D:/program_files/ >Dev-Cpp/include" -I"e:/work_area/programming/wxwindows/include" -I"e:/work >_area/programming/wxwindows/lib/mswd" -fexpensive-optimizations -g3 > > >Anyone know how I can get rid of the -mwindows option? Or is there some >other problem?? thanks. > > > > >------------------------------------------------------- >This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. >The most comprehensive and flexible code editor you can use. >Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. >www.slickedit.com/sourceforge >_______________________________________________ >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: <Pa...@ad...> - 2003-02-25 19:16:52
|
help in unsubscribing please..
dev...@li... on 26/02/2003 03:11:12
Please respond to dev...@li...
To: dev...@li...
cc: (bcc: Paul Remnant/PEC/NZ)
Subject: Dev-cpp-users digest, Vol 1 #1305 - 7 msgs
Send Dev-cpp-users mailing list submissions to
dev...@li...
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
or, via email, send a message with subject or body 'help' to
dev...@li...
You can reach the person managing the list at
dev...@li...
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Dev-cpp-users digest..."
Today's Topics:
1. Re: need some explanation (Ioannis Vranos)
2. Re: Errors when compiling with STL linked (Ioannis Vranos)
3. Re: need some explanation (iad929)
4. Re: Errors when compiling with STL linked (Per Westermark)
5. Re: need some explanation (Vlada Djurovic)
6. Re: Errors when compiling with STL linked (Daniel Glenfield)
7. Re: need some explanation (Ioannis Vranos)
--__--__--
Message: 1
Date: Tue, 25 Feb 2003 15:20:19 +0200 (GTB Standard Time)
From: "Ioannis Vranos" <no...@ho...>
To: <dev...@li...>
Subject: Re: [Dev-C++] need some explanation
--------------Boundary-00=_V19VH890000000000000
Content-Type: Multipart/Alternative;
boundary="------------Boundary-00=_V19VCJD0000000000000"
--------------Boundary-00=_V19VCJD0000000000000
Content-Type: Text/Plain;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
-------Original Message-------=0D
=0D
From: Vlada Djurovic=0D
Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 10:55:58=
=F0=EC=0D
To: 'DevC++ help'=0D
Subject: [Dev-C++] need some explanation=0D
=0D
Hi, everybody=0D
I hope someone can explain this to me. When I write this:=0D
=0D
#include <iostream>=0D
#include <stdlib>=0D
=0D
using namespace std;=0D
=0D
I get error like "stdlib: No such file or directory".=0D
=0D
=0D
#include <cstdlib>=0D
=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
--------------Boundary-00=_V19VCJD0000000000000
Content-Type: Text/HTML;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
7">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID>
<X-FVER></X-FVER>
<X-FIT></X-FIT>
<X-FCOL></X-FCOL>
<X-FCAT></X-FCAT>
<X-FDIS></X-FDIS>
<X-BG>B682586A-3478-4C83-9BB6-0E0F0265D4B1</X-BG>
<X-BGT>repeat</X-BGT>
<X-BGC>#eff3f7</X-BGC>
<X-BGPX>left</X-BGPX>
<X-BGPY>0px</X-BGPY>
<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
<X-ASNF>0</X-ASNF>
<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN>
<X-ANF>0</X-ANF>
<X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP>
<X-APF>1</X-APF>
<X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: left 0px; FONT-SIZE: 12pt; MARGIN: 0p=
x 10px 10px; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial" text=3D#00005=
b bgColor=3D#eff3f7 background=3Dcid:B682586A-3478-4C83-9BB6-0E0F0265D4B1=
scroll=3Dyes SIGCOLOR=3D"0" X-ADF=3D"0" X-AD=3D"C3C52140-4147-11D4-BA3D-=
0050DAC68030" X-APF=3D"1" X-AP=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X=
-ANF=3D"0" X-AN=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ASHF=3D"1" X-A=
SH=3D"ANIM3D00-NONE-0000-0000-000000000000" X-ASNF=3D"0" X-ASN=3D"ANIM3D0=
0-NONE-0000-0000-000000000000" X-FVER=3D"2.0" X-FID=3D"BA285063-5BCE-11D4=
-AF8D-0050DAC67E11" X-FIT=3D"Letter" X-FCOL=3D"Elegant Paper" X-FCAT=3D"E=
legant Paper" X-FDIS=3D"Rice Fields" ORGYPOS=3D"0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" vAlign=3Dtop width=3D"100%">
<DIV><I>-------Original Message-------</I></DIV>
<DIV> </DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m=
ailto:dj...@im...">Vlada Djurovic</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> =D4=F1=DF=F4=
=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 10:55:58 =F0=EC</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai=
lto:dev...@li...">'DevC++ help'</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> [Dev-C++]=
need some explanation</DIV></DIV>
<DIV> </DIV>
<DIV>Hi, everybody<BR>I hope someone can explain this to me. When I write=
this:<BR><BR>#include <iostream><BR>#include <stdlib><BR><BR=
>using namespace std;<BR><BR>I get error like "stdlib: No such file or di=
rectory".</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><STRONG>#include <cstdlib></STRONG><BR></DIV>
<DIV> </DIV>
<DIV> </DIV>
<P>Ioannis Vranos<BR><BR>* Programming pages: <A href=3D"http://www.noicy=
s.freeurl.com/">http://www.noicys.freeurl.com</A><BR>* Alternative URL: <=
A href=3D"http://run.to/noicys">http://run.to/noicys</A> </P></TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE></BODY></HTML>
--------------Boundary-00=_V19VCJD0000000000000--
--------------Boundary-00=_V19VH890000000000000
Content-Type: Image/jpeg;
name="BackGrnd.jpg"
Content-ID: <B682586A-3478-4C83-9BB6-0E0F0265D4B1>
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4AIUFkb2JlAGTAAAAAAQMA
EAMCAwYAAAHbAAAC1gAABZX/2wCEABALCwsMCxAMDBAXDw0PFxsUEBAUGx8XFxcXFx8eFxoaGhoX
Hh4jJSclIx4vLzMzLy9AQEBAQEBAQEBAQEBAQEABEQ8PERMRFRISFRQRFBEUGhQWFhQaJhoaHBoa
JjAjHh4eHiMwKy4nJycuKzU1MDA1NUBAP0BAQEBAQEBAQEBAQP/CABEIAGUAcwMBIgACEQEDEQH/
xACAAAEBAQEAAAAAAAAAAAAAAAAAAQIGAQEBAAAAAAAAAAAAAAAAAAAAARABAAICAwEAAgMAAAAA
AAAAAQARIQIxQRIiQDIQMFARAAICAgIBBAIDAQEAAAAAAAERACExQVFhcYGRobECEsHhMtHxEgEA
AAAAAAAAAAAAAAAAAABQ/9oADAMBAAIRAxEAAADtRZYE1ASghQFgUZoCkKSwLmhcllAEqkSkqFAl
hUomoAS3IoJqFlDNpFEAQFE1AIVYAWIVKAJRNZpYCwVmmshKACA0CBAUCBYGwf/aAAgBAgABBQD8
B/yP/9oACAEDAAEFAPz6/or8H//aAAgBAQABBQC2+ZeHjbD+saX6hwXeDW1Rg4xLLTa+m7ZiIEsI
1MTiHP1dYpvFADiFM1/X6nq9byuwdPPz5oFofWlEMQ9ULKrWq2ppG9Y2J6INQma9lVTRdlUKgHzX
XSEECw1SYu5WsGoJPkisZYpx31GvXZQ/JM3VwShzVTsp1EZbBI8LcaUSih86+s2Zl4Wp6+lAZnVs
Dkjdku5m+lJTdXDG2SHM9M2wKX1YxsaZTTwmoVrYnqsMrM652yjs01K0mtbGAz6Y5dpfqNz06qpq
5QNjiIjiZtbhtceNuf0jyeqGgu6rXMvI4omPWbPMYzEfMI+axHnFvOP4/9oACAECAgY/AGP/2gAI
AQMCBj8AY//aAAgBAQEGPwB72Yucb1BfIhFEaeZ+xRXFQELN+HEUQdjU0Xn4g9gRCQcpw1yajGYs
P/kFvUzvjUBWrIMFHI2OJQNEAjiEEFdTmfG/MTHq5RFOnpTV3kzCBx7x4YOD1AV5uYJvnqMA0hep
jfwpYCwC4Bx3q55zeZRBCw9TkoIuHw78RdczSNH2mgqcLpRC+RASAkA3B13mcYd5mR84c/yOx4lW
tRAZ6mGDhiP9WgXVyhWA+xDgMOWGMsTg/wBTz8SjjXrP8hHIlX1MZ6mDzgc/cIV/iyN1GBR0MQMK
jnEzvvMz8mUkErKlfqU63iV+IKNH7mNZBLFQEpEDeDOV32IVn8WR4caoywqI2p695mbZzNUQIcKf
k0bo+0NpCqn7CiQiNGXkdQen1DpjGeZ7WNw3pK+I93maCPc16+Zkf6XxMCsFwAkaiIB57vc/IAhZ
/HqZBBbB0ZokAEOGxsYqBgPp8agQBu4VSMJdqx6SwDsGBrTmAR93uZGX6KePowEADAIjoX8gw459
CICaW/MLGvodQfkDW71zBxRHtB3j3jC4PMIYoAgKNfPMCQNN7jCzvlzXPopzhQvNZY3CRya9ZrEF
fRE0iCB5mscZuVYfKmAi94uE3Q8qfytQ7xD0svmFcmaxNPI8iMjh3pmF2HbzqeUi+YkiD/MrOl5L
mbwPuWVfmXpv3hDH8qAjPpiZHXkRnSd6ZhB53mejzKV6US0K9TCCLyCeIhtETX5MsHBGJkD/ANiF
kMCE2qGoCdZ8Q8AMGpYFqEhdhRIYH3CF3d1M/Mexma+4CwdQ2Ddcx0exAlmj04QUQd8QWLB/iB5G
xmEg5TENVZqPYzFV8eHAy9T/AEc8a4n3Ov6g/VwvE6lpQ4VNysXzhS8esOO8w/rlF/rypjV3B5H1
Knr8T//Z
--------------Boundary-00=_V19VH890000000000000--
--__--__--
Message: 2
Date: Tue, 25 Feb 2003 15:23:21 +0200 (GTB Standard Time)
From: "Ioannis Vranos" <no...@ho...>
To: <dev...@li...>
Subject: Re: [Dev-C++] Errors when compiling with STL linked
--------------Boundary-00=_X69V24L0000000000000
Content-Type: Multipart/Alternative;
boundary="------------Boundary-00=_X69VXFP0000000000000"
--------------Boundary-00=_X69VXFP0000000000000
Content-Type: Text/Plain;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
-------Original Message-------=0D
=0D
From: Faust, Markus=0D
Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 2:35:01 =
=EC=EC=0D
To: 'dev...@li...'=0D
Subject: [Dev-C++] Errors when compiling with STL linked=0D
=0D
Hi,=0D
=0D
When compling the file=0D
=0D
#include <iostream>=0D
#include <stdlib.h>=0D
#include <list>=0D
=0D
using namespace std;=0D
=0D
void f()=0D
{=0D
list<double> l;=0D
for (int i=3D3D0; i<1000000;i++) l.push_back(i);=0D
=0D
=0D
What is 3D0?=0D
=0D
=0D
Ioannis Vranos=0D
=0D
* Programming pages: http://www.noicys.freeurl.com=0D
* Alternative URL: http://run.to/noicys=20
--------------Boundary-00=_X69VXFP0000000000000
Content-Type: Text/HTML;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
7">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID>
<X-FVER></X-FVER>
<X-FIT></X-FIT>
<X-FCOL></X-FCOL>
<X-FCAT></X-FCAT>
<X-FDIS></X-FDIS>
<X-BG>D255FF1A-03A6-42B0-92F2-FF712E4222CE</X-BG>
<X-BGT>repeat</X-BGT>
<X-BGC>#eff3f7</X-BGC>
<X-BGPX>left</X-BGPX>
<X-BGPY>0px</X-BGPY>
<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
<X-ASNF>0</X-ASNF>
<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN>
<X-ANF>0</X-ANF>
<X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP>
<X-APF>1</X-APF>
<X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: left 0px; FONT-SIZE: 12pt; MARGIN: 0p=
x 10px 10px; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial" text=3D#00005=
b bgColor=3D#eff3f7 background=3Dcid:D255FF1A-03A6-42B0-92F2-FF712E4222CE=
scroll=3Dyes SIGCOLOR=3D"0" X-ADF=3D"0" X-AD=3D"C3C52140-4147-11D4-BA3D-=
0050DAC68030" X-APF=3D"1" X-AP=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X=
-ANF=3D"0" X-AN=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ASHF=3D"1" X-A=
SH=3D"ANIM3D00-NONE-0000-0000-000000000000" X-ASNF=3D"0" X-ASN=3D"ANIM3D0=
0-NONE-0000-0000-000000000000" X-FVER=3D"2.0" X-FID=3D"BA285063-5BCE-11D4=
-AF8D-0050DAC67E11" X-FIT=3D"Letter" X-FCOL=3D"Elegant Paper" X-FCAT=3D"E=
legant Paper" X-FDIS=3D"Rice Fields" ORGYPOS=3D"0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" vAlign=3Dtop width=3D"100%">
<P><I>-------Original Message-------</I></P>
<DIV> </DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m=
ailto:Mar...@as...">Faust, Markus</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> =D4=F1=DF=F4=
=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 2:35:01 =EC=EC</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai=
lto:dev...@li...">'dev...@li...=
=2Enet'</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> [Dev-C++]=
Errors when compiling with STL linked</DIV></DIV>
<DIV> </DIV>
<DIV>Hi,<BR><BR>When compling the file<BR><BR>#include <iostream><B=
R>#include <stdlib.h><BR>#include <list><BR><BR>using namespa=
ce std;<BR><BR>void f()<BR>{<BR>list<double> l;<BR>for (int i=3D3D0=
; i<1000000;i++) l.push_back(i);<BR></DIV>
<DIV> </DIV>
<DIV><STRONG>What is 3D0?</STRONG></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Ioannis Vranos<BR><BR>* Programming pages: <A href=3D"http://www.noi=
cys.freeurl.com/">http://www.noicys.freeurl.com</A><BR>* Alternative URL:=
<A href=3D"http://run.to/noicys">http://run.to/noicys</A> </DIV></TD></T=
R>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE></BODY></HTML>
--------------Boundary-00=_X69VXFP0000000000000--
--------------Boundary-00=_X69V24L0000000000000
Content-Type: Image/jpeg;
name="BackGrnd.jpg"
Content-ID: <D255FF1A-03A6-42B0-92F2-FF712E4222CE>
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4AIUFkb2JlAGTAAAAAAQMA
EAMCAwYAAAHbAAAC1gAABZX/2wCEABALCwsMCxAMDBAXDw0PFxsUEBAUGx8XFxcXFx8eFxoaGhoX
Hh4jJSclIx4vLzMzLy9AQEBAQEBAQEBAQEBAQEABEQ8PERMRFRISFRQRFBEUGhQWFhQaJhoaHBoa
JjAjHh4eHiMwKy4nJycuKzU1MDA1NUBAP0BAQEBAQEBAQEBAQP/CABEIAGUAcwMBIgACEQEDEQH/
xACAAAEBAQEAAAAAAAAAAAAAAAAAAQIGAQEBAAAAAAAAAAAAAAAAAAAAARABAAICAwEAAgMAAAAA
AAAAAQARIQIxQRIiQDIQMFARAAICAgIBBAIDAQEAAAAAAAERACExQVFhcYGRobECEsHhMtHxEgEA
AAAAAAAAAAAAAAAAAABQ/9oADAMBAAIRAxEAAADtRZYE1ASghQFgUZoCkKSwLmhcllAEqkSkqFAl
hUomoAS3IoJqFlDNpFEAQFE1AIVYAWIVKAJRNZpYCwVmmshKACA0CBAUCBYGwf/aAAgBAgABBQD8
B/yP/9oACAEDAAEFAPz6/or8H//aAAgBAQABBQC2+ZeHjbD+saX6hwXeDW1Rg4xLLTa+m7ZiIEsI
1MTiHP1dYpvFADiFM1/X6nq9byuwdPPz5oFofWlEMQ9ULKrWq2ppG9Y2J6INQma9lVTRdlUKgHzX
XSEECw1SYu5WsGoJPkisZYpx31GvXZQ/JM3VwShzVTsp1EZbBI8LcaUSih86+s2Zl4Wp6+lAZnVs
Dkjdku5m+lJTdXDG2SHM9M2wKX1YxsaZTTwmoVrYnqsMrM652yjs01K0mtbGAz6Y5dpfqNz06qpq
5QNjiIjiZtbhtceNuf0jyeqGgu6rXMvI4omPWbPMYzEfMI+axHnFvOP4/9oACAECAgY/AGP/2gAI
AQMCBj8AY//aAAgBAQEGPwB72Yucb1BfIhFEaeZ+xRXFQELN+HEUQdjU0Xn4g9gRCQcpw1yajGYs
P/kFvUzvjUBWrIMFHI2OJQNEAjiEEFdTmfG/MTHq5RFOnpTV3kzCBx7x4YOD1AV5uYJvnqMA0hep
jfwpYCwC4Bx3q55zeZRBCw9TkoIuHw78RdczSNH2mgqcLpRC+RASAkA3B13mcYd5mR84c/yOx4lW
tRAZ6mGDhiP9WgXVyhWA+xDgMOWGMsTg/wBTz8SjjXrP8hHIlX1MZ6mDzgc/cIV/iyN1GBR0MQMK
jnEzvvMz8mUkErKlfqU63iV+IKNH7mNZBLFQEpEDeDOV32IVn8WR4caoywqI2p695mbZzNUQIcKf
k0bo+0NpCqn7CiQiNGXkdQen1DpjGeZ7WNw3pK+I93maCPc16+Zkf6XxMCsFwAkaiIB57vc/IAhZ
/HqZBBbB0ZokAEOGxsYqBgPp8agQBu4VSMJdqx6SwDsGBrTmAR93uZGX6KePowEADAIjoX8gw459
CICaW/MLGvodQfkDW71zBxRHtB3j3jC4PMIYoAgKNfPMCQNN7jCzvlzXPopzhQvNZY3CRya9ZrEF
fRE0iCB5mscZuVYfKmAi94uE3Q8qfytQ7xD0svmFcmaxNPI8iMjh3pmF2HbzqeUi+YkiD/MrOl5L
mbwPuWVfmXpv3hDH8qAjPpiZHXkRnSd6ZhB53mejzKV6US0K9TCCLyCeIhtETX5MsHBGJkD/ANiF
kMCE2qGoCdZ8Q8AMGpYFqEhdhRIYH3CF3d1M/Mexma+4CwdQ2Ddcx0exAlmj04QUQd8QWLB/iB5G
xmEg5TENVZqPYzFV8eHAy9T/AEc8a4n3Ov6g/VwvE6lpQ4VNysXzhS8esOO8w/rlF/rypjV3B5H1
Knr8T//Z
--------------Boundary-00=_X69V24L0000000000000--
--__--__--
Message: 3
From: "iad929" <ia...@jo...>
To: "'DevC++ help'" <dev...@li...>
Subject: Re: [Dev-C++] need some explanation
Date: Tue, 4 Feb 2003 04:24:03 +0300
> #include <iostream>
> #include <stdlib>
>
#include <cstdlib>
Mohammed
--__--__--
Message: 4
Date: Tue, 25 Feb 2003 14:46:32 +0100 (CET)
From: Per Westermark <pw...@ia...>
To: Ioannis Vranos <no...@ho...>
cc: dev...@li...
Subject: Re: [Dev-C++] Errors when compiling with STL linked
A game developer :-)
/Per W
On Tue, 25 Feb 2003, Ioannis Vranos wrote:
> -------Original Message-------
>
> From: Faust, Markus
> Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 2:35:01 =
=EC=EC
> To: 'dev...@li...'
> Subject: [Dev-C++] Errors when compiling with STL linked
>
> Hi,
>
> When compling the file
>
> #include <iostream>
> #include <stdlib.h>
> #include <list>
>
> using namespace std;
>
> void f()
> {
> list<double> l;
> for (int i=3D3D0; i<1000000;i++) l.push_back(i);
>
>
> What is 3D0?
>
>
> Ioannis Vranos
>
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL: http://run.to/noicys
--__--__--
Message: 5
From: "Vlada Djurovic" <dj...@im...>
To: "Teodorescu Cristian" <te...@xt...>,
"Dev-C++ Mailing List" <dev...@li...>
Subject: Re: [Dev-C++] need some explanation
Date: Tue, 25 Feb 2003 14:57:38 +0100
I'd like to thank everybody for help. You're great, thanks!
----- Original Message -----
From: "Teodorescu Cristian" <te...@xt...>
To: "Dev-C++ Mailing List" <dev...@li...>
Sent: Wednesday, September 25, 2002 10:07 AM
Subject: Re: [Dev-C++] need some explanation
> Vlada Djurovic wrote:
>
> >Hi, everybody
> >I hope someone can explain this to me. When I write this:
> >
> >#include <iostream>
> >#include <stdlib>
> >
> >using namespace std;
> >
> >I get error like "stdlib: No such file or directory".
> >When I write like this:
> >#include <iostream>
> >#include <stdlib.h>
> >
> >using namespace std;
> >
> >everything is fine. I thought that with "using namespace" you don't have
> >specify file extension. Why does the compiler complain only about stdlib
> >without .h? Can somebody please explain this?
> >
> >
> In c++ you have libraries like <iostream> old name was <iostream.h> and
> in C++ 98 standard was renamed.
> on the other hand stdlib.h is not a c++ standard library is a C standard
> so his name remains the same because C standard has .h names
> In other words :
> iostream is a C++ stadard library
> stdlib.h is a C standard library
> becarefull at string
> <string> contains class string
> <string.h> contains C like functions for manipulating strings
> My sugestions:
> 1:Use only one set of libreries like either from C++ or from C never
> mixed up especialy when you use pointers.
> 2:Take a look at a C++ standard and the diff betwen C and C++
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> 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
>
--__--__--
Message: 6
From: "Daniel Glenfield" <sp...@ho...>
To: pw...@ia..., no...@ho...
Cc: dev...@li...
Subject: Re: [Dev-C++] Errors when compiling with STL linked
Date: Tue, 25 Feb 2003 14:17:04 +0000
lol so I'm not the only one who thought that then! Ha Ha!
>From: Per Westermark <pw...@ia...>
>To: Ioannis Vranos <no...@ho...>
>CC: dev...@li...
>Subject: Re: [Dev-C++] Errors when compiling with STL linked
>Date: Tue, 25 Feb 2003 14:46:32 +0100 (CET)
>
>A game developer :-)
>
>/Per W
>
>On Tue, 25 Feb 2003, Ioannis Vranos wrote:
>
> > -------Original Message-------
> >
> > From: Faust, Markus
> > Date: On?oc, 25 OaanioUneio 2003 2:35:01 ii
> > To: 'dev...@li...'
> > Subject: [Dev-C++] Errors when compiling with STL linked
> >
> > Hi,
> >
> > When compling the file
> >
> > #include <iostream>
> > #include <stdlib.h>
> > #include <list>
> >
> > using namespace std;
> >
> > void f()
> > {
> > list<double> l;
> > for (int i=3D0; i<1000000;i++) l.push_back(i);
> >
> >
> > What is 3D0?
> >
> >
> > Ioannis Vranos
> >
> > * Programming pages: http://www.noicys.freeurl.com
> > * Alternative URL: http://run.to/noicys
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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
_________________________________________________________________
Worried what your kids see online? Protect them better with MSN 8
http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&DI=1059
--__--__--
Message: 7
Date: Tue, 25 Feb 2003 17:10:26 +0200 (GTB Standard Time)
From: "Ioannis Vranos" <no...@ho...>
To: "Dev-C++ Mailing List" <dev...@li...>
Subject: Re: [Dev-C++] need some explanation
--------------Boundary-00=_E5EVBHK0000000000000
Content-Type: Multipart/Alternative;
boundary="------------Boundary-00=_E5EV6RO0000000000000"
--------------Boundary-00=_E5EV6RO0000000000000
Content-Type: Text/Plain;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
Actually that information is wrong. stdlib.h and cstdlib are part of the =
C++
standard (the C subset of C++ but it doesn't matter). And do not confuse =
C++
with C, they are different languages. Example:=0D
=0D
C99 code but not valid C++:=0D
=0D
#include <stddef.h>=0D
#include <stdio.h>=0D
=0D
=0D
int main()=0D
{=0D
size_t s=3D7;=0D
=0D
printf("%sz\n", s);=0D
=0D
}=0D
=0D
=0D
Even between C90 vs C++98 there are differences. For example:=0D
=0D
int main()=0D
{=0D
char s[10]=3D"0123456789";=0D
=0D
return 0; =0D
}=0D
=0D
is valid C90 but not C++.=0D
=0D
=0D
-------Original Message-------=0D
=0D
From: Vlada Djurovic=0D
Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 4:00:37 =
=EC=EC=0D
To: Teodorescu Cristian; Dev-C++ Mailing List=0D
Subject: Re: [Dev-C++] need some explanation=0D
=0D
I'd like to thank everybody for help. You're great, thanks!=0D
=0D
----- Original Message ----- =0D
From: "Teodorescu Cristian" <te...@xt...>=0D
To: "Dev-C++ Mailing List" <dev...@li...>=0D
Sent: Wednesday, September 25, 2002 10:07 AM=0D
Subject: Re: [Dev-C++] need some explanation=0D
=0D
=0D
> Vlada Djurovic wrote:=0D
> =0D
> >Hi, everybody=0D
> >I hope someone can explain this to me. When I write this:=0D
> >=0D
> >#include <iostream>=0D
> >#include <stdlib>=0D
> >=0D
> >using namespace std;=0D
> >=0D
> >I get error like "stdlib: No such file or directory".=0D
> >When I write like this:=0D
> >#include <iostream>=0D
> >#include <stdlib.h>=0D
> >=0D
> >using namespace std;=0D
> >=0D
> >everything is fine. I thought that with "using namespace" you don't ha=
ve=0D
> >specify file extension. Why does the compiler complain only about stdl=
ib=0D
> >without .h? Can somebody please explain this?=0D
> > =0D
> >=0D
> In c++ you have libraries like <iostream> old name was <iostream.h> and=
=0D
> in C++ 98 standard was renamed.=0D
> on the other hand stdlib.h is not a c++ standard library is a C standar=
d =0D
> so his name remains the same because C standard has .h names=0D
> In other words :=0D
> iostream is a C++ stadard library=0D
> stdlib.h is a C standard library=0D
> becarefull at string=0D
> <string> contains class string=0D
> <string.h> contains C like functions for manipulating strings=0D
> My sugestions:=0D
> 1:Use only one set of libreries like either from C++ or from C never =0D
> mixed up especialy when you use pointers.=0D
> 2:Take a look at a C++ standard and the diff betwen C and C++=0D
> =0D
> =0D
> =0D
> =0D
> -------------------------------------------------------=0D
> This sf.net email is sponsored by:ThinkGeek=0D
> Welcome to geek heaven.=0D
> http://thinkgeek.com/sf=0D
> _______________________________________________=0D
> Dev-cpp-users mailing list=0D
> Dev...@li...=0D
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=0D
> =0D
=0D
=0D
=0D
-------------------------------------------------------=0D
This sf.net email is sponsored by:ThinkGeek=0D
Welcome to geek heaven.=0D
http://thinkgeek.com/sf=0D
_______________________________________________=0D
Dev-cpp-users mailing list=0D
Dev...@li...=0D
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm=0D
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20
--------------Boundary-00=_E5EV6RO0000000000000
Content-Type: Text/HTML;
charset="iso-8859-7"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-=
7">
<META content=3D"IncrediMail 1.0" name=3DGENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID>
<X-FVER></X-FVER>
<X-FIT></X-FIT>
<X-FCOL></X-FCOL>
<X-FCAT></X-FCAT>
<X-FDIS></X-FDIS>
<X-BG>3001FC01-738C-4B1E-B893-36764A1C0EA8</X-BG>
<X-BGT>repeat</X-BGT>
<X-BGC>#eff3f7</X-BGC>
<X-BGPX>left</X-BGPX>
<X-BGPY>0px</X-BGPY>
<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
<X-ASNF>0</X-ASNF>
<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN>
<X-ANF>0</X-ANF>
<X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP>
<X-APF>1</X-APF>
<X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style=3D"BACKGROUND-POSITION: left 0px; FONT-SIZE: 12pt; MARGIN: 0p=
x 10px 10px; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Arial" text=3D#00005=
b bgColor=3D#eff3f7 background=3Dcid:3001FC01-738C-4B1E-B893-36764A1C0EA8=
scroll=3Dyes SIGCOLOR=3D"0" X-ADF=3D"0" X-AD=3D"C3C52140-4147-11D4-BA3D-=
0050DAC68030" X-APF=3D"1" X-AP=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X=
-ANF=3D"0" X-AN=3D"6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ASHF=3D"1" X-A=
SH=3D"ANIM3D00-NONE-0000-0000-000000000000" X-ASNF=3D"0" X-ASN=3D"ANIM3D0=
0-NONE-0000-0000-000000000000" X-FVER=3D"2.0" X-FID=3D"BA285063-5BCE-11D4=
-AF8D-0050DAC67E11" X-FIT=3D"Letter" X-FCOL=3D"Elegant Paper" X-FCAT=3D"E=
legant Paper" X-FDIS=3D"Rice Fields" ORGYPOS=3D"0">
<TABLE id=3DINCREDIMAINTABLE cellSpacing=3D0 cellPadding=3D2 width=3D"100=
%" border=3D0>
<TBODY>
<TR>
<TD id=3DINCREDITEXTREGION style=3D"FONT-SIZE: 12pt; CURSOR: auto; FONT-F=
AMILY: Arial" vAlign=3Dtop width=3D"100%">
<DIV>Actually that information is wrong. stdlib.h and cstdlib are part of=
the C++ standard (the C subset of C++ but it doesn't matter). And d=
o not confuse C++ with C, they are different languages. Example:</DIV>
<DIV> </DIV>
<DIV>C99 code but not valid C++:</DIV>
<DIV> </DIV>
<DIV>#include <stddef.h><BR>#include <stdio.h></DIV>
<DIV> </DIV>
<DIV><BR>int main()<BR>{<BR> size_t s=3D7;<BR> <BR> printf=
("%sz\n", s);<BR> <BR>}</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Even between C90 vs C++98 there are differences. For example:</=
DIV>
<DIV> </DIV>
<DIV>int main()<BR>{<BR> char s[10]=3D"0123456789";<BR> <BR>&=
nbsp; return 0; <BR>}</DIV>
<DIV> </DIV>
<DIV>is valid C90 but not C++.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV id=3DIncrediOriginalMessage><I>-------Original Message-------</I></D=
IV>
<DIV> </DIV>
<DIV id=3Dreceivestrings>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>From:</B></I> <A href=3D"m=
ailto:dj...@im...">Vlada Djurovic</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Date:</B></I> =D4=F1=DF=F4=
=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 4:00:37 =EC=EC</DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>To:</B></I> <A href=3D"mai=
lto:te...@xt...">Teodorescu Cristian</A>; <A href=3D"mailto:dev-cpp-users@=
lists.sourceforge.net">Dev-C++ Mailing List</A></DIV>
<DIV dir=3Dltr style=3D"FONT-SIZE: 11pt" <i><B>Subject:</B></I> Re: [Dev-=
C++] need some explanation</DIV></DIV>
<DIV> </DIV>I'd like to thank everybody for help. You're great, than=
ks!<BR><BR>----- Original Message ----- <BR>From: "Teodorescu Cristian" &=
lt;<A href=3D"mailto:te...@xt...">te...@xt...</A>><BR>To: "Dev-C++ Maili=
ng List" <<A href=3D"mailto:dev...@li...">dev-c=
pp-...@li...</A>><BR>Sent: Wednesday, September 25, =
2002 10:07 AM<BR>Subject: Re: [Dev-C++] need some explanation<BR><BR><BR>=
> Vlada Djurovic wrote:<BR>> <BR>> >Hi, everybody<BR>> >=
;I hope someone can explain this to me. When I write this:<BR>> ><B=
R>> >#include <iostream><BR>> >#include <stdlib><=
BR>> ><BR>> >using namespace std;<BR>> ><BR>> >I =
get error like "stdlib: No such file or directory".<BR>> >When I wr=
ite like this:<BR>> >#include <iostream><BR>> >#include=
<stdlib.h><BR>> ><BR>> >using namespace std;<BR>> &=
gt;<BR>> >everything is fine. I thought that with "using namespace"=
you don't have<BR>> >specify file extension. Why does the compiler=
complain only about stdlib<BR>> >without .h? Can somebody please e=
xplain this?<BR>> > <BR>> ><BR>> In c++ you have libraries=
like <iostream> old name was <iostream.h> and <BR>> in C+=
+ 98 standard was renamed.<BR>> on the other hand stdlib.h is not a c+=
+ standard library is a C standard <BR>> so his name remains the same =
because C standard has .h names<BR>> In other words :<BR>> iostream=
is a C++ stadard library<BR>> stdlib.h is a C standard library<BR>>=
; becarefull at string<BR>> <string> contains class string<BR>&g=
t; <string.h> contains C like functions for manipulating strings<BR=
>> My sugestions:<BR>> 1:Use only one set of libreries like either =
from C++ or from C never <BR>> mixed up especialy when you use pointer=
s.<BR>> 2:Take a look at a C++ standard and the diff betwen C and C++<=
BR>> <BR>> <BR>> <BR>> <BR>> -----------------------------=
--------------------------<BR>> This sf.net email is sponsored by:Thin=
kGeek<BR>> Welcome to geek heaven.<BR>> <A href=3D"http://thinkgeek=
=2Ecom/sf">http://thinkgeek.com/sf</A><BR>> __________________________=
_____________________<BR>> Dev-cpp-users mailing list<BR>> <A href=3D=
"mailto:Dev...@li...">Dev...@li...=
rge.net</A><BR>> TO UNSUBSCRIBE: <A href=3D"http://www.noicys.cjb.net/=
devcpp/ub.htm">http://www.noicys.cjb.net/devcpp/ub.htm</A><BR>> https:=
//lists.sourceforge.net/lists/listinfo/dev-cpp-users<BR>> <BR><BR><BR>=
<BR>-------------------------------------------------------<BR>This sf.ne=
t email is sponsored by:ThinkGeek<BR>Welcome to geek heaven.<BR><A href=3D=
"http://thinkgeek.com/sf">http://thinkgeek.com/sf</A><BR>________________=
_______________________________<BR>Dev-cpp-users mailing list<BR><A href=3D=
"mailto:Dev...@li...">Dev...@li...=
rge.net</A><BR>TO UNSUBSCRIBE: <A href=3D"http://www.noicys.cjb.net/devcp=
p/ub.htm">http://www.noicys.cjb.net/devcpp/ub.htm</A><BR>https://lists.so=
urceforge.net/lists/listinfo/dev-cpp-users </TD></TR>
<TR>
<TD id=3DINCREDIFOOTER width=3D"100%">
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%">
<TBODY>
<TR>
<TD width=3D"100%"></TD>
<TD id=3DINCREDISOUND vAlign=3Dbottom align=3Dmiddle></TD>
<TD id=3DINCREDIANIM vAlign=3Dbottom align=3Dmiddle></TD></TR></TBODY></T=
ABLE></TD></TR></TBODY></TABLE></BODY></HTML>
--------------Boundary-00=_E5EV6RO0000000000000--
--------------Boundary-00=_E5EVBHK0000000000000
Content-Type: Image/jpeg;
name="BackGrnd.jpg"
Content-ID: <3001FC01-738C-4B1E-B893-36764A1C0EA8>
Content-Transfer-Encoding: base64
/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4AIUFkb2JlAGTAAAAAAQMA
EAMCAwYAAAHbAAAC1gAABZX/2wCEABALCwsMCxAMDBAXDw0PFxsUEBAUGx8XFxcXFx8eFxoaGhoX
Hh4jJSclIx4vLzMzLy9AQEBAQEBAQEBAQEBAQEABEQ8PERMRFRISFRQRFBEUGhQWFhQaJhoaHBoa
JjAjHh4eHiMwKy4nJycuKzU1MDA1NUBAP0BAQEBAQEBAQEBAQP/CABEIAGUAcwMBIgACEQEDEQH/
xACAAAEBAQEAAAAAAAAAAAAAAAAAAQIGAQEBAAAAAAAAAAAAAAAAAAAAARABAAICAwEAAgMAAAAA
AAAAAQARIQIxQRIiQDIQMFARAAICAgIBBAIDAQEAAAAAAAERACExQVFhcYGRobECEsHhMtHxEgEA
AAAAAAAAAAAAAAAAAABQ/9oADAMBAAIRAxEAAADtRZYE1ASghQFgUZoCkKSwLmhcllAEqkSkqFAl
hUomoAS3IoJqFlDNpFEAQFE1AIVYAWIVKAJRNZpYCwVmmshKACA0CBAUCBYGwf/aAAgBAgABBQD8
B/yP/9oACAEDAAEFAPz6/or8H//aAAgBAQABBQC2+ZeHjbD+saX6hwXeDW1Rg4xLLTa+m7ZiIEsI
1MTiHP1dYpvFADiFM1/X6nq9byuwdPPz5oFofWlEMQ9ULKrWq2ppG9Y2J6INQma9lVTRdlUKgHzX
XSEECw1SYu5WsGoJPkisZYpx31GvXZQ/JM3VwShzVTsp1EZbBI8LcaUSih86+s2Zl4Wp6+lAZnVs
Dkjdku5m+lJTdXDG2SHM9M2wKX1YxsaZTTwmoVrYnqsMrM652yjs01K0mtbGAz6Y5dpfqNz06qpq
5QNjiIjiZtbhtceNuf0jyeqGgu6rXMvI4omPWbPMYzEfMI+axHnFvOP4/9oACAECAgY/AGP/2gAI
AQMCBj8AY//aAAgBAQEGPwB72Yucb1BfIhFEaeZ+xRXFQELN+HEUQdjU0Xn4g9gRCQcpw1yajGYs
P/kFvUzvjUBWrIMFHI2OJQNEAjiEEFdTmfG/MTHq5RFOnpTV3kzCBx7x4YOD1AV5uYJvnqMA0hep
jfwpYCwC4Bx3q55zeZRBCw9TkoIuHw78RdczSNH2mgqcLpRC+RASAkA3B13mcYd5mR84c/yOx4lW
tRAZ6mGDhiP9WgXVyhWA+xDgMOWGMsTg/wBTz8SjjXrP8hHIlX1MZ6mDzgc/cIV/iyN1GBR0MQMK
jnEzvvMz8mUkErKlfqU63iV+IKNH7mNZBLFQEpEDeDOV32IVn8WR4caoywqI2p695mbZzNUQIcKf
k0bo+0NpCqn7CiQiNGXkdQen1DpjGeZ7WNw3pK+I93maCPc16+Zkf6XxMCsFwAkaiIB57vc/IAhZ
/HqZBBbB0ZokAEOGxsYqBgPp8agQBu4VSMJdqx6SwDsGBrTmAR93uZGX6KePowEADAIjoX8gw459
CICaW/MLGvodQfkDW71zBxRHtB3j3jC4PMIYoAgKNfPMCQNN7jCzvlzXPopzhQvNZY3CRya9ZrEF
fRE0iCB5mscZuVYfKmAi94uE3Q8qfytQ7xD0svmFcmaxNPI8iMjh3pmF2HbzqeUi+YkiD/MrOl5L
mbwPuWVfmXpv3hDH8qAjPpiZHXkRnSd6ZhB53mejzKV6US0K9TCCLyCeIhtETX5MsHBGJkD/ANiF
kMCE2qGoCdZ8Q8AMGpYFqEhdhRIYH3CF3d1M/Mexma+4CwdQ2Ddcx0exAlmj04QUQd8QWLB/iB5G
xmEg5TENVZqPYzFV8eHAy9T/AEc8a4n3Ov6g/VwvE6lpQ4VNysXzhS8esOO8w/rlF/rypjV3B5H1
Knr8T//Z
--------------Boundary-00=_E5EVBHK0000000000000--
--__--__--
_______________________________________________
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
End of Dev-cpp-users Digest
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer
|
|
From: Asko K. <ask...@sc...> - 2003-02-25 17:54:16
|
Then at least the error message generated from this should be clearer than "__gxx_personality_v0". Or the project options should allow clearer C/C++ selection. Now the wizard actually asks it, but it didn't seem to make much difference (since I had "C project" checkbox selected and yet ended up in these trouble..) On the positive side, I got my source C++ qualified... ;) -ak Per Westermark kirjoittaa tiistaina, 25. helmikuuta 2003, kello 15:01: > But on the other hand, that would break all projects where the source > is > shared between Unix and Windows, and where the the .C extension do > signify > c++ files. I would assume that the most logical function is to keep the > case of the original files. > > I have in a number of cases seen DeveloperStudio sometimes naming > the files in upper case in the project file. > > /Per W > > On Tue, 25 Feb 2003, Asko Kauppi wrote: > >> >> Hi, all! >> >> I moved a project over from VC++ to DevCpp recently and it seems I'm >> hooked! DevCpp is simpler to use than VC++ and since it's free.. >> Great! >> :) >> >> However, there was one big problem trying to get my source compiling >> on >> DevCpp. Or rather, once solved, it was minor. >> >> The case of the filenames had changed during transportation so I had >> 'MYFILE.C' instead of 'myfile.c' (on WinXP Home running under iMac >> Virtual PC if it matters). Normally, file case does _not_ matter in >> Windows so I didn't pay attention. >> >> Compilation ok, but then I get these 'missing __gxx_personality_v0' >> linker errors. Why?!? >> >> Turns out DevCpp (or rather, gcc) thinks my source is C++ since the >> extension is an uppercase '.C'. >> This is utterly confusing to newcomers so my suggestion would be: >> >> - Always feed Windows filenames to gcc in lowercase. This will make >> DevCpp behave >> as Windows people expect, and '.cpp' etc. can still be used for C++ >> source. >> >> This way, gcc behaviour itself would not need to be modified, only >> your >> interfacing with it. >> >> Any downsides to this suggestion? >> >> -ak >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> 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: Samuel K. <ib...@ly...> - 2003-02-25 16:58:53
|
I am having trouble figuring out how to get this to link to my project. I checked the FAQ which had something about clrscr, but it must have been written for dev 4.0 because I'm not finding the options in dev that the FAQ told me to change. How do I link to conio.o so I can use clrscr()? _____________________________________________________________ Get 25MB, POP3, Spam Filtering with LYCOS MAIL PLUS for $19.95/year. http://login.mail.lycos.com/brandPage.shtml?pageId=plus&ref=lmtplus |
|
From: Daniel G. <sp...@ho...> - 2003-02-25 16:28:33
|
Many thanks Ioannis, much appreciated. >From: "Ioannis Vranos" <no...@ho...> >To: "Dev-C++ Mailing List" <dev...@li...> >Subject: [Dev-C++] ANSI/ISO C++ standard was updated! >Date: Tue, 25 Feb 2003 17:45:49 +0200 (GTB Standard Time) > > As i saw in Andrew Koenig's page (http://www.research.att.com/info/ark) >the >ANSI/ISO C++ standard has an interim update. This kind of updates occur for >all the standardised languages (for example C90 was followed by C95 and 1-2 >others) and their main purpose are bug fixes and rarely new things get >added > A list of what has changed can be downloaded at: > >http://www.research.att.com/~ark/c++std/2002/pdf/revisions.pdf > > >I remind that the next major revision of the C++ standard is called C0x >(that is it is expected so far before 2010) and will mainly consist of >standard library extensions and not many new "language" features. > >Ioannis Vranos > >* Programming pages: http://www.noicys.freeurl.com >* Alternative URL: http://run.to/noicys _________________________________________________________________ Stay in touch with MSN Messenger http://messenger.msn.co.uk |
|
From: Napoleon A. <n_a...@ya...> - 2003-02-25 16:02:23
|
Hi,
I have this program which compiles without errors but when I try to run
it displays the error message "Icon load Image failed" according to
this method :
void Icon::Load (HINSTANCE res, int id, int dx, int dy, unsigned flag)
{
_h = reinterpret_cast<HICON> (::LoadImage (
res,
MAKEINTRESOURCE (id),
IMAGE_ICON,
dx, dy,
flag));
if (_h == 0)
throw "Icon load image failed";
}
The icon image is in the directory. Another program with the same
method compiles and runs.
Thanx
Napoleon
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
|
|
From: Daniel G. <sp...@ho...> - 2003-02-25 14:17:10
|
lol so I'm not the only one who thought that then! Ha Ha!
>From: Per Westermark <pw...@ia...>
>To: Ioannis Vranos <no...@ho...>
>CC: dev...@li...
>Subject: Re: [Dev-C++] Errors when compiling with STL linked
>Date: Tue, 25 Feb 2003 14:46:32 +0100 (CET)
>
>A game developer :-)
>
>/Per W
>
>On Tue, 25 Feb 2003, Ioannis Vranos wrote:
>
> > -------Original Message-------
> >
> > From: Faust, Markus
> > Date: Ôñßôç, 25 ÖåâñïõÜñéïò 2003 2:35:01 ìì
> > To: 'dev...@li...'
> > Subject: [Dev-C++] Errors when compiling with STL linked
> >
> > Hi,
> >
> > When compling the file
> >
> > #include <iostream>
> > #include <stdlib.h>
> > #include <list>
> >
> > using namespace std;
> >
> > void f()
> > {
> > list<double> l;
> > for (int i=3D0; i<1000000;i++) l.push_back(i);
> >
> >
> > What is 3D0?
> >
> >
> > Ioannis Vranos
> >
> > * Programming pages: http://www.noicys.freeurl.com
> > * Alternative URL: http://run.to/noicys
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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
_________________________________________________________________
Worried what your kids see online? Protect them better with MSN 8
http://join.msn.com/?page=features/parental&pgmarket=en-gb&XAPID=186&DI=1059
|
|
From: Vlada D. <dj...@im...> - 2003-02-25 13:58:52
|
I'd like to thank everybody for help. You're great, thanks! ----- Original Message ----- From: "Teodorescu Cristian" <te...@xt...> To: "Dev-C++ Mailing List" <dev...@li...> Sent: Wednesday, September 25, 2002 10:07 AM Subject: Re: [Dev-C++] need some explanation > Vlada Djurovic wrote: > > >Hi, everybody > >I hope someone can explain this to me. When I write this: > > > >#include <iostream> > >#include <stdlib> > > > >using namespace std; > > > >I get error like "stdlib: No such file or directory". > >When I write like this: > >#include <iostream> > >#include <stdlib.h> > > > >using namespace std; > > > >everything is fine. I thought that with "using namespace" you don't have > >specify file extension. Why does the compiler complain only about stdlib > >without .h? Can somebody please explain this? > > > > > In c++ you have libraries like <iostream> old name was <iostream.h> and > in C++ 98 standard was renamed. > on the other hand stdlib.h is not a c++ standard library is a C standard > so his name remains the same because C standard has .h names > In other words : > iostream is a C++ stadard library > stdlib.h is a C standard library > becarefull at string > <string> contains class string > <string.h> contains C like functions for manipulating strings > My sugestions: > 1:Use only one set of libreries like either from C++ or from C never > mixed up especialy when you use pointers. > 2:Take a look at a C++ standard and the diff betwen C and C++ > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > 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: Per W. <pw...@ia...> - 2003-02-25 13:47:49
|
A game developer :-)
/Per W
On Tue, 25 Feb 2003, Ioannis Vranos wrote:
> -------Original Message-------
>
> From: Faust, Markus
> Date: =D4=F1=DF=F4=E7, 25 =D6=E5=E2=F1=EF=F5=DC=F1=E9=EF=F2 2003 2:35:01 =
=EC=EC
> To: 'dev...@li...'
> Subject: [Dev-C++] Errors when compiling with STL linked
>
> Hi,
>
> When compling the file
>
> #include <iostream>
> #include <stdlib.h>
> #include <list>
>
> using namespace std;
>
> void f()
> {
> list<double> l;
> for (int i=3D3D0; i<1000000;i++) l.push_back(i);
>
>
> What is 3D0?
>
>
> Ioannis Vranos
>
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL: http://run.to/noicys
|
|
From: iad929 <ia...@jo...> - 2003-02-25 13:38:49
|
> #include <iostream> > #include <stdlib> > #include <cstdlib> Mohammed |
|
From: <or...@vp...> - 2003-02-25 13:12:16
|
Daniel Glenfield wrote: > You can call SetDialogBKColor() in your code (well it's an MFC CWinApp > member function, so I don't know if you can use it or not). No, it is not in the Win32 API. Look for SetBKColor() instead (read the docs). -- Greetings, Balázs |
|
From: <or...@vp...> - 2003-02-25 13:09:29
|
Vlada Djurovic wrote: > #include <iostream> > #include <stdlib> > using namespace std; > I get error like "stdlib: No such file or directory". > > When I write like this: > #include <iostream> > #include <stdlib.h> > using namespace std; > > everything is fine. I thought that with "using namespace" you don't have > specify file extension. No, I think this is not correct this way. I would rather say: when you don't use extensions, you MUST use namespaces. > Why does the compiler complain only about stdlib > without .h? Can somebody please explain this? The compiler complains, because there is no "stdlib" file. "stdlib.h" instead is part of C, not C++. If you look into <MINGW_DIR>/include/c++/3.2 you won't find any stdlib or stdlib.h files. It is in /include. Another little note: If you look into <MINGW_DIR>/include/c++/3.2 you will notice, that the files there don't have extensions. They have namespaces. But in <MINGW_DIR>/include/c++/3.2/backward they have extensions (kept for backward compatibility). -- Greetings, Balázs |
|
From: Per W. <pw...@ia...> - 2003-02-25 13:02:44
|
But on the other hand, that would break all projects where the source is shared between Unix and Windows, and where the the .C extension do signify c++ files. I would assume that the most logical function is to keep the case of the original files. I have in a number of cases seen DeveloperStudio sometimes naming the files in upper case in the project file. /Per W On Tue, 25 Feb 2003, Asko Kauppi wrote: > > Hi, all! > > I moved a project over from VC++ to DevCpp recently and it seems I'm > hooked! DevCpp is simpler to use than VC++ and since it's free.. Great! > :) > > However, there was one big problem trying to get my source compiling on > DevCpp. Or rather, once solved, it was minor. > > The case of the filenames had changed during transportation so I had > 'MYFILE.C' instead of 'myfile.c' (on WinXP Home running under iMac > Virtual PC if it matters). Normally, file case does _not_ matter in > Windows so I didn't pay attention. > > Compilation ok, but then I get these 'missing __gxx_personality_v0' > linker errors. Why?!? > > Turns out DevCpp (or rather, gcc) thinks my source is C++ since the > extension is an uppercase '.C'. > This is utterly confusing to newcomers so my suggestion would be: > > - Always feed Windows filenames to gcc in lowercase. This will make > DevCpp behave > as Windows people expect, and '.cpp' etc. can still be used for C++ > source. > > This way, gcc behaviour itself would not need to be modified, only your > interfacing with it. > > Any downsides to this suggestion? > > -ak > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > 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 > |