dev-cpp-users Mailing List for Dev-C++ (Page 476)
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: <Swe...@ao...> - 2002-12-04 00:31:26
|
My teacher gave this assignment and i dont have a clue how to start it You can move only one disc at a time At the end of each move you must always replace a disc on top of one of the towers, i.e. no putting them on the floor You may not put a larger disc on top of a smaller one. |
|
From: Vlada D. <dj...@im...> - 2002-12-03 09:40:45
|
Hi.
I'm trying a toolbar for my window, but I keep geting a lot of "undeclared"
error messages. I included commctrl.h in my source and added -lcomctl32 in
linker options, but it doesn't work. Here's compiler output (part of it):
23 C:\Visual\Interface\main.cpp
`INITCOMMONCONTROLSEX' undeclared (first use this function)
24 C:\Visual\Interface\main.cpp
`ccx' undeclared (first use this function)
26 C:\Visual\Interface\main.cpp
implicit declaration of function `int InitCommonControlsEx(...)'
92 C:\Visual\Interface\main.cpp
`BTNS_BUTTON' undeclared (first use this function)
95 C:\Visual\Interface\main.cpp
`CX_SEPARATOR' undeclared (first use this function)
95 C:\Visual\Interface\main.cpp
`BTNS_SEP' undeclared (first use this function)
.... and so on.
This is piece of code I used to create toolbar:
int WINAPI
WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)
{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved
*/
WNDCLASSEX wincl; /* Data structure for the windowclass */
INITCOMMONCONTROLSEX ccx;
ccx.dwSize=sizeof(INITCOMMONCONTROLSEX);
ccx.dwICC=ICC_BAR_CLASSES;
InitCommonControlsEx(&ccx);
..............
case WM_CREATE:
{
TBBUTTON tbButtons[]=
{ {STD_FILENEW,ID_FILE_NEW,TBSTATE_ENABLED,BTNS_BUTTON,0L,0},
{STD_FILEOPEN,ID_FILE_OPEN,TBSTATE_ENABLED,BTNS_BUTTON,0L,0},
{STD_FILESAVE,ID_FILE_SAVE,TBSTATE_ENABLED,BTNS_BUTTON,0L,0},
{CX_SEPARATOR,0,TBSTATE_ENABLED,BTNS_SEP,{0,0},0,-1},
{STD_CUT,ID_EDIT_CUT,TBSTATE_ENABLED,BTNS_BUTTON,0L,0},
{STD_COPY,ID_EDIT_COPY,TBSTATE_ENABLED,BTNS_BUTTON,0L,0}
{STD_PASTE,ID_EDIT_PASTE,TBSTATE_ENABLED,BTNS_BUTTON,0L,0}
};
HWND
hToolBar=CreateToolbarEx(hwnd,WS_CHILD|WS_BORDER|WS_VISIBLE|TBSTYLE_TOOLTIPS
,
IDT_TOOLBAR,15,HINST_COMMCTRL,IDB_STD_SMALL_COLOR,tbButtons,ARRAYSIZE(tbButt
ons),
0,0,100,300,sizeof(TBBUTTON));
if(!hToolBar)
MessageBox(hwnd,"Can't create toolbar!","eror",MB_OK);
}
break;
Help, please!!
Regards,
Vlada
|
|
From: Mark M J. <mja...@at...> - 2002-12-03 07:51:50
|
|
From: Shayne K. <err...@ne...> - 2002-12-03 06:15:06
|
Yeah, I hear your frustration. You have to be careful with VC++ and .Net, since these are non-standard (or at least MS Standard) C++ implementations. I found gcc quite nice with templates, although, I did run into a problem a while back dealing with spacing: X <int> foo; as oppoesed to X<int> foo; -- Shayne http://www.shaynekasai.com On Mon, 2 Dec 2002, Samuel Keding wrote: > Tonight I had a very great desire to hurt Micro$oft. I > was using there .net compiler trying to do an > assignment with templates. I finally got what I > thought were all the syntax errors out, but I kept > getting linker errors. I finally downloaded my > teacher's lecture notes and found out m$ has trouble > with templates. So I put the definitions in the same > file as the declarations and the program compiled and > ran fine. I can't believe that I spent several hours > on a project so simple. It made me want to hurt M$. > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Samuel K. <big...@ya...> - 2002-12-03 05:37:50
|
Tonight I had a very great desire to hurt Micro$oft. I was using there .net compiler trying to do an assignment with templates. I finally got what I thought were all the syntax errors out, but I kept getting linker errors. I finally downloaded my teacher's lecture notes and found out m$ has trouble with templates. So I put the definitions in the same file as the declarations and the program compiled and ran fine. I can't believe that I spent several hours on a project so simple. It made me want to hurt M$. __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Ken B. <ke...@al...> - 2002-12-02 14:21:47
|
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...]On Behalf Of Nathan
Binette
Sent: Saturday, November 30, 2002 3:11 PM
To: dev...@li...
Subject: [Dev-C++] type mismatch
When writing a basic program to perform a calcuation I have set types as
float to receive input (cin). When I enter a character (not a number) when
prompted for input the program terminates. This happens even when using
exception handling
cin.exceptions(cin.failbit);
try{ }
catch (...) { };
I've enabled exception handling via compiler options but this does not
help? Can anyone offer any comments on how to avoid program termination
when type mismatch occurs?
Thanks, Nate
[[Ken]: ]
Why not receive a string, check for validity, and convert to a float?
atof() means ASCII to float
atol() means ASCII to long
atoi() means ASCII to int
#include <stdlib.h>
price = atof (mybuffer);
Checkout http://www.cplusplus.com/doc/tutorial/tut3-2.html.
Ken Bradford
Alpha II Service, Inc.
(614)868-5033
|
|
From: Jaap de W. <wo...@Ne...> - 2002-12-02 14:13:14
|
You can't use switch on a value which is not known at compile time.
instead, do a compare in default:
default:
if (message == WM_MYMESSAGE)
{
/* Do some stuff */
}
else
{
return DefWindowProc (hwnd, message, wParam,
lParam);
}
The other part of the story is that you shouldn't assign the value of a
variable in the header file, but do this in the implementation file.
> -----Original Message-----
> From: Marc Heiligers [mailto:ma...@e-...]
> Sent: Monday, December 02, 2002 02:32 PM
> To: dev-cpp-users-list
> Subject: [Dev-C++] Problem with RegisterWindowMessage()
>
>
> I have a little problem. I have a header file which I include
> in my main
> file (surprise surprise). In the header I have the following:
>
> const UINT WM_MYMESSAGE = RegisterWindowMessage(_T("some message"));
>
> Right, now in my main WindowProc I have a switch statement like so:
>
> LRESULT CALLBACK WindowProc(HWND hwnd, UINT message, WPARAM
> wParam, LPARAM
> lParam)
> {
> switch (message) /* handle the messages */
> {
> case WM_DESTROY:
> PostQuitMessage (0); /* send a WM_QUIT to
> the message
> queue */
> break;
> /*
> And some more message handlers here
> more
> more
> */
> case WM_MYMESSAGE:
> /*Do some stuff*/
> default:
> return DefWindowProc (hwnd, message, wParam, lParam);
> }
> return 0;
> }
>
> So far so good. Now when I compile I get the following little message:
>
> "case label `WM_MYMESSAGE' does not reduce to an integer constant"
>
> Now, personally, I thought that a "const UINT" was an integer
> constant, but
> clearly g++ disagrees. The funny thing is I have used similar
> code with VC++
> v6 and not had the same problem. Any ideas of how I can
> convince g++ that
> this is the case would be appreciated.
>
> _____________________________
> Marc Heiligers
>
> PS. I've had coffee before I wrote this, so I'm pretty sure
> I'm thinking
> straight (for a change).
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Marc H. <ma...@e-...> - 2002-12-02 13:28:28
|
I have a little problem. I have a header file which I include in my main
file (surprise surprise). In the header I have the following:
const UINT WM_MYMESSAGE = RegisterWindowMessage(_T("some message"));
Right, now in my main WindowProc I have a switch statement like so:
LRESULT CALLBACK WindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
lParam)
{
switch (message) /* handle the messages */
{
case WM_DESTROY:
PostQuitMessage (0); /* send a WM_QUIT to the message
queue */
break;
/*
And some more message handlers here
more
more
*/
case WM_MYMESSAGE:
/*Do some stuff*/
default:
return DefWindowProc (hwnd, message, wParam, lParam);
}
return 0;
}
So far so good. Now when I compile I get the following little message:
"case label `WM_MYMESSAGE' does not reduce to an integer constant"
Now, personally, I thought that a "const UINT" was an integer constant, but
clearly g++ disagrees. The funny thing is I have used similar code with VC++
v6 and not had the same problem. Any ideas of how I can convince g++ that
this is the case would be appreciated.
_____________________________
Marc Heiligers
PS. I've had coffee before I wrote this, so I'm pretty sure I'm thinking
straight (for a change).
|
|
From: Arnvid K. <ar...@ka...> - 2002-12-02 08:28:08
|
Heya. Whenever trying to use the function getopts() in a program the linker kindly says that it can't find any refrence to the options getopts (or getops_long for that matter).. Anyone else seen this, or someone might know a remedy? Mvh/Best regards, Arnvid L. Karstad |
|
From: <h.r...@gm...> - 2002-12-01 22:33:18
|
sorry for my last posting, i forget to change the subject -- Horst Rößner Postf. 1802 52205 Stolberg ICQ ID #74808448 h.r...@gm... h.g...@t-... www.hroess.net +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |
|
From: <h.r...@gm...> - 2002-12-01 21:31:37
|
Hi List, I know, it's bad style to ask the same question twice, but the problem still remains. If i compile a program i get the error message: Compiler: Default compiler Building Makefile: "E:\dev\dev-c++\proj2\Makefile.win" Führt make... aus make.exe -f "E:\dev\dev-c++\proj2\Makefile.win" all g++.exe ../proj2/main1.o ../proj2/procabi.o ../proj2/readdata.o ../proj2/writedata.o ../proj2/intro.o ../proj2/datei.o ../proj2/inout.o -o "testproj1.exe" -L"C:/Dev-Cpp/lib" -L"E:/dev/dev-c++/proj2" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include/c++/3.2" -I"E:/dev/dev-c++/proj2" -mcpu=pentium -fexceptions -s C:\Dev-Cpp\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lstdc++ make.exe: *** [testproj1.exe] Error 1 Ausführung beendet It would be great if anyone has a hint about it. Many Thanks Horst -- -- Horst Rößner ICQ ID #74808448 h.r...@gm... h.g...@t-... www.hroess.net +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! |
|
From: <fer...@te...> - 2002-12-01 04:20:32
|
Hi all! Can someone tell me the way I do to use mysql on my application? I use 4.9.6 in Windows Millenium. I´m learning how to use GTK and want make an application that uses mysql too. Thanks Fernando Conceição |
|
From: Ioannis V. <no...@ho...> - 2002-12-01 00:06:39
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Manpreet Singh Vasir > Sent: Saturday, November 30, 2002 7:53 PM > To: dev...@li... > Subject: [Dev-C++] powerpc compiler options for gcc > > > Hi , > > I have just started being interested in "Dev-Cpp". I > have version 4.9.5.0 which has gcc compiler version > 2.95.3-6. I am running it on windows XP and want to > cross compile my source code for powerPC processor. I > have referred all site notes on gcc (nearly), have > found the compiler option like "-mpowerpc, > -mpowerpc64, -m601 "etc..... But they just dont > work!!!!!!! > > I get this error message : > > "Invalid option `powerpc' " > > > Any clues why? Is it my configuration? To see the available options give gcc --help -v To redirect it to a file to check it easily give gcc --help -v >temp.txt and open temp.txt to read it. Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL: http://run.to/noicys |
|
From: Nathan B. <na...@ps...> - 2002-11-30 20:10:53
|
When writing a basic program to perform a calcuation I have set types as =
float to receive input (cin). When I enter a character (not a number) =
when prompted for input the program terminates. This happens even when =
using exception handling
cin.exceptions(cin.failbit);
try{ }
catch (...) { };
I've enabled exception handling via compiler options but this does not =
help? Can anyone offer any comments on how to avoid program termination =
when type mismatch occurs?
Thanks, Nate |
|
From: Manpreet S. V. <ms...@ya...> - 2002-11-30 17:52:35
|
Hi , I have just started being interested in "Dev-Cpp". I have version 4.9.5.0 which has gcc compiler version 2.95.3-6. I am running it on windows XP and want to cross compile my source code for powerPC processor. I have referred all site notes on gcc (nearly), have found the compiler option like "-mpowerpc, -mpowerpc64, -m601 "etc..... But they just dont work!!!!!!! I get this error message : "Invalid option `powerpc' " Any clues why? Is it my configuration? Thanks in advance Manpreet __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
|
From: Luigi S. <gi...@li...> - 2002-11-30 17:22:11
|
On Wed, Nov 27, 2002 at 12:17:44PM +0100, Frank Wagner wrote: > Hello, > > I wrote some classes that I don't want to include to new projekts every > time. So I created a directory ../inlcude and put in the foo.h files > containing the classes. Then I compiled the the foo.cpp building a > library named foo.a. > At the linker options I put in a -l foo.a but while compiling a new > projekt that sould use that new library I get a linker error. > What is neccessary to linkt the lib file? Is it neccessary to name the > libfile libfoo.a or someone else ?? > > Any suggestions?? Whats with the foo.so is this essential? > > I hope somewone can give me a hint. > > Greetings > > Frank Hi Frank, I assume you are using linux (because of the "../include" you wrote). As you surely know, libraries come in two flavors: static and shared. Generally, static ones are name "libfoo.a", while shared ones are named "libfoo.so". Shared libraries are called "dynamic link libraries" in the Microsoft world. There are 2 ways to link a "main" against some (static) library (assuming that the library is located in the same directory as the "hello.c" file): - using the command "cc -o hello hello.c libfoo.a" - using the command "cc -o hello hello.c -lfoo -L." Hope the above is of help. -- >> gisan >> |
|
From: Carlos d. M. <cg...@wo...> - 2002-11-30 17:11:41
|
When a project has many files the parsing takes very long, it was recommended turn off parsing. Christer Sandberg escribi=F3: > I just started to use DevC++ 4.9.6.0 > When I created a project and added all my files > into it (marking all of them at once in the file > selecteor) it crashed. I tried again but this time > I added just a couple of files each time, and it > worked. > When I now re-open the project it crashes every > time. Trying to cut off some of the files seems > to work when there are at most 53 files. 55 files > or more crashes always. 54 may work. > I have a win98 box 128M memory. Using default > setting in a WinMain project. > > Anyone that have an idea how to work around this? > Strange enough there seems to be nothing on the > bug-list. > > Traceback: > DEVCPP orsakade ett ogiltigt sidfel i > modul DEVCPP.EXE p=E5 adress 017f:00406be1. > Registrerar: > EAX=3D00407f04 CS=3D017f EIP=3D00406be1 EFLGS=3D00010283 > EBX=3D00407f04 SS=3D0187 ESP=3D0078fe38 EBP=3D007903c8 > ECX=3D00000001 DS=3D0187 ESI=3D007903c4 FS=3D0f1f > EDX=3D007903c4 ES=3D0187 EDI=3D007904c8 GS=3D0000 > Byte p=E5 CS:EIP: > 68 00 04 00 00 8d 44 24 04 50 8b 43 04 50 8b 03 > Stackdump: > > /C > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Christer S. <chr...@md...> - 2002-11-30 16:47:55
|
I just started to use DevC++ 4.9.6.0 When I created a project and added all my files=20 into it (marking all of them at once in the file selecteor) it crashed. I tried again but this time=20 I added just a couple of files each time, and it=20 worked.=20 When I now re-open the project it crashes every=20 time. Trying to cut off some of the files seems to work when there are at most 53 files. 55 files or more crashes always. 54 may work. I have a win98 box 128M memory. Using default=20 setting in a WinMain project. Anyone that have an idea how to work around this? Strange enough there seems to be nothing on the bug-list. Traceback: DEVCPP orsakade ett ogiltigt sidfel i modul DEVCPP.EXE p=E5 adress 017f:00406be1. Registrerar: EAX=3D00407f04 CS=3D017f EIP=3D00406be1 EFLGS=3D00010283 EBX=3D00407f04 SS=3D0187 ESP=3D0078fe38 EBP=3D007903c8 ECX=3D00000001 DS=3D0187 ESI=3D007903c4 FS=3D0f1f EDX=3D007903c4 ES=3D0187 EDI=3D007904c8 GS=3D0000 Byte p=E5 CS:EIP: 68 00 04 00 00 8d 44 24 04 50 8b 43 04 50 8b 03=20 Stackdump: /C |
|
From: Shayne K. <err...@ne...> - 2002-11-29 18:59:09
|
There are several tutorials on the wxWindows.org website. Check them out, as it is essential to learn how to use wxWindows. wxWindows is more of a binding tool that lets you use the GTK widgetset or win32. Another thing to do is create a new UI (wxWindows) project and just compile the basic program template shipped with the wxWindows package in dev-cpp -- Shayne http://www.shaynekasai.com On Fri, 29 Nov 2002, Ionescu Vasile wrote: > First, I'm a newbie in C++ programming but I'm a fan > of Open Source, LGPL'ed software. > So, I installed Dev-C++ 4 (latest stable), the > wxWindows libraries and 2 or 3 tutorials about > wxWindows. This tutorials looks great, but I'm totally > confused about how can I have a decent GUI toolkit. > In this moment, I'm ready to receive any > recommendation, tutorial, paper etc. about how to > install a GUI library for Windows and Linux with > Dev-C++, with ONE condition: this material must be > EXPLICIT and with a little example. > Could anyone give me a hand of help? > > Thanks, > Glass > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Ionescu V. <hmm...@ya...> - 2002-11-29 17:59:24
|
First, I'm a newbie in C++ programming but I'm a fan
of Open Source, LGPL'ed software.
So, I installed Dev-C++ 4 (latest stable), the
wxWindows libraries and 2 or 3 tutorials about
wxWindows. This tutorials looks great, but I'm totally
confused about how can I have a decent GUI toolkit.
In this moment, I'm ready to receive any
recommendation, tutorial, paper etc. about how to
install a GUI library for Windows and Linux with
Dev-C++, with ONE condition: this material must be
EXPLICIT and with a little example.
Could anyone give me a hand of help?
Thanks,
Glass
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|
|
From: Carlos d. M. <cg...@wo...> - 2002-11-29 16:15:17
|
Lahsen BAALI escribi=F3: > Hello, > > I use dev-cpp 4.9.6.0 with a default compiler g++-3. > What's difference between g++ and gcc? g++ is for C++ and gcc for C, but you can use both for any kind, since i= t will compile fine, if you do gcc file.cpp it calls to g++. > > I downlaod MinGW32 and i want use gcc-3-2 like defaut compiler = for dev-cpp > 4.9.6.0. How use MinGW32 with dev-cpp and how choice gcc-3-2 like defau= lt > compiler? Go to Tools->Compiler->programs and fill the fields there.. > > Thunks. > > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: Ricardo R. <ri...@po...> - 2002-11-29 14:48:27
|
Try with <conio.h>, perhaps it can work, if not with <conio_mingw.h>. |
|
From: Kenneth B. <ken...@ya...> - 2002-11-29 13:55:53
|
I am running Dev-C++ on a x86 Win 2K machine. I have been writing programs all term and things have compiled and run just fine. I really hate to say this, because It drives me nuts when someone else has a problem an they ask me for help, and they give me the proverbeal "I don't know what happned"! Something always causes things to happen... However, something happened, and I don't know what... and now I cannot compile and run my source except in my root directy C:\. Dev-C++ is compiling the code, it just won't run the executable file. I can navagate to the directory and run the file from its directory, just not when Dev-C++ compiles. Also, I have tried uninstalling & Reinstalling Dev-C++ I even tried Dev-Cpp but nothing has helped thus far. KB --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now |
|
From: Ioannis V. <no...@ho...> - 2002-11-29 13:40:28
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Marcos Carrard
> Sent: Thursday, November 28, 2002 9:11 PM
> To: dev...@li...
> Subject: [Dev-C++] STL problem
>
>
> Hi!
>
> I have a little problem with Dev in STL library. The problem is in
> priority_queue with declaration of function object for
> relational test.
> The source code is:
>
> #include <iostream>
> #include <queue>
// for less<>
#include <functional>
// See below
#include <vector>
>
> using namespace std;
>
> int main()
> {
> typedef priority_queue< int, less<int> > IntPQueue; // HERE!!!!
priority_queue has 3 types, the 2 last having defaults:
The second is the vector<> where it stores the elements and the third is
the less<> which by default uses <.
In few words your less is redundant (and may even induce additional time
cost). So if you want to define the third argument you have to define
the second too:
typedef priority_queue< int, vector<int>, less<int> > IntPQueue;
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|
|
From: Ioannis V. <no...@ho...> - 2002-11-29 13:25:34
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Carlos Garc=EDa del Monte
> Sent: Thursday, November 28, 2002 6:54 PM
> To: dev-cpp-users-list
> Subject: Re: [Dev-C++] Number of elements of a multidimensional
>=20
>=20
> The sizeof applied to a array will give you the size of a=20
> pointer, never
> the size of the array.
> Say char *array; or char array[];
As a function argument, because only then the second is a pointer.
Inside the scope of its definition, a
char array[]=3D"12345678901234567890";
size_t x=3Dsizeof(array);
x will always be 21 (the '\0' included).
However in void f(char array[]);
is equivallent to void f(char *);
so you can do array++; for example because all tthese are ponters.
You can do that even in the case:
void f(char array[20])
{
/* The !=3D'\0' is not needed */
while(*array!=3D'\0')
*array++=3D'a';
}
All "array" arguments of functions are pointers but we can use the array
syntax for notational purposes.
> Then sizeof(array) =3D 4. (at least in my intelIII x86, with win2k 4 =
is
> the size for any kind of pointer).
>=20
> The only solution is to have some special value for the end of the
> array. Which for strings is '\0', and you can try to set another
> depending on which kind of data you're working with and which range of
> values you can find, so you can then choose on of the values which are
> out of the range to set as that special value. So you can reach for it
> and you can then now, with the approppriate functions you can=20
> write the
> total size of the array and the size of each row of the=20
> multidimensional
> array.
Yes he has to "remember" the size of the array when he passes it across
functions, even by passing the sizes as additional arguments, or other
tricks.
Ioannis Vranos
=20
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL: http://run.to/noicys
|