dev-cpp-users Mailing List for Dev-C++ (Page 702)
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: Lorenzo <co...@in...> - 2001-04-19 10:02:32
|
> <It seems that in my program is using memory addresses that shouldn't use
> because <it writes on some of my dynamic memory space.
You use the fgets but don't specific the file to use, you must open the file
to declare or use directly the standard input file (stdin).
> <I have read the "The GNU C Library" and while trying to use "getline"
instead
> of <"gets", it seems that getline is not in "stdio.h". In fact, searching
for
> it in <"stdio.h" like >Ctrl+F-> "getline", it doesn't found it.
I don't believe getline is the standard c function, is a member function of
iostream class library
try this:
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
char pep[255],pitu[255],nitu[255],*pt,*ptg;
int i;
printf("Write something\n");
gets(pep);
printf("Write something more\n");
fgets(pitu, 255, stdin);
printf("Write something more again\n");
pt = (char *)malloc(256 * sizeof(char));
fgets(pt, 255, stdin);
system("PAUSE");
return 0;
}
|
|
From: <vil...@ya...> - 2001-04-19 09:16:01
|
<I have experienced problems with the function "gets".
<It seems that in my program is using memory addresses that shouldn't use
because <it writes on some of my dynamic memory space.
<
<I have read the "The GNU C Library" and while trying to use "getline" instead
of <"gets", it seems that getline is not in "stdio.h". In fact, searching for
it in <"stdio.h" like >Ctrl+F-> "getline", it doesn't found it.
<I dunno what's happening.
<Does anybody know anything I can try?
Here I have an example:
/*------------------------------------------------------*/
#include <stdio.h>
int main()
{
char pep[255],pitu[255],nitu[255],*pt,*ptg;
int i;
FILE *fp;
printf("Write something\n");
gets(pep);
printf("Write something more\n");
fgets(pitu,255,fp);
printf("Write something more again\n");
pt = (char)malloc(256*sizeof(char));
getline(pt,255,fp);
system("PAUSE");
return 0;
}
/*------------------------------------------------------*/
_______________________________________________________________
Do You Yahoo!?
Envía mensajes instantáneos y recibe alertas de correo con
Yahoo! Messenger - http://messenger.yahoo.es
|
|
From: <vil...@ya...> - 2001-04-19 09:13:20
|
I have experienced problems with the function "gets". It seems that in my program is using memory addresses that shouldn't use because it writes on some of my dynamic memory space. I have read the "The GNU C Library" and while trying to use "getline" instead of "gets", it seems that getline is not in "stdio.h". In fact, searching for it in "stdio.h" like >Ctrl+F-> "getline", it doesn't found it. I dunno what's happening. Does anybody know anything I can try? _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-04-17 07:15:33
|
You could find lots of code, examples and explanations in the tutorials listed at http://www.geocities.com/josempadron/eng/tutorials.htm Hope this helps, Chemanuel --- Muuray Negrych <sw...@te...> escribió: > Dear Sir; > I have just installed DEV C++ and would like to know where i could > get examples of dialog boxes using math(buttons,checkBoxes,etc)with > source code in C++.Help with this would be greatly appreciated. > > Murray Negrych. > _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-04-17 07:13:26
|
Don't forget it's int main() Chemanuel --- Dou...@ao... escribió: > Add the stdlib include file: > > #include <cstdlib> > > or alternately > #include <stdlib.h> > _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-04-17 07:11:17
|
As far as I know the Fifth Edition is the newest book. Chemanuel --- "Purohit Prahlad J.." <pra...@si...> escribió: > Hello Friends, > > I am Prahlad Purohit, I have been using Programming Windows By > Charles Petzold Fifth Edition. I searched Microsoft Website And > CharlesPetzold.com for newer version of this book but there is n't > any version later than fifth. The Fifth Edition Was For Windows 98 > Does Any One Know Any Simillar Book Which Is For Windows 2000, > Windows me, the new WIN64 Programming. > > regards, > Prahlad Purohit. > _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-04-17 07:05:22
|
Estimado Waldo: Desafortunadamente no existe más documentación que la escrita en inglés. De todas maneras el manejo de Dev-C++ es relativamente sencillo. Lo que me parece más complicado quizás es el uso del compilador en sí. Pero Dev-C++ hace todo el trabajo por mí. De hecho yo no he aprendido a compilar de otra forma. Espero que no te desanimes. Yo puedo ayudarte en lo poco que sé del tema. Especifícame las necesidades y veremos que podemos hacer. Quizás sería bueno tener un manual en español, pero como el programa está en inglés puede que no sea tan efectivo. Además la informática está dominada por los americanos y el inglés se ha convertido en lengua "universal". Desconozco las necesidades de los hispanos. A mí no me importaría escribir un manual en español, pero sólo si supiera que iba a ser útil. De hecho pensé hace tiempo en iniciar un foro de discusión en español para programación en C/C++ utilizando Dev-C++ pero no sé cual sería la aceptación. Si tienes cualquier duda o quieres saber más del tema no dudes en contactar conmigo que te ayudaré en todo lo que mi conocimiento y tiempo me permitan. Un saludo. Chemanuel --- Waldo Garay Palomo <wal...@us...> escribió: > Alguien de uds. sabe de algun manual de devc++ en castellano. > por faor agradeceria su ayuda. > > > > #linuxperu #tumbes /undernet .. > Cyber Rock Café Huacho - Perú > http://www.cyberockcafe.com.pe > > ____________________________________________________________________ > Get free email and a permanent address at > http://www.netaddress.com/?N=1 > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <Dou...@ao...> - 2001-04-16 19:17:50
|
http://www.winprog.org/tutorial |
|
From: Muuray N. <sw...@te...> - 2001-04-16 18:48:53
|
Dear Sir;
I have just installed DEV C++ and would like to know where i could
get examples of dialog boxes using math(buttons,checkBoxes,etc)with
source code in C++.Help with this would be greatly appreciated.
Murray Negrych.
|
|
From: Wendel <we...@ha...> - 2001-04-16 17:56:21
|
Hi Programmers, I'm begginer in programming and in C/C++ ... :-) I was looking for my help (GNU) in DEV-C++ and i want use a function that need pwd.h ... i put it #include <pwd.h> ...but the compiler spoke me that it doesen't exist...i i was found and realment doesen't exist in my HardDisk ... :-/ Do you know where i can get ?? O better where i can get "several LIBS utils" ?? Until GNU libs ... for C/C++ ... :-) Example ... exist "netdb.h" or other libs used in C for linux, exist this libs to win ?? Where i can get it thinks ?? :-)) I was looking for help and ...is of this kind: The help is: You can search the system user database for information about a specific user using getpwuid or getpwnam. These functions are declared in pwd.h. Function: struct passwd * getpwuid (uid_t uid) This function returns a pointer to a statically-allocated structure containing information about the user whose user ID is uid. This structure may be overwritten on subsequent calls to getpwuid. A null pointer value indicates there is no user in the data base with user ID uid. Function: int getpwuid_r (uid_t uid, struct passwd *result_buf, char * buffer, size_t buflen, struct passwd **result) This function is similar to getpwuid in that is returns information about the user whose user ID is uid. But the result is not placed in a static buffer. Instead the user supplied structure pointed to by result_buf is filled with the information. The first buflen bytes of the additional buffer pointed to by buffer are used to contain additional information, normally strings which are pointed to by the elements of the result structure. In pwd.h help: Data Type: struct passwd The passwd data structure is used to hold information about entries in the system user data base. It has at least the following members: char *pw_name The user's login name. uid_t pw_uid The user ID number. Based in it, How to need i do to get a ID of user ?? Please give me a real example...kind ... how to get the ID of user and print on the screen with printf ?? Thkz for all Best Regards [ ]'s |
|
From: Jared E. <ja...@vo...> - 2001-04-16 00:47:42
|
What is a histogram? I am familiar with how to do something like this for web pages that show search results of N through N+9 per page. Is this what you are looking for ? - Jared At 02:46 PM 4/13/2001 -0500, you wrote: >Hi to all on the list: > >I was wondering if anyone had a code snippet for making a histogram taking >an array grades[100] and making break point 0-10;10-20,30-50 etc. then >making a histogram with '*" that goes across the page. I have beat myself >silly trying to make this module work, and cant get past the for statement. >Any help out there .... would be appreciated. > >John E. Garrison > > > >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/lists/listinfo/dev-cpp-users Give a man a fish; you have fed him for today. Teach a man to fish; and you can sell him fishing equipment. -Author unknown |
|
From: Yeoh H. <ye...@ya...> - 2001-04-16 00:26:07
|
Hi, Here's the info from the readme file. * Contact information URL: http://www.acc.umu.se/~anorland/gnu-win32/ Anders Norlander <ano...@he...> Yeoh ----- Original Message ----- From: John <10...@ic...> To: <dev...@li...> Sent: Sunday, April 15, 2001 4:34 AM Subject: Re: [Dev-C++] Writing a mySQL client > Hi, > > "reimp.exe" is a nice utility, could you post link for download. > > Thanks, > > Jasbir Chauhan > > Yeoh HS wrote: > > > Hi Devin, > > > > I finally got it to work! :) > > > > Created liblibmysql.a using a tool called "reimp.exe". > > > > According to the readme file: > > `reimp' is a tool to convert Microsoft's new-style (short) import > > libraries to import libraries for win32 ports of GNU tools (mingw32, > > cygwin). > > > > The command: "reimp.exe libmysql.lib" will create liblibmysql.a > > > > Then all I had to do was to add this file liblibmysql.a to the linker > > options and re-build my exe. > > > > If you need the tool "reimp.exe", do e-mail me. I have downloaded the exe + > > src and the zip file is only 31K. > > > > Note that the libmysql.lib file is Microsoft's format. > > > > Regards, > > Yeoh > > ----- Original Message ----- > > From: Devin Smith <dev...@bu...> > > To: <dev...@li...> > > Sent: Saturday, April 14, 2001 1:40 AM > > Subject: Re: [Dev-C++] Writing a mySQL client > > > > > I am getting the same problem trying to compile a sample little test > > > program. > > > > > > Here is the program I have written to test it: > > > > > > #include <stdio.h> > > > #include <mysql/mysql.h> > > > > > > int main(int argc, char *argv[]) > > > { > > > MYSQL *mysql; > > > > > > mysql_init(mysql); > > > mysql_close(mysql); > > > > > > return 0; > > > } > > > > > > It is being linked with libmysql.a , and libmingw32.a. > > > > > > I downloaded the Borland version of the library and used impdef and then > > > dlltool to create the import library. I'll update the dlltool program and > > > see if I can fix the problem. > > > > > > > > > ----- Original Message ----- > > > From: "Yeoh HS" <ye...@ya...> > > > To: <dev...@li...> > > > Sent: Friday, April 13, 2001 12:22 AM > > > Subject: [Dev-C++] Writing a mySQL client > > > > > > > > > > Hi, > > > > > > > > I'm trying to use Dev-C++ 4 to write a simple Win32 client to logon to a > > > > mySQL server. > > > > > > > > I have mySQL installed on Win98 standalone PC. This is a fresh install. > > > > > > > > The Dev-C++ project file is set to the include file mysql.h and the lib > > > file > > > > libmysql.lib. > > > > There is also a libmysql.def in the include dir and the dll file > > > > libmysql.dll is in the working directory. > > > > > > > > My test program compiles okay but there is a linker error. > > > > > > > > Here's the linker error: > > > > d:\devcpp\login.o(.text+0x5c):login.cpp: undefined reference to > > > > `mysql_init@4' > > > > > > > > It appears that Dev-C++ is not able to link with libmysql.lib. This > > > > libmysql.lib file is from the mysql++ VC++ version package. > > > > > > > > Also, I've used dlltool.exe to create libmysql.lib from libmysql.dll but > > > the > > > > linker error is still the same. > > > > > > > > What am I missing here? > > > > What options do I have? > > > > Perhaps load the libmysql.dll via LoadLibrary function? > > > > > > > > Tested my program using BCC5.5 and it compiles, links (with the lib for > > > > BCC5.5) and runs okay. > > > > > > > > Would appreciate any help. Thanks in advance. > > > > > > > > Yeoh > > > > > > > > > > > > > > > > _________________________________________________________ > > > > Do You Yahoo!? > > > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > > > > > > > _______________________________________________ > > > > Dev-cpp-users mailing list > > > > Dev...@li... > > > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > > > > > > > > > > _______________________________________________ > > > Dev-cpp-users mailing list > > > Dev...@li... > > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > _______________________________________________ > > Dev-cpp-users mailing list > > Dev...@li... > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: <Dou...@ao...> - 2001-04-16 00:16:25
|
Add the stdlib include file: #include <cstdlib> or alternately #include <stdlib.h> |
|
From: David M. <dav...@ei...> - 2001-04-16 00:09:07
|
#include <stdlib.h> =20
----- Original Message -----=20
From: LO5...@ao...=20
To: dev...@li...=20
Sent: Sunday, April 15, 2001 11:47 PM
Subject: Re: [Dev-C++] C++
In a message dated 15/04/2001 7:50:26 PM GMT Daylight Time,=20
Dou...@ao... writes:=20
Dou...@ao...
#include <iostream.h>=20
const float pc =3D675.00;=20
const float m =3D139.90;=20
const float dd=3D198.50;=20
const float s=3D139.92;=20
void main()=20
{=20
int npc , nm , ndd , ns;=20
float total ;=20
cout<< "enter number of pcs";=20
cin>> npc;=20
cout<< "enter number of mem";=20
cin>> nm;=20
cout<<"enter number of dd";=20
cin>> ndd;=20
cout<< "enter number of soft";=20
cin>> ns ;=20
total=3D=3D (npc*pc)+(ndd*dd)+(ns*s)+(nm*m) ;=20
cout<< "total price is" ;=20
cout<< total ;=20
system(=E2=80=9CPAUSE=E2=80=9D);=20
return 0;=20
}=20
|
|
From: Phil S. <fy...@us...> - 2001-04-15 22:53:03
|
I figured out what's wrong. so I have a sort-of fix. The new project dev files are missing the following: --- CompilerOptions= IncludeDirs= ObjFile= [Unit0] FileTime=713359828 -- The unit 0 is the last compile time of the rsrc.rc file Don't know why the other options are missing. I have been pasting the above into my new project DEV files. Also have been copying an old rsrc.rc and rsrc.o into the new directory. It then compiles, and I seem to be able to change the rsrc file and recompile it without killing it again. So the problem has been downgraded to an annoyance. Thanks for your suggestions. Phil > > Devin Smith wrote: > > > > > > What does your DEV project file say? I can compare it to a "normal" one > and > > > see if there is a line in there that shouldn't be in there. I am using > 4.01 > > > with no problem. > > > > > > Devin > > > -- Fy...@us... |
|
From: <LO5...@ao...> - 2001-04-15 22:49:10
|
#include <iostream.h>
const float pc =3D675.00;
const float m =3D139.90;
const float dd=3D198.50;
const float s=3D139.92;
void main()
{
int npc , nm , ndd , ns;
float total ;
cout<< "enter number of pcs";
cin>> npc;
cout<< "enter number of mem";
cin>> nm;
cout<<"enter number of dd";
cin>> ndd;
cout<< "enter number of soft";
cin>> ns ;
total=3D=3D (npc*pc)+(ndd*dd)+(ns*s)+(nm*m) ;
cout<< "total price is" ;
cout<< total ;
system(=E2=80=9CPAUSE=E2=80=9D);
return 0;
}
|
|
From: <LO5...@ao...> - 2001-04-15 22:47:23
|
In a message dated 15/04/2001 7:50:26 PM GMT Daylight Time,=20
Dou...@ao... writes:
> Dou...@ao...
#include <iostream.h>
const float pc =3D675.00;
const float m =3D139.90;
const float dd=3D198.50;
const float s=3D139.92;
void main()
{
int npc , nm , ndd , ns;
float total ;
cout<< "enter number of pcs";
cin>> npc;
cout<< "enter number of mem";
cin>> nm;
cout<<"enter number of dd";
cin>> ndd;
cout<< "enter number of soft";
cin>> ns ;
total=3D=3D (npc*pc)+(ndd*dd)+(ns*s)+(nm*m) ;
cout<< "total price is" ;
cout<< total ;
system(=E2=80=9CPAUSE=E2=80=9D);
return 0;
}
|
|
From: Waldo G. P. <wal...@us...> - 2001-04-15 19:13:16
|
Alguien de uds. sabe de algun manual de devc++ en castellano. por faor agradeceria su ayuda. #linuxperu #tumbes /undernet .. Cyber Rock Caf=E9 Huacho - Per=FA http://www.cyberockcafe.com.pe ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 |
|
From: <Dou...@ao...> - 2001-04-15 18:47:53
|
Could you include a copy of your source code so we can better help you? |
|
From: <LO5...@ao...> - 2001-04-15 18:37:39
|
WHEN I COMPILE MY CODE IT WORKS PERFECT APART FROM THE FACT THAT MS_DOS SHUTS DOWN BEFORE I CAN SEE THE LAST VITAL LINES OF MY PROGRAMME WHEN ITS RUN, I TIRIED THE HELP SECTION AND USED THE SYSTEM PAUSE FUNCTION AT THE END OF TH SOURCE BUT I RECEIVE THE FOLLOWING ERROR, PARSE ERROR 0223, PLEASE PLEASE HELP ME FROM A WANNABE PROGRAMMER, YOURS FAITHFULLY LOSTBOYZ |
|
From: Purohit P. J.. <pra...@si...> - 2001-04-15 04:41:06
|
Hello Friends,
I am Prahlad Purohit, I have been using Programming Windows By =
Charles Petzold Fifth Edition. I searched Microsoft Website And =
CharlesPetzold.com for newer version of this book but there is n't any =
version later than fifth. The Fifth Edition Was For Windows 98 Does Any =
One Know Any Simillar Book Which Is For Windows 2000, Windows me, the =
new WIN64 Programming.
=20
regards,
Prahlad Purohit.
|
|
From: John <10...@ic...> - 2001-04-14 20:35:31
|
Hi,
"reimp.exe" is a nice utility, could you post link for download.
Thanks,
Jasbir Chauhan
Yeoh HS wrote:
> Hi Devin,
>
> I finally got it to work! :)
>
> Created liblibmysql.a using a tool called "reimp.exe".
>
> According to the readme file:
> `reimp' is a tool to convert Microsoft's new-style (short) import
> libraries to import libraries for win32 ports of GNU tools (mingw32,
> cygwin).
>
> The command: "reimp.exe libmysql.lib" will create liblibmysql.a
>
> Then all I had to do was to add this file liblibmysql.a to the linker
> options and re-build my exe.
>
> If you need the tool "reimp.exe", do e-mail me. I have downloaded the exe +
> src and the zip file is only 31K.
>
> Note that the libmysql.lib file is Microsoft's format.
>
> Regards,
> Yeoh
> ----- Original Message -----
> From: Devin Smith <dev...@bu...>
> To: <dev...@li...>
> Sent: Saturday, April 14, 2001 1:40 AM
> Subject: Re: [Dev-C++] Writing a mySQL client
>
> > I am getting the same problem trying to compile a sample little test
> > program.
> >
> > Here is the program I have written to test it:
> >
> > #include <stdio.h>
> > #include <mysql/mysql.h>
> >
> > int main(int argc, char *argv[])
> > {
> > MYSQL *mysql;
> >
> > mysql_init(mysql);
> > mysql_close(mysql);
> >
> > return 0;
> > }
> >
> > It is being linked with libmysql.a , and libmingw32.a.
> >
> > I downloaded the Borland version of the library and used impdef and then
> > dlltool to create the import library. I'll update the dlltool program and
> > see if I can fix the problem.
> >
> >
> > ----- Original Message -----
> > From: "Yeoh HS" <ye...@ya...>
> > To: <dev...@li...>
> > Sent: Friday, April 13, 2001 12:22 AM
> > Subject: [Dev-C++] Writing a mySQL client
> >
> >
> > > Hi,
> > >
> > > I'm trying to use Dev-C++ 4 to write a simple Win32 client to logon to a
> > > mySQL server.
> > >
> > > I have mySQL installed on Win98 standalone PC. This is a fresh install.
> > >
> > > The Dev-C++ project file is set to the include file mysql.h and the lib
> > file
> > > libmysql.lib.
> > > There is also a libmysql.def in the include dir and the dll file
> > > libmysql.dll is in the working directory.
> > >
> > > My test program compiles okay but there is a linker error.
> > >
> > > Here's the linker error:
> > > d:\devcpp\login.o(.text+0x5c):login.cpp: undefined reference to
> > > `mysql_init@4'
> > >
> > > It appears that Dev-C++ is not able to link with libmysql.lib. This
> > > libmysql.lib file is from the mysql++ VC++ version package.
> > >
> > > Also, I've used dlltool.exe to create libmysql.lib from libmysql.dll but
> > the
> > > linker error is still the same.
> > >
> > > What am I missing here?
> > > What options do I have?
> > > Perhaps load the libmysql.dll via LoadLibrary function?
> > >
> > > Tested my program using BCC5.5 and it compiles, links (with the lib for
> > > BCC5.5) and runs okay.
> > >
> > > Would appreciate any help. Thanks in advance.
> > >
> > > Yeoh
> > >
> > >
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
> > >
> > >
> > > _______________________________________________
> > > Dev-cpp-users mailing list
> > > Dev...@li...
> > > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> > >
> >
> >
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: <jos...@ya...> - 2001-04-14 16:09:16
|
> What you may upgrade now is > the Win32 api headers and libraries package, Don´t forget to download also the binutils, otehrwise the resource file will generate an error during compilation Hope this helps, Chemanuel _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-04-14 16:06:00
|
Yo también te animo a preguntar. Chemanuel --- Waldo Garay Palomo <wal...@us...> escribió: > Hola alguien que hable español en esta lista por favor pongase en > contacto > conmigo. por favor necesito ayuda > > #linuxperu #tumbes /undernet .. > Cyber Rock Café Huacho - Perú > http://www.cyberockcafe.com.pe > > ____________________________________________________________________ > Get free email and a permanent address at > http://www.netaddress.com/?N=1 > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Envía mensajes instantáneos y recibe alertas de correo con Yahoo! Messenger - http://messenger.yahoo.es |
|
From: Colin L. <web...@bl...> - 2001-04-14 15:07:17
|
> Is it possible for you to create a new Dev-C++ package with the new MingW > (don't have to change the IDE) so it is easier for us to install (we can > just update our Dev-c++)? After looking at the Change log of gcc 2.95.2-3 i've seen that now c++ applications are linked against libstc++.dll by default. I don't know if you like that but i don't think it's a good idea since you'll have to distribute a separate dll for your program to run on other computers. I think we should wait for version 2.95.3 for making a new package. What you may upgrade now is the Win32 api headers and libraries package, which after being unpacked should create a directory tree similar to the one Dev-C++ uses. So you will only have to move the directories to your main Dev-C++ directory i think. In next Dev-C++ versions i will try to have Dev-C++ works with original Mingw paths, this will help upgrading new compiler versions. Greetings, Colin > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users -- Colin Laplace web...@bl... http://www.bloodshed.net |