dev-cpp-users Mailing List for Dev-C++ (Page 540)
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: Hongli L. <h....@ch...> - 2002-08-10 17:17:27
|
On Sat, 2002-08-10 at 19:01, Garrett Bratvold wrote: > I Was Wondering, Where Can I Get a Dev C++ Compatible graphics.h? And Its Really Hard To Find, Please--If You Know, Please Email Me: > One Answer: You Can't. It's A Borland/DOS Extension. If You Want To Access Graphics Routines, Use The Win32 API Directly Or Use Some Graphics Library Like SDL Or DirectX. (and could you *please* stop typing everything in BiCapital?) |
|
From: Garrett B. <Jed...@ms...> - 2002-08-10 17:03:45
|
I Was Wondering, Where Can I Get a Dev C++ Compatible graphics.h? And It= s Really Hard To Find, Please--If You Know, Please Email Me: =20 Jed...@ms... . May The Force Be With You, Garrett B.Get more from the Web. FREE MSN Explorer download : http://exp= lorer.msn.com |
|
From: Hongli L. <h....@ch...> - 2002-08-10 15:46:39
|
On Sat, 2002-08-10 at 14:55, Mark Brooks wrote: > Hello. I'm trying to get the GTK+ 2.0.3 package to work correctly with my > Dev-Cpp install on Win2k. I'm using the default minGW complier that comes > with Dev-Cpp, and I've installed all the Dev-Cpp updates that the update > tool says are available. Use the GTK+ *template*. |
|
From: Mark B. <jmb...@ea...> - 2002-08-10 14:20:06
|
One other note. I installed GTK+ with the package manager.
Mark Brooks
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of Mark
> Brooks
> Sent: Saturday, August 10, 2002 8:56 AM
> To: dev...@li...
> Subject: [Dev-C++] Problem linking simple GTK+ prog with Dev-Cpp 4.9.5.0
>
>
> Hello. I'm trying to get the GTK+ 2.0.3 package to work correctly with my
> Dev-Cpp install on Win2k. I'm using the default minGW complier that comes
> with Dev-Cpp, and I've installed all the Dev-Cpp updates that the update
> tool says are available.
>
> I believe that I have the include directories properly registered with the
> IDE. What I'm getting are linking errors.
>
> [Linker error] undefined reference to `gtk_init_abi_check'
> [Linker error] undefined reference to `gtk_window_new'
> [Linker error] undefined reference to `gtk_widget_show'
> [Linker error] undefined reference to `gtk_main'
>
> Here is the simple program I'm trying to get to compile and run
> correctly as
> a test of my GTK setup:
>
> #include <gtk/gtk.h>
>
> int main (int argc, char *argv[])
> {
>
> GtkWidget *window;
>
> gtk_init (&argc, &argv);
>
> window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
>
> gtk_widget_show (window);
>
> gtk_main();
>
> return 0;
>
> }
>
> As I said, a simple test program.
>
> I'm sure that there's something I haven't configured correctly that is
> causing the problem. Could it be that I need to insert '-lglib' and
> '-lgtk+' in my compiler options somewhere?
>
> Thanks for any assistance.
>
> Mark Brooks
>
>
>
> -------------------------------------------------------
> 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: Zodiaq <zo...@ac...> - 2002-08-10 14:06:25
|
Hello, forget about my last question... what I need is not header control but list view control... --- regards, Zodiaq |
|
From: Zodiaq <zo...@ac...> - 2002-08-10 13:29:12
|
Hello A and all Dev-C++ users, Saturday, August 10, 2002, 1:45:19 PM, A wrote as follows: AK> You don´t need a driver for getting this info. There are numerous small AK> applications which give you that info, some with source, like: AK> http://gamma.nic.fi/~rainy/Rainmeter.html which is extensible by your own AK> plugins and is GPLed. Yeah, nice software, but I don't have time to analize how it works... instead someone on newsgroup gave me info how to do what I want... the answer is very simple - IP helper API... just simple like that... I'm already building my simple app that monitor data flow through my interfaces... and now I need SOME MORE HELP... Does anybody know (or have some example) how to properly build header control that could work on strings (edit controls?) ? Well, I found how to build header, but how to make it work (make it move data below it) with some edit controls... I have problems understanding how it works - header and rich edit ? Well, when I put header control inside rich edit I can normally put text inside rich edit - and that text destroys header(writes over)... which is BAD! ;-] Any help apreciated... AK> Alex -- regards, Zodiaq |
|
From: Mark B. <jmb...@ea...> - 2002-08-10 12:55:06
|
Hello. I'm trying to get the GTK+ 2.0.3 package to work correctly with my
Dev-Cpp install on Win2k. I'm using the default minGW complier that comes
with Dev-Cpp, and I've installed all the Dev-Cpp updates that the update
tool says are available.
I believe that I have the include directories properly registered with the
IDE. What I'm getting are linking errors.
[Linker error] undefined reference to `gtk_init_abi_check'
[Linker error] undefined reference to `gtk_window_new'
[Linker error] undefined reference to `gtk_widget_show'
[Linker error] undefined reference to `gtk_main'
Here is the simple program I'm trying to get to compile and run correctly as
a test of my GTK setup:
#include <gtk/gtk.h>
int main (int argc, char *argv[])
{
GtkWidget *window;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show (window);
gtk_main();
return 0;
}
As I said, a simple test program.
I'm sure that there's something I haven't configured correctly that is
causing the problem. Could it be that I need to insert '-lglib' and
'-lgtk+' in my compiler options somewhere?
Thanks for any assistance.
Mark Brooks
|
|
From: A.Klingenstein <kli...@we...> - 2002-08-10 11:47:35
|
On Thu, 8 Aug 2002 11:31:45 +0200 Zodiaq <zo...@ac...> wrote: > Yeah, I know about that, and I know about perfmon... but I just want > write something similar by my own - something to show me bytes > received and send, nothing more... so I have to build driver for that? > Or are there any simplier methods? You don´t need a driver for getting this info. There are numerous small applications which give you that info, some with source, like: http://gamma.nic.fi/~rainy/Rainmeter.html which is extensible by your own plugins and is GPLed. Alex |
|
From: Ramana K. <ra...@my...> - 2002-08-10 11:13:55
|
Hi, I have a problem concerning timers in windows.
I am using only win32 API, and i use the fuction:
SetTimer(hwnd,id,len*100,NULL);
//hwnd is the HWND of the window, id is a UINT, len is a UINT
to set a timer that will later send a WM_TIMER message to my WindowProc. In
my WindowProc i have code like this:
case WM_TIMER:
{
myclass->blah();
return 0;
}
//myclass is a pointer to an object with a function called blah
and the function blah sets bool thebool to the value false.
in the function that calls SetTimer, i later have the code:
thebool = true;
while(thebool)
{
MessageBox(hwnd,"WAITING","ERROR",MB_OK); //this gets deleted
}
when i run the program, the messagebox comes up a number of times until
len*100 milliseconds has passed, then it resumes normal operation.
The problem is, i do not want to have to put up this messagebox. So i delete
the code for it. Once i do this, it seems the WM_TIMER message is never sent
for some reason. even if a put a messagebox in the case WM_TIMER: section,
it is never shown, unless i keep the messagbox in the while loop.
what is the meaning of this?
how am i using the timer wrongly?
thanks in advance
ramana
ps i also tried putting WaitMessage(); in the while loop instead, but it has
no effect.
|
|
From: Ioannis V. <no...@ho...> - 2002-08-09 22:46:09
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Zodiaq
> Sent: Saturday, August 10, 2002 1:40 AM
> To: Dev...@li...
> Subject: Re[2]: [Dev-C++] Stupid question
>
>
> Hello Ioannis and all Dev-C++ users,
>
> Friday, August 9, 2002, 11:53:12 PM, Ioannis wrote as follows:
>
> IV> Your code is valid, you should not get any errors,
> although it could be
> IV> written better:
>
> IV> #include <iostream>
> IV> #include <cstdlib>
>
>
> IV> int main() {
>
> IV> using namespace std;
>
> IV> cout << "hello" << "\n";
> IV> system("PAUSE");
>
> Ain't that better to use cin.ignore() instead of cstdlib and
> system("PAUSE") ??
Yes that would be more portable.
> that are just my two grosze...
> --
> regards, Zodiaq
Ioannis hands to Zodiaq 2 euro-grosze.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Zodiaq <zo...@ac...> - 2002-08-09 22:40:33
|
Hello Ioannis and all Dev-C++ users,
Friday, August 9, 2002, 11:53:12 PM, Ioannis wrote as follows:
IV> Your code is valid, you should not get any errors, although it could be
IV> written better:
IV> #include <iostream>
IV> #include <cstdlib>
IV> int main() {
IV> using namespace std;
IV> cout << "hello" << "\n";
IV> system("PAUSE");
Ain't that better to use cin.ignore() instead of cstdlib and
system("PAUSE") ??
IV> return 0;
IV> }
IV> Ioannis
IV> * Ioannis Vranos
IV> * Programming pages: http://www.noicys.cjb.net
IV> * Alternative URL: http://run.to/noicys
that are just my two grosze...
--
regards, Zodiaq
|
|
From: Ioannis V. <no...@ho...> - 2002-08-09 21:53:36
|
Your code is valid, you should not get any errors, although it could be
written better:
#include <iostream>
#include <cstdlib>
int main() {
using namespace std;
cout << "hello" << "\n";
system("PAUSE");
return 0;
}
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of jansb000
> Sent: Saturday, August 10, 2002 12:16 AM
> To: Jim Watters; dev...@li...
> Subject: Re: [Dev-C++] Stupid question
>
>
> This is my program: I still have the problem ([linker error] undefined
> reference to 'cout')!
>
> #include <iostream>
> #include <stdlib.h>
>
> using namespace std;
>
> int main(int argc, char *argv[]) {
> cout << "hello" << "\n";
> system("PAUSE");
> return 0;
> }
>
> ----- Original Message -----
> From: "Jim Watters" <ma...@em...>
> To: <dev...@li...>
> Sent: Wednesday, August 07, 2002 3:11 PM
> Subject: RE: [Dev-C++] Stupid question
>
>
> > -----Original Message-----
> > From: Jim Watters
> >
> > #include <iostream.h>
> >
> > ;-)
> >
> > -----Original Message-----
> > From: Ioannis Vranos
> >
> > #include <iostream>
> >
> > using namespace std;
> >
> > :)
> >
> > -----New Message-----
> >
> > You mean :) must be used instead of ;-)?
> >
> > Thanks. I'm used to C and doing things "the old way".
> >
> > :)
> >
> > Jim
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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
>
>
>
> -------------------------------------------------------
> 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: Rob <ro...@us...> - 2002-08-09 21:32:26
|
I pasted your code into a blank file and compiled/executed it without
problem.
Rob
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...]On Behalf Of jansb000
> Sent: Friday, August 09, 2002 4:16 PM
> To: Jim Watters; dev...@li...
> Subject: Re: [Dev-C++] Stupid question
>
>
> This is my program: I still have the problem ([linker error] undefined
> reference to 'cout')!
>
> #include <iostream>
> #include <stdlib.h>
>
> using namespace std;
>
> int main(int argc, char *argv[]) {
> cout << "hello" << "\n";
> system("PAUSE");
> return 0;
> }
>
> ----- Original Message -----
> From: "Jim Watters" <ma...@em...>
> To: <dev...@li...>
> Sent: Wednesday, August 07, 2002 3:11 PM
> Subject: RE: [Dev-C++] Stupid question
>
>
> > -----Original Message-----
> > From: Jim Watters
> >
> > #include <iostream.h>
> >
> > ;-)
> >
> > -----Original Message-----
> > From: Ioannis Vranos
> >
> > #include <iostream>
> >
> > using namespace std;
> >
> > :)
> >
> > -----New Message-----
> >
> > You mean :) must be used instead of ;-)?
> >
> > Thanks. I'm used to C and doing things "the old way".
> >
> > :)
> >
> > Jim
> >
> >
> >
> >
> > -------------------------------------------------------
> > 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
>
>
>
> -------------------------------------------------------
> 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: jansb000 <jan...@pl...> - 2002-08-09 21:16:03
|
This is my program: I still have the problem ([linker error] undefined
reference to 'cout')!
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(int argc, char *argv[]) {
cout << "hello" << "\n";
system("PAUSE");
return 0;
}
----- Original Message -----
From: "Jim Watters" <ma...@em...>
To: <dev...@li...>
Sent: Wednesday, August 07, 2002 3:11 PM
Subject: RE: [Dev-C++] Stupid question
> -----Original Message-----
> From: Jim Watters
>
> #include <iostream.h>
>
> ;-)
>
> -----Original Message-----
> From: Ioannis Vranos
>
> #include <iostream>
>
> using namespace std;
>
> :)
>
> -----New Message-----
>
> You mean :) must be used instead of ;-)?
>
> Thanks. I'm used to C and doing things "the old way".
>
> :)
>
> Jim
>
>
>
>
> -------------------------------------------------------
> 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: Hongli L. <h....@ch...> - 2002-08-09 17:25:01
|
On Fri, 2002-08-09 at 17:00, e.leon2 wrote: > Is it planned to make a package with the last wxWindows (2.3.2) ? > I tried to compile it with mingw32, but I get errors... Have you noticed that 2.3.2 is the *development* version? In case you don't know what it means: it's the version in development. It may not compile, it may make your program crash, it's API may be incompatible or may become incompatible in the future, etc. The latest *stable* version is 2.2.9, which is packaged. Use that instead. |
|
From: Elizabeth B. <sog...@ya...> - 2002-08-09 16:40:45
|
"Ahmad Munif" <mu...@ho...> writes: > i'm building mysql wrapper that linking with > -lmysqlclient -lwsock32 -lzlib > wrapper running well, then i built static library > using dev-c++ that linking with > -lmysqlclient -lwsock32 -lzlib and i got > new static library mywrapper.a > > i rename that name become libmywrapper.a then copy to lib dev-c++/lib > > but, when i used that static library that linking my application to > -lmysqlclient -lwsock32 -lzlib -lmywrapper > > i'm getting many linker error message: > [linker error] undefine reference to mysql_connect > > What's wrong ? > how to build static library dan using it with dev-c++ ? The order of the libraries on the command line make a difference. Try placing -lmysqlclient *after* -lmywrapper. Elizabeth |
|
From: Per W. <pw...@ia...> - 2002-08-09 16:06:02
|
Seems to work for me. /PWM On Fri, 9 Aug 2002, e.leon2 wrote: > Is it planned to make a package with the last wxWindows (2.3.2) ? > I tried to compile it with mingw32, but I get errors... > ------------------------------------------ > > Faites un voeu et puis Voila ! www.voila.fr > > > > ------------------------------------------------------- > 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: <e....@vo...> - 2002-08-09 15:23:38
|
Is it planned to make a package with the last wxWindows (2.3.2) ? I tried to compile it with mingw32, but I get errors... ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr |
|
From: Rob <ro...@us...> - 2002-08-09 14:38:01
|
Different people will give you different answers to questions about "better" and "best" books. What do you want from a C++ book that would make it better for you? http://www.bruceeckel.com/ is a site where you can download a couple of free books on C++ that you might find useful. I like them enough that I went ahead and bought a paperback version of *Thinking in C++*. I'm also partial to *C++ Primer Plus, 4th ed.*, which is published by SAMS. Rob -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of senem beken Sent: Friday, August 09, 2002 5:40 AM To: dev...@li... Subject: [Dev-C++] newbie questions without answer again i send the files-this time i won't forget to include them- and i checked that i wrote my questions this time only questions without any comments... i'm waiting for your help guys!! by the way can anyone suggest me a book better than c++ how to program?? i didn't understand anything from operator overloading!! thanx... senem Do You Yahoo!? HotJobs, a Yahoo! service - Search Thousands of New Jobs |
|
From: Ihsan A. Al D. <ia...@jo...> - 2002-08-09 13:32:19
|
> i rename that name become libmywrapper.a then copy to lib dev-c++/lib > > but, when i used that static library that linking my application to > -lmysqlclient -lwsock32 -lzlib -lmywrapper It should be: -lmysqlclient -lwsock32 -lzlib -libmywrapper Right? Mohammed |
|
From: Daniel G. <sp...@ho...> - 2002-08-09 12:53:55
|
oh no not again... >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 You know where I found that? At the bottom of this email!!!!!!!!!!!!! >From: "Eric Taddei" <tad...@ms...> >To: "Daniel Glenfield" <sp...@ho...> >Subject: Re: [Dev-C++] newbie questions without answer >Date: Fri, 9 Aug 2002 08:48:28 -0400 > >I have a question that does not pertain to Dev-C++. I keep getting e-mail >including this one I'm responding to. Can you tell me how I can get off >the e-mail list. Your help would be greatly appreciated > >----- Original Message ----- >From: Daniel Glenfield >Sent: Friday, August 09, 2002 7:40 AM >To: sbe...@ya...; dev...@li... >Subject: Re: [Dev-C++] newbie questions without answer > >umm what is your question? > > > >From: senem beken <sbe...@ya...> > >To: dev...@li... > >Subject: [Dev-C++] newbie questions without answer > >Date: Fri, 9 Aug 2002 03:39:52 -0700 (PDT) > > > > > >again i send the files-this time i won't forget to include them- and i > >checked that i wrote my questions this time only questions without any > >comments... > > > >i'm waiting for your help guys!! by the way can anyone suggest me a book > >better than c++ how to program?? i didn't understand anything from >operator > >overloading!! > > > >thanx... > > > >senem > > > > > > > >--------------------------------- > >Do You Yahoo!? > >HotJobs, a Yahoo! service - Search Thousands of New Jobs > ><< newbieques1.cpp >> > ><< stringclass.cpp >> > > > > >_________________________________________________________________ >Send and receive Hotmail on your mobile device: http://mobile.msn.com > > > >------------------------------------------------------- >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 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
|
From: Daniel G. <sp...@ho...> - 2002-08-09 11:34:43
|
umm what is your question? >From: senem beken <sbe...@ya...> >To: dev...@li... >Subject: [Dev-C++] newbie questions without answer >Date: Fri, 9 Aug 2002 03:39:52 -0700 (PDT) > > >again i send the files-this time i won't forget to include them- and i >checked that i wrote my questions this time only questions without any >comments... > >i'm waiting for your help guys!! by the way can anyone suggest me a book >better than c++ how to program?? i didn't understand anything from operator >overloading!! > >thanx... > >senem > > > >--------------------------------- >Do You Yahoo!? >HotJobs, a Yahoo! service - Search Thousands of New Jobs ><< newbieques1.cpp >> ><< stringclass.cpp >> _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Ahmad M. <mu...@ho...> - 2002-08-09 06:52:15
|
i'm building mysql wrapper that linking with -lmysqlclient -lwsock32 -lzlib wrapper running well, then i built static library using dev-c++ that linking with -lmysqlclient -lwsock32 -lzlib and i got new static library mywrapper.a i rename that name become libmywrapper.a then copy to lib dev-c++/lib but, when i used that static library that linking my application to -lmysqlclient -lwsock32 -lzlib -lmywrapper i'm getting many linker error message: [linker error] undefine reference to mysql_connect What's wrong ? how to build static library dan using it with dev-c++ ? Thanks |
|
From: Ioannis V. <no...@ho...> - 2002-08-08 20:35:20
|
> -----Original Message-----
> From: dev...@li...=20
> [mailto:dev...@li...] On Behalf=20
> Of Carlos Garc=EDa del Monte
> Sent: Thursday, August 08, 2002 9:31 PM
> To: dev-cpp-users-list
> Subject: Re: [Dev-C++] compiler psychiatrics
>=20
>=20
> > Great! As you see it was not a compiler's issue.
>=20
> Great! Yes!
> Now I've found and reviewed one piece of code which has the=20
> for(int i) I
> said it didn't work. It is an author error (author of some=20
> code example I
> used). The ANSI about declaring for is something like "you can declare
> inside a for statement in the way (int i =3D 0[...]), but you=20
> can't use it
> later outside it, if you want you have to declare it just=20
> before the for:
> int i; for(i=3D0[...]) or redeclare it".
>=20
> I read first C/C++, an old edition and centered in C, so it=20
> said nothing
> about possibility of declaring in the for.
> Later I bought the "C++ how to program" (which couple of=20
> inexactitudes I
> found, some misleading things about bitfields, I suspect are=20
> due to the
> translator (I bought it in spanish) who knows bad spanish=20
> (!!!)), but I knew
> for, and I only noticed "can be declared in", but not read=20
> "out of it it is
> out of scope". And later I got some code examples from some=20
> sites (I don't
> remember where) where they were used later, and that misled=20
> me, thinking
> that the error wasn't only outside, but inside, too.
>=20
> It's a bad thing that the last for/while rare thing is=20
> deleted. I would see
> a possibly frequent error. (or you a compiler strange=20
> behavior, hehehehe)
> and I would learn to see a error now I am unable to see (Feel I need a
> phrase about the sea being free).
> Greets.
Lets clarify things a bit here. A variable has scope inside the block it
was defined. For example:
void f()
{
int i=3D0;
i++;
// local scope
{
int j=3D0;
j+=3D2;
} // end of j's scope. j is destroyed.
// another local scope
{
// This is a different i
int i=3D7;
=20
i*=3D2;
// The local i has become 14, the first i remains 1
} // end of local i's scope. i dies.
// Here we see the i with value 1
}// end of function and i's scope. i is destroyed
This applies both in C & C++. The difference between C & C++ is that in
C90 you have to define the variables in the beginning of a scope, while
in C++98 you can define it in the first place you will need it in a
scope. I 'll not discuss about C99 so as to not confuse things.
Now in C90 when we wanted to define a local variable for a for-loop we
did this trick:
void f(void)
{
{
int i;
for(i=3D0; i<10; i++)
/* stuff */
}
/* i dies */
=20
/* ... */
}
=20
Now in C++98=20
we can do
void f()
{
for(int i=3D0; i<10; i++)
{
// stuff
=20
} // i dies here
}
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
=20
|
|
From: philip r. <ph...@ro...> - 2002-08-08 19:45:25
|
Thanks to all for the advice. I think I've found what the problem is - = namely that I was a bit confused by the organisation of projects and = files=20 within Devc - and that one cannot compile and link a file outside the = project to which it belongs - or move a file about between folders and = get it to link from its new location (correct me if this is not the = case). I'll see how I get on for the moment and come back if I get = stuck. Philip |