dev-cpp-users Mailing List for Dev-C++ (Page 531)
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: Abhijit S. <mu...@gm...> - 2002-09-03 17:03:15
|
> Hi List,
>
>
>
> I have an unsigned char* with the value 12345678 (as int) and I need to
> compare the first 4 numbers with another value (unsigned char).
>
> Does someone have an idea ???
Greets, Christian.
Is this what you're looking for?
int foo = 12345678;
unsigned char bar = 23;
while(foo > 255)
foo /= 10;
if(foo == bar)
// whatever
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Abhijit S. <mu...@gm...> - 2002-09-03 17:03:09
|
Greets, Carlos.
----- Original Message -----
DON'T USE MALLOC()/CALLOC()/REALLOC() IN C++ PROGRAMS! ONLY IN C.
WITH ALL THE HIGHLIGHTED WORDS MALLOC FOR C, NEW FOR C++ (WITH THE
CORRESPONDENT "LIBERATORS")
Now regarding realloc():
If it manages to change the size at the current location it returns the
same pointer you passed to it. If it allocates space somewhere else, it
moves the contents there and frees the current space. In case it fails,
it returns NULL and the current memory address remains unchanged.
In summary, if it fails you have the old memory area. If it doesn't fail
use the returned pointer and forget the old one. Example:
/* C code */
int *p=malloc(100*sizeof(*p));
int *r=realloc(p, 120*sizeof(*r));
if(!r)
/* use the old p */
/* use the new r and forget p address */
I tried to make an example reasigning to a so big block that it couldn't be
succeeding (I did something like realloc(pointer,
15545454554545455454545454554545); but then windows closed the console, and
I couldn't see the result.
So, in the end, just what I feared at first, but couldn't prove the second
part with the experiment:
numbers = (int*)realloc(numbers, newsize);
is a practice better to avoid. Because if it fails then you get a block of
memory which had been allocated , but not freed. so
------------------------------
Then maybe this?
char *ptr, *tmp_ptr;
int buf_size = BUF_SIZE;
*ptr = (char *)malloc(BUF_SIZE); // Assuming success
*tmp_ptr = realloc(ptr, NEW_BUF_SIZE);
if(tmp_ptr)
{
free(ptr);
ptr = tmp_ptr;
tmp_ptr = NULL;
buf_size = NEW_BUF_SIZE;
}
___________________________________________________________
Abhijit Shylanath
E-mail: mu...@gm... || ibr...@bi...
Web-site: http://mudeth.tripod.com/
|
|
From: Carlos d. M. <cg...@wo...> - 2002-09-03 16:22:50
|
>
>
> DON'T USE MALLOC()/CALLOC()/REALLOC() IN C++ PROGRAMS! ONLY IN C.
WITH ALL THE HIGHLIGHTED WORDS MALLOC FOR C, NEW FOR C++ (WITH THE
CORRESPONDENT "LIBERATORS")
> Now regarding realloc():
>
> If it manages to change the size at the current location it returns the
> same pointer you passed to it. If it allocates space somewhere else, it
> moves the contents there and frees the current space. In case it fails,
> it returns NULL and the current memory address remains unchanged.
>
> In summary, if it fails you have the old memory area. If it doesn't fail
> use the returned pointer and forget the old one. Example:
>
> /* C code */
>
> int *p=malloc(100*sizeof(*p));
>
> int *r=realloc(p, 120*sizeof(*r));
>
> if(!r)
> /* use the old p */
>
> /* use the new r and forget p address */
I tried to make an example reasigning to a so big block that it couldn't be
succeeding (I did something like realloc(pointer,
15545454554545455454545454554545); but then windows closed the console, and
I couldn't see the result.
So, in the end, just what I feared at first, but couldn't prove the second
part with the experiment:
numbers = (int*)realloc(numbers, newsize);
is a practice better to avoid. Because if it fails then you get a block of
memory which had been allocated , but not freed. so
if(!r){
[...]
free(p);
}
>
>
> Ioannis
>
> * Ioannis Vranos
> * Programming pages: http://www.noicys.cjb.net
> * Alternative URL: http://run.to/noicys
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=urceforge1&refcode1=vs3390
> _______________________________________________
> 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. <no...@ho...> - 2002-09-03 15:49:34
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Reid Thompson > Sent: Tuesday, September 03, 2002 6:04 PM > To: dev...@li... > Subject: [Dev-C++] gtk package URL invalid > > > http://www.bloodshed.net/dev/packages/bin/gtk-dev-2.0.0.DevPak > gives a > file not found error.... can anyone point me to a valid url > for the gtk > developer package?? > > thanks, > reid I just erased the file name. Look what i found: http://www.bloodshed.net/dev/packages/bin/ Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Rune S. <run...@mo...> - 2002-09-03 15:42:23
|
Try http://www.bloodshed.net/dev/packages/bin/gtk-dev-2.0.3.DevPak -- -rune > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...]On Behalf Of Reid > Thompson > Sent: 3. september 2002 17:04 > To: dev...@li... > Subject: [Dev-C++] gtk package URL invalid > > > http://www.bloodshed.net/dev/packages/bin/gtk-dev-2.0.0.DevPak gives a > file not found error.... can anyone point me to a valid url for the gtk > developer package?? > > thanks, > reid > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > 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 G. <sp...@ho...> - 2002-09-03 15:32:42
|
.DevPak? Can that be right? Oh didn't I hear that developers can give a file any extension they choose, with how many letters they like? Sorry if you opened this hoping to find your answer Reid, lol maybe the next person's reply will help you! >From: Reid Thompson <rei...@at...> >To: dev...@li... >Subject: [Dev-C++] gtk package URL invalid >Date: Tue, 03 Sep 2002 11:04:18 -0400 > >http://www.bloodshed.net/dev/packages/bin/gtk-dev-2.0.0.DevPak gives a file >not found error.... can anyone point me to a valid url for the gtk >developer package?? > >thanks, >reid > > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx |
|
From: Reid T. <rei...@at...> - 2002-09-03 15:02:50
|
http://www.bloodshed.net/dev/packages/bin/gtk-dev-2.0.0.DevPak gives a file not found error.... can anyone point me to a valid url for the gtk developer package?? thanks, reid |
|
From: <Met...@ao...> - 2002-09-03 14:40:59
|
First of all, convert all your char representations of ints into *real* ints using atoi or atol stdlib.h functions. Then just do the compare... Kind regards -- Seb |
|
From: Ioannis V. <no...@ho...> - 2002-09-03 13:42:26
|
> -----Original Message----- > From: dev...@li...=20 > [mailto:dev...@li...] On Behalf=20 > Of Carlos Garc=EDa del Monte > Sent: Tuesday, September 03, 2002 3:03 PM > To: dev-cpp-users-list > Subject: [Dev-C++] realloc >=20 >=20 > Hi: > I got a C library reference from cplusplus.com, and in=20 > realloc there is > something I'm not sure about. > There it is said that after the call to realloc, this=20 > function returns a > pointer to the new allocated memory or NULL if failed, and that the > original pointer provided to it as the first parameter is left > untouched. In their example they write: > numbers =3D (int*)realloc(numbers, newsize); > [...] DON'T USE MALLOC()/CALLOC()/REALLOC() IN C++ PROGRAMS! ONLY IN C. In C++ use new/new[]/delete/delete[] and standard containers. "[diff.malloc] C.2.4.2 Memory allocation functions 1 The functions calloc, malloc, and realloc are restricted in this International Standard. 20.4.6 describes the changes." Now regarding realloc(): If it manages to change the size at the current location it returns the same pointer you passed to it. If it allocates space somewhere else, it moves the contents there and frees the current space. In case it fails, it returns NULL and the current memory address remains unchanged. In summary, if it fails you have the old memory area. If it doesn't fail use the returned pointer and forget the old one. Example: /* C code */ int *p=3Dmalloc(100*sizeof(*p)); int *r=3Drealloc(p, 120*sizeof(*r)); if(!r) /* use the old p */ /* use the new r and forget p address */ Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Christian W. <Chr...@vo...> - 2002-09-03 12:44:58
|
Hi List, I have an unsigned char* with the value 12345678 (as int) and I need to compare the first 4 numbers with another value (unsigned char). Does someone have an idea ??? Kind r Christian |
|
From: Per W. <pw...@ia...> - 2002-09-03 12:32:28
|
This should solve the class assignment
void itow(int i) {
if (i >= 1 && i <= 100)
while (i-- > 0) printf("word\n");
else
printf("Arg out of range!");
}
EMA System email: pw...@ia...
Per Westermark web: http://iapetus.neab.net
Vargvaegen 174B phone: +46 8 410 17 198
S-906 42 Umeaa
Sweden
On Wed, 28 Aug 2002, joanna juaneza wrote:
> create a program that would translate 1 to 100 to
> words.
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Jabber - The world's fastest growing
> real-time communications platform! Don't just IM. Build it in!
> http://www.jabber.com/osdn/xim
> _______________________________________________
> 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: Carlos d. M. <cg...@wo...> - 2002-09-03 12:03:49
|
Hi: I got a C library reference from cplusplus.com, and in realloc there is something I'm not sure about. There it is said that after the call to realloc, this function returns a pointer to the new allocated memory or NULL if failed, and that the original pointer provided to it as the first parameter is left untouched. In their example they write: numbers = (int*)realloc(numbers, newsize); That made me think, if the pointer provided is left untouched, and in case of error it returns NULL; it wouldn't be a bad programming practice use the same pointer as the parameter and the returning value? Could it generate a memory leak? Perhaps that means that after the call you have two allocated memory blocks, one of the previous size and another with the new size, if you use the same pointer as parameter and return value then either if it succeds or not you'll get a memory block which won't be freed and will behave badly, so you'll need to free it manually 8which seems a little bad feature, at least when the call succeeds), and if it fails you either lose a chance to recover with the original pointer (would be nice only if it fails). But then I made a little experiment for see this. I made more or less this code: int* bufferone, *buffertwo; bufferone = (int*)malloc(2 * sizeof(int)); for(int i = 0; i < 2; i++) bufferone[i] = i + 1; for[] cout bufferone[i]; buffertwo = (int*)realloc(bufferone, 4 * sizeof(int)); cout << bufferone << " " << buffertwo << endl; for[] buffertwo[i] = i + 1; for[] cout << bufferone[i]; for[] cout << buffertwo[i]; free(bufferone); fors for cout; free(buffertwo) again the for couts. After realloc, bufferone : 1 2; buffertwo: 1, 2, 3, 4. The same address for both. After free(bufferone) bufferone: 0, 2; buffertwo: 0, 2, 3, 4. After free(buffertwo) bufferone: 49855478, 2; buffertwo: 49855478, 2, 3, 4. Or different addresses: before frees and after realloc bufferone has been freed, and bufferone[0] is 48716817 (any number), then after free(bufferone) bufferone[0] has 4816871687, and buffertwo[0] has 1; and after free(buffertwo) bufferone[0] has 4816871687 and buffertwo[0] has 0. If I use realloc(buffertwo, 0); then the value stored in the direction where the pointer pointed to as the first member of the array is left untouched, buffertwo[0] gives 1. If I use buffertwo = (int*)realloc(buffertwo, 0); then the program is closed by windows with its classic dialog, this program has to been closed. So I deduce, you can do numbers = (int*)realloc(numbers, newsize); because what pointer as parameter being untouched means seems to be: the value of it, the direction to which it points to is the same, but the memory it points to is either increased, or moved and freed in that point, so after the call you won't can use it, at least if it succeeds, and I'd bet that neither it is useful if it fails, which I think makes more sense. |
|
From: Carlos d. M. <cg...@wo...> - 2002-09-03 11:16:52
|
Hi:
Each time I select the generate makefile option from the project option,
when I type make -f makefilename I get the next results:
windres --include-dir C:\Dev-Cpp\Include\ --include-dir
C:\Dev-Cpp\Include\G__~1
--include-dir C:\Dev-Cpp\Include\G__-3~1 --include-dir
C:\Dev-Cpp\Include\ --us
e-temp-file -I rc -O coff -i "D:\WIN32P~1\DCEXPL~1\DCEXPL~1.RC" -o
"D:\WIN32P~1\
DCEXPL~1\DCEXPL~1.o"
Usage: c:\Dev-Cpp\Bin\windres.exe [options] [input-file] [output-file]
Options:
-i FILE, --input FILE Name input file
-o FILE, --output FILE Name output file
-I FORMAT, --input-format FORMAT
Specify input format
-O FORMAT, --output-format FORMAT
Specify output format
-F TARGET, --target TARGET Specify COFF target
--preprocessor PROGRAM Program to use to preprocess rc file
--include-dir DIR Include directory when preprocessing rc
file
-DSYM[=VAL], --define SYM[=VAL]
Define SYM when preprocessing rc file
-v Verbose - tells you what it's doing
--language VAL Set language when reading rc file
--use-temp-file Use a temporary file instead of popen to
read
the preprocessor output
--no-use-temp-file Use popen (default)
--help Print this help message
--version Print version information
FORMAT is one of rc, res, or coff, and is deduced from the file name
extension if not specified. A single file name is an input file.
No input-file is stdin, default rc. No output-file is stdout, default
rc.
c:\Dev-Cpp\Bin\windres.exe: supported targets: pe-i386 pei-i386
elf32-i386 elf32
-little elf32-big srec symbolsrec tekhex binary ihex
make: *** [compile_res] Error 1
I don't know yet the details of writing a makefile, so I don't know
what's happening in the code, I add one of them for a windows app.
Windows 2000, Intel Pentium III, x86 6.5.5.
And another simple makefile for a two source fileas project, for a
console program, so you see it's not only for windows ones:
#####################################
# #
# Makefile for armachin #
# Generated by Bloodshed Dev-C++ #
# #
#####################################
# Compiler
CC=g++
# Parameters given to the compiler
CFLAGS=-ggdb -O3 -IC:\Dev-Cpp\Include\ -IC:\Dev-Cpp\Include\G__~1
-IC:\Dev-Cpp\Include\G__-3~1 -IC:\Dev-Cpp\Include\ -LC:\Dev-Cpp\Lib\
-LC:\wxMSW\lib\ -BC:\Dev-Cpp\Bin\
# Output filename (*.exe)
OUTPUT="armachin.exe"
# Source files
SRCS="D:\Devpro\NewF\armadur.cpp" "D:\Devpro\NewF\armario.cpp"
# Output object files (*.o)
OBJS="D:\Devpro\NewF\armadur.o" "D:\Devpro\NewF\armario.o"
"D:\Devpro\NewF\rsrc.o"
# Standard targets
all: compile_res
$(CC) -c $(SRCS) $(CFLAGS)
$(CC) -o $(OUTPUT) $(OBJS) $(CFLAGS)
compile_res:
windres --include-dir C:\Dev-Cpp\Include\ --include-dir
C:\Dev-Cpp\Include\G__~1 --include-dir C:\Dev-Cpp\Include\G__-3~1
--include-dir C:\Dev-Cpp\Include\ --use-temp-file -I rc -O coff -i
"D:\Devpro\NewF\rsrc.rc" -o "D:\Devpro\NewF\rsrc.o"
test: all
./$(OUTPUT)
clean:
del *.o
mrproper: clean
|
|
From: Neszt T. <ne...@ss...> - 2002-09-03 07:05:45
|
Hi! I'm new here, and I couldn't find the archive, so I wasn't able to check if this question asked before. (Where to download the whole list-archive?) So my first question is: I use opengl with glut. The run the builded exe need the glut32.dll in the current directory . Is there any way to include this dll to the exe file? My aim is to be only 1 exe file in the directory. Thanks your help in advance, Regards, Neszt Tibor p.s.: Sorry for my bad english.. |
|
From: Miguel M <rad...@ya...> - 2002-09-03 01:32:51
|
I think so. I installed it on mine, but i have never used it. I plan on learning how in the near future. So you might to give it a try. Once you install it, it becomes one of your project options when you want to start a new project. ===== Thanks for reading... -Miguel rad...@ya... "Without free will there is no difference between submission and rebellion." __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com |
|
From: Miguel M <rad...@ya...> - 2002-09-03 01:22:54
|
Go here, http://www.bloodshed.net/dev/packages/index.html, and download the .exe file for allegro. It does it by its self. ===== Thanks for reading... -Miguel rad...@ya... "Without free will there is no difference between submission and rebellion." __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com |
|
From: Garrett B. <Jed...@ms...> - 2002-09-02 19:38:54
|
How Do You Install Allegro? Cause I Looked In The docs\build\mingw.tx= t File In The Folder That I Downloaded But Still, Thats One Of The Crappi= est Installation System/Setup Walkthrough I've Ever Seen. Can Anyone Giv= e Me A Walkthrough On How To Install It? Cause I Really Need To Put Graph= ics & Sound In My Dos App. Im Developing... So Please, Could You Help. Bu= t Im Sorta New To Programming But Im Really Good With Computers But Pleas= e, Could You Make It Easy To Understand? It Would Be A Real Help. Thanks = In Advance, For Any Thing You Could Help Me With. Sorry About The Capitol= s, Its A Habit. May The Force Be With You, Garrett Bratvold Email:Jed...@ms... more from the Web. FREE MSN Explorer downl= oad : http://explorer.msn.com |
|
From: Ioannis V. <no...@ho...> - 2002-09-02 16:15:10
|
Strangely it appears that i do not receive all emails from the list.
isdigit() checks if a chatacter is a digit.
conversion constructor sounds like a regular value constructor. Example:
class A
{
int x;
public:
a(int r):x(r) {}
};
// ...
A a=7; // a temporary object in place of 7 is created
// using the constructor
A conversion operator defines the behaviour of an object when used
together with the mentioned type.
Example:
class A
{
string x;
public:
a(string r):x(r) {}
operator string() { return x; }
};
// ...
A a("Nice!");
string s=a; // A::operator string() is called
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Daniel Glenfield
> Sent: Monday, September 02, 2002 7:00 PM
> To: dev...@li...
> Subject: Re: [Dev-C++] q2??
>
>
> IsDigit() sounds like a function that checks to see whether a
> value is a
> digit and returns a bool value (true or false).
>
> A conversion constructor sounds like a constructor that converts the
> parameters passed in into a type that the new object understands.
> So maybe an int is passed in and the object created has that
> value converted
> into a string as its member variable.
>
> Anyone else?
>
>
> >From: senem beken <sbe...@ya...>
> >To: dev...@li...
> >Subject: [Dev-C++] q2??
> >Date: Mon, 2 Sep 2002 08:36:21 -0700 (PDT)
> >
> >
> >Got a few questions again:
> >
> >1- I've just came across a function called "isdigit" but I
> couldn't find
> >out what it does. Anyone who has an idea?? By the way, how
> am I to find out
> >which library a function belongs??
> >
> >2-what is a conversation constructor??
> >
> >
> >
> >senem
> >
> >
> >
> >---------------------------------
> >Do You Yahoo!?
> >Yahoo! Finance - Get real-time stock quotes
>
>
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> 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 G. <sp...@ho...> - 2002-09-02 16:00:27
|
IsDigit() sounds like a function that checks to see whether a value is a digit and returns a bool value (true or false). A conversion constructor sounds like a constructor that converts the parameters passed in into a type that the new object understands. So maybe an int is passed in and the object created has that value converted into a string as its member variable. Anyone else? >From: senem beken <sbe...@ya...> >To: dev...@li... >Subject: [Dev-C++] q2?? >Date: Mon, 2 Sep 2002 08:36:21 -0700 (PDT) > > >Got a few questions again: > >1- Ive just came across a function called isdigit but I couldnt find >out what it does. Anyone who has an idea?? By the way, how am I to find out >which library a function belongs?? > >2-what is a conversation constructor?? > > > >senem > > > >--------------------------------- >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: senem b. <sbe...@ya...> - 2002-09-02 15:36:21
|
Got a few questions again: 1- Ive just came across a function called isdigit but I couldnt find out what it does. Anyone who has an idea?? By the way, how am I to find out which library a function belongs?? 2-what is a conversation constructor?? senem --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes |
|
From: Ioannis V. <no...@ho...> - 2002-09-02 14:28:01
|
> -----Original Message----- > From: Daniel Glenfield [mailto:sp...@ho...] > Sent: Monday, September 02, 2002 3:11 PM > To: no...@ho...; dev...@li... > Subject: RE: [Dev-C++] Windows versions > > > It was mentioned on this mailing list not very long ago, > after I asked about how good XP was. > > So you're telling me if you upgrade your hardware XP does not > need anything done to it? you don't have to phone microsoft? If it is a major hardware upgrade you have to phone MS. But there is no such limit as 7 times. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Daniel G. <sp...@ho...> - 2002-09-02 12:12:36
|
Ah here we go. formatting the hard drive might have been what I was thinking of, not the upgrading of hardware. >From: Matthew Hickson <mhi...@sy...> >To: Dev-C++ Mailing List <dev...@li...> >Subject: Re: [Dev-C++] off topic - windows XP >Date: Wed, 10 Jul 2002 20:26:32 -0400 > >Hello, > >Ready for another long post? 8-) > >Ioannis Vranos wrote: > >>WinXP is better than Win2k. The only dark cloud is that product >>activation which tires you if you format the HDD all the time. >> >> >Not really. > >Not that I format the way I used to, but... I just connect to the >internet... activate (don't bother to register... though some do) and >voila! Activation acknowledges that you'll change hardware over time. As >long as it's incremetal, there's no need for concern. Just don't gut your >machine (i.e. change vidoe, audio, NIC, hdd, and RAM configuration in an >evening. 8-). > >I agree with Ioannis, it is a nice little OS. Sure, I'd really advise >running with 128+ MB of RAM, and more than 10 GB of HDD space, but the >abiliity to use the recovery console (already mentioned), or system >restore, or even driver rollback. Hardware support is good, and anything >that doesn't run right out of the box, you can patch. (Besides, if you're >getting a new machine... where are you going to find one with less hardware >than that???) > >Better still, if you're looking for new hardware, go with some of the big >guys (Dell, HP/Compaq, IBM, etc.). They usually offer "system-locked" >versions of XP. If you run it on the hardware it's keyed on (usually the >BIOS), you don't have to activate! (Registration still optional.) > >I don't like the eyecandy, so I shut most of it off. I enabled the >built-in firewall (little counter-intuitive to find the log after the >fact), and I just choose "Don't Send" when an error occurs. I also didn't >like the insistance that Messenger be enabled all the time. Tried shutting >it off, but it's persistant... so, I renamed it, and everything's good. I >choose my patches carefully (remember system restore!), and it goes from >there. As to DOS... yeah, DOS is gone (get VMWare, etc. and install >FreeDOS... ), but I don't miss it. (DOS games seem slow... maybe it's just >that I don't care to take the time to fix it. Windows stuff runs fine.). >And... hey... it is good and stable (far more so that Win98. Besides XP >comes with built-in PPPOE.... no need for connection software from my ISP >for DSL!) > >Now, if I could only figure out how to remove MovieMaker... <sigh!> (It's >probably out there somewhere... a task for another day). > >If you have questions about the OS... do some reading. There's lots of >opinions out there... (some even grounded on fact... stay away from >Microsoft... and the "I hate MS" websites and you should get something >balanced). > >Good Luck! > >--- >Matthew Hickson > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Two, two, TWO treats in one. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com |
|
From: Daniel G. <sp...@ho...> - 2002-09-02 12:11:26
|
It was mentioned on this mailing list not very long ago, after I asked about how good XP was. So you're telling me if you upgrade your hardware XP does not need anything done to it? you don't have to phone microsoft? >From: "Ioannis Vranos" <no...@ho...> >Reply-To: <no...@ho...> >To: <dev...@li...> >Subject: RE: [Dev-C++] Windows versions >Date: Mon, 2 Sep 2002 14:13:31 +0300 > > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf > > Of Daniel Glenfield > > Sent: Monday, September 02, 2002 2:08 PM > > To: dev...@li... > > Subject: Re: [Dev-C++] Windows versions > > > > > > > > But XP only lets you upgrade your hardware 7 times, each time > > causing you to > > phone up M$ and plead with them to give you a new licence > > key. After 7 times > > they decide that you must buy a new version of XP. > > > > no? > > >I haven't heard of a 7 times activation limit in XP. Have you any >related link? (also it would be quite absurd). > > > >Ioannis > >* Ioannis Vranos >* Programming pages: http://www.noicys.cjb.net >* Alternative URL: http://run.to/noicys > > >------------------------------------------------------- >This sf.net email is sponsored by: OSDN - Tired of that same old >cell phone? Get a new here for FREE! >https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 >_______________________________________________ >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 _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
|
From: <Met...@ao...> - 2002-09-02 11:46:47
|
no...@ho... a =E9crit : > I haven't heard of a 7 times activation limit in XP. Have you any > related link? (also it would be quite absurd). What is absurd, is that you are obliged to contact MS each time you want to=20 add a new component in your machine... Is that true with "Familial" editions of XP too ? If yes, just find out a good hack on the net to override this crap. Kind regards -- Seb |
|
From: <Met...@ao...> - 2002-09-02 11:44:00
|
Hi Djura You can download the complete LCC-Win32 ditribution available at : http://www.cs.virginia.edu/~lcc-win32 There is a good WYSIWYG resource editor in it. Just configure the wedit application of this package as a tool in DevCpp and you'll be up to use it. That's the way I do. Kind regards -- Seb |