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
(24) |
2
(12) |
3
(10) |
4
(5) |
5
(30) |
6
(6) |
7
(18) |
8
(17) |
9
(36) |
10
(22) |
11
(7) |
12
(3) |
13
(10) |
14
(31) |
15
(6) |
16
(18) |
17
(18) |
18
(24) |
19
(9) |
20
(11) |
21
(43) |
22
(18) |
23
(32) |
24
(51) |
25
(38) |
26
(14) |
27
(12) |
28
(5) |
29
(24) |
30
(31) |
31
(12) |
|
|
From: Per W. <pw...@ia...> - 2002-10-28 19:55:11
|
Well, your questions are still about school assignments, even if you now have removed any comments to your teachers requirements, but... Might you tell us how you expected the "mystring" parameter to pop and temp_pop to actually return anything to the caller? Yes inside your function, mystring is a variable like everything else. Then you assign a new pointer to the parameter, and copy a string value to the newly allocated buffer space. /Per W On Mon, 28 Oct 2002, senem beken wrote: > > when i try to get the elements back from a function i wrote, i get an error called "access violation" and i don't know what that is.i'd be glad if anyone who has time would look at it...i'm sending one part of the code, the one which doesn't work... > kind regards... > int removecar(int garagenum,char *mystring){ > int i=0; > char plaka[10]; > if(garagenum==1){ > while(strcmp(garage1.plate[i],mystring)==0){ > pop(plaka,garage1); > push(plaka,temporary); > i++; > } > > while(isempty(temporary)!=1){ > pop(plaka,temporary); > push(plaka,garage1); > } > temp_pop(plaka,garage3); > push(plaka,garage1); > return 1; > } > if(garagenum==2){ > i=0; > while(strcmp(garage2.plate[i],mystring)==1){ > pop(plaka,garage2); > push(plaka,temporary); > i++; > } > > while(!isempty(temporary)){ > pop(plaka,temporary); > push(plaka,garage2); > } > temp_pop(plaka,garage3); > push(plaka,garage2); > return 1; > } > if(garagenum==3){ > if(findel(garage1,mystring)){ > while(strcmp(garage1.plate[i],mystring)==1){ > pop(plaka,garage1); > push(plaka,temporary); > i++; > } > > while(!isempty(temporary)){ > pop(plaka,temporary); > push(plaka,garage1); > } > return 1; > } > if(findel(garage2,mystring)){ > while(strcmp(garage2.plate[i],mystring)==1){ > pop(plaka,garage2); > push(plaka,temporary); > i++; > } > > while(!isempty(temporary)){ > pop(plaka,temporary); > push(plaka,garage2); > } > return 1; > } > if(temp_findel(garage3,mystring)){ > temp_pop(plaka,garage3); > return 1; > } > if(!temp_findel(garage3,mystring)&&!findel(garage2,mystring)&& > !findel(garage1,mystring)) > > return 0; > } > } > > void pop(char *mystring,garage &line){ > if(isempty(line)){ > cout<<"error,can't pop,stack empty"<<endl; > exit(1); > } > else{ > line.top--; > mystring=new char[sizeof(line.plate[line.top])/sizeof(char)]; > strcpy(mystring,line.plate[line.top]); > line.elements--; > } > } > void temp_pop(char *mystring,temp_storage &line){ > if(temp_isempty(line)){ > cout<<"error,can't pop,stack empty"<<endl; > exit(1); > } > else{ > line.temptop--; > mystring=new char[sizeof(line.tempplate[line.temptop]) > /sizeof(char)]; > strcpy(mystring,line.tempplate[line.temptop]); > line.tempelements--; > } > } > > > > --------------------------------- > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site |
From: Eric R. <e.r...@pa...> - 2002-10-28 19:07:06
|
Hi group Is it possible not to send HTML Emails because they are about 2.5 times bigger than a standard text Email, the one below could of been sent in plain text format and no one would of been the wiser. HTML Email can also carry a type of Email virus. http://www.georgedillon.com/web/html_email_is_evil.shtml (7 REASONS WHY HTML E-MAILS ARE EVIL.) From Eric NO ATTACHMENT WAS SENT WITH THIS EMAIL, IF THERE IS ONE, IT IS A UNDETECTED VIRUS, PLEASE LET ME KNOW.. Black text on white background HTML Emails and replied with white text on white. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of senem beken Sent: 28 October 2002 23:13 To: dev...@li... Subject: [Dev-C++] elements from an array of pointers... when i try to get the elements back from a function i wrote, i get an error called "access violation" and i don't know what that is.i'd be glad if anyone who has time would look at it...i'm sending one part of the code, the one which doesn't work... kind regards... int removecar(int garagenum,char *mystring){ int i=0; char plaka[10]; if(garagenum==1){ while(strcmp(garage1.plate[i],mystring)==0){ pop(plaka,garage1); push(plaka,temporary); i++; } while(isempty(temporary)!=1){ pop(plaka,temporary); push(plaka,garage1); } temp_pop(plaka,garage3); push(plaka,garage1); return 1; } if(garagenum==2){ i=0; while(strcmp(garage2.plate[i],mystring)==1){ pop(plaka,garage2); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage2); } temp_pop(plaka,garage3); push(plaka,garage2); return 1; } if(garagenum==3){ if(findel(garage1,mystring)){ while(strcmp(garage1.plate[i],mystring)==1){ pop(plaka,garage1); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage1); } return 1; } if(findel(garage2,mystring)){ while(strcmp(garage2.plate[i],mystring)==1){ pop(plaka,garage2); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage2); } return 1; } if(temp_findel(garage3,mystring)){ temp_pop(plaka,garage3); return 1; } if(!temp_findel(garage3,mystring)&&!findel(garage2,mystring)&& !findel(garage1,mystring)) return 0; } } void pop(char *mystring,garage &line){ if(isempty(line)){ cout<<"error,can't pop,stack empty"<<endl; exit(1); } else{ line.top--; mystring=new char[sizeof(line.plate[line.top])/sizeof(char)]; strcpy(mystring,line.plate[line.top]); line.elements--; } } void temp_pop(char *mystring,temp_storage &line){ if(temp_isempty(line)){ cout<<"error,can't pop,stack empty"<<endl; exit(1); } else{ line.temptop--; mystring=new char[sizeof(line.tempplate[line.temptop]) /sizeof(char)]; strcpy(mystring,line.tempplate[line.temptop]); line.tempelements--; } } ---------------------------------------------------------------------------- ---- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/02 |
From: senem b. <sbe...@ya...> - 2002-10-28 10:12:42
|
when i try to get the elements back from a function i wrote, i get an error called "access violation" and i don't know what that is.i'd be glad if anyone who has time would look at it...i'm sending one part of the code, the one which doesn't work... kind regards... int removecar(int garagenum,char *mystring){ int i=0; char plaka[10]; if(garagenum==1){ while(strcmp(garage1.plate[i],mystring)==0){ pop(plaka,garage1); push(plaka,temporary); i++; } while(isempty(temporary)!=1){ pop(plaka,temporary); push(plaka,garage1); } temp_pop(plaka,garage3); push(plaka,garage1); return 1; } if(garagenum==2){ i=0; while(strcmp(garage2.plate[i],mystring)==1){ pop(plaka,garage2); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage2); } temp_pop(plaka,garage3); push(plaka,garage2); return 1; } if(garagenum==3){ if(findel(garage1,mystring)){ while(strcmp(garage1.plate[i],mystring)==1){ pop(plaka,garage1); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage1); } return 1; } if(findel(garage2,mystring)){ while(strcmp(garage2.plate[i],mystring)==1){ pop(plaka,garage2); push(plaka,temporary); i++; } while(!isempty(temporary)){ pop(plaka,temporary); push(plaka,garage2); } return 1; } if(temp_findel(garage3,mystring)){ temp_pop(plaka,garage3); return 1; } if(!temp_findel(garage3,mystring)&&!findel(garage2,mystring)&& !findel(garage1,mystring)) return 0; } } void pop(char *mystring,garage &line){ if(isempty(line)){ cout<<"error,can't pop,stack empty"<<endl; exit(1); } else{ line.top--; mystring=new char[sizeof(line.plate[line.top])/sizeof(char)]; strcpy(mystring,line.plate[line.top]); line.elements--; } } void temp_pop(char *mystring,temp_storage &line){ if(temp_isempty(line)){ cout<<"error,can't pop,stack empty"<<endl; exit(1); } else{ line.temptop--; mystring=new char[sizeof(line.tempplate[line.temptop]) /sizeof(char)]; strcpy(mystring,line.tempplate[line.temptop]); line.tempelements--; } } --------------------------------- Do you Yahoo!? Y! Web Hosting - Let the expert host your web site |
From: Paul B. <pa...@ad...> - 2002-10-28 04:45:26
|
I still don't understand why the same program in C is ~10k where in C++ it's ~49k just to call a Windows function. Paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002 |
From: Louis G. <lg...@ya...> - 2002-10-28 01:29:34
|
I agree. This system("PAUSE") issue keeps coming up over and over again. I suggest whenever one selects to create a console app in DevC++ that in the main { ...} shell should contain a system("PAUSE") statement. --- Per Westermark <pw...@ia...> wrote: > I just whish that whenever Dev-C++ is run for the first time, it would > display a VERY large text message requiring at least ten mouse clicks to > close. > > For pause of cmd programs, insert system("PAUSE"); > For help files, do... > > There are a couple of questions that arrives a bit more often than > others > :-) > > /Per W > > On Sat, 26 Oct 2002, Hans-Jörg Stangor wrote: > > > Hi Sivan, > > > > >>when i try to run a program the output screen flashes by so fast i > can't > > actually >>see the output! > > >>what can i do to make the output screen stay? > > > > Before your return statement inside the main() routine insert a > > > > system("Pause"); > > > > statement. > > > > Here a short example that should work for you: > > > > #include <iostream.h> > > #include <stdlib.h> > > > > int main(int argc, char *argv[]) > > { > > cout << "Hi there!!!...\r\n"; > > system("PAUSE"); > > return 0; > > } > > > > > > >>and another question, why can't the program find "help"? > > > > Help is not included but you can use the vUpdate Program > > to load it from the Update-Server. You will find a lot of things > > to download (about 50 single downloads) but most important is > > i guess to get the latest vUpdate Program first (done automatically) > > and afterwards the latest Dev-Cpp, the Help File and the tips for > > the language you have set your IDE to. (Dont wonder if you have to > > update Dev-Cpp immediately after you downloaded it... it is some > > versions behind the current version because of the fast development > > cycle of the code monkeys :-) [And i think you do a fabulous work, > > guys!) > > > > The download > > speed depends on the time of day a little i found out... a lot > > of persons seem to update on a regular basis :-) > > > > You also should check the Resource Page found on Bloodshed Webpage > > for a lot of useful tutorials. And if you're in search for a free > ebook try > > Thinking in C++ by Bruce Eckel. It's located on www.mindview.net . But > > i posted that already a while back here :-) > > > > Hope this helps. > > > > Best wishes, > > Hans-Jörg (who's also trying to get started with C++) > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > Las Vegas (supported by COMDEX), the only Apache event to be > > fully supported by the ASF. http://www.apachecon.com > > _______________________________________________ > > 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: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > _______________________________________________ > 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 __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ |