dev-cpp-users Mailing List for Dev-C++
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
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(4) |
2
(9) |
3
(10) |
4
(29) |
5
(27) |
6
(20) |
7
(12) |
8
(3) |
9
(5) |
10
(14) |
11
(1) |
12
(13) |
13
(4) |
14
(18) |
15
(7) |
16
(3) |
17
(8) |
18
(16) |
19
(3) |
20
(14) |
21
(14) |
22
(8) |
23
(8) |
24
(9) |
25
(9) |
26
(13) |
27
(7) |
28
(3) |
29
(2) |
30
(2) |
|
|
|
|
|
|
From: Zodiaq <zo...@ac...> - 2003-11-03 22:55:22
|
Hello all Dev-cpp-users, is there a way to force treting , in numbers as . ?? In Poland there is a strange habit of writing numbers this way: number,fraction 13,75 no usual: number.fraction 13.75 using ifstream extraction loses fraction value... there is way to read line, and replace each , with . then use istringstream on in and at last use normal extraction... lot of work - maybe there is other simplier way?? -- regards Zodiaq |
From: Nehal S. <ns...@ix...> - 2003-11-03 22:28:21
|
void readS(db1 *a) { printf("name:"); scanf("%s",a->name); printf("age:"); scanf("%d",a->i); printf("%d",a->i);//to check } While scanning the integer value you should do: scanf("%d",&(a->i)); this should work. -----Original Message----- From: vasanthsena x [mailto:vas...@ya...] Sent: Monday, November 03, 2003 1:46 PM To: Dev...@li... Subject: [Dev-C++] another annoying question Sorry guys its been a long day.In the following program instead of giving me the value of i, it prints the adress of i. any thoughts why :( ? #include <stdio.h> typedef struct db { char name[10]; int i; } db1; void readS(db1 *a); void writeS(db1 *a); main() { db1 mydb[20]; db1 *p; p = mydb; printf("Enter Data\n"); readS(p); writeS(p); system("PAUSE"); return 0; } void readS(db1 *a) { printf("name:"); scanf("%s",a->name); printf("age:"); scanf("%d",a->i); printf("%d",a->i);//to check } void writeS(db1 *a) { printf("%s,%d\n",a->name,a->i); } __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Dev-cpp-users mailing list Dev...@li... TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
From: vasanthsena x <vas...@ya...> - 2003-11-03 21:46:20
|
Sorry guys its been a long day.In the following program instead of giving me the value of i, it prints the adress of i. any thoughts why :( ? #include <stdio.h> typedef struct db { char name[10]; int i; } db1; void readS(db1 *a); void writeS(db1 *a); main() { db1 mydb[20]; db1 *p; p = mydb; printf("Enter Data\n"); readS(p); writeS(p); system("PAUSE"); return 0; } void readS(db1 *a) { printf("name:"); scanf("%s",a->name); printf("age:"); scanf("%d",a->i); printf("%d",a->i);//to check } void writeS(db1 *a) { printf("%s,%d\n",a->name,a->i); } __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Zodiaq <zo...@ac...> - 2003-11-03 21:27:54
|
Hello vasanthsena and all Dev-C++ users, Monday, November 3, 2003, 10:17:01 PM, vasanthsena wrote as follows: vx> Oops I forgot to mention that I am programming in C. Huh, and what about it?? In C you can create dynamic objects from structures... these are without methods and contructor/destructor, but fields are still accessed using . or -> regarding how you created these instances... Struct_name q; q.field_a = 13; Struct_name *q = malloc( sizeof( Struct_name )); q->field_a = 13 free( q ); still - go get good book about C and READ IT! -- regards, Zodiaq |
From: Reid T. <Rei...@at...> - 2003-11-03 20:33:58
|
pull out your textbook/tutorial and read about structures and pointers to structures reid > -----Original Message----- > From: vasanthsena x [mailto:vas...@ya...]=20 > Sent: Monday, November 03, 2003 3:13 PM > To: dev...@li... > Subject: [Dev-C++] Question "." vs "->" >=20 >=20 > Hi I have written a program where I want to access a > structure member.when I use "->" it gives me an error > which says invalid type of argument."." on the other > hand works just fine. Any thoughts on why this could > happen. >=20 > S. >=20 > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears=20 > http://launch.yahoo.com/promos/britn> eyspears/ >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program.=20 > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/=20 > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |
From: Zodiaq <zo...@ac...> - 2003-11-03 20:32:07
|
Hello vasanthsena and all Dev-C++ users, Monday, November 3, 2003, 9:13:09 PM, vasanthsena wrote as follows: vx> Hi I have written a program where I want to access a vx> structure member.when I use "->" it gives me an error vx> which says invalid type of argument."." on the other vx> hand works just fine. Any thoughts on why this could vx> happen. Huh, problems with major C++ features we have??? So remember this till end of your life: - use . for references to objects created normally ( Class_name object) and for object passed by reference or value: void function( Class_name object )//pass by value, copy object created { object.value = 13; void function( const Class_name &object ) //pass by reference { if( object.value == 3 ) use -> for object created on stack using operator new or passed using pointer: //example of passing object using pointer Class_name object; function( &object ); //function body void function( Class_name *object ) { object->value = 11; //creating object on stack Class_name *object = new Class_name( 7 ); if( object->value == 6 ) ... btw. get a good book and start learning C++ from the begining - these are fundamental features of C++ -- regards, Zodiaq |
From: vasanthsena x <vas...@ya...> - 2003-11-03 20:13:10
|
Hi I have written a program where I want to access a structure member.when I use "->" it gives me an error which says invalid type of argument."." on the other hand works just fine. Any thoughts on why this could happen. S. __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |