dev-cpp-users Mailing List for Dev-C++ (Page 85)
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: Daniel P. <dan...@st...> - 2006-03-18 10:16:41
|
A tip. double the value for each flag, 1 2 4 8 etc ex: 1 + 4 =3D 00000101 to check weither the flag has been set just use "and" ex: check for=20 4: isFlagSet =3D 4 & flags; it will become 1 if the flag is set and 0 otherwise /Daniel Pettersson Noorez Kassam wrote: > I have a question about flags. Here's an example of my problem: > > FLAG A =3D 1; > FLAG B =3D 2; > > Lets say both flags are needed, so they are | together like so... A|B.=20 > How can I then find what flags are set later on from the single value? > > _________________________________________________________________ > Take advantage of powerful junk e-mail filters built on patented=20 > Microsoft=AE SmartScreen Technology.=20 > http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D= 1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines=20 > Start enjoying all the benefits of MSN=AE Premium right now and get th= e=20 > first two months FREE*. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 > language > that extends applications into web and mobile media. Attend the live=20 > webcast > and join the prime developer group breaking into this new coding=20 > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > 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...> - 2006-03-18 10:13:02
|
enum {
FLAG_A =3D 0x0001,
FLAG_B =3D 0x0002,
FLAG_C =3D 0x0004
};
unsigned flags =3D FLAG_A|FLAG_B;
=2E..
// A is set
if (flags & FLAG_A) {}
// A isn't set
if (!(flags & FLAG_A) {}
// Only A is set
if (flags =3D=3D FLAG_A) {}
// Both A and B is set
if ((flags & FLAG_A|FLAG_B) =3D=3D (FLAG_A|FLAG_B)) {}
// A is set but not B
if ((flags & FLAG_A|FLAG_B) =3D=3D FLAG_A) {}
/Per W
On Fri, 17 Mar 2006, Noorez Kassam wrote:
> I have a question about flags. Here's an example of my problem:
>
> FLAG A =3D 1;
> FLAG B =3D 2;
>
> Lets say both flags are needed, so they are | together like so... A|B. Ho=
w
> can I then find what flags are set later on from the single value?
>
> _________________________________________________________________
> Take advantage of powerful junk e-mail filters built on patented Microsof=
t=AE
> SmartScreen Technology.
> http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D=
1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines
> Start enjoying all the benefits of MSN=AE Premium right now and get the
> first two months FREE*.
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
> that extends applications into web and mobile media. Attend the live webc=
ast
> and join the prime developer group breaking into this new coding territor=
y!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=
=3D121642
> _______________________________________________
> 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: Noorez K. <lor...@ho...> - 2006-03-18 05:47:42
|
I have a question about flags. Here's an example of my problem: FLAG A = 1; FLAG B = 2; Lets say both flags are needed, so they are | together like so... A|B. How can I then find what flags are set later on from the single value? _________________________________________________________________ Take advantage of powerful junk e-mail filters built on patented Microsoft® SmartScreen Technology. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: cstrader <cst...@cs...> - 2006-03-17 18:26:58
|
I'm not sure what include to use to set up the dialog type. Windows.h = doesn't do it. Thanks! |
|
From: Ross B. <bu...@pa...> - 2006-03-13 05:42:48
|
It may not be as easy, unless there is a RPM or equivalent package, to build codeblocks. Codeblocks requires WxGTK, which requires GTK, which requires pango,GLib,ATX,etc. Most of these come with mainstream distros, the trick is getting the appropriate version of GTK+ to match the pango, etc versions on your system. Ross dan...@st... wrote: > Codeblocks should also be in the repository. > > > ----------------------------- > Daniel pettersson > dan...@st... > oj...@pa... > > ----- Original Message ----- > From: "A. Klingenstein" <kli...@gm...> > Date: Wednesday, March 8, 2006 11:41 > Subject: Re: [Dev-C++] Dev-cpp and Linux > > >>Since you're new to Linux, just use Anjuta or kdevelop. Your distro >>of >>choice should have the available precompiled and readily installable. >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by xPML, a groundbreaking scripting >>languagethat extends applications into web and mobile media. Attend >>the live webcast >>and join the prime developer group breaking into this new coding >>territory!http://sel.as- >>us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________ >>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 is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > 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: Noorez K. <lor...@ho...> - 2006-03-11 01:35:37
|
How do I check for the validity of an HWND variable in my application( if another application closed that window). The window is a child-window to the application and not the main one. _________________________________________________________________ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: Noorez K. <lor...@ho...> - 2006-03-10 20:09:38
|
I can't seem to capture the LBN_DBLCLK notification for my list box...
the following code is how I am doing it...
case WM_COMMAND:
{
switch( LOWORD(wParam) )
{
case LIST:
{
switch( HIWORD( wParam ) )
{
case LBN_DBLCLK:
{
int location = SendMessage( textList, LB_GETCURSEL, 0, 0
);
char buffer[256];
SendMessage( textList, LB_GETTEXT, (WPARAM)location,
(LPARAM)buffer );
MessageBox( hwnd, buffer, "MSG", MB_OK );
break;
}
}
break;
}
}
}
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
MSN Search! Check it out!
|
|
From: Antonio E. Camacho-L. <jhu...@gm...> - 2006-03-09 04:25:51
|
Hello, I am trying to use freetype2 to build PNGwriter, I have downloaded the pre-compiled libraries of freetype2 and installed them in c:\freetype. Dev-Cpp is installed in C:\Dev-Cpp. I can build pngwriter without freetype support (adding -DNO_FREETYPE to the compiler options ) but when I try to build it with freetype support I get this error: /freetype/include/ft2build.h C:\temp\pngwriter-0.5.3\src\Cfreetype/config/ftheader.h: No such file or directory. Does anybody knows what to do??? Thanks a lot, Antonio. |
|
From: <dan...@st...> - 2006-03-08 11:30:37
|
Codeblocks should also be in the repository. ----------------------------- Daniel pettersson dan...@st... oj...@pa... ----- Original Message ----- From: "A. Klingenstein" <kli...@gm...> Date: Wednesday, March 8, 2006 11:41 Subject: Re: [Dev-C++] Dev-cpp and Linux > Since you're new to Linux, just use Anjuta or kdevelop. Your distro > of > choice should have the available precompiled and readily installable. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > languagethat extends applications into web and mobile media. Attend > the live webcast > and join the prime developer group breaking into this new coding > territory!http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642_______________________________________________ > 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: A. K. <kli...@gm...> - 2006-03-08 10:40:52
|
Since you're new to Linux, just use Anjuta or kdevelop. Your distro of choice should have the available precompiled and readily installable. |
|
From: H F. <the...@ho...> - 2006-03-08 09:41:28
|
Hi everybody I'm trying to move to a Linux system and of course I need to install my favorite IDE. I search on the net and I found the "dev-src_Jul_30_23h03.tar". After reading the install doc I also download the "qt-x11-2.3.0.tar". Is this suffisant??? I didn't uderstand what that means: " First you need to make sure you have a installed all the C/C++ development packages when installing your distribution (those packages contains gcc, g++, make, standard include files and libraries)." If there's any packages I didn't found them :( I'm so used to the traditional .exe that I can't make head :( So can someone help me, advise me or just give me links. Thanx in advance. _________________________________________________________________ MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! http://www.msn.fr/newhotmail/Default.asp?Ath=f |
|
From: Rohit V. B. <rv...@gm...> - 2006-03-03 01:28:40
|
Marek Mal wrote: > 1) Do you know where(in which Code::Blocks option ) I have insert the > option "-mwindows" to block console window in my graphics(winBGIm) > program ? I tried� "Settings->Compiler->Linker-> Otheher linker > options", but this had no effect. > In Dev-C++ it works without problems. When I inserted for example set of > lib. parameters "-lbgi -lgdi32 -lcomdlg32 > -luuid -loleaut32 -lole32 -lstdc++ -lsupc++ -mwindows" into the > "Project->Project properties->Parameters->Linker", > it enables to make WinBGIm programs without console window. But if I > import this Dev-C++ project into the Code::Blocks, > it does'n work and unnecessary console window appears. Go this way - Build >> Compiler options >> Linker >> Other linker options. If you are using a project, Project >> Build options >> Linker. > > 2) I would like to use WinBGIm and Dislin graphics together in one my > program - WinBGIm window for > fast animation of some physical system of objects and Dislin window > for plotting some graphs in dependence on that > simulatet system, in real time. > But this is probably impossible because of names duplicity. For > example WinBGIm has function "circle" > and Dislin too etc. Do you have any idea how to solve this problem - > something like using :: - > Dislin::circle() and WinBGIm::circle() ... There seems to be way out using namespaces; you would have to move from using C to C++. Using both libraries shouldn't be a problem if you can successfully resolve the scope. But I really haven't tried out Dislin that much. I mainly use C/C++ to complete some of the assignments in my engineering under-graduate course ;-) -- Rohit V. Bhute http://rvbhute.freelinuxhost.com/wordpress |
|
From: Mark L. <mar...@qu...> - 2006-02-26 22:57:30
|
-----Original Message----- From: dev...@li... = [mailto:dev...@li...]=20 Sent: Saturday, 25 February 2006 3:23 PM To: dev...@li... Subject: Dev-cpp-users digest, Vol 1 #2696 - 8 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: double and float ?? (Per Westermark) 2. Re: "Anti-spam" mails from UOL (Daniel K. O.) 3. Re: double and float ?? (Daniel K. O.) 4. Re: "Anti-spam" mails from UOL (Per Westermark) 5. Re: double and float ?? (Per Westermark) 6. Re: "Anti-spam" mails from UOL (Daniel K. O.) 7. Using mysql/mysql.h (KrowniX ()--()) 8. Re: XP Manifest and Win32 controls (Thierry Pierron) --__--__-- Message: 1 Date: Fri, 24 Feb 2006 11:12:44 +0100 (CET) From: Per Westermark <pw...@ia...> To: Titi Anggono <tia...@ya...> cc: Dev-cpp user <dev...@li...> Subject: Re: [Dev-C++] double and float ?? No, you can't use an old c++ manual (or actually C manual). It must be a broken manual. The runtime library must know the physical size of the variable to be = able to initialize it. For printf() you send a value. The standard says that functions without = a prototype - or variadric functions - should have the variables upgraded from float to double on call. This makes printf() support float and double. However, scanf() doesn't take a float our double. It takes a pointer to = a float or double. To perform the assign - it has to look at the "formatting" parameter to decide what it should assign to. %f specifies float %lf specifies double %Lf specifies long double (when supported) /Per W On Thu, 23 Feb 2006, Titi Anggono wrote: > Hi all, > > I tried the following code > = =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 <stdio.h> > #include <stdlib.h> > #include <conio.h> > > main(){ > double a,b; > scanf("%f",&a); > printf("\n"); > scanf("%f",&b); > printf("\n\n%f %f",a,b); > getch(); > exit(EXIT_SUCCESS); > } > = =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 > I enter any numbers and the output is > 0.0000 0.00000 > but, when I change the "double" with "float", the code > gives me the right answer. > > Is there any explanation why I can't use "double" with > "%f" in dev-cpp ? Maybe I use old c++ manual lol. How > can I print the "double" number ? > > Titi > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting = language > that extends applications into web and mobile media. Attend the live = webcast > and join the prime developer group breaking into this new coding = territory! > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 > _______________________________________________ > 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: 2 Date: Fri, 24 Feb 2006 09:03:00 -0300 From: "Daniel K. O." <dan...@gm...> To: Per Westermark <pw...@ia...> CC: dev...@li... Subject: Re: [Dev-C++] "Anti-spam" mails from UOL Per Westermark escreveu: > Can I assume that a lot of other people gets "anti-spam" registration > mails from: > AntiSpam UOL <mr-...@uo...> > whenever you post to this list? > > If so, please mail their ab...@uo... address and tell them what = you > think about expecting mailing list participants to register whenever = any > of their email users subscribe to a list just so that _we_ don't have = to > see _their_ spam mails... > =20 Unfortunately I think this should be handled by the list admins here.=20 The AntiSpam UOL is a service provided for users that opt in for the=20 service, so the fault is solely on the user. He is either too stupid, or = was trying to piss us off. I believe UOL policy doesn't allow them to simply turn off the AntiSpam=20 service, and considering that their anti-spam software is dumb enough=20 that it can't identify messages from mailing lists (that IMHO should be=20 silently ignored by their filter), it will be a long battle to convince=20 them to 1) bother a user that pays money, 2) fix their stupid filtering=20 software or 3) convince them that the user is purposely damaging an=20 entire community. Yeah, I think unsubscribing him from the list is faster. If we only had=20 some admins around here... maybe we can try contacting the SF staff=20 directly and see if they can remove this user from this mailing list. --- Daniel K. O. --__--__-- Message: 3 Date: Fri, 24 Feb 2006 09:11:07 -0300 From: "Daniel K. O." <dan...@gm...> To: Per Westermark <pw...@ia...> CC: Dev-cpp user <dev...@li...> Subject: Re: [Dev-C++] double and float ?? Per Westermark escreveu: > %Lf specifies long double (when supported) > =20 Which the MS runtime doesn't seem to support... from my experiences (I=20 don't have the MS compiler, I just asked somebody else to compile some=20 code and send me the program output and some assembly dumps), VC++=20 "demotes" long doubles to plain doubles in printf. But now that you mentioned %Lf, I would like to confirm with anyone here = who has VC++; what does happen when trying to printf a long double on=20 VC++? For me, it looks like VC++ tries a "magic" conversion in variadic=20 functions, but if it is true, it may break legit code (when trying to=20 va_arg a long double where a plain double was put). --- Daniel K. O. --__--__-- Message: 4 Date: Fri, 24 Feb 2006 13:43:21 +0100 (CET) From: Per Westermark <pw...@ia...> To: "Daniel K. O." <dan...@gm...> cc: dev...@li... Subject: Re: [Dev-C++] "Anti-spam" mails from UOL My aim was to get a number of people to show their irritation by sending complaints to ab...@uo... and telling them that _they_ are explicitly spamming users. On the mailing list side, there is nothing sourceforge can do, since = they never see these "anti-spam" mails. UOL have a very broken system that can't correctly detect = list-originating mails, despite the huge number of extra fields available in the mail header: ---------- Precedence: bulk List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, <mailto:dev...@li...?subject=3Dunsubscribe= > List-Id: Dev-C++ users mailing list = <dev-cpp-users.lists.sourceforge.net> List-Post: <mailto:dev...@li...> List-Help: <mailto:dev...@li...?subject=3Dhelp> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, <mailto:dev...@li...?subject=3Dsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=3Ddev-cpp-users> ---------- If nothing else, they should at least make sure that the source domain lists.sourceforge.net was specifically known. It represents a = significant number of mailing lists and whatever policy UOL might have, that policy = is towards their end users, not towards the mailing lists, i.e. they can = not expect to enforce their policies on us by expecting thousands - or tens = of thousands of registrations in their system. The single action of registering to a mailing list is an acceptance from the end user to consider the list as an accepted sender of mails. /Per W On Fri, 24 Feb 2006, Daniel K. O. wrote: > Per Westermark escreveu: > > Can I assume that a lot of other people gets "anti-spam" = registration > > mails from: > > AntiSpam UOL <mr-...@uo...> > > whenever you post to this list? > > > > If so, please mail their ab...@uo... address and tell them what = you > > think about expecting mailing list participants to register whenever = any > > of their email users subscribe to a list just so that _we_ don't = have to > > see _their_ spam mails... > > > Unfortunately I think this should be handled by the list admins here. > The AntiSpam UOL is a service provided for users that opt in for the > service, so the fault is solely on the user. He is either too stupid, = or > was trying to piss us off. > I believe UOL policy doesn't allow them to simply turn off the = AntiSpam > service, and considering that their anti-spam software is dumb enough > that it can't identify messages from mailing lists (that IMHO should = be > silently ignored by their filter), it will be a long battle to = convince > them to 1) bother a user that pays money, 2) fix their stupid = filtering > software or 3) convince them that the user is purposely damaging an > entire community. > > Yeah, I think unsubscribing him from the list is faster. If we only = had > some admins around here... maybe we can try contacting the SF staff > directly and see if they can remove this user from this mailing list. > > > --- > Daniel K. O. > > --__--__-- Message: 5 Date: Fri, 24 Feb 2006 13:48:51 +0100 (CET) From: Per Westermark <pw...@ia...> To: "Daniel K. O." <dan...@gm...> cc: Dev-cpp user <dev...@li...> Subject: Re: [Dev-C++] double and float ?? VC++ doesn't have an long double data type. A long double variable will = be 8 byte large, just as a double. In short, there will be no problem = trying to send a long double parameter to a variadic function. Both sender and receiver will assume 8 bytes storage size. It is only code that relies on extra precision and/or range of a long double that will have problems. For example a numeric algorithm using a numerically unstable method of solving an equation might diverge with double numbers while it always have enough precision to converge on a solution with true long doubles. /Per W On Fri, 24 Feb 2006, Daniel K. O. wrote: > Per Westermark escreveu: > > %Lf specifies long double (when supported) > > > > Which the MS runtime doesn't seem to support... from my experiences (I > don't have the MS compiler, I just asked somebody else to compile some > code and send me the program output and some assembly dumps), VC++ > "demotes" long doubles to plain doubles in printf. > > But now that you mentioned %Lf, I would like to confirm with anyone = here > who has VC++; what does happen when trying to printf a long double on > VC++? For me, it looks like VC++ tries a "magic" conversion in = variadic > functions, but if it is true, it may break legit code (when trying to > va_arg a long double where a plain double was put). > > > > --- > Daniel K. O. > > --__--__-- Message: 6 Date: Fri, 24 Feb 2006 10:00:01 -0300 From: "Daniel K. O." <dan...@gm...> To: Per Westermark <pw...@ia...> CC: dev...@li... Subject: Re: [Dev-C++] "Anti-spam" mails from UOL Per Westermark escreveu: > My aim was to get a number of people to show their irritation by > sending complaints to ab...@uo... and telling them that > _they_ are explicitly spamming users. > > On the mailing list side, there is nothing sourceforge can do, since = they > never see these "anti-spam" mails. > =20 Well, we can at least try. :) https://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1438044&gro= up_id=3D1&atid=3D200001 And yes, I'll try to contact UOL too - let's hope they listen (and do=20 something about it). --- Daniel K. O. --__--__-- Message: 7 Date: Sat, 25 Feb 2006 00:01:51 +0000 (GMT) From: "KrowniX \(\)--\(\)" <kr...@ya...> To: dev...@li... Subject: [Dev-C++] Using mysql/mysql.h --0-1291976635-1140825711=3D:28970 Content-Type: text/plain; charset=3Diso-8859-1 Content-Transfer-Encoding: 8bit Hello, =20 How I use the mysql library in dev-c++?? these are the error messages = that i have. =20 ompilador: Default compiler Executando g++.exe... g++.exe "C:\resources\source_codes\mysql.cpp" -o = "C:\resources\source_codes\mysql.exe" -lmysqlclient -lsocket -lnsl = -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" = -I"C:\Dev-Cpp\include\c++\3.4.2\backward" = -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" = -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" = -L"C:\Dev-Cpp\lib" -lm=20 In file included from C:/Dev-Cpp/include/mysql/mysql.h:57, from C:\resources\source_codes\mysql.cpp:2: C:/Dev-Cpp/include/mysql/mysql_com.h:155: error: `SOCKET' does not name = a type C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: `SOCKET' was not = declared in this scope C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected = primary-expression before "const" C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected = primary-expression before "unsigned" C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: expected = primary-expression before "unsigned" C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: initializer expression = list treated as compound expression Execu=E7=E3o terminada =09 --------------------------------- Yahoo! doce lar. Fa=E7a do Yahoo! sua homepage. --0-1291976635-1140825711=3D:28970 Content-Type: text/html; charset=3Diso-8859-1 Content-Transfer-Encoding: 8bit <div>Hello,</div> <div> </div> <div>How I use the mysql library = in dev-c++?? these are the error messages that i have.</div> = <div> </div> <div>ompilador: Default compiler<BR>Executando = g++.exe...<BR>g++.exe "C:\resources\source_codes\mysql.cpp" -o = "C:\resources\source_codes\mysql.exe" -lmysqlclient -lsocket = -lnsl -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" = -I"C:\Dev-Cpp\include\c++\3.4.2\backward" = -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" = -I"C:\Dev-Cpp\include\c++\3.4.2" = -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -lm <BR>In file = included from = C:/Dev-Cpp/include/mysql/mysql.h:57,<BR> &nb= sp; from = C:\resources\source_codes\mysql.cpp:2:<BR>C:/Dev-Cpp/include/mysql/mysql_= com.h:155: error: `SOCKET' does not name a = type<BR>C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: `SOCKET' was = not declared in this scope<BR>C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected = primary-expression before = "const"<BR>C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected = primary-expression before = "unsigned"<BR>C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: expected = primary-expression before = "unsigned"<BR>C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: = initializer expression list treated as compound expression</div> = <div>Execu=E7=E3o terminada<BR></div><p> <hr size=3D1>=20 Yahoo! doce lar. <a = href=3D"http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.ya= hoo.com/homepageset.html">Fa=E7a do Yahoo! sua homepage.</a> --0-1291976635-1140825711=3D:28970-- --__--__-- Message: 8 Date: Sat, 25 Feb 2006 00:09:03 -0400 From: "Thierry Pierron" <tpi...@gm...> To: dev...@li... Subject: [Dev-C++] Re: XP Manifest and Win32 controls Argh, found the answer ... You have to link your prog against libcomctl32.a, includes a file "commctrl.h" and call InitCommonControls() before everything else. I suppose for supporting Vista, we'll have to kill a chicken and drink it's blood when the moon is full, while using black magic for programming :-( 2006/2/23, Thierry Pierron <tpi...@gm...>: > Hi all, > > I'm just trying to use Win32 common controls in Dev-cpp with "Support > Windows XP themes" activated in project's options. Actually, I simply > use the Win32 application template, where I added following lines of > code, just after main window creation : > > HWND button =3D3D CreateWindowEx( > 0, > "button", "Cancel", > WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, > 100, 200, 100, 20, > hwnd, (HMENU) IDOK, > hThisInstance, > NULL > ); > > Actually, that code works (i see push button) when XP styles are > desactivated. When I activate that option, the CreateWindowEx fails > with error "The class does not exist". > > Sorry, but I'm new to win32 programming, and I have to maintain a old > app. If someone has a little idea of what can solve that issue, that > would be fine ! > -- > Thierry Pierron > -- Thierry Pierron --__--__-- _______________________________________________ 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: <au...@gm...> - 2006-02-26 21:51:52
|
Hi, > I've been using DevC++ on windows for a while (few months). I switched on Linux (dual boot) and I > want to use it here too. I saw it's available on Bloodshed's CD. Is it also downloadable somewhere? > I searched the site but haven't find download link for that. (sorry if it's a stupid question) I suggest You to download Code::Blocks, it's very similar, but much more up to date. http://www.codeblocks.org /Aurimas |
|
From: Infinity <inf...@ne...> - 2006-02-26 18:50:00
|
I've been reading your mails since I got DevC++ and now I have a question. I've been using DevC++ on windows for a while (few months). I switched on Linux (dual boot) and I want to use it here too. I saw it's available on Bloodshed's CD. Is it also downloadable somewhere? I searched the site but haven't find download link for that. (sorry if it's a stupid question) Thanks, Infinity -- Odaberite XXLadsl - o=e8ekuju vas ve=e6e brzine uz iste cijene, priklju=e8ak za samo 1 kunu i paketi ve=e6 od 99 kuna mjese=e8no." |
|
From: sigit h. <rms...@ya...> - 2006-02-25 13:20:34
|
Halo Friends,
I need some help, some ideas from you........
I want to open a file, and read the lines. The file contents of 2 columns, the known parameter is at the first column and I want to get the parameter at the second column. But the case is that the first column´s parameters are strings with white-spaces (space), and there are tabs to the second column. If there is no white-spaces, I had done it succesfully, by doing:
while (! myfile.eof()){
myfile >> column1 >> column2 >> endl;
if (column1 == index1column1){
index1column2 = column2;
}
else if (column1 == index2column1){
index2column2 = column2;
}
}
so, how is it then if the case of string with whitespaces?
thank you very much for your help.
regards,
nima
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze. |
|
From: Rohit V. B. <rv...@gm...> - 2006-02-25 12:11:57
|
Marek Mal wrote: > The library files "dismgc.a" and "dismgc_d.a" which are in mentioned zip > archive rename > to "libdismgc.a" and "libdismgc_d.a" and put into the directory > "...Dev-Cpp\lib". > The headers files "dislin.h" and "dislin_d.h" copy into the directory > "...Dev-Cpp\include" thats > the end of installation, it's easy isn't it :)) Sorry for the late reply, my net's conked out. There's no need for renaming files or disturbing Dev-C++'s includes. First place dislin.h and dismgc.a in the directory of your source file(s). If you are not using a project, then on a DOS prompt, navigate to the directory and give the following command. Its way simpler than messing with the library/linker options. Here, pss.cpp is my code and pss.exe is the output file. You may have to add g++.exe to your PATH. g++ -o pss.exe pss.cpp -L. dismgc.a -mwindows If you are using a project, then go to project options and in the linker tab, add the two parameters "dismgc.a" and "-mwindows" (without the quotes). I'm not sure about the minus sign. Please check that. If you are making a console app, you will have to make use of argc[] and argv because DISLIN creates win32 apps (the mwindows switch takes cares of user32, gdi32) which don't permit console IO using printf()/scanf() or cout/cin. -- Rohit V. Bhute http://rvbhute.freelinuxhost.com/wordpress |
|
From: <au...@gm...> - 2006-02-25 11:36:46
|
Hi, > How I use the mysql library in dev-c++?? these are the error messages > that i have. Before including mysql.h you need to include windows.h #include<windows.h> /Aurimas |
|
From: Thierry P. <tpi...@gm...> - 2006-02-25 04:09:06
|
Argh, found the answer ... You have to link your prog against libcomctl32.a, includes a file "commctrl.h" and call InitCommonControls() before everything else. I suppose for supporting Vista, we'll have to kill a chicken and drink it's blood when the moon is full, while using black magic for programming :-( 2006/2/23, Thierry Pierron <tpi...@gm...>: > Hi all, > > I'm just trying to use Win32 common controls in Dev-cpp with "Support > Windows XP themes" activated in project's options. Actually, I simply > use the Win32 application template, where I added following lines of > code, just after main window creation : > > HWND button =3D CreateWindowEx( > 0, > "button", "Cancel", > WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON, > 100, 200, 100, 20, > hwnd, (HMENU) IDOK, > hThisInstance, > NULL > ); > > Actually, that code works (i see push button) when XP styles are > desactivated. When I activate that option, the CreateWindowEx fails > with error "The class does not exist". > > Sorry, but I'm new to win32 programming, and I have to maintain a old > app. If someone has a little idea of what can solve that issue, that > would be fine ! > -- > Thierry Pierron > -- Thierry Pierron |
|
From: KrowniX \(\)--\(\) <kr...@ya...> - 2006-02-25 00:01:59
|
Hello,
How I use the mysql library in dev-c++?? these are the error messages that i have.
ompilador: Default compiler
Executando g++.exe...
g++.exe "C:\resources\source_codes\mysql.cpp" -o "C:\resources\source_codes\mysql.exe" -lmysqlclient -lsocket -lnsl -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -lm
In file included from C:/Dev-Cpp/include/mysql/mysql.h:57,
from C:\resources\source_codes\mysql.cpp:2:
C:/Dev-Cpp/include/mysql/mysql_com.h:155: error: `SOCKET' does not name a type
C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: `SOCKET' was not declared in this scope
C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected primary-expression before "const"
C:/Dev-Cpp/include/mysql/mysql_com.h:299: error: expected primary-expression before "unsigned"
C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: expected primary-expression before "unsigned"
C:/Dev-Cpp/include/mysql/mysql_com.h:300: error: initializer expression list treated as compound expression
Execução terminada
---------------------------------
Yahoo! doce lar. Faça do Yahoo! sua homepage. |
|
From: Daniel K. O. <dan...@gm...> - 2006-02-24 13:00:10
|
Per Westermark escreveu: > My aim was to get a number of people to show their irritation by > sending complaints to ab...@uo... and telling them that > _they_ are explicitly spamming users. > > On the mailing list side, there is nothing sourceforge can do, since they > never see these "anti-spam" mails. > Well, we can at least try. :) https://sourceforge.net/tracker/index.php?func=detail&aid=1438044&group_id=1&atid=200001 And yes, I'll try to contact UOL too - let's hope they listen (and do something about it). --- Daniel K. O. |
|
From: Per W. <pw...@ia...> - 2006-02-24 12:48:59
|
VC++ doesn't have an long double data type. A long double variable will be 8 byte large, just as a double. In short, there will be no problem trying to send a long double parameter to a variadic function. Both sender and receiver will assume 8 bytes storage size. It is only code that relies on extra precision and/or range of a long double that will have problems. For example a numeric algorithm using a numerically unstable method of solving an equation might diverge with double numbers while it always have enough precision to converge on a solution with true long doubles. /Per W On Fri, 24 Feb 2006, Daniel K. O. wrote: > Per Westermark escreveu: > > %Lf specifies long double (when supported) > > > > Which the MS runtime doesn't seem to support... from my experiences (I > don't have the MS compiler, I just asked somebody else to compile some > code and send me the program output and some assembly dumps), VC++ > "demotes" long doubles to plain doubles in printf. > > But now that you mentioned %Lf, I would like to confirm with anyone here > who has VC++; what does happen when trying to printf a long double on > VC++? For me, it looks like VC++ tries a "magic" conversion in variadic > functions, but if it is true, it may break legit code (when trying to > va_arg a long double where a plain double was put). > > > > --- > Daniel K. O. > > |
|
From: Per W. <pw...@ia...> - 2006-02-24 12:43:34
|
My aim was to get a number of people to show their irritation by sending complaints to ab...@uo... and telling them that _they_ are explicitly spamming users. On the mailing list side, there is nothing sourceforge can do, since they never see these "anti-spam" mails. UOL have a very broken system that can't correctly detect list-originating mails, despite the huge number of extra fields available in the mail header: ---------- Precedence: bulk List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, <mailto:dev...@li...?subject=unsubscribe> List-Id: Dev-C++ users mailing list <dev-cpp-users.lists.sourceforge.net> List-Post: <mailto:dev...@li...> List-Help: <mailto:dev...@li...?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/dev-cpp-users>, <mailto:dev...@li...?subject=subscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users> ---------- If nothing else, they should at least make sure that the source domain lists.sourceforge.net was specifically known. It represents a significant number of mailing lists and whatever policy UOL might have, that policy is towards their end users, not towards the mailing lists, i.e. they can not expect to enforce their policies on us by expecting thousands - or tens of thousands of registrations in their system. The single action of registering to a mailing list is an acceptance from the end user to consider the list as an accepted sender of mails. /Per W On Fri, 24 Feb 2006, Daniel K. O. wrote: > Per Westermark escreveu: > > Can I assume that a lot of other people gets "anti-spam" registration > > mails from: > > AntiSpam UOL <mr-...@uo...> > > whenever you post to this list? > > > > If so, please mail their ab...@uo... address and tell them what you > > think about expecting mailing list participants to register whenever any > > of their email users subscribe to a list just so that _we_ don't have to > > see _their_ spam mails... > > > Unfortunately I think this should be handled by the list admins here. > The AntiSpam UOL is a service provided for users that opt in for the > service, so the fault is solely on the user. He is either too stupid, or > was trying to piss us off. > I believe UOL policy doesn't allow them to simply turn off the AntiSpam > service, and considering that their anti-spam software is dumb enough > that it can't identify messages from mailing lists (that IMHO should be > silently ignored by their filter), it will be a long battle to convince > them to 1) bother a user that pays money, 2) fix their stupid filtering > software or 3) convince them that the user is purposely damaging an > entire community. > > Yeah, I think unsubscribing him from the list is faster. If we only had > some admins around here... maybe we can try contacting the SF staff > directly and see if they can remove this user from this mailing list. > > > --- > Daniel K. O. > > |
|
From: Daniel K. O. <dan...@gm...> - 2006-02-24 12:11:13
|
Per Westermark escreveu: > %Lf specifies long double (when supported) > Which the MS runtime doesn't seem to support... from my experiences (I don't have the MS compiler, I just asked somebody else to compile some code and send me the program output and some assembly dumps), VC++ "demotes" long doubles to plain doubles in printf. But now that you mentioned %Lf, I would like to confirm with anyone here who has VC++; what does happen when trying to printf a long double on VC++? For me, it looks like VC++ tries a "magic" conversion in variadic functions, but if it is true, it may break legit code (when trying to va_arg a long double where a plain double was put). --- Daniel K. O. |
|
From: Daniel K. O. <dan...@gm...> - 2006-02-24 12:03:16
|
Per Westermark escreveu: > Can I assume that a lot of other people gets "anti-spam" registration > mails from: > AntiSpam UOL <mr-...@uo...> > whenever you post to this list? > > If so, please mail their ab...@uo... address and tell them what you > think about expecting mailing list participants to register whenever any > of their email users subscribe to a list just so that _we_ don't have to > see _their_ spam mails... > Unfortunately I think this should be handled by the list admins here. The AntiSpam UOL is a service provided for users that opt in for the service, so the fault is solely on the user. He is either too stupid, or was trying to piss us off. I believe UOL policy doesn't allow them to simply turn off the AntiSpam service, and considering that their anti-spam software is dumb enough that it can't identify messages from mailing lists (that IMHO should be silently ignored by their filter), it will be a long battle to convince them to 1) bother a user that pays money, 2) fix their stupid filtering software or 3) convince them that the user is purposely damaging an entire community. Yeah, I think unsubscribing him from the list is faster. If we only had some admins around here... maybe we can try contacting the SF staff directly and see if they can remove this user from this mailing list. --- Daniel K. O. |