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
(11) |
2
(8) |
3
(2) |
4
(13) |
5
(8) |
6
(16) |
7
(11) |
8
(5) |
9
(9) |
10
(13) |
11
(20) |
12
(10) |
13
(14) |
14
|
15
(3) |
16
(14) |
17
(10) |
18
(11) |
19
(5) |
20
(8) |
21
(7) |
22
(4) |
23
(11) |
24
|
25
(2) |
26
(4) |
27
(1) |
28
(5) |
29
(11) |
30
(6) |
|
From: Ioannis V. <no...@ya...> - 2001-11-23 22:18:46
|
Something interesting, i just got informed of a new C dialect made by AT&T, "Cyclone". <http://www.research.att.com/projects/cyclone/> http://www.research.att.com/projects/cyclone/ <http://www.wininformant.com/Articles/Index.cfm?ArticleID=23262> http://www.wininformant.com/Articles/Index.cfm?ArticleID=23262 Has anyone played with it? Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/> * Alternative URL: http://run.to/noicys |
From: JM G. <mw...@mw...> - 2001-11-23 20:14:07
|
How do I access assembly routines in Dev-C++ ? |
From: Zack <ale...@ro...> - 2001-11-23 08:57:26
|
If you want some good tutorials try this url http://code.box.sk Has a lot of good tutorials, books, articles online and also zipped for = home. |
From: Ioannis V. <no...@ya...> - 2001-11-23 04:48:42
|
argv is an array of C-string pointers which has stored the arguments given in command line. argv[0] is the name of the program itself. argc is the number of argv elements and is at least 1 (the name of the executable). **argv is also *argv[]. The second is the more notationally correct (because argv is an array of c-strings). So here is some ANSI C++ 1998 code demonstrating this: =20 =20 #include <iostream> #include <cstdio> =20 int main(int argc, char *argv[]) { using namespace std; =20 cout<<"The total number of arguments including the filename of the program,\nargc: "<<argc<<endl; =20 cout<<"\nAnd now the arguments only:\n"; =20 for(int i=3D1; i<argc; i++) cout<<argv[i]<<" "; =20 cout<<endl; =20 getchar(); } =20 How i executed it: =20 C:\c>temp 1 test The total number of arguments including the filename of the program, argc: 3 =20 And now the arguments only: 1 test =20 =20 =20 Hope you got it. =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://www.noicys.f2s.com <http://www.noicys.f2s.com/>=20 * Alternative URL: http://run.to/noicys =20 =20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Joh...@ao... Sent: Friday, November 23, 2001 3:47 AM To: dev...@li... Subject: [Dev-C++] (no subject) #include <iostream.h> #include <stdio.h> //QUESTION: Using what feature on the compiler to enter the 'argv'? void main(int argc, char** argv) { int a =3D 10; int b =3D a + argc; cout<<" b =3D a + argc: "<<b<<endl; int d =3D a + int(argv);// cout<<" d =3D a + argv: "<< d<<endl; getchar(); } //I enter the 'argc' through the input of 'Parameter' Button then hit //the 'Exection' to run the program. But I dont know how/where to enter the //'argv' through the command line..... Very appreciate your help..........=20 |
From: Sarah R. <ree...@ho...> - 2001-11-23 03:39:19
|
I have found a really good site for C++ tutorials. It is a web edition of an old book called Teach Yourself C++ in 21 days. It's link is at http://members.tripod.com/~firstpod/cpp21/index.htm. Over the 21 days it will teach you structures, streams, templates, quite a lot. I found it all compiles in Dev up to chapter 18, but I'm having some trouble with streams in 19. Hope this helps all you newbies. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
From: Jason H. <jas...@bt...> - 2001-11-23 02:36:03
|
You appear to not understand what argc and argv are. They are a standard = part of a C/C++ program with a main() function and are linked together = in thier use. When you execute a program and follow it with various = parameters, i.e.: MyProg -a 20 -b MyFile.foo then the OS breaks the string down into each of the individual words = (seperated by spaces (usuualy)) and uses both argc and argv together to = make them accessible to the program. The first argc is pretty simple, it = gives you the number of arguments passed to your program including the = string representing the executable command. So in the above example argc = would be 5. Note it depends on the OS as to how the command is broken = down (AFAIK), but usualy spaces are it, possibly with commands enclosed = in qoutes treated as one command and kept whole. The second argv is a little more complex. I hope you are OK with = pointers, because we are dealing with a pointer, to a pointer, to a = string. Or if you prefer an array of pointers to strings. Basically you = have an array of values that point to all the command strings passed. = The OS doesn't convert numbers for you (as you seem to think) it just = passes everything as strings. The above command would translate into: "MyProg", "-a", "20", "-b", "MyFile.foo" If you wanted to display the name of the program then you could use: cout << argv[0]; or cout << *argv; The array version is used more often as it is easier to understand when = seen. The fifth argument could be displayed with: cout << argv[4]; Displaying: MyFile.foo Using this method the OS can allow any kinds of arguments to be passed = into a program without worrying about what is right or wrong. It leaves = it up to you, the programmer, to detect right and wrong. Here is a simple example (untested): // Add.exe #include <iostream> #include <cstdlib> #include <cctype> int main(int argc, char *argv[]) { // make sure enough args supplied if(argc !=3D 3) { cout << "Usage: " << argv[0] << " A B" << endl; cout << "Where A and B are integers" << endl; exit(1); } // make sure both values are integers char *pch; // first arg for(pch =3D argv[1]; pch; ++pch) { if(!isdigit(*pch)) { cout << "Values must be integers!" << endl; exit(2); } } // second arg for(pch =3D argv[2]; pch; ++pch) { if(!isdigit(*pch)) { cout << "Values must be integers!" << endl; exit(2); } } // add the numbers together and output cout << argv[1] << " + " << argv[2] << " =3D "; cout << atoi(argv[1]) + atoi(argv[2]) << endl; =20 return 0; // all ok } Try compiling that, correct any syntax or other errors I may have made, = and it should when executed from a dos prompt output the sum of the two = digits supplied. If you are a newbie then I don't expect you to understand all that I did = in that. I'm a bit lazy and didn't want to write it in a way that was = easier to read to someone not used to pointers etc... (I hope it works = now). I hope this helps, Jason. PS: when I say strings I was refering to the C style of null terminated = array of chars, and not the container class in C++. ----- Original Message -----=20 From: Joh...@ao...=20 To: dev...@li...=20 Sent: Friday, November 23, 2001 1:46 AM Subject: [Dev-C++] (no subject) #include <iostream.h> #include <stdio.h> //QUESTION: Using what feature on the compiler to enter the 'argv'? void main(int argc, char** argv) { int a =3D 10; int b =3D a + argc; cout<<" b =3D a + argc: "<<b<<endl; int d =3D a + int(argv);// cout<<" d =3D a + argv: "<< d<<endl; getchar(); } //I enter the 'argc' through the input of 'Parameter' Button then hit //the 'Exection' to run the program. But I dont know how/where to = enter the //'argv' through the command line..... Very appreciate your help..........=20 |
From: Christopher H. <the...@ho...> - 2001-11-23 02:04:20
|
REMOVE me PLEEEEEZ |
From: <Joh...@ao...> - 2001-11-23 01:48:18
|
#include <iostream.h> #include <stdio.h> //QUESTION: Using what feature on the compiler to enter the 'argv'? void main(int argc, char** argv) { int a = 10; int b = a + argc; cout<<" b = a + argc: "<<b<<endl; int d = a + int(argv);// cout<<" d = a + argv: "<< d<<endl; getchar(); } //I enter the 'argc' through the input of 'Parameter' Button then hit //the 'Exection' to run the program. But I dont know how/where to enter the //'argv' through the command line..... Very appreciate your help.......... |
From: General E. <mak...@vs...> - 2001-11-23 01:46:19
|
Hi, How can I use active X Controls in DEV C++. Is there any example program to demonstrate bout it?. Arvind Sidhaye |
From: General E. <mak...@vs...> - 2001-11-23 01:46:19
|
Hi, Is there any way to read contents of the page on web site. or to ready directory from FTP server. Arvind Sidhaye |
From: General E. <mak...@vs...> - 2001-11-23 01:46:18
|
Hi, I am trying to use DEV C++ 4.0. I have already build some API Routines for Visual FoxPro 5.0 using their construction Kit. Construction Kit Contains a header file "PRO_EXT.H". Link Library APIMSOBJ.LIB. To Compile these routines I used VC++6.0. This works fine. But when I tried the same program in DEV C++ 4.0 it returns many errors. Please help me. Arvind Sidhaye |