dev-cpp-users Mailing List for Dev-C++ (Page 681)
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: Chakravarti M. <cha...@ho...> - 2001-07-30 08:25:50
|
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0xfa):opr.cpp: = undefined reference to `cout' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0xff):opr.cpp: = undefined reference to `ostream::operator<<(char const *)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x11e):opr.cpp: = undefined reference to `cout' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x123):opr.cpp: = undefined reference to `ostream::operator<<(char const *)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x16b):opr.cpp: = undefined reference to `cout' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x170):opr.cpp: = undefined reference to `ostream::operator<<(char const *)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x1b8):opr.cpp: = undefined reference to `cout' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text+0x1bd):opr.cpp: = undefined reference to `ostream::operator<<(char const *)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text$show__7complex+0x28):= opr.cpp: undefined reference to `cout' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text$show__7complex+0x2d):= opr.cpp: undefined reference to `ostream::operator<<(int)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text$show__7complex+0x38):= opr.cpp: undefined reference to `ostream::operator<<(char const *)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text$show__7complex+0x43):= opr.cpp: undefined reference to `ostream::operator<<(int)' C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\ccQTaaaa.o(.text$show__7complex+0x4e):= opr.cpp: undefined reference to `ostream::operator<<(char const *)' |
|
From: <jos...@ya...> - 2001-07-30 07:18:12
|
There are 2 main options to create projects: - Console application - Windows application Depending on your needs you select one or the other. If you don't know about windows programming and what you want to do is normal C/C++ stuff then you have to select console application within project dialog. In the same dialog where you choose "Console application" you can select for C or C++. hth Chemanuel --- Jarred <sto...@ya...> escribió: > When I go to make project and chose windows it puts me in a file with > a lot > of stuff I don't understand. Where does the other code go? Also how > do you > make C programs when I select new file I always get C++. Thanks for > any > help. > > > _________________________________________________________ > 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 _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger: Comunicación instantánea gratis con tu gente - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-07-30 07:12:37
|
This option is not available with the current version. Colin was suggested to introduce this capability for future versions but we'll have to see. hth Chemanuel --- Paul Pedriana <pa...@cc...> escribió: > I have a project with about 50 files in it and I > need to be able to compile just a single file at > a time, but Bloodshed C++ doesn't seem to let me > do this. There is only the 'compile' menu item and > it compiles all files every time. This is very slow. > > So how do you compile a single file at a time??? > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger: Comunicación instantánea gratis con tu gente - http://messenger.yahoo.es |
|
From: <jos...@ya...> - 2001-07-30 07:11:03
|
When you want to add a file to a project you should go to "Project -> Add to project" and then select the file(s) you want to add. To remove file(s) use the menu option "Project -> Remove from project". hth Chemanuel --- Paul Pedriana <pa...@cc...> escribió: > Super Simple Question: > How do I open more than one file in the program? > > If I use the "Open Project or File" menu option to open > a .h or .cpp file, it insists on quitting the entire project! > There is no way to drag and drop a file onto the program > to open it. If I put a .h file into the project tree, the > program goes crash crazy. > > Thus, I can find no way to actually open a second file. > > Paul Pedriana > pa...@cc... > > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users _______________________________________________________________ Do You Yahoo!? Yahoo! Messenger: Comunicación instantánea gratis con tu gente - http://messenger.yahoo.es |
|
From: Jarred <sto...@ya...> - 2001-07-30 06:10:53
|
When I go to make project and chose windows it puts me in a file with a lot of stuff I don't understand. Where does the other code go? Also how do you make C programs when I select new file I always get C++. Thanks for any help. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
|
From: Nurhidayat <dh...@ma...> - 2001-07-30 05:18:52
|
At 06:54 PM 7/28/01 +0000, you wrote:
>hello everyone. i was just wondering how i could get my c++ program to view
>what file names there are in its directory.
>i really need the code if anyone could help.
>thanyou.
You need _findfirst() and _findnext() functions those included by io.h
library. A simple code example given here:
#include <io.h>
#include <iostream.h>
#include <stdlib.h>
int main()
{
_finddata_t myfile;
int myhandle;
if ((myhandle = _findfirst("*.*", &myfile)) >= 0) {
do {
cout << myfile.name << endl;
} while (_findnext(myhandle, &myfile) >= 0);
_findclose(myhandle);
}
else {
cout << "File not found" << endl;
}
system("pause");
return 0;
}
___Nurhidayat___
|
|
From: Steve D. P. <ste...@ho...> - 2001-07-30 01:41:40
|
> Real simple, we pushed the button!!!!!!!!!!!!
> NOW, I have been trying to unsubscribe from this list for over two months
> with NO I repeat NO success.
> If you have info on how I and several other poster can unsubscrobe POST IT.
Uh, if the there's-a-link-at-the-bottom-of-each-posting clue wasn't helpful enough... then
"several other poster" can "unsubscrobe" by following these instructions:
(1) Click link at bottom of this (or any other posting), in the automatically-generated
signature section.
(2) Scroll to bottom.
(3) Enter your email address (the one where your Dev-C++ postings are being sent).
(4) Click "Edit Options".
(5) Enter your password.
(6) Click "Unsubscribe".
(7) Wave "bye-bye"!!!
(Appendix A) If you do not know what your "password" is, click the "Email My Password To Me"
button beneath the Unsubscribe section. A shiny, brand-new, fresh-out-of-the-oven password
should arrive on your doorstep within the hour.
|
|
From: Ioannis V. <no...@ya...> - 2001-07-30 01:21:34
|
Go at http://lists.sourceforge.net/lists/listinfo/dev-cpp-users At the very bottom of the page it has a section saying: To change your subscription (set options like digest and delivery modes, get a reminder of your password, or unsubscribe from Dev-cpp-users), enter your subscription email address: There you enter your email address, press the edit options button and you are presented with a page with the ability to unsubscribe. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Ken Thompson > Sent: Monday, July 30, 2001 3:09 AM > To: dev...@li... > Subject: Re: [Dev-C++] REMOVE ME >=20 >=20 > On Sunday 29 July 2001 08:09 am, you wrote: > > I think that many of us are getting tired of geniuses=20 > bulk-mailing=20 > > their "removal requests" to the entire group. How much=20 > intelligence=20 > > does it actually take to notice that EVERY POSTING to the=20 > mailing list=20 > > gets stamped at the bottom with a signature, containing the list's=20 > > address and a LINK TO UNSUBSCRIBE?!? My God, how did you people=20 > > manage to get subscribed in the first place?!? >=20 >=20 > Real simple, we pushed the button!!!!!!!!!!!! > NOW, I have been trying to unsubscribe from this list for=20 > over two months=20 > with NO I repeat NO success. > If you have info on how I and several other poster can=20 > unsubscrobe POST IT. > --=20 > Ken Thompson > Payette, Idaho. > ad...@nw... > http://www.nwaa.com >=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
|
From: Ken T. <ad...@nw...> - 2001-07-30 01:14:52
|
On Sunday 29 July 2001 08:09 am, you wrote: > I think that many of us are getting tired of geniuses bulk-mailing > their "removal requests" to the entire group. How much intelligence does > it actually take to notice that EVERY POSTING to the mailing list gets > stamped at the bottom with a signature, containing the list's address and a > LINK TO UNSUBSCRIBE?!? My God, how did you people manage to get subscribed > in the first place?!? Real simple, we pushed the button!!!!!!!!!!!! NOW, I have been trying to unsubscribe from this list for over two months with NO I repeat NO success. If you have info on how I and several other poster can unsubscrobe POST IT. -- Ken Thompson Payette, Idaho. ad...@nw... http://www.nwaa.com |
|
From: Pablo R. <zom...@ya...> - 2001-07-29 23:54:31
|
unsubscribe me please!11
-----Mensaje original-----
De: dev...@li...
[mailto:dev...@li...]En nombre de Steve D.
Perkins
Enviado el: Domingo, 29 de Julio de 2001 11:10 a.m.
Para: dev...@li...
Asunto: Re: [Dev-C++] REMOVE ME
I think that many of us are getting tired of geniuses bulk-mailing their
"removal requests"
to the entire group. How much intelligence does it actually take to notice
that EVERY POSTING
to the mailing list gets stamped at the bottom with a signature, containing
the list's address
and a LINK TO UNSUBSCRIBE?!? My God, how did you people manage to get
subscribed in the first
place?!?
----- Original Message -----
From: "Dot" <do...@vo...>
To: <dev...@li...>
Sent: Sunday, July 29, 2001 1:08 AM
Subject: [Dev-C++] REMOVE ME
> Sorry
>
>
> _______________________________________________
> 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: Steve D. P. <ste...@ho...> - 2001-07-29 14:06:47
|
I think that many of us are getting tired of geniuses bulk-mailing their "removal requests" to the entire group. How much intelligence does it actually take to notice that EVERY POSTING to the mailing list gets stamped at the bottom with a signature, containing the list's address and a LINK TO UNSUBSCRIBE?!? My God, how did you people manage to get subscribed in the first place?!? ----- Original Message ----- From: "Dot" <do...@vo...> To: <dev...@li...> Sent: Sunday, July 29, 2001 1:08 AM Subject: [Dev-C++] REMOVE ME > Sorry > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: jansb000 <jan...@wx...> - 2001-07-29 11:22:28
|
ITOA is a standard function. It resides in libc. Here is the description...
itoa
====
Syntax
------
#include <stdlib.h>
char * itoa(int value, char *string, int radix)
Description
-----------
This function converts its argument VALUE into a null-terminated
character string using RADIX as the base of the number system. The
resulting string with a length of upto 33 bytes (including the optional
sign and the terminating `NULL' is put into the buffer whose address is
given by STRING. For radixes other than 10, VALUE is treated as an
unsigned int (i.e., the sign bit is not interpreted as such). The
argument RADIX should specify the base, between 2 and 36, in which the
string reprsentation of VALUE is requested.
Return Value
------------
A pointer to STRING.
Portability
-----------
not ANSI, not POSIX
Example
-------
char binary_str[33];
(void)itoa(num, binary_str, 2);
----- Original Message -----
From: "Luigi Santillo" <gi...@li...>
To: <dev...@li...>
Sent: Saturday, July 28, 2001 8:15 PM
Subject: Re: [Dev-C++] What lib should i be using instead?
> Hi Brian !
> I'm not sure if the function "itoa" is ANSI C++; just in case it is not I
> included a "small" version of it.
>
> This code might do what you expect:
>
> test.cpp
> ---
> // main is just to let me test the code
>
> #include <fstream.h>
> #include <string>
> #include <algorithm>
>
> string
> itoa(int n);
>
> //////////////////////////////////////////////////////////////////////
>
> int
> main()
> {
> int number = 15;
> string filename = "help";
> ofstream data;
>
> filename += itoa(number); // append the integer
> data.open(filename.c_str()); // see STL help file for c_str()
>
> data << "this string goes in the file: \"" << filename << "\"\n";
>
> return 0;
> }
>
> //////////////////////////////////////////////////////////////////////
>
> // convert a non-negative integer to a string
>
> string
> itoa(int n)
> {
> string s; // the number as a string
>
> if (n >= 0) // convert
> {
> do
> s += '0' + n % 10; // add in reverse order
> while (n /= 10);
>
> reverse(s.begin(), s.end()); // set in the right order
> }
>
> return s;
> }
>
> At 18.42 28/07/01 +0200, you wrote:
> >I am not all to familiar with the string class that you are using, but
> >"filename += number" may not do what you think.
> >
> >try this instead:
> >
> >//
> >string filename = "help";
> >int number = 0;
> >filename += itoa(number); // convert int to char before appending it to
> >string.
> >cout << "{" << filename << "}" << endl;
> >//
> >
> >You will now see that a space is added between filename and number. This
> >character position is to represent a minus sign if number is negative.
Your
> >string class will probably have a function to get rid of this character.
> >
> >----- Original Message -----
> >From: "Brian Puz" <BP...@go...>
> >To: <Dev...@li...>
> >Sent: Saturday, July 28, 2001 12:30 AM
> >Subject: [Dev-C++] What lib should i be using instead?
> >
> >
> > > I am using G++/string and fstream.h and am unable to open a file using
a
> >string. I want to dianamically create file names and would prefer to do
this
> >without char[].
> > >
> > > int number;
> > > string filename = "help";
> > > ofstream data;
> > >
> > > filename += number;
> > > data.open(filename);
> > >
> > >
> > >
> > > ___________________________________________________
> > > GO.com Mail
> > > Get Your Free, Private E-mail at http://mail.go.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
>
> --
> gisan
> gi...@li...
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: Paul P. <pa...@cc...> - 2001-07-29 06:40:00
|
I have a project with about 50 files in it and I need to be able to compile just a single file at a time, but Bloodshed C++ doesn't seem to let me do this. There is only the 'compile' menu item and it compiles all files every time. This is very slow. So how do you compile a single file at a time??? |
|
From: Dot <do...@vo...> - 2001-07-29 05:08:48
|
Sorry |
|
From: Luigi S. <gi...@li...> - 2001-07-29 03:36:15
|
Hi Brian !
I'm not sure if the function "itoa" is ANSI C++; just in case it is not I
included a "small" version of it.
This code might do what you expect:
test.cpp
---
// main is just to let me test the code
#include <fstream.h>
#include <string>
#include <algorithm>
string
itoa(int n);
//////////////////////////////////////////////////////////////////////
int
main()
{
int number = 15;
string filename = "help";
ofstream data;
filename += itoa(number); // append the integer
data.open(filename.c_str()); // see STL help file for c_str()
data << "this string goes in the file: \"" << filename << "\"\n";
return 0;
}
//////////////////////////////////////////////////////////////////////
// convert a non-negative integer to a string
string
itoa(int n)
{
string s; // the number as a string
if (n >= 0) // convert
{
do
s += '0' + n % 10; // add in reverse order
while (n /= 10);
reverse(s.begin(), s.end()); // set in the right order
}
return s;
}
At 18.42 28/07/01 +0200, you wrote:
>I am not all to familiar with the string class that you are using, but
>"filename += number" may not do what you think.
>
>try this instead:
>
>//
>string filename = "help";
>int number = 0;
>filename += itoa(number); // convert int to char before appending it to
>string.
>cout << "{" << filename << "}" << endl;
>//
>
>You will now see that a space is added between filename and number. This
>character position is to represent a minus sign if number is negative. Your
>string class will probably have a function to get rid of this character.
>
>----- Original Message -----
>From: "Brian Puz" <BP...@go...>
>To: <Dev...@li...>
>Sent: Saturday, July 28, 2001 12:30 AM
>Subject: [Dev-C++] What lib should i be using instead?
>
>
> > I am using G++/string and fstream.h and am unable to open a file using a
>string. I want to dianamically create file names and would prefer to do this
>without char[].
> >
> > int number;
> > string filename = "help";
> > ofstream data;
> >
> > filename += number;
> > data.open(filename);
> >
> >
> >
> > ___________________________________________________
> > GO.com Mail
> > Get Your Free, Private E-mail at http://mail.go.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
--
gisan
gi...@li...
|
|
From: Paul P. <pa...@cc...> - 2001-07-29 00:28:02
|
Super Simple Question: How do I open more than one file in the program? If I use the "Open Project or File" menu option to open a .h or .cpp file, it insists on quitting the entire project! There is no way to drag and drop a file onto the program to open it. If I put a .h file into the project tree, the program goes crash crazy. Thus, I can find no way to actually open a second file. Paul Pedriana pa...@cc... |
|
From: Brian P. <BP...@go...> - 2001-07-28 21:33:08
|
I must have a different lib because itoa(int) is not defined but itoa(int, char*, int) is?
*
*
*
v
I am not all to familiar with the string class that you are using, but
"filename += number" may not do what you think.
try this instead:
//
string filename = "help";
int number = 0;
filename += itoa(number); // convert int to char before appending it to
string.
cout << "{" << filename << "}" << endl;
//
You will now see that a space is added between filename and number. This
character position is to represent a minus sign if number is negative. Your
string class will probably have a function to get rid of this character.
___________________________________________________
GO.com Mail
Get Your Free, Private E-mail at http://mail.go.com
|
|
From: Ian W. <lak...@ho...> - 2001-07-28 18:54:28
|
hello everyone. i was just wondering how i could get my c++ program to view what file names there are in its directory. i really need the code if anyone could help. thanyou. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: jansb000 <jan...@wx...> - 2001-07-28 16:31:48
|
I am not all to familiar with the string class that you are using, but
"filename += number" may not do what you think.
try this instead:
//
string filename = "help";
int number = 0;
filename += itoa(number); // convert int to char before appending it to
string.
cout << "{" << filename << "}" << endl;
//
You will now see that a space is added between filename and number. This
character position is to represent a minus sign if number is negative. Your
string class will probably have a function to get rid of this character.
----- Original Message -----
From: "Brian Puz" <BP...@go...>
To: <Dev...@li...>
Sent: Saturday, July 28, 2001 12:30 AM
Subject: [Dev-C++] What lib should i be using instead?
> I am using G++/string and fstream.h and am unable to open a file using a
string. I want to dianamically create file names and would prefer to do this
without char[].
>
> int number;
> string filename = "help";
> ofstream data;
>
> filename += number;
> data.open(filename);
>
>
>
> ___________________________________________________
> GO.com Mail
> Get Your Free, Private E-mail at http://mail.go.com
>
>
>
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> http://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|
|
From: <ste...@ge...> - 2001-07-27 23:25:47
|
Hi again! I have one more question... How can I play sounds and music in my OpenGL = apps? As you might know, I'm using Dev-Cpp. If that makes any differens, = eh. Thanks!! |
|
From: Brian P. <BP...@go...> - 2001-07-27 22:32:30
|
I am using G++/string and fstream.h and am unable to open a file using a string. I want to dianamically create file names and would prefer to do this without char[]. int number; string filename = "help"; ofstream data; filename += number; data.open(filename); ___________________________________________________ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com |
|
From: <ste...@ge...> - 2001-07-27 17:18:11
|
Hey all! I'm working on a new OpenGL application, using Dev-Cpp. I was = wondering... how can I make it a screensaver? I've seen lot's of = screensavers runnning OpenGL, so i figured it wasn't impossible. Thanks :) |
|
From: JS <jsc...@gm...> - 2001-07-27 14:09:21
|
hi all, (just started with DEV Cpp) I am about to start with win32 programming and need at first a program to access the serial port (COM1/2) to monitor data and store into files. Does anybody know some sources for example code for this ? I also want to store the data into a access database via DAO. (i did not do this also so far). I assume there should be many applications, which did this allready in a similar way. Anybody has an idea where to go and get sam samples for thes prposes ? Thanks very much in prgrogress. j=FCrgen |
|
From: Graeme F. <gr...@dr...> - 2001-07-26 14:15:10
|
When compiling any project I get the following linker error: gcc: \cc490425.i: No such file or directory C:\Dev-c~1\bin\windres: gcc exited with status 1: can't execute 'gcc': No error. I have come across the following error on a couple of machines. Removing Dev-C++ and reinstalling doesn't help. One machine I needed to reformat the hard disk, for completely different reasons, and that sorted it out! But I feel that is rather too drastic to fix the laptop! The only solution I have come across is to remove the resource file from the project. Does anyone have any suggestions? Graeme. |
|
From: Vassili <v.v...@bt...> - 2001-07-25 22:46:27
|
Came across the 1994 version of "Opengl Programming Guide", I couldn't = get to the auxiliary file that goes with it, but on second viewing it = could easily be replaced by glut.=20 Check it out at: http://fly.srk.fer.hr/~unreal/theredbook/ Best of luck Vas. |