dev-cpp-users Mailing List for Dev-C++ (Page 191)
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: Abhijeet S <abh...@ms...> - 2004-08-16 16:44:11
|
Hi people,
My name is Abhijeet and I'm from Bombay,India.
I'm kind of new to DevC++ and I was trying to write a simple C++ program
and the following warning came up during compilation.
Any idea what this warning means.
This was the program I was trying to compile ( Please ignore the bad
programming or flaws if any )
#include <iostream.h>
class string
{
private:
char *str;
public:
void getstr()
{
cout<<"Enter the string : ";
cin>>str;
}
void putstr()
{
cout<<"Entered string was : "<<str;
}
};
int main()
{
string s1;
s1.getstr();
s1.putstr();
return 0;
}
and this was the warning
Compiler: Default compiler
Executing g++.exe...
g++.exe "D:\TCPP\OUTPUT\strtry.cpp" -o "D:\TCPP\OUTPUT\strtry.exe" -ansi
-traditional-cpp -I"C:\Dev-Cpp\include\c++"
-I"C:\Dev-Cpp\include\c++\mingw32" -I"C:\Dev-Cpp\include\c++\backward"
-I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
In file included from C:/Dev-Cpp/include/c++/backward/iostream.h:31,
from D:/TCPP/OUTPUT/strtry.cpp:1:
C:/Dev-Cpp/include/c++/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the C++
standard. Examples include substituting the <X> header for the <X.h> header
for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
Execution terminated
Compilation successful
_________________________________________________________________
Sports, sports and more sports! Keep up with all the action!
http://www.msn.co.in/sports/ Stay connected with MSN Sports!
|
|
From: Abhijeet S <abh...@ms...> - 2004-08-16 16:28:21
|
_________________________________________________________________ Sell what you dont Need. We help you Ship it out. http://go.msnserver.com/IN/54179.asp Click Here! |
|
From: Erin M. <em...@po...> - 2004-08-16 16:06:46
|
Hi! New here, glad to meet y'all. I spent about 10 minutes browisng the archives and didn't find any duplicates of my problem, despite a couple related titles. Background: I run Windows 2000; I use Dev-C++ v.4, the 9/21/2000 build. My problem is twofold: 1) When I run my program through the "Execute" command within Dev-C++, it refuses to use the working directory I've given it under "Environment options," and instead appears to use the directory that Dev-C++ itself lives in. (Consequently, it's unable to find the input file it needs, which is in the other directory.) I have checked the box "run file in same directory as executable"; no executable for my program ever appears in the Dev-C++ directory. 2) When I run the same program by double-clicking on its executable within the proper folder, it runs in that directory as instructed. When I delete this executable and recompile through Dev-C++, it puts the executable right back in this proper folder. Anyone have a clue what's going on? Thanks, Erin McMullen |
|
From: Michal M. <mi...@mo...> - 2004-08-16 14:49:43
|
Sérgio Neves wrote: > Hi, > My name is Sérgio Neves. I'm portuguese and I'm new in this list. I > wanted to start with a doubt: I wanted to know if the version 5 beta > 4.9.9.0 of dev-c++ supports the setup creator. I've already explore the > menus and I didn't found nothing related to this. I know that in 4th > version of dev-c++ this feature was supported: I downloaded one file and > I extracted into bin folder of dev-c++ and after I went to tools menu > and It appeared the setup creator option. But I think the last versions > of dev-c++ don't contain this function. If the new version dowsn't > contain this feature, do I have another alternative? AFAIK is not setup creator supported anymore if you want to create installator I can recomend you NSIS http://nsis.sf.net with NIS Edit http://hmne.sf.net which has nice wizard like setup creator had -- Regards, Michal |
|
From: Jorge A. <jor...@ep...> - 2004-08-16 14:28:46
|
http://nsis.sourceforge.net (Dev-C++ uses it in their own installer) S=E9rgio Neves escribi=F3: > Hi, > My name is S=E9rgio Neves. I'm portuguese and I'm new in this list. I=20 > wanted to start with a doubt: I wanted to know if the version 5 beta=20 > 4.9.9.0 of dev-c++ supports the setup creator. I've already explore=20 > the menus and I didn't found nothing related to this. I know that in=20 > 4th version of dev-c++ this feature was supported: I downloaded one=20 > file and I extracted into bin folder of dev-c++ and after I went to=20 > tools menu and It appeared the setup creator option. But I think the=20 > last versions of dev-c++ don't contain this function. If the new=20 > version dowsn't contain this feature, do I have another alternative? > Sorry for my bad english and Thanks for the attention > Best regards > S=E9rgio Neves |
|
From: Daniel K. O. <dan...@ya...> - 2004-08-16 14:19:00
|
Sérgio Neves wrote: > If the new version dowsn't contain this feature, do I have another > alternative? There are much better options for setup creators, you just chose the one you like most. I like to use Inno Setup, it's pretty easy to use with ISTool (http://www.jrsoftware.org/isinfo.php). Daniel K. O. |
|
From: <sj...@ne...> - 2004-08-16 13:42:33
|
Hi, My name is S=E9rgio Neves. I'm portuguese and I'm new in this list. I = wanted to start with a doubt: I wanted to know if the version 5 beta = 4.9.9.0 of dev-c++ supports the setup creator. I've already explore the = menus and I didn't found nothing related to this. I know that in 4th = version of dev-c++ this feature was supported: I downloaded one file and = I extracted into bin folder of dev-c++ and after I went to tools menu = and It appeared the setup creator option. But I think the last versions = of dev-c++ don't contain this function. If the new version dowsn't = contain this feature, do I have another alternative? Sorry for my bad english and Thanks for the attention Best regards S=E9rgio Neves |
|
From: Eric <eri...@cl...> - 2004-08-16 08:01:30
|
I was just giving a bit of lite entertainment. Now I must focus on my C++ project. From Eric ----- Original Message ----- From: "Eric" <eri...@cl...> To: "Alexsandro Meireles" <ale...@ho...>; <dev...@li...> Sent: Saturday, August 14, 2004 3:08 AM Subject: 85DE1885DE18Re: [Dev-C++] confirm 350114 OK , confirmed , 85DE18 ----- Original Message ----- From: "Alexsandro Meireles" <ale...@ho...> To: <dev...@li...> Sent: Friday, August 13, 2004 10:48 AM Subject: [Dev-C++] confirm 350114 confirm 350114 _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.737 / Virus Database: 491 - Release Date: 11-Aug-04 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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: pErCivaL <pma...@nt...> - 2004-08-16 03:39:34
|
There's a way to make your own. just go to Tools->Editor Options->Code, and add your customize comments. :) About the comment header you mention, i dont know where it's defined. :( > > Message: 1 > Date: Sun, 15 Aug 2004 13:54:00 -0700 (PDT) > From: Karthik Kumar <akk...@ya...> > To: dev...@li... > Subject: [Dev-C++] Customizing the template for Inserting coments > > Hi, > I had downloaded the latest version of Dev-cpp 4.9.9.0 . There is > an option to insert comment when given inserts the following thing > into the source code . > > /* > Name: > Copyright: > Author: > Date: 15/08/04 13:53 > Description: > */ > > > Is there any way I can customize what gets inserted here. > thanks for your help. Keep up the good work. > > - Karthik. > > > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. > http://mobile.yahoo.com/maildemo > > -- Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! |
|
From: Karthik K. <akk...@ya...> - 2004-08-15 20:54:06
|
Hi, I had downloaded the latest version of Dev-cpp 4.9.9.0 . There is an option to insert comment when given inserts the following thing into the source code . /* Name: Copyright: Author: Date: 15/08/04 13:53 Description: */ Is there any way I can customize what gets inserted here. thanks for your help. Keep up the good work. - Karthik. __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo |
|
From: Scott S. <age...@co...> - 2004-08-14 21:18:12
|
First, uninstall dev-c++. Then, go to the application data folder and delete the configuration files. Just do a search for devcpp.cfg. Find it and delete it, then reinstall. Dane Ensign wrote: > Hi all, > > I uninstalled an old version of Dev C++, (didnt pay attention to the > version), then I rebooted and installed 4.9.9.0. > When I do a test app with only: > > cout << "yo" << endl; > > It reports: > Compiler: Default compiler > Building Makefile: "C:\Dev-Cpp\projects\test\Makefile.win" > Executing make... > make.exe -f "C:\Dev-Cpp\projects\test\Makefile.win" all > Execution terminated > > and compiler tab reports: > unable to run program file. > > Any thoughts? > > Dane |
|
From: Dane E. <wor...@so...> - 2004-08-14 19:29:43
|
Hi all, I uninstalled an old version of Dev C++, (didnt pay attention to the version), then I rebooted and installed 4.9.9.0. When I do a test app with only: cout << "yo" << endl; It reports: Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\projects\test\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\projects\test\Makefile.win" all Execution terminated and compiler tab reports: unable to run program file. Any thoughts? Dane |
|
From: Daniel K. O. <dan...@ya...> - 2004-08-13 22:59:40
|
tay...@dd... wrote: >Could someone tell me what are the compiler options "optimize", "best >optimization", " a number of minor optimizations" do (dev-c++)? > > They set the options -O1, -O2, -O3 and -fexpensive-optimizations when calling gcc. Go read the onlinedocs from gcc.gnu.org. Hint: use Google. This search sring is useful: "site:gcc.gnu.org onlinedocs thestringyouwanttosearch" PS: the -O3 seems to be broken in MinGW/GCC 3.3.1. The last GTK+ binary release had to be recompiled with -O2 because of this. Daniel K. O. |
|
From: <sp...@po...> - 2004-08-13 17:23:28
|
Mark, it definitely shouldn't hang - can you please provide a detailed description, perhaps a sample project and write a bug report here? http://sf.net/projects/dev-cpp/bugs Thanks, Marek Mark L. Wise wrote: >Hello all! > >I have recently upgraded my Dev-C++ to version 4.9.9.0. > >I am having trouble with the gdb (source debugger). It works "most" of the >time, but often just "hangs" (the program does not appear to be executing >anymore... however I am able to set and remove breakpoints). > >Anyone else having problems with this debugger? > >Are there any other options for a good (free) source debugger system? > >Thanks! > >Mark > > |
|
From: Mark L. W. <ma...@al...> - 2004-08-13 17:15:40
|
Hello all! I have recently upgraded my Dev-C++ to version 4.9.9.0. I am having trouble with the gdb (source debugger). It works "most" of the time, but often just "hangs" (the program does not appear to be executing anymore... however I am able to set and remove breakpoints). Anyone else having problems with this debugger? Are there any other options for a good (free) source debugger system? Thanks! Mark |
|
From: Damien A <g_...@ho...> - 2004-08-13 16:15:14
|
<html><div style='background-color:'><DIV class=RTE> <P>It is double underscore (__). Also, make sure the the source file's extension isn't a .c :)<BR><BR></P></DIV> <DIV></DIV>----Original Message Follows---- <DIV></DIV>From: "Noorez Kassam" <coo...@ho...> <DIV></DIV>To: dev...@li... <DIV></DIV>Subject: [Dev-C++] _cplusplus macro <DIV></DIV>Date: Fri, 13 Aug 2004 10:07:45 -0600 <DIV></DIV>MIME-Version: 1.0 <DIV></DIV> <DIV></DIV> <DIV></DIV>The _cplusplus macro that is should be part of my c++ programs doesn't seem to be included. I tried using but it did not work! The compiler did not defined _cplusplus, it seems. <DIV></DIV> <DIV></DIV>_________________________________________________________________ <DIV></DIV>Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. <DIV></DIV> <DIV></DIV> <DIV></DIV> <DIV></DIV>------------------------------------------------------- <DIV></DIV>SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media <DIV></DIV>100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 <DIV></DIV>Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. <DIV></DIV>http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 <DIV></DIV>_______________________________________________ <DIV></DIV>Dev-cpp-users mailing list <DIV></DIV>Dev...@li... <DIV></DIV>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm <DIV></DIV>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users <DIV></DIV></div><br clear=all><hr>STOP MORE SPAM with <a href="http://g.msn.com/8HMBEN/2728??PS=47575">the new MSN 8</a> and get 2 months FREE*</html> |
|
From: Noorez K. <coo...@ho...> - 2004-08-13 16:07:52
|
The _cplusplus macro that is should be part of my c++ programs doesn't seem to be included. I tried using but it did not work! The compiler did not defined _cplusplus, it seems. _________________________________________________________________ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN® Premium right now and get the first two months FREE*. |
|
From: Eric <eri...@cl...> - 2004-08-13 15:08:53
|
OK , confirmed , 85DE18 ----- Original Message ----- From: "Alexsandro Meireles" <ale...@ho...> To: <dev...@li...> Sent: Friday, August 13, 2004 10:48 AM Subject: [Dev-C++] confirm 350114 confirm 350114 _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.737 / Virus Database: 491 - Release Date: 11-Aug-04 |
|
From: <tay...@dd...> - 2004-08-13 12:33:51
|
Hi, Could someone tell me what are the compiler options "optimize", "best optimization", " a number of minor optimizations" do (dev-c++)? Thanks --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ |
|
From: www.besta.org <bk...@be...> - 2004-08-13 08:11:23
|
Are there any example codes with Gtk+, DrawDibDraw() on MSwin32 API to display video clips? I have an example without Gtk+, only with win32 APIs like DrawDibDraw(). I compiled this by Dev-cpp and works well. But I would import image displaying parts using DrawDibDraw() into Gtk+. Please help me. Regards, bkna. |
|
From: Noorez K. <coo...@ho...> - 2004-08-13 02:11:32
|
At the marked lines, the of one thing is shown on the next input as if i
typed it. I can use the backspace key to get rid of it but it's very
annoying.
#ifndef quiz_h
#define quiz_h
class Quiz
{
private:
char question[1000];
char answerA[1000];
char answerB[1000];
char answerC[1000];
char answerD[1000];
char answerT;
char answerF;
char actual;
public:
static int questionNumb;
static int type;
Quiz createQuestion();
void writeQuestion(Quiz ques, int type,char* quizName);
};
#endif
Quiz Quiz::createQuestion()
{
Quiz ques;
cls();
cout << "What kind of question do you want question " <<
Quiz::questionNumb
<< " to be\n";
real1:
cout << "A. Multiple choice or B. True/False [a\\b] ";
char choice;
choice=getche(); //the choice hear
if(!(choice == 'a' || choice == 'b'))
{
cout << "\nChoice must be a or b\n";
goto real1;
}
if(choice == 'a' || choice == 'A')
{
type = 1;
cout << "\n\nType the question in\n\n"; //is shown after this
statment
cin.getline(ques.question,1000);
cout << "Type in answer A. ";
cin.getline(ques.answerA,1000);
cout << "Type in answer B. ";
cin.getline(ques.answerB,1000);
cout << "Type in answer C. ";
cin.getline(ques.answerC,1000);
cout << "Type in answer D. ";
cin.getline(ques.answerD,1000);
real2:
cout << "Give us the real answer [a\\b\\c\\d] ";
ques.actual=getche();
if(!(ques.actual == 'a' || ques.actual == 'b'
|| ques.actual == 'c' || ques.actual == 'd') )
{
cout << "\nReal answer must be a,b,c or d\n";
goto real2;
}
}
if(choice == 'b' || choice == 'B')
{
type = 2;
cout << "\n\nType in the statement\n\n";//of after this one
cin.getline(ques.question,1000);
real3:
cout << "Give us the real answer [t\\f] ";
ques.actual=getche();
if(!(ques.actual == 't' || ques.actual == 'f'))
{
cout << "\nReal answer must be t or f\n";
goto real3;
}
}
return ques;
}
_________________________________________________________________
Take charge with a pop-up guard built on patented Microsoft® SmartScreen
Technology
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
|
|
From: Alexsandro M. <ale...@ho...> - 2004-08-12 22:48:39
|
confirm 350114 _________________________________________________________________ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com |
|
From: <age...@co...> - 2004-08-12 20:27:33
|
Instead of declaring it vector<students> kids[10], you must do it like this: vector<students> kids(10). The brackets create ten empty vectors. The parenthesis are used to create a vector of so many elements. Also, instead of cout << kids[3].fname, you can use an iterator. -- ~~Scott Simontis~~ > Hi all, > > Thank you in advance for any help you can offer. > I want to create a vector of student objects and then access the members > of the objects. > I started with: > > vector<students> kids[10]; // to declare a vector of 10 student > objects named kids > then I wanted to: > cout << kids[3].fname << endl; // fname is a string member in my > student class. > > This won't compile. It gives me only an ' as the message for the error. > > What am I doing wrong? > > Best regards, > > Dane > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > 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: Dane E. <DE...@pa...> - 2004-08-12 18:35:57
|
Hi all, =20 Thank you in advance for any help you can offer. I want to create a vector of student objects and then access the members of the objects. I started with: =20 vector<students> kids[10]; // to declare a vector of 10 student objects named kids then I wanted to: cout << kids[3].fname << endl; // fname is a string member in my student class.=20 =20 This won't compile. It gives me only an ' as the message for the error. =20 What am I doing wrong? =20 Best regards, =20 Dane =20 |
|
From: <or...@vp...> - 2004-08-12 18:20:41
|
Nah, this is common. I have recieved at least 3 types of this kind of spa= m so far. However=20 this one offers too little money :) The others I got offered 100 times mo= re. Quite=20 ridiculous, really. -- Greetings, Bal=E1zs age...@co... wrote: > Thank you for your spam. This is a PROGRAMMING e-mail user group. Thats= a nice way to start a flame war directed at you. >=20 > -- > ~~Scott Simontis~~ >=20 >=20 >=20 >>Hello, >>I write to seek your services in a private matter regarding the late Ad= am A=20 >>Williams who died from united states of america leaving some funds uncl= aimed in=20 >>our bank without any >>beneficiary.This requires a private arrangement.Could you perhaps be ab= le to=20 >>receive these funds under legal claims then I will fill you in.I am wil= ling to=20 >>pay a generous management and transfer fees as well as appreciation for= fewer=20 >>questions asked and your participation.15% >>=20 >>I need assistance from a trustworthy and reliable person whom i will fi= ll in as=20 >>the beneficiary to provide an account where this fund will be remmited.= Ihave all=20 >>the details and will fill you in if you are really willing. Your major = role=20 >>would be to open a bank account where the funds will be transferred.All= =20 >>correspondences will be via email,for now.The funds in question are qui= te large=20 >>(about $26,000,000). I will expect a straight answer from you. Yes or n= o. If=20 >>yes, then let's work out the modalities.You can also reach me on this m= y=20 >>alternative email address:oth...@ya...=20 >>Closing with anticipation. >>Mr othman jaafar |