dev-cpp-users Mailing List for Dev-C++ (Page 176)
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: <adm...@yd...> - 2004-10-17 17:30:19
|
McAfee GroupShield=C2=99 Alert=20 McAfee GroupShield discovered a problem with the following email. See your system administrator for further information.=20 Date/Time sent: 17 oct 2004 19:30:10 Subject line: [Dev-C++] failure notice From: dev...@li... To: dev...@li... Action taken: Deleted Virus: W32/Bagle.ai@MM Copyright =C2=A9 1993-2003, Networks Associates Technology, Inc. All Rights Reserved. http://www.mcafeesecurity.com <http://www.mcafeesecurity.com/> =20 -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Per W. <pw...@ia...> - 2004-10-17 14:00:06
|
If you do -llibname, gcc will look for a file named liblibname.a. If you want to link something else, you can just specify the full file name on the command line, in the same way you supply the object files. /Per W On Sun, 17 Oct 2004, [koi8-r] =F3=D4=C1=CE=C9=D3=CC=C1=D7 =E0=C4=C9=CE wrot= e: > > Do I need to pass some magic keys to gcc, or it's just "-L\path\to > -llibname"? > And yes, It's C library. > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Daniel K. O. > > Sent: Saturday, October 16, 2004 4:08 PM > > To: Benjamin Lau > > Cc: dev...@li... > > Subject: Re: [Dev-C++] LIB files and Dev-C++ (=F3=D4=C1=CE=C9=D3=CC=C1= =D7 =E0=C4=C9=CE) > > [skip] > > > It also accepts .lib, .dll and even .exe (if you create an > > executable that exports functions) files. But only if it's a > > C library; the C++ code generated by g++ and vc++ are incompatible. > > > > > > Daniel K. O. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out mo= re > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > 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: Daniel K. O. <dan...@ya...> - 2004-10-17 13:53:02
|
Станислав Юдин wrote: >Do I need to pass some magic keys to gcc, or it's just "-L\path\to >-llibname"? > > If the lib is in your lib dir, and is in the format "libwhatever.a", you just need "-lwhatever". For everything else you add the complete path to the file (using the "Add library or object" button). Daniel K. O. |
|
From: <de...@in...> - 2004-10-17 13:04:48
|
Do I need to pass some magic keys to gcc, or it's just "-L\path\to -llibname"? And yes, It's C library. =20 > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Daniel K. O. > Sent: Saturday, October 16, 2004 4:08 PM > To: Benjamin Lau > Cc: dev...@li... > Subject: Re: [Dev-C++] LIB files and Dev-C++ = (=F3=D4=C1=CE=C9=D3=CC=C1=D7 =E0=C4=C9=CE) [skip] > It also accepts .lib, .dll and even .exe (if you create an=20 > executable that exports functions) files. But only if it's a=20 > C library; the C++ code generated by g++ and vc++ are incompatible. >=20 >=20 > Daniel K. O. >=20 |
|
From: <wa...@wa...> - 2004-10-17 04:26:51
|
On 17 Oct 2004 at 5:50, =DF =F6 R N L =EB G =EB N =D0 wrote:
> Respected Sir
> I have used Dev C++ and I want some suggestions from you. As you
> suggested me not to use the .h operator with the standard include
> files, so I did and the compiler indicated that it don't knw any
> header file named as conio. Also when I included the file iostream in
> my program, I listed using its functions of cout and endl seperately.
> I want to include stdlib and string header filesso please indicate me
> what would be the syntax of including these 2 libraries in my program.
> regards FaRAzZ
To use old C header files, use
#include <c[headerfilename]>
For example,
#include <cstdlib>
instead of
#include <stdlib.h>
To use iostream, you write:
#include <iostream>
However, to use cout and endl, you have to either put the line:
using namespace std;
OR
using std::cout;
using std::endl;
However, if I remember correctly, conio.h is not an Ansi standard
include file, it's a Borland-specific file. If you're going to use
that, you're going to have to track down someone's implementation of
that for mingw.
HTH.
Watson (the pencil neck) Davis
EXAMPLES:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#include <cstdlib>
#include <iostream>
// Using the whole namespace
using namespace std;
int main()
{
cout << "Hello, world" << endl;
system("pause");
}
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
#include <cstdlib>
#include <iostream>
// Using just the functions we need.
using std::cout;
using std::endl;
int main()
{
cout << "Hello, world" << endl;
system("pause");
}
|
|
From: ß ö R N L ë G ë N Ð <leg...@ho...> - 2004-10-17 01:54:12
|
<html><div style='background-color:'><P>Respected Sir</P> <P>To include a userdefined header file which is in the same directory where the executable file is, we used syntax as...<STRONG>myheader.h</STRONG> but as this is not a standard library header file so should i disclude <STRONG>.h </STRONG>and use c at start??...as I cannot test it at the moment...I thought that it would be nice if I ask you first. Also tell me how can I include a userdefined header file which is the include directory of Dev C++.</P> <P>regards</P> <P>FaRazZ</P></div><br clear=all><hr>Express yourself instantly with MSN Messenger! <a href="http://g.msn.com/8HMBEN/2737??PS=47575" target="_top">MSN Messenger</a> Download today it's FREE!</html> |
|
From: ß ö R N L ë G ë N Ð <leg...@ho...> - 2004-10-17 00:51:57
|
<html><div style='background-color:'><P>Respected Sir</P> <P>I have used Dev C++ and I want some suggestions from you. As you suggested me not to use the <STRONG>.h</STRONG> operator with the standard include files, so I did and the compiler indicated that it don't knw any header file named as conio. Also when I included the file iostream in my program, I listed using its functions of cout and endl seperately. I want to include <STRONG>stdlib</STRONG> and <STRONG>string </STRONG>header files so please indicate me what would be the syntax of including these 2 libraries in my program.</P> <P>regards<BR><FONT color=#000000 face="Verdana, Geneva, Arial, Sans-serif" size=2>FaRAzZ</FONT><A href="http://www.smileycentral.com/?partner=ZSzeb001" target=_blank></A></P></div><br clear=all><hr>Express yourself instantly with MSN Messenger! <a href="http://g.msn.com/8HMBEN/2731??PS=47575" target="_top">MSN Messenger</a> Download today it's FREE!</html> |
|
From: <adm...@yd...> - 2004-10-16 17:58:21
|
McAfee GroupShield=C2=99 Alert=20 McAfee GroupShield discovered a problem with the following email. See your system administrator for further information.=20 Date/Time sent: 16 oct 2004 19:58:11 Subject line: [Dev-C++] failure notice From: dev...@li... To: dev...@li... Action taken: Deleted Virus: W32/Bagle.ai@MM Copyright =C2=A9 1993-2003, Networks Associates Technology, Inc. All Rights Reserved. http://www.mcafeesecurity.com <http://www.mcafeesecurity.com/> =20 -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Daniel K. O. <dan...@ya...> - 2004-10-16 12:07:43
|
Benjamin Lau wrote: >No, I doubt it. The GNU ld only accepts .o and .a files it seems. > > It also accepts .lib, .dll and even .exe (if you create an executable that exports functions) files. But only if it's a C library; the C++ code generated by g++ and vc++ are incompatible. Daniel K. O. |
|
From: Martin O. <li...@mi...> - 2004-10-16 09:20:44
|
There is a tool that converts .lib files into .a files, I dont think this tool is installed with dev-cpp though -- one must download some mingw extra package to get it (dont remember which one though). regards, martin Benjamin Lau wrote: > No, I doubt it. The GNU ld only accepts .o and .a files it seems. > > > On Fri, 15 Oct 2004 20:19:55 -0700, > dev...@li... > <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. LIB files and Dev-C++ (=?koi8-r?B?89TBzsnTzMHXIODEyc4=?=) >> >>--__--__-- >> >>Message: 1 >>From: =?koi8-r?B?89TBzsnTzMHXIODEyc4=?= <de...@in...> >>To: <dev...@li...> >>Date: Sat, 16 Oct 2004 00:25:15 +0400 >>Subject: [Dev-C++] LIB files and Dev-C++ >> >>This is a multi-part message in MIME format. >> >>------=_NextPart_000_0009_01C4B316.9BC3F660 >>Content-Type: text/plain; >> charset="koi8-r" >>Content-Transfer-Encoding: 7bit >> >>Hi all! >>Can I link my programms with .LIB files in MinGW(and Dev-C++)? >> >>Regards... >> >>------=_NextPart_000_0009_01C4B316.9BC3F660 >>Content-Type: text/html; >> charset="koi8-r" >>Content-Transfer-Encoding: quoted-printable >> >><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> >><HTML><HEAD> >><META http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r"> >><META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD> >><BODY> >><DIV><FONT face=3DArial size=3D2><SPAN class=3D495292320-15102004>Hi=20 >>all!</SPAN></FONT></DIV> >><DIV><FONT face=3DArial size=3D2><SPAN class=3D495292320-15102004>Can I = >>link my=20 >>programms with .LIB files in MinGW(and = >>Dev-C++)?</SPAN></FONT></DIV> >><DIV><FONT face=3DArial size=3D2><SPAN=20 >>class=3D495292320-15102004></SPAN></FONT> </DIV> >><DIV><FONT face=3DArial size=3D2><SPAN=20 >>class=3D495292320-15102004>Regards...</SPAN></FONT></DIV></BODY></HTML> >> >>------=_NextPart_000_0009_01C4B316.9BC3F660-- >> >>--__--__-- >> >>_______________________________________________ >>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 >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > 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: Benjamin L. <bl...@gm...> - 2004-10-16 04:11:05
|
No, I doubt it. The GNU ld only accepts .o and .a files it seems. On Fri, 15 Oct 2004 20:19:55 -0700, dev...@li... <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. LIB files and Dev-C++ (=?koi8-r?B?89TBzsnTzMHXIODEyc4=?=) > > --__--__-- > > Message: 1 > From: =?koi8-r?B?89TBzsnTzMHXIODEyc4=?= <de...@in...> > To: <dev...@li...> > Date: Sat, 16 Oct 2004 00:25:15 +0400 > Subject: [Dev-C++] LIB files and Dev-C++ > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0009_01C4B316.9BC3F660 > Content-Type: text/plain; > charset="koi8-r" > Content-Transfer-Encoding: 7bit > > Hi all! > Can I link my programms with .LIB files in MinGW(and Dev-C++)? > > Regards... > > ------=_NextPart_000_0009_01C4B316.9BC3F660 > Content-Type: text/html; > charset="koi8-r" > Content-Transfer-Encoding: quoted-printable > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=3DContent-Type content=3D"text/html; charset=3Dkoi8-r"> > <META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD> > <BODY> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D495292320-15102004>Hi=20 > all!</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN class=3D495292320-15102004>Can I = > link my=20 > programms with .LIB files in MinGW(and = > Dev-C++)?</SPAN></FONT></DIV> > <DIV><FONT face=3DArial size=3D2><SPAN=20 > class=3D495292320-15102004></SPAN></FONT> </DIV> > <DIV><FONT face=3DArial size=3D2><SPAN=20 > class=3D495292320-15102004>Regards...</SPAN></FONT></DIV></BODY></HTML> > > ------=_NextPart_000_0009_01C4B316.9BC3F660-- > > --__--__-- > > _______________________________________________ > 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 > |
|
From: <de...@in...> - 2004-10-15 20:25:38
|
Hi all! Can I link my programms with .LIB files in MinGW(and Dev-C++)? Regards... |
|
From: Napoleon A. <n_a...@ya...> - 2004-10-14 01:28:07
|
Is it possible to rig Dev-C++ so as to use the free Visual C++ toolkit? If possible what the steps neccesary. Cheers _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |
|
From: Daniel K. O. <dan...@ya...> - 2004-10-13 22:57:12
|
Hello. I have a question about the isdigit/isalnum/etc functions. They are defined to receive an int as argument. So I ask: is it safe to call them with a char arg? Like this: ---- char c; // changes the value of c isdigit(c); ---- Considering that the char can be signed, it would be converted to the range [-128, +127] as an int; inside the isdigit() function, will the extra bits be ignored? I noticed the values between [-128, +127] work fine without using setlocale; but when setting to any locale that isn't "C", it crashes (I actually use 'setlocale(LC_ALL, "");' ). I also read in ISO/IEC 9899:1999: "In all cases the argument is an int, the value of which shall be representable as an unsigned char or shall equal the value of the macro EOF. If the argument has any other value, the behavior is undefined." Ok, then the behaviour is undefined. I respect this. BUT SOMEONE implemented a networking library (aka: winsock anyone? :P) that uses isdigit() inside some functions (like inet_addr); and guess what, it actually passes a signed char to the isdigit function. It means that whenever you set a locale, if you call inet_addr() with any non-ascii char (that would be a negative if considered as 'signed char'), it crashes inside the isdigit(). I confirmed this, stepping each assembly instruction inside gdb, and inet_addr really calls isdigit() this way. So I'm now asking myself: 1- Why the hell Microsoft is calling a locale-specific function to validate inet_addr???? Does the other networking libs also use isdigit() for this? 2- How can I call inet_addr in a program that uses setlocale? Should I create a wrapper that checks for non-ascii chars before calling the real inet_addr? 3- Should I try linking to libmsvcr71.a, so winsock would call isdigit() from a different C runtime dll (msvcrt.dll) that isn't affected by my call to setlocale() (msvcr71.dll)? Thanks for any ideas. Daniel K. O. |
|
From: Len P. <le...@ph...> - 2004-10-13 11:43:00
|
(someone asked me why I thought VS .NET was weird, but I accidentally deleted the message) I think the .NET version of VS (at least) is very unfriendly to Win32 development in straight C, from what I've seen. EVERYTHING is geared to C++ / MFC / .NET / Windows forms / XML / ATL / etc. instead of Win32/C. The documentation, while huge, is difficult to use in that it always defaults to everything except Win32 and due to the size it's always a task to find any given bit of information. There's no contextual link from the IDE to Win32 or C / standard library documentation, etc., etc. Even the editor is somewhat weak by text editor standards, but that's expected (IMO) from Microsoft. I'm not interested in network programs (or really, even network awareness), .NET, OOP, MFC, XML, ASP or any of that other stuff - Just Win32 in straight C. It's not exactly geared to that kind of development. Plus, it's *H*U*G*E* and slow. -- Len Philpot ><> le...@ph... http://philpot.org/ |
|
From: <adm...@yd...> - 2004-10-12 19:21:00
|
McAfee GroupShield=C2=99 Alert=20 McAfee GroupShield discovered a problem with the following email. See your system administrator for further information.=20 Date/Time sent: 12 oct 2004 21:20:48 Subject line: [Dev-C++] failure notice From: dev...@li... To: dev...@li... Action taken: Deleted Virus: W32/Bagle.ai@MM Copyright =C2=A9 1993-2003, Networks Associates Technology, Inc. All Rights Reserved. http://www.mcafeesecurity.com <http://www.mcafeesecurity.com/> =20 -------------------------------------------------------------------------= ------------- This message and any files transmitted with it are confidential and inten= ded solely=20 for the use of the individual or entity to whom they are addressed. No co= nfidentiality=20 or privilege is waived or lost by any wrong transmission.=20 If you have received this message in error, please immediately destroy it= =20and kindly=20 notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, o= r copy any=20 part of this message if you are not the intended recipient. Opinions, con= clusions and=20 other information in this message that do not relate to the official busi= ness of=20 Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given= =20nor endorsed by it.=20 -------------------------------------------------------------------------= ------------- |
|
From: Luis B. <lf...@ya...> - 2004-10-12 16:46:44
|
try
[...]
#include "windows.h"
[...]
Nigel George <nig...@cp...> wrote:
Hi,
I've got Dev-C++ 4.9.9.0 installed and I'm trying to make some ODBC connections. This falls over with compilation errors. So I decided to replicate the error in the most simple of projects...
// main.c
#include <iostream>
#include <stdlib.h>
#include <sql.h>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return 0;
}
As you can see, this is just a standard console app with the addidition of "#include <sql.h>", this causes the compile process to fall over.
Compiler: Default compiler
Building Makefile: "D:\C++\ODBCTest\Makefile.win"
Executing make...
make.exe -f "D:\C++\ODBCTest\Makefile.win" all
g++.exe -c main.c -o main.o -I"C:/GTK/INCLUDE" -I"C:/GTK/INCLUDE/GTK-2.0" -I"C:/GTK/INCLUDE/GLIB-2.0" -I"C:/GTK/INCLUDE/PANGO-1.0" -I"C:/GTK/INCLUDE/ATK-1.0" -I"C:/GTK/INCLUDE/GTKGLEXT-1.0" -I"C:/GTK/LIB/GTK-2.0/INCLUDE" -I"C:/GTK/LIB/GLIB-2.0/INCLUDE" -I"C:/GTK/LIB/GTKGLEXT-1.0/INCLUDE" -I"C:/GTK/INCLUDE/LIBGLADE-2.0" -I"C:/GTK/INCLUDE/LIBXML2" -I"C:/Program Files/Dev-Cpp/include/c++" -I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include" -I"D:/C++/ODBCTest"
In file included from odbcutil.H:3,
from main.c:1:
C:/Program Files/Dev-Cpp/include/sqltypes.h:17: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:18: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:24: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:25: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:26: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:27: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:29: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:34: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:36: error: syntax error before `;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:37: error: syntax error before `;'
token
There is much more output than this but is the start of it. Someone elsewhere told me that it appears the sql/odbc headers with Dev-C++ are broken.
Does anyone else get this error? Or know a fix for it.
Nigel George
Developer
CPiO Limited
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Telephone : +44 (0) 1675 467046
Facsimile : +44 (0) 1675 467682
E-Mail : mailto:nig...@cp...
Web : http://www.cpio.co.uk/
The views expressed within this message are those of the sender, not
those of the company unless endorsed by a Director of CPiO Limited.
__________________________________________
Luís Filipe Delgado Brás
Eng.º Civil
Câmara Municipal de Vila Nova de Gaia
Telefone: 22 374 24 00 - Ext. 1335
Fax: 22 374 24 80
Email: lfdbras(at)yahoo.com
Página: http://luis.at.privatehosts.com
__________________________________________
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we. |
|
From: <wa...@wa...> - 2004-10-12 16:43:53
|
Is this a C or a C++ program? You've got a mixture of C++ and C
include files and your program is main.c but you're compiler is g++.
I changed stdlib.h to cstdlib but I had to keep sql.h. I was able to
get a clean compile.
-----------------------------------------------
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Programming\FromForum\sql_test.cpp" -o
"C:\Programming\FromForum\sql_test.exe" -I"C:\Dev-Cpp\include\c++"
-I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-
Cpp\include\c++\backward" -I"C:\Dev-Cpp\include" -L"C:\Dev-
Cpp\lib"
Execution terminated
Compilation successful
----------------------------------------------
But I also did not link in all the GTK libraries you added.
Watson (the pencil neck) Davis
On 12 Oct 2004 at 17:15, Nigel George wrote:
> Hi,
> I've got Dev-C++ 4.9.9.0 installed and I'm trying to make some
> ODBC
> connections. This falls over with compilation errors. So I decided to
> replicate the error in the most simple of projects...
>
> // main.c
> #include <iostream>
> #include <stdlib.h>
> #include <sql.h>
>
> using namespace std;
>
> int main(int argc, char *argv[])
> {
>
> system("PAUSE");
> return 0;
> }
>
|
|
From: Nigel G. <nig...@cp...> - 2004-10-12 16:16:45
|
Hi,
I've got Dev-C++ 4.9.9.0 installed and I'm trying to make some ODBC
connections. This falls over with compilation errors. So I decided to
replicate the error in the most simple of projects...
// main.c
#include <iostream>
#include <stdlib.h>
#include <sql.h>
using namespace std;
int main(int argc, char *argv[])
{
system("PAUSE");
return 0;
}
As you can see, this is just a standard console app with the addidition of
"#include <sql.h>", this causes the compile process to fall over.
Compiler: Default compiler
Building Makefile: "D:\C++\ODBCTest\Makefile.win"
Executing make...
make.exe -f "D:\C++\ODBCTest\Makefile.win" all
g++.exe -c main.c -o main.o -I"C:/GTK/INCLUDE" -I"C:/GTK/INCLUDE/GTK-2.0"
-I"C:/GTK/INCLUDE/GLIB-2.0" -I"C:/GTK/INCLUDE/PANGO-1.0"
-I"C:/GTK/INCLUDE/ATK-1.0" -I"C:/GTK/INCLUDE/GTKGLEXT-1.0"
-I"C:/GTK/LIB/GTK-2.0/INCLUDE" -I"C:/GTK/LIB/GLIB-2.0/INCLUDE"
-I"C:/GTK/LIB/GTKGLEXT-1.0/INCLUDE" -I"C:/GTK/INCLUDE/LIBGLADE-2.0"
-I"C:/GTK/INCLUDE/LIBXML2" -I"C:/Program Files/Dev-Cpp/include/c++"
-I"C:/Program Files/Dev-Cpp/include/c++/mingw32" -I"C:/Program
Files/Dev-Cpp/include/c++/backward" -I"C:/Program Files/Dev-Cpp/include"
-I"D:/C++/ODBCTest"
In file included from odbcutil.H:3,
from main.c:1:
C:/Program Files/Dev-Cpp/include/sqltypes.h:17: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:18: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:24: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:25: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:26: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:27: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:29: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:34: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:36: error: syntax error before
`;'
token
C:/Program Files/Dev-Cpp/include/sqltypes.h:37: error: syntax error before
`;'
token
There is much more output than this but is the start of it. Someone
elsewhere told me that it appears the sql/odbc headers with Dev-C++ are
broken.
Does anyone else get this error? Or know a fix for it.
Nigel George
Developer
CPiO Limited
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Telephone : +44 (0) 1675 467046
Facsimile : +44 (0) 1675 467682
E-Mail : mailto:nig...@cp...
<mailto:nig...@cp...>
Web : http://www.cpio.co.uk/ <http://www.cpio.co.uk/>
The views expressed within this message are those of the sender, not
those of the company unless endorsed by a Director of CPiO Limited.
|
|
From: Eric <eri...@cl...> - 2004-10-12 11:10:00
|
http://www.functionx.com/ a web site about C# C++ Microsoft Access Borland C++ Builder Microsoft Visual C++ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.775 / Virus Database: 522 - Release Date: 08-Oct-04 |
|
From: Per W. <pw...@ia...> - 2004-10-12 09:27:46
|
Sorry, but they are not standard. You either have to use fseek()/ftell(), limiting you to support for files < 4GB large, or modify your code to use whatever native alternatives there may be for your intended target architectures. For Win32, you might for example use SetFilePointer(), SetFilePointerEx(). Note that they may be used for retrieving the current position too. /Per W On Tue, 12 Oct 2004, Siva Chandra wrote: > > Hello all, > > I am trying to compile a library pngWriter. All is > fine but I get this undefined reference error to the > functions fseeko64 and ftello64. I guess these are > standard C library functions. Can anyone help me get > around this problem? > > TIA, > Siva Chandra. > > > > > _______________________________ > Do you Yahoo!? > Express yourself with Y! Messenger! Free. Download now. > http://messenger.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > 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: Siva C. <siv...@ya...> - 2004-10-12 09:01:15
|
Hello all, I am trying to compile a library pngWriter. All is fine but I get this undefined reference error to the functions fseeko64 and ftello64. I guess these are standard C library functions. Can anyone help me get around this problem? TIA, Siva Chandra. _______________________________ Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. http://messenger.yahoo.com |
|
From: Dave S. <da...@da...> - 2004-10-12 08:28:49
|
Many thanks to Per and others for their quick relies. Back to the tutorials... Dave Sergeant On 12 Oct 2004 at 0:11, Per Westermark wrote: > Sorry, no getline() with the C libraries for MinGW. > > However, before starting to use gnu-specific extensions, I woule > really recommend you to think twice. If you are working on gnu tools, > it might be a good decision, but for most other C programming, I think > it is better to rely on standardized functions. > > /Per W > > On Mon, 11 Oct 2004, Dave Sergeant wrote: > > > Hi > > > > I am in the process of coming to grips with C and eventually C++ and > > working through various tutorials, currently the GNU C Programming > > Tutorial by Mark Burgess. I am running Dev-cpp 4.9.9.0 on Windows > > 98SE. > > > > The tutorial stresses the use of getline, getdelim, and other > > functions introduced with GNU C instead of the deprecated scanf etc. > > > > But I can't seem to get getline to work with dev-cpp. If I try and > > compile the program below, which is from the tutorial, I get a > > linker error 'undefined reference to 'getline' '. > > > > I have tried searching this mailing list and the forums and cannot > > find a solution, apart from getting the impression that others seem > > to be able to use it with no problem. > > > > Do I need to download an updated <stdio.h> or other library? > > > > Thanks > > Dave Sergeant http://www.davesergeant.com |
|
From: Michael C U. <mu...@cb...> - 2004-10-11 23:06:09
|
Dave,
getline() does not exist in the mingw32 port of GCC (it is a GNU specific
extension that is not part of ISO C).
Your best bet is fgets() if you want to make sure that you cannot cause a
buffer overflow when reading in data.
On Mon, 11 Oct 2004, Dave Sergeant wrote:
> Hi
>
> I am in the process of coming to grips with C and eventually C++ and
> working through various tutorials, currently the GNU C Programming
> Tutorial by Mark Burgess. I am running Dev-cpp 4.9.9.0 on Windows
> 98SE.
>
> The tutorial stresses the use of getline, getdelim, and other
> functions introduced with GNU C instead of the deprecated scanf etc.
>
> But I can't seem to get getline to work with dev-cpp. If I try and
> compile the program below, which is from the tutorial, I get a linker
> error 'undefined reference to 'getline' '.
>
> I have tried searching this mailing list and the forums and cannot
> find a solution, apart from getting the impression that others seem
> to be able to use it with no problem.
>
> Do I need to download an updated <stdio.h> or other library?
>
> Thanks
> Dave Sergeant
>
> Example program:
>
> #include <stdio.h>
>
> int main()
> {
> int bytes_read;
> int nbytes = 100;
> char *my_string;
>
> puts ("Please enter a line of text.");
>
> /* These 2 lines are the heart of the program. */
> my_string = (char *) malloc (nbytes + 1);
> bytes_read = getline (&my_string, &nbytes, stdin);
>
> if (bytes_read == -1)
> {
> puts ("ERROR!");
> }
> else
> {
> puts ("You typed:");
> puts (my_string);
> }
>
> return 0;
> }
> http://www.davesergeant.com
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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: Per W. <pw...@ia...> - 2004-10-11 22:11:52
|
Sorry, no getline() with the C libraries for MinGW.
However, before starting to use gnu-specific extensions, I woule really
recommend you to think twice. If you are working on gnu tools, it might be
a good decision, but for most other C programming, I think it is better to
rely on standardized functions.
/Per W
On Mon, 11 Oct 2004, Dave Sergeant wrote:
> Hi
>
> I am in the process of coming to grips with C and eventually C++ and
> working through various tutorials, currently the GNU C Programming
> Tutorial by Mark Burgess. I am running Dev-cpp 4.9.9.0 on Windows
> 98SE.
>
> The tutorial stresses the use of getline, getdelim, and other
> functions introduced with GNU C instead of the deprecated scanf etc.
>
> But I can't seem to get getline to work with dev-cpp. If I try and
> compile the program below, which is from the tutorial, I get a linker
> error 'undefined reference to 'getline' '.
>
> I have tried searching this mailing list and the forums and cannot
> find a solution, apart from getting the impression that others seem
> to be able to use it with no problem.
>
> Do I need to download an updated <stdio.h> or other library?
>
> Thanks
> Dave Sergeant
>
> Example program:
>
> #include <stdio.h>
>
> int main()
> {
> int bytes_read;
> int nbytes = 100;
> char *my_string;
>
> puts ("Please enter a line of text.");
>
> /* These 2 lines are the heart of the program. */
> my_string = (char *) malloc (nbytes + 1);
> bytes_read = getline (&my_string, &nbytes, stdin);
>
> if (bytes_read == -1)
> {
> puts ("ERROR!");
> }
> else
> {
> puts ("You typed:");
> puts (my_string);
> }
>
> return 0;
> }
> http://www.davesergeant.com
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> 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
>
|