dev-cpp-users Mailing List for Dev-C++ (Page 402)
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: Ioannis V. <iv...@at...> - 2003-04-09 11:04:17
|
> -----Original Message-----
> From: Per Westermark [mailto:pw...@ia...]
> Sent: Wednesday, April 09, 2003 10:02 AM
> To: Ioannis Vranos
> Cc: Dev-C++ Mailing List
> Subject: RE: [Dev-C++] passing the content of a string to a
> variable from
>
>
> See below.
>
> /Per W
>
> On Wed, 9 Apr 2003, Ioannis Vranos wrote:
>
> > > -----Original Message-----
> > > From: dev...@li...
> > > [mailto:dev...@li...] On Behalf
> > > Of jose isaias cabrera
> > > Sent: Wednesday, April 09, 2003 4:52 AM
> > > To: dev...@li...
> > > Subject: [Dev-C++] passing the content of a string to a
> variable from
> > >
> > >
> > >
> > > Greetings O SmartOnes!
> > >
> > > I have the following c code:
> > >
> > > char FileContent(char *file)
>
> // Need to return a pointer to text, not just a single character.
> char* FileContent(char *file)
Just for accuracy, Ioannis Vranos had not written the above.
>
> > > {
> > > char fcontent(3000);
>
> // Array size should be in []
> // You may never return address of a variable declared on stack.
> // As soon as the FileContent() returns, the fcontent buffer would
> // be deleted unless it's declared static, which will store
> // fcontent as a global variable but only available within name
> // space of FileContent().
> static char fcontent[3000];
The same apply for your comments here.
:)
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
Anti-racism movement: http://www.positive-youthfoundation.org
Iraq Peace Pledge: http://www.peacepledge.org
|
|
From: Michael S. <mic...@nu...> - 2003-04-09 11:00:51
|
Hi, trying to compile a simple SDL-Sample results in this: g++.exe Main.o -o "Template.exe" -L"C:/dev/Dev-Cpp/lib" = -L"C:/dev/wx/lib" -L"C:/dev/wx/contrib/lib" -L"C:/dev/SDL/lib" SDL.lib = SDLmain.lib g++.exe: SDL.lib: No such file or directory g++.exe: SDLmain.lib: No such file or directory make.exe: *** [Template.exe] Error 1 However, SDL.lib and SDLmain.lib are present in C:\dev\SDL\lib, which is = also entered in the compiler options. This occurs with all libs, also wxWindows and other toolkits. Can somebody help me?? PS: I=B4m new to mailing lists, if someone writes an anwer, how can I = reply with his answer after a ">" (like the standard way), or do I have = to edit the message myself and resend it? |
|
From: Nambiar, V. (Cognizant) <nv...@Ch...> - 2003-04-09 10:31:56
|
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com |
|
From: Daniel G. <sp...@ho...> - 2003-04-09 10:06:35
|
Here's a link my friend sent me - guess I wasn't of much help lol! http://www.nps.navy.mil/cs/sullivan/CS3971/LibTutorial.html >From: David Matthews <dem...@uw...> >To: Daniel Glenfield <sp...@ho...>, >dev...@li... >Subject: Re: [Dev-C++] Creating a static library >Date: Tue, 08 Apr 2003 14:14:03 -0400 > >Well, I'm assuming that you mean the .a files are just a collection of .o >files. That's not what they are, they have their own format. You can >probably find out more on google. > >At 11:30 AM 08/04/2003 -0400, David Matthews wrote: > >Well someone asked me how (they are using VC++) so I guess it's along >those > >lines in another compiler huh? > > > >The library...that's the .cpp files compiled isn't it? and you #include >the > >header and then just call them, yes? > > > >Daniel > > > > > >>From: David Matthews <dem...@uw...> > >>To: "Daniel Glenfield" <sp...@ho...>, > >>dev...@li... > >>Subject: Re: [Dev-C++] Creating a static library > >>Date: Mon, 07 Apr 2003 14:32:37 -0400 > >> > >>New project, static library. Add the source files to the project, >compile > >>as lib<yourname>.a drop the new .a library into your /lib/ directory. >In > >>another project, go to linker options, add -l<yourname> and #include > >><yourname>.h > >> > >>At 04:52 PM 07/04/2003 +0100, Daniel Glenfield wrote: > >> >How can I create a static library? > >> > > >> >Sorry if this is obvious, can't think today! > >> > > >> > > >> > > >> > > >> > > >> >_________________________________________________________________ > >> >It's fast, it's easy and it's free. Get MSN Messenger today! > >> >http://www.msn.co.uk/messenger > >> > > >> > > >> > > >> >------------------------------------------------------- > >> >This SF.net email is sponsored by: ValueWeb: > >> >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >> >No other company gives more support or power for your dedicated server > >> >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >> >_______________________________________________ > >> >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 > >> > > > > > > >_________________________________________________________________ > >Use MSN Messenger to send music and pics to your friends > >http://www.msn.co.uk/messenger > > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >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 _________________________________________________________________ Surf together with new Shared Browsing http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059 |
|
From: Neszt T. <ne...@ss...> - 2003-04-09 06:50:30
|
Hello! > Thanks for the info, I didn't know that. I have two files in lib: tiff.lib > and libtiff.a > I tried to add tiff.lib as "../../DevCpp5/lib/tiff.lib", but when I want > to run it, it says it cannot load libtiff.dll > How can I fix it? When You have a lib*.a, you have to tell to the compiler, You want to use it. So in the "Project Options" / "Parameters" / "Linker" fill a new line: -l* In Your case: -ltiff Regards, Neszt Tibor p.s.: Remelem sikerul :-) |
|
From: Per W. <pw...@ia...> - 2003-04-09 06:02:55
|
See below.
/Per W
On Wed, 9 Apr 2003, Ioannis Vranos wrote:
> > -----Original Message-----
> > From: dev...@li...
> > [mailto:dev...@li...] On Behalf
> > Of jose isaias cabrera
> > Sent: Wednesday, April 09, 2003 4:52 AM
> > To: dev...@li...
> > Subject: [Dev-C++] passing the content of a string to a variable from
> >
> >
> >
> > Greetings O SmartOnes!
> >
> > I have the following c code:
> >
> > char FileContent(char *file)
// Need to return a pointer to text, not just a single character.
char* FileContent(char *file)
> > {
> > char fcontent(3000);
// Array size should be in []
// You may never return address of a variable declared on stack.
// As soon as the FileContent() returns, the fcontent buffer would
// be deleted unless it's declared static, which will store
// fcontent as a global variable but only available within name
// space of FileContent().
static char fcontent[3000];
> > ...
> > /*in here I grab the content of a text file */
> > ...
> > return(fcontent);
> > }
>
>
> I assume C:
>
>
>
> >
> > int main(int argc, char *argv[])
> > {
> > char text[3000];
// If FileContent already keeps the full text content, no need for one
// more buffer. Just keep track of a pointer to the text.
// Besides, it isn't possible to assign an array to an array. As Ioannis
// shows below, if you really wants to copy the contents of an array to
// another array, you have to call strcpy(), strncpy(), memcpy(),
// memmove() or similar.
// char *text;
> > ...
> > ...
> > ...
> > text = FileContent("temp.txt");
>
>
>
> FileContent returns a char. You assign it to an array which is not proper.
> If you intend it to return a char, you have to do something like:
>
> text[0]=FileContent("temp.txt");
>
>
> If you made a mistake and intend to return a char * you have either to do:
>
>
> char *text;
>
> /* ... */
>
> text=FileContent("temp.txt");
>
>
> or
>
>
> char text[3000];
> char *p;
>
> /* ... */
>
> p=FileContent("temp.txt");
>
> strncpy(text, p, 3000);
>
> text[2999]='\0';
>
>
>
>
> > }
> >
> > I can't get this to work. I've a bunch of places and I even
> > tried to get
> > the pointers to no avail. I am new to c, but I am an expert
> > programmer.
> > Any c help will be greatly appreciated.
>
>
>
>
>
> Ioannis Vranos
>
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL 1: http://run.to/noicys
> * Alternative URL 2: http://www.noicys.cjb.net
>
>
> Anti-racism movement: http://www.positive-youthfoundation.org
> Iraq Peace Pledge: http://www.peacepledge.org
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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: Ioannis V. <iv...@at...> - 2003-04-09 04:00:54
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of jose isaias cabrera
> Sent: Wednesday, April 09, 2003 4:52 AM
> To: dev...@li...
> Subject: [Dev-C++] passing the content of a string to a variable from
>
>
>
> Greetings O SmartOnes!
>
> I have the following c code:
>
> char FileContent(char *file)
> {
> char fcontent(3000);
> ...
> /*in here I grab the content of a text file */
> ...
> return(fcontent);
> }
I assume C:
>
> int main(int argc, char *argv[])
> {
> char text[3000];
> ...
> ...
> ...
> text = FileContent("temp.txt");
FileContent returns a char. You assign it to an array which is not proper.
If you intend it to return a char, you have to do something like:
text[0]=FileContent("temp.txt");
If you made a mistake and intend to return a char * you have either to do:
char *text;
/* ... */
text=FileContent("temp.txt");
or
char text[3000];
char *p;
/* ... */
p=FileContent("temp.txt");
strncpy(text, p, 3000);
text[2999]='\0';
> }
>
> I can't get this to work. I've a bunch of places and I even
> tried to get
> the pointers to no avail. I am new to c, but I am an expert
> programmer.
> Any c help will be greatly appreciated.
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
Anti-racism movement: http://www.positive-youthfoundation.org
Iraq Peace Pledge: http://www.peacepledge.org
|
|
From: Ioannis V. <iv...@at...> - 2003-04-09 03:52:51
|
Or he could use Allegro or something (I assume that Allegro works with MINGW). Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Per Westermark > Sent: Wednesday, April 09, 2003 12:42 AM > To: Daniel K. O. > Cc: dev...@li... > Subject: Re: RES: [Dev-C++] NewBie > > > djgpp is a nice DOS compiler. |
|
From: Daniel K. O. <dan...@ya...> - 2003-04-09 02:21:55
|
A good start is to learn the C sintax. Try this tutorial: http://www.geocities.com/tom_torfs/cintro.html (the best C-quick-tutorial I've ever seen) Daniel K. O. Only ask questions with yes/no answers if you want "yes" or "no" as the answer. http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an swers.html > -----Mensagem original----- > De: dev...@li... > [mailto:dev...@li...]Em nome de jose isaias > cabrera > Enviada em: terça-feira, 8 de abril de 2003 22:52 > Para: dev...@li... > Assunto: [Dev-C++] passing the content of a string to a variable from > > > > Greetings O SmartOnes! > > I have the following c code: > > char FileContent(char *file) > { > char fcontent(3000); > ... > /*in here I grab the content of a text file */ > ... > return(fcontent); > } > > int main(int argc, char *argv[]) > { > char text[3000]; > ... > ... > ... > text = FileContent("temp.txt"); > } > > I can't get this to work. I've a bunch of places and I even > tried to get > the pointers to no avail. I am new to c, but I am an expert programmer. > Any c help will be greatly appreciated. > > thanks. > > josé > |
|
From: jose i. c. <ji...@fr...> - 2003-04-09 01:51:47
|
Greetings O SmartOnes!
I have the following c code:
char FileContent(char *file)
{
char fcontent(3000);
...
/*in here I grab the content of a text file */
...
return(fcontent);
}
int main(int argc, char *argv[])
{
char text[3000];
...
...
...
text = FileContent("temp.txt");
}
I can't get this to work. I've a bunch of places and I even tried to get
the pointers to no avail. I am new to c, but I am an expert programmer.
Any c help will be greatly appreciated.
thanks.
josé
|
|
From: Rodolfo d'E. <rod...@la...> - 2003-04-09 00:03:46
|
Hi, I found this library: http://tvision.sourceforge.net/ It has been ported to linux, cygwin, mingw, etc. Maybe it can satisfy = your needs. I haven't tried it yet, so good luck!!! Rodolfo d'Ettorre "Chi nasce quadrato non puo' morire rotondo!" |
|
From: <and...@su...> - 2003-04-09 00:01:23
|
Expect for the anwers of the gurus.
While they don´t come...
1-You will have to work with a Project File, so the Project option can be
enabled for you;
2-After you put your .c code inside a project File, go to Project, Project
options;
3-Click on "Load Object Files";
4-Go to your Dev-C++ path\Lib;
5-Select "conio.o";
6-Click on ok and close Project Options;
7-Itsn´t necessary to include the line #include <conio.o>
8-Use the Borland´s commands that you know, clrscr(), gotoxy, etc.
Andre
>Message: 1
>To: <Dev...@li...>
>Date: Tue, 8 Apr 2003 14:22:59 -0300
>From: pau...@se...
>Subject: [Dev-C++] NewBie
>
>Hi all!
>
>I'd like to now why this code bellow dont work, more specific about
>functions clrscr(),textcolor(),gotoxy(),delay() cprintf().
>I am using dev-c++ 4.9.8.0.
>
>Thanks.
>Paulogon
>
># include <stdio.h>
># include <dos.h>
># include <conio.h>
># include <stdlib.h>
>int main()
>{
> clrscr();
> textcolor(3);
> gotoxy(19,8 );cprintf(" =B1 =B1=B1=B1=B1=B1 =B1=B1=B1=B1=B1 =B1=B1=
>=B1=B1=B1 =B1=B1=B1 =B1=B1=B1=B1 ");
> delay(50);
> system("PAUSE");
> return 0;
>}
>
|
|
From: Rafael C. <cha...@un...> - 2003-04-08 21:49:40
|
Paulo, I think the first question of the following FAQ could help you: http://www.bloodshed.net/dev/faq.html Regards Rafael Paulo-Fernando Gontijo wrote: > I think these functions were implemented in conio.h. But dev-c++ 4.9.8.0 > looks give not support them. > Am i right? > > Paulogon > > > > > > > these function exist only under borland > > > ----- Original Message ----- > From: "Ioannis Vranos" <iv...@at...> > To: "Dev-C++ Mailing List" <dev...@li...> > Sent: Tuesday, April 08, 2003 7:52 PM > Subject: RE: [Dev-C++] NewBie > > > >>>-----Original Message----- >>>From: dev...@li... >>>[mailto:dev...@li...] On Behalf >>>Of pau...@se... >>>Sent: Tuesday, April 08, 2003 8:23 PM >>>To: Dev...@li... >>>Subject: [Dev-C++] NewBie >>> >>> >>>Hi all! >>> >>>I'd like to now why this code bellow dont work, more specific about >>>functions clrscr(),textcolor(),gotoxy(),delay() cprintf(). >>>I am using dev-c++ 4.9.8.0. >> >> >> >>Why should they? >> >> >> >>Ioannis Vranos >> >>* Programming pages: http://www.noicys.freeurl.com >>* Alternative URL 1: http://run.to/noicys >>* Alternative URL 2: http://www.noicys.cjb.net >> >> >>Anti-racism movement: http://www.positive-youthfoundation.org >>Iraq Peace Pledge: http://www.peacepledge.org >> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: ValueWeb: >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >>No other company gives more support or power for your dedicated server >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >>_______________________________________________ >>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: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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: David M. <dem...@uw...> - 2003-04-08 20:58:53
|
Well, I'm assuming that you mean the .a files are just a collection of .o files. That's not what they are, they have their own format. You can probably find out more on google. At 11:30 AM 08/04/2003 -0400, David Matthews wrote: >Well someone asked me how (they are using VC++) so I guess it's along those >lines in another compiler huh? > >The library...that's the .cpp files compiled isn't it? and you #include the >header and then just call them, yes? > >Daniel > > >>From: David Matthews <dem...@uw...> >>To: "Daniel Glenfield" <sp...@ho...>, >>dev...@li... >>Subject: Re: [Dev-C++] Creating a static library >>Date: Mon, 07 Apr 2003 14:32:37 -0400 >> >>New project, static library. Add the source files to the project, compile >>as lib<yourname>.a drop the new .a library into your /lib/ directory. In >>another project, go to linker options, add -l<yourname> and #include >><yourname>.h >> >>At 04:52 PM 07/04/2003 +0100, Daniel Glenfield wrote: >> >How can I create a static library? >> > >> >Sorry if this is obvious, can't think today! >> > >> > >> > >> > >> > >> >_________________________________________________________________ >> >It's fast, it's easy and it's free. Get MSN Messenger today! >> >http://www.msn.co.uk/messenger >> > >> > >> > >> >------------------------------------------------------- >> >This SF.net email is sponsored by: ValueWeb: >> >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> >No other company gives more support or power for your dedicated server >> >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> >_______________________________________________ >> >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 >> > > > >_________________________________________________________________ >Use MSN Messenger to send music and pics to your friends >http://www.msn.co.uk/messenger > > > |
|
From: David M. <dem...@uw...> - 2003-04-08 20:58:44
|
Not to mention your second email asking "why is everyone ignoring me" came three hours later. At least give it a day or two before sending something like that. Better yet, don't send one like that. At 11:30 AM 08/04/2003 -0400, David Matthews wrote: >1 - in my time zone your request came in at 5 in the morning. >2 - where did you read that this was a Linux group? >3 - we are not paid to answer - it's a question of free will. > >Check google with key words 'linux ncurses programming' and you should >have a lot of programming references. > >/Per W > >On Tue, 8 Apr 2003, Smitha V. Babu wrote: > >> Why any one of not answering my question.. >> >> >> > -----Original Message----- >> > From: Smitha V. Babu >> > Sent: Tuesday, April 08, 2003 9:18 AM >> > To: Dev-C Mailing List >> > Subject: GUI on Linux >> > >> > >> > Does any one how to make text based GUI on linux.. >> > I don't know how to start up with... >> > Can someone suggest an answer.... >> > Or some good tutorial for that >> > >> > Thanking in advance >> > smitha >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> ********************************************************************* >> Disclaimer: The information in this e-mail and any attachments is >> confidential / privileged. It is intended solely for the addressee or >> addressees. If you are not the addressee indicated in this message, you may >> not copy or deliver this message to anyone. In such case, you should destroy >> this message and kindly notify the sender by reply email. Please advise >> immediately if you or your employer does not consent to Internet email for >> messages of this kind. >> ********************************************************************* >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> No other company gives more support or power for your dedicated server >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> 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: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >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: Szathmary L. <sz...@de...> - 2003-04-08 20:51:30
|
> Open project options, and on compiler options add the needed library. Hi, Thanks for the info, I didn't know that. I have two files in lib: tiff.lib and libtiff.a I tried to add tiff.lib as "../../DevCpp5/lib/tiff.lib", but when I want to run it, it says it cannot load libtiff.dll How can I fix it? Thanks, Laszlo |
|
From: Per W. <pw...@ia...> - 2003-04-08 20:43:05
|
djgpp is a nice DOS compiler. /Per W On Tue, 8 Apr 2003, Daniel K. O. wrote: > > > > -----Mensagem original----- > > De: dev...@li... > > [mailto:dev...@li...]Em nome de > > Paulo-Fernando Gontijo > > Enviada em: ter=E7a-feira, 8 de abril de 2003 17:13 > > Para: dev...@li... > > Assunto: Re: [Dev-C++] NewBie > > > > > > > > I think these functions were implemented in conio.h. But dev-c++ 4.9.= 8.0 > > looks give not support them. > > Am i right? > > > > Paulogon > > > > > conio.h is destined for DOS. MinGW doesn't compile for DOS. There IS an > "emulated" conio.h on the include directory, that uses Win32 API. Look at > the code, and try to use it. If you *really* needs conio.h and are not ha= ppy > enough with this "emulated" lib, you should use a compiler for DOS. > > > > > > Daniel K. O. > > > Only ask questions with yes/no answers if you want "yes" or "no" as the > answer. > http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no= -an > swers.html > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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: Per W. <pw...@ia...> - 2003-04-08 20:42:00
|
It isn't enough that your lib directory contains the tiff libraries. You
also have to add them to the project.
The lib directory is where the linker will look for the libraries.
However, it won't start looking for a library unless the project
references the library.
Open project options, and on compiler options add the needed library.
/Per W
On Tue, 8 Apr 2003, Szathmary Laszlo wrote:
> Hi,
>
> I'm quite new to Dev-C++, and I ran into a problem. I wanted to compile
> this simple prg.:
>
> #include <stdlib.h>
> #include <tiffio.h>
> #include <tiff.h>
>
> int main(int argc, char *argv[])
> {
> TIFF* tif = TIFFOpen("foo.tif", "r");
> // ... do stuff ...
> TIFFClose(tif);
> system("PAUSE");
> return 0;
> }
>
> but I get the next error: undefined reference to TIFFOpen and to
> TIFFClose. In the include directory I have tiff.h, tiffio.h and
> tiffvers.h, in the lib dir. I have tiff.lib, and libtiff.a
> What is wrong? In the options menu the lib and iclude directories are set
> properly.
>
> Thanks,
>
> laszlo
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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: Daniel K. O. <dan...@ya...> - 2003-04-08 20:35:19
|
> -----Mensagem original----- > De: dev...@li... > [mailto:dev...@li...]Em nome de > Paulo-Fernando Gontijo > Enviada em: terça-feira, 8 de abril de 2003 17:13 > Para: dev...@li... > Assunto: Re: [Dev-C++] NewBie > > > > I think these functions were implemented in conio.h. But dev-c++ 4.9.8.0 > looks give not support them. > Am i right? > > Paulogon > conio.h is destined for DOS. MinGW doesn't compile for DOS. There IS an "emulated" conio.h on the include directory, that uses Win32 API. Look at the code, and try to use it. If you *really* needs conio.h and are not happy enough with this "emulated" lib, you should use a compiler for DOS. Daniel K. O. Only ask questions with yes/no answers if you want "yes" or "no" as the answer. http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-an swers.html |
|
From: Szathmary L. <sz...@de...> - 2003-04-08 20:26:12
|
Hi,
I'm quite new to Dev-C++, and I ran into a problem. I wanted to compile
this simple prg.:
#include <stdlib.h>
#include <tiffio.h>
#include <tiff.h>
int main(int argc, char *argv[])
{
TIFF* tif = TIFFOpen("foo.tif", "r");
// ... do stuff ...
TIFFClose(tif);
system("PAUSE");
return 0;
}
but I get the next error: undefined reference to TIFFOpen and to
TIFFClose. In the include directory I have tiff.h, tiffio.h and
tiffvers.h, in the lib dir. I have tiff.lib, and libtiff.a
What is wrong? In the options menu the lib and iclude directories are set
properly.
Thanks,
laszlo
|
|
From: Colin L. <ha...@bl...> - 2003-04-08 20:10:40
|
Hello, > Concerning the remote debugging, a VMWare virtual machine is networked to > its (say) Windows 'host' just like a separate (networked) Linux box would > be, so it imposes no special complications/requirements. then ssh or rsh could be used to connect to it. > The Linux box (or VM) would have to be networked and run some sort of > daemon, controlled over the network by Dev-C++ running on the Windows box. > Since this type of remote debugging is standard in the GDB world and > supported in GDB itself (eg. using it on a PC to remote-debug an embedded > system, which has a simple stub to allow GDB to control it) I was assuming > that this would be a very straightforward to do. We just need to to be able to launch GDB and get it's input/output. Greetings, Colin > Sorry for posting both here and on the forum - I had no idea which one was > best to reach the developers. > > Also want to say that Dev-C++ is a really cool piece of work - which I'd > found it earlier!! > > ----------------------- > > >Message: 9 > > From: Colin Laplace <ha...@bl...> > > >Reply-To: ha...@bl... > >To: dev...@li... > >Subject: Re: [Dev-C++] Linux support without a Linux port > >Date: Sun, 6 Apr 2003 23:36:00 +0200 > > > >Hello, > > > >Cross compiling to Linux from Dev-C++ should be easy. Just install a Win32 > >cross compiler that generates x86-elf code on your windows, and configure > > the path and names in Compiler Options of Dev-C++ to match the one of > > your cross compiler. For the part of running GDB from a linux launched in > > a VMWare, I don't use VMWare and don't really know if that would possible > > (it would need some kind of protocol between the host and slave system - > > available to running programs - which would suprise me if it exists). > > > >Greetings, > >Colin Laplace > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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: Paulo-Fernando G. <pau...@se...> - 2003-04-08 20:10:03
|
I think these functions were implemented in conio.h. But dev-c++ 4.9.8.0
looks give not support them.
Am i right?
Paulogon
"fougny" <fo...@mo...> Para: <dev...@li...>
Enviado Por: cc:
dev...@li... Assunto: Re: [Dev-C++] NewBie
orge.net
08/04/2003 15:51
-
these function exist only under borland
----- Original Message -----
From: "Ioannis Vranos" <iv...@at...>
To: "Dev-C++ Mailing List" <dev...@li...>
Sent: Tuesday, April 08, 2003 7:52 PM
Subject: RE: [Dev-C++] NewBie
> > -----Original Message-----
> > From: dev...@li...
> > [mailto:dev...@li...] On Behalf
> > Of pau...@se...
> > Sent: Tuesday, April 08, 2003 8:23 PM
> > To: Dev...@li...
> > Subject: [Dev-C++] NewBie
> >
> >
> > Hi all!
> >
> > I'd like to now why this code bellow dont work, more specific about
> > functions clrscr(),textcolor(),gotoxy(),delay() cprintf().
> > I am using dev-c++ 4.9.8.0.
>
>
>
> Why should they?
>
>
>
> Ioannis Vranos
>
> * Programming pages: http://www.noicys.freeurl.com
> * Alternative URL 1: http://run.to/noicys
> * Alternative URL 2: http://www.noicys.cjb.net
>
>
> Anti-racism movement: http://www.positive-youthfoundation.org
> Iraq Peace Pledge: http://www.peacepledge.org
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> 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: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
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: Ioannis V. <iv...@at...> - 2003-04-08 19:04:27
|
> -----Original Message----- > From: Paulo-Fernando Gontijo > [mailto:pau...@se...] > Sent: Tuesday, April 08, 2003 9:18 PM > To: Ioannis Vranos > Subject: RE: [Dev-C++] NewBie > > > > Because they are functions written for c. Do not confuse the core language which has its standard library, with third-party local libraries... Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |
|
From: fougny <fo...@mo...> - 2003-04-08 18:48:58
|
these function exist only under borland ----- Original Message ----- From: "Ioannis Vranos" <iv...@at...> To: "Dev-C++ Mailing List" <dev...@li...> Sent: Tuesday, April 08, 2003 7:52 PM Subject: RE: [Dev-C++] NewBie > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of pau...@se... > > Sent: Tuesday, April 08, 2003 8:23 PM > > To: Dev...@li... > > Subject: [Dev-C++] NewBie > > > > > > Hi all! > > > > I'd like to now why this code bellow dont work, more specific about > > functions clrscr(),textcolor(),gotoxy(),delay() cprintf(). > > I am using dev-c++ 4.9.8.0. > > > > Why should they? > > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL 1: http://run.to/noicys > * Alternative URL 2: http://www.noicys.cjb.net > > > Anti-racism movement: http://www.positive-youthfoundation.org > Iraq Peace Pledge: http://www.peacepledge.org > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > 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: Ioannis V. <iv...@at...> - 2003-04-08 17:52:51
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of pau...@se... > Sent: Tuesday, April 08, 2003 8:23 PM > To: Dev...@li... > Subject: [Dev-C++] NewBie > > > Hi all! > > I'd like to now why this code bellow dont work, more specific about > functions clrscr(),textcolor(),gotoxy(),delay() cprintf(). > I am using dev-c++ 4.9.8.0. Why should they? Ioannis Vranos * Programming pages: http://www.noicys.freeurl.com * Alternative URL 1: http://run.to/noicys * Alternative URL 2: http://www.noicys.cjb.net Anti-racism movement: http://www.positive-youthfoundation.org Iraq Peace Pledge: http://www.peacepledge.org |