dev-cpp-users Mailing List for Dev-C++ (Page 199)
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: Alberto <ka...@em...> - 2004-07-17 13:53:13
|
Hi, I'm working on a small application project, that needs to use some small database tables. I know that wxWindows offers a database interface, but since the application needs to be often moved from a pc to another, it seems better for my needs to read/write directly on files instead of messing with ODBC. Any suggestion about a free Dbase library to read/write dbIII or dbIV files? Thanks in advance. kalb -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Hai un sito web? Allora guadagna anche tu con il Web Marketing ! * Collegati subito. Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1554&d=17-7 |
|
From: Prem V. F. R. <pre...@gm...> - 2004-07-16 23:03:06
|
Sorry I am a newbie. Where can I get the manual for configuring CVS in DEV-CPP? Thank you. prem -- I eat freedom. http://premrara.com |
|
From: Michal M. <mi...@mo...> - 2004-07-16 22:07:50
|
You have two options: a) define __GTHREAD_HIDE_WIN32API symbol (e.g. Project\Project Options\Parameters and write -D__GTHREAD_HIDE_WIN32API in C++ compiler) b) upgrade to newer MinGW where is this problem fixed You know, sometimes is useful to read Allegro documentation, especially FAQ section. jansb000 wrote: > We want to do exactly the opposite. We want to write code that compiles > out-of-the-box with DEVCPP and DJGPP. We only want to use allegro functions > and not something from Win32 specific. After all that was the reason for our > project to choose a multi-platform library like allegro. > > It appears that when we include <iostream> we automatically get a number of > Windows specifc headers (like wingdi.h). Unfortunately allegro and wingdi > both use a BITMAP structure so we cant compile our sourcecode as long as it > includes <iostream>. > > When we use the DEVPAK for Allegro 4.1.14, what type of project do we have > to choose to get an allegro-only project. I remember that in the past with > DEVCPP 4.02 and an old Allegro DEVPAK I had to select a console application, > but with the new versions of DEVCPP and allegro that options doesn't exsist > anymore. |
|
From: jansb000 <jan...@pl...> - 2004-07-16 20:43:39
|
We want to do exactly the opposite. We want to write code that compiles out-of-the-box with DEVCPP and DJGPP. We only want to use allegro functions and not something from Win32 specific. After all that was the reason for our project to choose a multi-platform library like allegro. It appears that when we include <iostream> we automatically get a number of Windows specifc headers (like wingdi.h). Unfortunately allegro and wingdi both use a BITMAP structure so we cant compile our sourcecode as long as it includes <iostream>. When we use the DEVPAK for Allegro 4.1.14, what type of project do we have to choose to get an allegro-only project. I remember that in the past with DEVCPP 4.02 and an old Allegro DEVPAK I had to select a console application, but with the new versions of DEVCPP and allegro that options doesn't exsist anymore. ----- Original Message ----- From: "Michal Molhanec" <mi...@mo...> To: "jansb000" <jan...@pl...> Cc: <dev...@li...>; <ka...@po...> Sent: Friday, July 16, 2004 12:56 AM Subject: Re: [Dev-C++] Fw: [WCS] Problem devcpp / allegro - conflicting headers > you have to include winalleg.h if you want to include any windows > specific header file, e.g.: > > #include <allegro.h> > #include <winalleg.h> > #include <wingdi.h> > > more detailed description is in the allegro manual in the "Windows > specifics" section > > jansb000 wrote: > > > One of the developers on my project on SourceForge is experiencing problems > > with devcpp in combination with the allegro devpak. It seems that the > > headerfile wingdi.h is conflicting with allegro.h > > > > Any information on this topic? > > > > ----- Original Message ----- > > From: <ka...@po...> > > To: <wcs...@li...> > > Sent: Thursday, July 15, 2004 11:11 PM > > Subject: [WCS] Problem with dev-cpp > > > > > > > >>Hey > >>I have a problem with dev-cpp and allegro. Dev-cpp is quite new tool for > > > > me and i can't understand one thing. when i'm compiling projects from WCS i > > have planty errors from allegro headers about BITMAP struct, but when i'm > > compiling any example programs from allegro everything is ok. > > > >>Beetle > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > 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 > > ================================================================ > Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen. > Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd. |
|
From: Ray K. <ray...@my...> - 2004-07-16 01:12:34
|
Please trim the irrelevant parts of the digest and change the subject line before you reply, rather than include every message that was in the last one in your post. Otherwise, your post will be several hundred lines long, most of them unrelated to the topic at hand. |
|
From: Michal M. <mi...@mo...> - 2004-07-15 22:56:09
|
you have to include winalleg.h if you want to include any windows specific header file, e.g.: #include <allegro.h> #include <winalleg.h> #include <wingdi.h> more detailed description is in the allegro manual in the "Windows specifics" section jansb000 wrote: > One of the developers on my project on SourceForge is experiencing problems > with devcpp in combination with the allegro devpak. It seems that the > headerfile wingdi.h is conflicting with allegro.h > > Any information on this topic? > > ----- Original Message ----- > From: <ka...@po...> > To: <wcs...@li...> > Sent: Thursday, July 15, 2004 11:11 PM > Subject: [WCS] Problem with dev-cpp > > > >>Hey >>I have a problem with dev-cpp and allegro. Dev-cpp is quite new tool for > > me and i can't understand one thing. when i'm compiling projects from WCS i > have planty errors from allegro headers about BITMAP struct, but when i'm > compiling any example programs from allegro everything is ok. > >>Beetle |
|
From: jansb000 <jan...@pl...> - 2004-07-15 22:15:52
|
One of the developers on my project on SourceForge is experiencing problems with devcpp in combination with the allegro devpak. It seems that the headerfile wingdi.h is conflicting with allegro.h Any information on this topic? ----- Original Message ----- From: <ka...@po...> To: <wcs...@li...> Sent: Thursday, July 15, 2004 11:11 PM Subject: [WCS] Problem with dev-cpp > Hey > I have a problem with dev-cpp and allegro. Dev-cpp is quite new tool for me and i can't understand one thing. when i'm compiling projects from WCS i have planty errors from allegro headers about BITMAP struct, but when i'm compiling any example programs from allegro everything is ok. > > Beetle > |
|
From: Scott S. <age...@co...> - 2004-07-15 21:42:12
|
I'm sorry, i forgot to add that an error message comes up after I try to close when this happens. The message says: An Unexpected Error has occurred in the application... Address: 0x0054FDAA Error message: Access violation at address 0054FDAA in module 'devcpp.exe'. Read of address 016EC028. Scott Simontis wrote: > I am working through some OpenGL tutorials, and lately Dev-C++ has > been acting a little strange. First, when I was alt+tabbing between > the tutorial and Dev-C++, Dev-C++ crashed. After this, whenever I try > to save, I get the error message, "Cannot Save main.cpp". After this > message, it says Please Wait: Parsing in progress at the bottom of the > screen. Has anyone else had this problem before? Is there some > workaround, or should I report it as a bug? > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > 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-07-15 21:32:55
|
I am working through some OpenGL tutorials, and lately Dev-C++ has been acting a little strange. First, when I was alt+tabbing between the tutorial and Dev-C++, Dev-C++ crashed. After this, whenever I try to save, I get the error message, "Cannot Save main.cpp". After this message, it says Please Wait: Parsing in progress at the bottom of the screen. Has anyone else had this problem before? Is there some workaround, or should I report it as a bug? |
|
From: David M. <dml...@co...> - 2004-07-15 13:46:50
|
One thing you should note is that programming winsock is UNIX network programming with some extra Microsoft specific additives. The BSD socket interface (UNIX network programming interface) existed long before Microsoft created winsock, the kick is winsock was designed using the BSD interface as it's basis. Ehi Ikhimiukor wrote: > Hi Gs, > Two weeks ago, I asked for links to Winsock programming tutorials. I > got several responses, and I checked them out. These are the ones I > currently found really helpful: > > http://www.ecst.csuchico.edu/~beej/guide/net/ > <http://www.ecst.csuchico.edu/%7Ebeej/guide/net/> > > http://www.hal-pc.org/~johnnie2/winsock.html > <http://www.hal-pc.org/%7Ejohnnie2/winsock.html> > The other links I got a still very relevant. I have learnt that there > is also UNIX network programming, and that network programming isn't > as daunting as I thought it was. Thanks guys for the help. |
|
From: Ehi I. <eh...@ya...> - 2004-07-15 08:26:19
|
Hi Gs, Two weeks ago, I asked for links to Winsock programming tutorials. I got several responses, and I checked them out. These are the ones I currently found really helpful: http://www.ecst.csuchico.edu/~beej/guide/net/ http://www.hal-pc.org/~johnnie2/winsock.html The other links I got a still very relevant. I have learnt that there is also UNIX network programming, and that network programming isn't as daunting as I thought it was. Thanks guys for the help. Ehi Ikhimiukor dev...@li... wrote: 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. Access Violation (Segmentation Fault) (Kenneth P. Ruppel) 2. Re: How to do WinSock programming (Ehi Ikhimiukor) 3. Re: Re: How to do WinSock programming (A. Klingenstein) 4. Re: Re: How to do WinSock programming (Gary Lawton) 5. Re: Re: How to do WinSock programming (Jesse Hallam) 6. Re: Re: How to do WinSock programming (David McKen) --__--__-- Message: 1 Date: Sun, 27 Jun 2004 02:53:44 -0400 From: "Kenneth P. Ruppel" To: Dev-C Mailing List Subject: [Dev-C++] Access Violation (Segmentation Fault) When I debug this program, I get "Warning: An Access Violation (Segmentation Fault) raised in your program." When I get this error msg, I end up in stl_construct.h. ---------------------------------------------------------------------------------------------------------------------------- int Range=0; int PreviousRange=0; vector Groupset; // subscripts/pointers to Groupset ranges ofstream DGroupset("W:\\AAAnalysis\\DGroupset.txt"); ofstream DWDRlist("W:\\AAAnalysis\\DWDRlist.txt"); .... int main() { .... if (Mtglist[i].substr(0,1) == "*") { if (Mtglist[i].size() == 8) { Groupset.push_back(Range); <=======================> Here's the stmt that yields the error. DGroupset << Range << endl; DWDRlist << Mtglist[i] << endl; PreviousRange=Range; TWDR++; } } ----------------------------------------------------------------------------------------------------------------------------- I know that you always want to see the entire program, but it is over 300 lines long, so please let's see if anyone can see anything glaringly wrong with this, okay? At the moment of error, Range = a valid integer. DGroupset is merely a disk image of the vector so I can see what's going on. I have checked if "Range" is a reserved word (it is not). I have checked if a vector needs any special handling (it does not). I have chkdsk'ed the partition. What could cause this? What are some causes a Segmentation Fault? TIA, Ken --__--__-- Message: 2 Date: Sun, 27 Jun 2004 02:15:25 -0700 (PDT) From: Ehi Ikhimiukor To: dev...@li... Subject: [Dev-C++] Re: How to do WinSock programming --0-1278108441-1088327725=:45481 Content-Type: text/plain; charset=us-ascii Hello Gs, Thanks David McKen for the reply. I appreciate it. But I gotta admit, I am a beginner programmer. Could any one give me a link to a tutorial on WinSock Programming. Thanks. dev...@li... wrote: 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: dev-cpp-4.9.9.0 (sp...@po...) 2. RE: file handling (Scott Simontis) 3. Re: How to do WinSock programming (David McKen) -- __--__-- Message: 1 Date: Sat, 26 Jun 2004 10:40:55 -0400 From: "sp...@po..." To: dev...@li... Subject: Re: [Dev-C++] dev-cpp-4.9.9.0 Guillermo Gutierrez wrote: > /Any idea when the next version w/ the latest MinGW in the installer > will be available?/ > I'm in process of creating easy upgradeable mingw packages. I can also make an alpha 4.9.9.0 if you're interested (most likely sometime this weekend). Marek Januszewski -- __--__-- Message: 2 From: "Scott Simontis" To: "'Marco Ribeiro'" , "'Eric'" Cc: Subject: RE: [Dev-C++] file handling Date: Sat, 26 Jun 2004 11:28:21 -0400 This might be a helpful link for some people: http://www.catb.org/~esr/faqs/smart-questions.html -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Marco Ribeiro Sent: Wednesday, June 30, 2004 9:22 AM To: 'Eric' Cc: dev...@li... Subject: RE: [Dev-C++] file handling Sorry Eric, but I think the propose of this mailing list is not that. I mean, my idea of it is every one should try to help the way it's = possible. Well I have always two options: 1) Try to Help 2) See the mail and not help (even if I know the answer or at least a = clue for it) But the best part is this ;) You have two options too: 1) See the mail and go to the link 2) See the mail and discard ;)=20 Well but I understand your point, so here is the text you would find in = that page: NOTE: I DID A COPY PASTE OF THE PAGE, SOME LINES MIGHT BE IN DIFFERENT ORDER!!!!=20 Hope it helps...=20 C++ Notes: Reading Text Files Reading a text file is very easy using an ifstream (input file stream).=20 Include the necessary headers.=20 #include using namespace std; Declare an input file stream (ifstream) variable. For example,=20 ifstream inFile; Open the file stream. Path names in MS Windows use backslashes (\). = Because the backslash is also the string escape character, it must be doubled. = If the full path is not given, most systems will look in the directory that contains the object program. For example,=20 inFile.open("C:\\temp\\datafile.txt"); Check that the file was opened. For example, the open fails if the file doesn't exist, or if it can't be read because another program is writing = it. A failure can be detected with code like that below using the ! (logical not) operator:=20 if (!inFile) { cerr << "Unable to open file datafile.txt"; exit(1); // call system to stop } Read from the stream in the same way as cin. For example,=20 while (inFile >> x) { sum =3D sum + x; } Close the input stream. Closing is essential for output streams to be = sure all information has been written to the disk, but is also good practice = for input streams to release system resources and make the file available = for other programs that might need to write it.=20 inFile.close(); Example The following program reads integers from a file and prints their sum. = 1=20 2=20 3=20 4=20 5=20 6=20 7=20 8=20 9=20 10=20 11=20 12=20 13=20 14=20 15=20 16=20 17=20 18=20 19=20 20=20 21=20 22=20 23=20 24=20 25=20 26=20 27=20 // io/read-file-sum.cpp - Read integers from file and print sum. // Fred Swartz 2003-08-20 #include #include #include using namespace std; int main() { int sum =3D 0; int x; ifstream inFile; =20 inFile.open("test.txt"); if (!inFile) { cout << "Unable to open file"; exit(1); // terminate with error } =20 while (inFile >> x) { sum =3D sum + x; } =20 inFile.close(); cout << "Sum =3D " << sum << endl;=20 return 0; } The text from the above example can be selected, copied, and pasted into = an editor. =20 Copyleft 2000-3 Fred Swartz Last update 2003-09-25, URL=3Dundefined -----Original Message----- From: Eric [mailto:eri...@cl...]=20 Sent: s=E1bado, 26 de Junho de 2004 10:17 To: Marco Ribeiro; 'Noorez Kassam' Cc: dev...@li... Subject: Re: [Dev-C++] file handling COULD YOU NOT INCLUDE THE PAGE WITHIN THE EMAIL SOME PEOPLE LOG ON, GET THE EMAIL AND LOG OFF. IT IS VERY ANNOYING WHEN YOU "GO TO THIS URL TO FIND YOUR ANSWER" THANKS FROM ERIC ----- Original Message ----- From: "Marco Ribeiro" To: "'Noorez Kassam'" Cc: Sent: Wednesday, June 30, 2004 11:48 AM Subject: RE: [Dev-C++] file handling Sorry about the last post :) The link http://www.fredosaurus.com/notes-cpp/io/readtextfile.html bye. Marco -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Noorez Kassam Sent: sexta-feira, 25 de Junho de 2004 22:09 To: dev...@li... Subject: [Dev-C++] file handling How can I get integers from a file. The get() method only seems to work with chars. _________________________________________________________________ STOP MORE SPAM with the MSN Premium and get 2 months FREE* http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU =3Dhtt p://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.710 / Virus Database: 466 - Release Date: 23-Jun-04 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 digital self defense, top technical experts, no vendor pitches,=20 unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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 -- __--__-- Message: 3 Date: Sat, 26 Jun 2004 17:41:32 -0400 From: David McKen To: "Mailing List, Dev-Cpp" Subject: Re: [Dev-C++] How to do WinSock programming Exactly the same. What changes is how you compile the program. Instead of adding WS2_32.LIB/WSOCK32.LIB you add -lws2_32/-lwsock32 to your linker command line. The includes, structures & functions all stay the same (the libraries also stay the same but they have slightly different file names) Ehi Ikhimiukor wrote: > Hi guys, > Can someone please tell me how to do WinSock programming with Dev C++? I > know Visual C++ syntax, but I am not sure of Dev C++'s syntax for doing > that kind of programming. Thanks. > > Ehi Ikhimiukor > > ------------------------------------------------------------------------ > Do you Yahoo!? > Yahoo! Mail > > - 50x more storage than other providers! -- __--__-- _______________________________________________ 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 --------------------------------- Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! --0-1278108441-1088327725=:45481 Content-Type: text/html; charset=us-ascii Hello Gs, Thanks David McKen for the reply. I appreciate it. But I gotta admit, I am a beginner programmer. Could any one give me a link to a tutorial on WinSock Programming. Thanks. dev...@li... wrote: 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: dev-cpp-4.9.9.0 (sp...@po...) 2. RE: file handling (Scott Simontis) 3. Re: How to do WinSock programming (David McKen) -- __--__-- Message: 1 Date: Sat, 26 Jun 2004 10:40:55 -0400 From: "sp...@po..." To: dev...@li... Subject: Re: [Dev-C++] dev-cpp-4.9.9.0 Guillermo Gutierrez wrote: > /Any idea when the next version w/ the latest MinGW in the installer > will be available?/ > I'm in process of creating easy upgradeable mingw packages. I can also make an alpha 4.9.9.0 if you're interested (most likely sometime this weekend). Marek Januszewski -- __--__-- Message: 2 From: "Scott Simontis" To: "'Marco Ribeiro'" , "'Eric'" Cc: Subject: RE: [Dev-C++] file handling Date: Sat, 26 Jun 2004 11:28:21 -0400 This might be a helpful link for some people: http://www.catb.org/~esr/faqs/smart-questions.html -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Marco Ribeiro Sent: Wednesday, June 30, 2004 9:22 AM To: 'Eric' Cc: dev...@li... Subject: RE: [Dev-C++] file handling Sorry Eric, but I think the propose of this mailing list is not that. I mean, my idea of it is every one should try to help the way it's = possible. Well I have always two options: 1) Try to Help 2) See the mail and not help (even if I know the answer or at least a = clue for it) But the best part is this ;) You have two options too: 1) See the mail and go to the link 2) See the mail and discard ;)=20 Well but I understand your point, so here is the text you would find in = that page: NOTE: I DID A COPY PASTE OF THE PAGE, SOME LINES MIGHT BE IN DIFFERENT ORDER!!!!=20 Hope it helps...=20 C++ Notes: Reading Text Files Reading a text file is very easy using an ifstream (input file stream).=20 Include the necessary headers.=20 #incl ude using namespace std; Declare an input file stream (ifstream) variable. For example,=20 ifstream inFile; Open the file stream. Path names in MS Windows use backslashes (\). = Because the backslash is also the string escape character, it must be doubled. = If the full path is not given, most systems will look in the directory that contains the object program. For example,=20 inFile.open("C:\\temp\\datafile.txt"); Check that the file was opened. For example, the open fails if the file doesn't exist, or if it can't be read because another program is writing = it. A failure can be detected with code like that below using the ! (logical not) operator:=20 if (!inFile) { cerr << "Unable to open file datafile.txt"; exit(1); // call system to stop } Read from the stream in the same way as cin. For example,=20 while (inFile >> x) { sum =3D sum + x; } Close the input stream. Closing is essentia l for output streams to be = sure all information has been written to the disk, but is also good practice = for input streams to release system resources and make the file available = for other programs that might need to write it.=20 inFile.close(); Example The following program reads integers from a file and prints their sum. = 1=20 2=20 3=20 4=20 5=20 6=20 7=20 8=20 9=20 10=20 11=20 12=20 13=20 14=20 15=20 16=20 17=20 18=20 19=20 20=20 21=20 22=20 23=20 24=20 25=20 26=20 27=20 // io/read-file-sum.cpp - Read integers from file and print sum. // Fred Swartz 2003-08-20 #include #include #include using namespace std; int main() { int sum =3D 0; int x; ifstream inFile; =20 inFile.open("test.txt"); if (!inFile) { cout << "Unable to open file"; exit(1); // terminate with error } =20 while (inFile >> x) { sum =3D sum + x; } =20 inFile.close(); cout << "Sum =3D " << sum << endl;=20 return 0; } The text from the above example can be selected, copied, and pasted into = an editor. =20 Copyleft 2000-3 Fred Swartz Last update 2003-09-25, URL=3Dundefined -----Original Message----- From: Eric [mailto:eri...@cl...]=20 Sent: s=E1bado, 26 de Junho de 2004 10:17 To: Marco Ribeiro; 'Noorez Kassam' Cc: dev...@li... Subject: Re: [Dev-C++] file handling COULD YOU NOT INCLUDE THE PAGE WITHIN THE EMAIL SOME PEOPLE LOG ON, GET THE EMAIL AND LOG OFF. IT IS VERY ANNOYING WHEN YOU "GO TO THIS URL TO FIND YOUR ANSWER" THANKS FROM ERIC ----- Original Message ----- From: "Marco Ribeiro" To: "'Noorez Kassam'" Cc: Sent: Wednesday, June 30, 2004 11:48 AM Subject: RE: [Dev-C++] file handling Sorry about the last post :) The link http://www.fredosaurus.com/notes-cpp/io/readtextfile.html bye. Marco -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Noorez Kassam Sent: sexta-feira, 25 de Junho de 2004 22:09 To: dev...@li... Subject: [Dev-C++] file handling How can I get integers from a file. The get() method only seems to work with chars. _________________________________________________________________ STOP MORE SPAM with the MSN Premium and get 2 months FREE* http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU =3Dhtt p://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.710 / Virus Database: 466 - Release Date: 23-Jun-04 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 -=20 digital self defense, top technical experts, no vendor pitches,=20 unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Dev-cpp-users mailing === message truncated === --------------------------------- Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. |
|
From: David M. <dml...@co...> - 2004-07-15 03:02:08
|
Thanks Scott Simontis wrote: > From the menu, you can go to File->New->Template. > David McKen wrote: > >> What is the best way to create a Dev-C++ project template? I have the >> source files ready. I also have a project set up. What now? >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.com >> _______________________________________________ >> 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: Pascal <p.t...@ti...> - 2004-07-14 20:10:28
|
>Message: 5 >Date: Tue, 13 Jul 2004 22:23:08 -0700 >From: David McKen <dml...@co...> >To: Dev-C++ Mailing List <dev...@li...> >Subject: [Dev-C++] Creating a template. > >What is the best way to create a Dev-C++ project template? I have the >source files ready. I also have a project set up. What now? > > > > File->NEW->TEMPLATE and now parameter what you want: -include source header -include project compilation parameter ... -include icone for template ... |
|
From: Per W. <pw...@ia...> - 2004-07-14 13:59:55
|
Probably different set of defautl compiler flags, i.e. how strict the
compiler should follow the standards and warn about extensions. You
should not try to use the reserved keyword short for anything else.
/Per W
On Wed, 14 Jul 2004, Todd Gardner wrote:
> Hello everyone,
>
> When I run this code in dev-cpp version 4.9.8.0 I received the following
> error. When I run this code in MinGW Developer Studio 2.05 eight compiles
> fine.
>
> [Code]
> #include <iostream>
> #include <stdlib.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
> int small;
> system("PAUSE");
> return 0;
> }
>
> [Error]
> int small; redeclaration of C++ built in type 'char'
>
> Why is this occurring in dev-cpp and not Min
> GW?
>
> I am running Windows 2000.
>
> Thank you,
>
> Todd
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> 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: RuneImp <ru...@im...> - 2004-07-14 12:32:45
|
Sudipto Mondal wrote:
>
>
>
>Hi, I have just downloaded Dev-C++, seem to be a nice compiler, but the moment I try to compile a programme, I don't see the result and the dos window comes for a brief time and then vanishes, why does this happen.
>
>I would also like to know where can I visit to see some basic step by step guide to use Dev-C++
>
>Thanks and regards,
>
>Sudipto
>India
>
If your compiling console apps and they don't pause or wait for input then
they will run and close. Just as if you double clicked the executable.
To stop the window you can do something like:
int main()
{
// Your code
/* pause system */
system("pause");
}
For more info check the forums
http://sourceforge.net/forum/forum.php?forum_id=48211
and mailing list archive
http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users
-=- RuneImp
ImpTech - Web Design & Hosting
http://imptech.net
ru...@im...
|
|
From: Todd G. <pi...@ea...> - 2004-07-14 10:34:49
|
Hello everyone,
When I run this code in dev-cpp version 4.9.8.0 I received the following
error. When I run this code in MinGW Developer Studio 2.05 eight compiles
fine.
[Code]
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[])
{
int small;
system("PAUSE");
return 0;
}
[Error]
int small; redeclaration of C++ built in type 'char'
Why is this occurring in dev-cpp and not Min
GW?
I am running Windows 2000.
Thank you,
Todd
|
|
From: Sudipto M. <sud...@re...> - 2004-07-14 08:44:20
|
=A0=0A =A0=0A =A0=0AHi, I have just downloaded Dev-C++, seem to be a nice = compiler, but the moment I try to compile a programme, I don't see the resu= lt and the dos window comes for a brief time and then vanishes, why does th= is happen.=0A=0AI would also like to know where can I visit to see some bas= ic step by step guide to use Dev-C++=0A=0AThanks and regards,=0A=0ASudipto= =0AIndia=0A=0A |
|
From: David M. <dml...@co...> - 2004-07-14 02:24:19
|
What is the best way to create a Dev-C++ project template? I have the source files ready. I also have a project set up. What now? |
|
From: Scott S. <age...@co...> - 2004-07-13 13:29:44
|
Im once saw n article on this... Check Windows Development magazine. THey had an article once in one of their issues. I can't be of much help, but it was one of the issues you can download. julien studzinski wrote: >hi > >i'm trying to hide the running program under windows xp, so that it put an >icon next the clock (like e.g. icq or virusscanner ...) >does anybody have a source code example in c or c++ > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.com >_______________________________________________ >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: Alf C S. <al...@st...> - 2004-07-13 09:59:22
|
When attempting to compile a gtk+2 C program I get invalid option '-std = c89' Please tell me what I have done wrong? --- Regards, Alf Stockton www.stockton.co.za No problem is so formidable that you can't just walk away from it. |
|
From: julien s. <jul...@ge...> - 2004-07-13 09:19:36
|
hi i'm trying to hide the running program under windows xp, so that it put an icon next the clock (like e.g. icq or virusscanner ...) does anybody have a source code example in c or c++ |
|
From: Pascal <p.t...@ti...> - 2004-07-13 05:37:24
|
Hello All, I have compilation erreur with the glut.h redeclaration of C++ built-in type 'wchar_t' if i disable the line '45' in the glut.h i get a compilation but the soft i'snt executable. '45' : typedef unsigned short wchar_t; Jesse Hallam Wrote : >http://www.idevgames.com/forum/showthread.php?t=5586 > > >"However, I can expect that you have either included too much (I don't >think you need to include both gl.h and glut.h, for example) or need >to put: >Code: > >extern "C" >{ >#include <glut.h> >} >" > > > >And, for reference: > http://nehe.gamedev.net/ > > > > > Yes,but where write ? extern "C" { #include <glut.h> } in the main.cpp ? or in the glut.h? why the glut.h don't make that correct include itself? there are a part of C include in glut.h and C++ include,but why the ifdef and ifndef don't work? the line "typedef unsigned short wchar_t;" was writing in the C section of glut.h, and why gcc don't make conditional compilation? |
|
From: Reinhard U. <rei...@ao...> - 2004-07-12 18:25:39
|
confirm 790853 |
|
From: Daniel K. O. <dan...@ya...> - 2004-07-11 02:58:50
|
Scott Simontis wrote: > I am a complete newbie to CVS, but think it would be a good thing to > learn. Anyways, I am trying to fogure out how to use CVS in the first > place for my Windows XP box. I tried to use cvsnt, but it was > confusing. Does anybody know of a CVS tutorial from the ground up? I would recomend: * go to www.mingw.org and download MSYS Developer Tool Kit (msysDTK-1.0.1.exe). It's a good idea to have MSYS also. * read the "Open Source Development with CVS" from http://cvsbook.red-bean.com Daniel K. O. Utinam logica falsa tuam philosophiam total suffodiant! |
|
From: Scott S. <age...@co...> - 2004-07-11 01:54:18
|
I am a complete newbie to CVS, but think it would be a good thing to learn. Anyways, I am trying to fogure out how to use CVS in the first place for my Windows XP box. I tried to use cvsnt, but it was confusing. Does anybody know of a CVS tutorial from the ground up? |