dev-cpp-users Mailing List for Dev-C++ (Page 202)
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: <tay...@dd...> - 2004-07-06 03:08:42
|
Hi, a) Does anybody know of a place where I can get toolbars to replace the standard MS toolbar.bmp? b) and where to get sample code and instructions to build a custom toolbar into a C++ program? Thanks for the tips. Jorge --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/ |
|
From: Marco R. <ma...@ne...> - 2004-07-05 22:20:43
|
Hello all, I wish to know if is there a way to make a function in assembly, compile it in masm and then use it in c++. I search the web but found nothing about it. My idea is something like linking the masm result with my c++ program. Tanks in advance Marco. |
|
From: <or...@vp...> - 2004-07-05 17:40:24
|
Bruce.J Sam wrote: > I have download gdb6.1,but it has too many files in it.I don't=20 > know how to replace the old gdb in Dev-C++'s directory,Please forgive m= y=20 > poor experience.I only a beginner. I hope you downloaded the binary release, and not the source release. Just copy gdb.exe, and other files from the same dir, to Dev-C++/bin or Dev-C++/mingw/bin or whereever your MinGW is. The easiest is to copy it, where gcc.exe is. -- Greetings, Bal=A8=A2zs |
|
From: <per...@ya...> - 2004-07-05 15:36:54
|
I have download gdb6.1,but it has too many files in it.I don't know how to replace the old gdb in Dev-C++'s directory,Please forgive my poor experience.I only a beginner.
Thanks,
Bruce .J Sam
---------------------------------
Do You Yahoo!?
100兆邮箱够不够用?雅虎电邮自助扩容! |
|
From: Wehrli, L. <we...@st...> - 2004-07-05 09:51:27
|
start with the attached file project. compile and link with F9.
=20
Lior
=20
=20
________________________________
Von: dev...@li... im Auftrag von Hareesh =
Balakrishnan M
Gesendet: Mo 05.07.2004 07:01
An: dev...@li...
Betreff: [Dev-C++] Urgnt: Setting up dev-c++ for OpenGL
Hi ,
I would like to know step by step proceedures so that I could=20
use dev-c++ for opengl programming.=20
Please do reply urgently.I need it today itself.
Using Dev-c++ 4. version.
I have problem using Visual C++ for the same so I tried Dev-C++.
It too have someother problem.
=20
Links to subject too would be appreciated.
Thanking you I remain
hbmarar
<http://clients.rediff.com/signature/track_sig.asp> =20
|
|
From: Per W. <pw...@ia...> - 2004-07-05 08:07:50
|
While there are at least one or two other methods of entering passwords without the password being visible - which you would find with a bit of google work - the suggested method does make sense and does work! /Per W On Sun, 4 Jul 2004, Noorez Kassam wrote: > Someone gave me this explanation > > Have you tried the standard character by character "cin" then the next > line would do a backspace then write a X or * over what was just put > there, so it happens so fast the password is not seen, then the function > escapes when it sees a "return or enter" character? > > But it makes absolutely no sense! > > _________________________________________________________________ > Free yourself from those irritating pop-up ads with MSn Premium. Get 2months > FREE* > http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > 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: A. K. <kli...@ad...> - 2004-07-05 08:05:16
|
Hareesh Balakrishnan M wrote: > > Hi , > > I would like to know step by step proceedures so that I could > use dev-c++ for opengl programming. > Please do reply urgently.I need it today itself. > Using Dev-c++ 4. version. Maybe you should read http://www.catb.org/~esr/faqs/smart-questions.html and especially http://www.catb.org/~esr/faqs/smart-questions.html#urgent > > I have problem using Visual C++ for the same so I tried Dev-C++. > It too have someother problem. Just tell us what problem you get Alex |
|
From: nuc p. <nuc...@ms...> - 2004-07-05 07:40:32
|
<html><div style='background-color:'><DIV class=RTE>
<P>hey lior, your response did help me out but i have some questions. thanx. </P>
<P>i fixed the comparison using == not = and i closed the for loop with a }. i also used endl at the end of cout statements. that takes care of a few problems.</P>
<P>what do you mean by "if (num[i] == num[i]) ? You would probably want to loop over all previous inserted numbers here" ? </P>
<P>also, by the following:</P>
<P>"The two checks inside the for-loop should probably also hold for corrected numbers, so is a if-statement the right tool? What if the user types "3", and then again "3", and again..."</P></DIV>
<DIV></DIV>
<P>i was hoping that if num[i] == num[i] the program would return back to the initial cout statement prompting the user to re-enter the numbers. i now realize that the statement will always be false: if the numbers are duplicates or not the array will always equal itself and thus the out put will always be "you have entered a duplicate number."</P>
<P>back to the drawing board...any additional comments from anyone would be a great help.</P>
<P>thanx.</P>
<P>peter/panos</P>
<P>>From: "Wehrli, Lior" <we...@st...> </P>
<DIV></DIV>>To: <dev...@li...>
<DIV></DIV>>Subject: AW: [Dev-C++] (no subject)
<DIV></DIV>>Date: Mon, 5 Jul 2004 00:43:12 +0200
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>Hi Peter,
<DIV></DIV>>
<DIV></DIV>>1.) Rhetoric question: where does your for-loop end?
<DIV></DIV>>2.) Don't forget to end cout << ".." statements with a << endl
<DIV></DIV>>3.) if (num[i] = num[i]) ? You would probably want to loop over all previous inserted numbers here. Don't forget to use == (and not =) for comparisons!
<DIV></DIV>>4.) The two checks inside the for-loop should probably also hold for corrected numbers, so is a if-statement the right tool? What if the user types "3", and then again "3", and again...
<DIV></DIV>>
<DIV></DIV>>hope that helps,
<DIV></DIV>>
<DIV></DIV>>Lior
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>________________________________
<DIV></DIV>>
<DIV></DIV>>Von: dev...@li... im Auftrag von PETER CAMPOS
<DIV></DIV>>Gesendet: So 04.07.2004 21:43
<DIV></DIV>>An: dev...@li...
<DIV></DIV>>Betreff: [Dev-C++] (no subject)
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>cpp freshman asks for help again...i want this program to request the user for 20 numbers within the range 10<x<100 and print the 20 numbers. if the numbers have any duplicates the numbers must be re-entered.
<DIV></DIV>>i have a parse error at the end of the program. i've read thru the program a few times but can't find it. **David, i am trying to think more about my programs and what i want them to do. i made a flow chart for this one. another question, is it possible to use rand()/rand_max in anyway in this program?
<DIV></DIV>>
<DIV></DIV>>thanx again everyone
<DIV></DIV>>panos.....GO GREEECE EURO 2004:)
<DIV></DIV>>
<DIV></DIV>>#include <iostream>
<DIV></DIV>>using namespace std;
<DIV></DIV>>
<DIV></DIV>>int main(){
<DIV></DIV>> int numbs;
<DIV></DIV>> int num[20];
<DIV></DIV>> for (int i=0; i<20; i++){
<DIV></DIV>> cout << "what are the numbers? ";
<DIV></DIV>> cin >> numbs;
<DIV></DIV>> num[i] = numbs;
<DIV></DIV>>
<DIV></DIV>> if (num[i] == num[i])
<DIV></DIV>> {
<DIV></DIV>> cout << "you have entered a duplicate. Try again. ";
<DIV></DIV>> cin >> numbs;
<DIV></DIV>> num[i] = numbs;
<DIV></DIV>> }
<DIV></DIV>>
<DIV></DIV>> else if (numbs <= 10 || numbs >= 100)
<DIV></DIV>> {
<DIV></DIV>> cout << "you have entered a value out of range. try again. ";
<DIV></DIV>> cin >> numbs;
<DIV></DIV>> num[i] = numbs;
<DIV></DIV>> }
<DIV></DIV>> else
<DIV></DIV>> cout << "the numbers are" << num[i] << endl;
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>return 0;
<DIV></DIV>>}
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>______________ ______________ ______________ ______________
<DIV></DIV>> ccny.cuny.edu
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>-------------------------------------------------------
<DIV></DIV>>This SF.Net email sponsored by Black Hat Briefings & Training.
<DIV></DIV>>Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
<DIV></DIV>>digital self defense, top technical experts, no vendor pitches,
<DIV></DIV>>unmatched networking opportunities. Visit www.blackhat.com
<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></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>-------------------------------------------------------
<DIV></DIV>>This SF.Net email sponsored by Black Hat Briefings & Training.
<DIV></DIV>>Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
<DIV></DIV>>digital self defense, top technical experts, no vendor pitches,
<DIV></DIV>>unmatched networking opportunities. Visit www.blackhat.com
<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> <a href="http://g.msn.com/8HMAENUS/2755??PS=47575">Is your PC infected? Get a FREE online computer virus scan from McAfee® Security.</a> </html>
|
|
From: Hareesh B. M <hb...@re...> - 2004-07-05 05:31:09
|
=A0=0AHi ,=0A =0A I would like to know step by step proceedures so that= I could =0Ause dev-c++ for opengl programming. =0A Please do reply urg= ently.I need it today itself.=0A Using Dev-c++ 4. version.=0A=0A I have= problem using Visual C++ for the same so I tried Dev-C++.=0AIt too have so= meother problem.=0A =0A Links to subject too would be appreciated.=0A = =0A Thanking you I remain=0A=0Ahbmarar=0A=0A=0A=0A |
|
From: Noorez K. <coo...@ho...> - 2004-07-05 03:31:39
|
Someone gave me this explanation Have you tried the standard character by character "cin" then the next line would do a backspace then write a X or * over what was just put there, so it happens so fast the password is not seen, then the function escapes when it sees a "return or enter" character? But it makes absolutely no sense! _________________________________________________________________ Free yourself from those irritating pop-up ads with MSn Premium. Get 2months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines |
|
From: Wehrli, L. <we...@st...> - 2004-07-04 22:46:00
|
=20
Hi Peter,
=20
1.) Rhetoric question: where does your for-loop end?
2.) Don't forget to end cout << ".." statements with a << endl
3.) if (num[i] =3D num[i]) ? You would probably want to loop over all =
previous inserted numbers here. Don't forget to use =3D=3D (and not =3D) =
for comparisons!
4.) The two checks inside the for-loop should probably also hold for =
corrected numbers, so is a if-statement the right tool? What if the user =
types "3", and then again "3", and again...
hope that helps,
Lior
________________________________
Von: dev...@li... im Auftrag von PETER =
CAMPOS
Gesendet: So 04.07.2004 21:43
An: dev...@li...
Betreff: [Dev-C++] (no subject)
cpp freshman asks for help again...i want this program to request the =
user for 20 numbers within the range 10<x<100 and print the 20 numbers. =
if the numbers have any duplicates the numbers must be re-entered.=20
i have a parse error at the end of the program. i've read thru the =
program a few times but can't find it. **David, i am trying to think =
more about my programs and what i want them to do. i made a flow chart =
for this one. another question, is it possible to use rand()/rand_max in =
anyway in this program?
thanx again everyone
panos.....GO GREEECE EURO 2004:)
#include <iostream>
using namespace std;
int main(){
int numbs;
int num[20];
for (int i=3D0; i<20; i++){
cout << "what are the numbers? ";
cin >> numbs;
num[i] =3D numbs;
=20
if (num[i] =3D num[i])
{
cout << "you have entered a duplicate. Try again. ";
cin >> numbs;
num[i] =3D numbs;
} =20
=20
else if (numbs <=3D 10 || numbs >=3D 100)
{ =20
cout << "you have entered a value out of range. try =
again. ";
cin >> numbs;
num[i] =3D numbs; =20
} =20
else
cout << "the numbers are" << num[i] << endl;
=20
=20
return 0;
}
______________ ______________ ______________ ______________
ccny.cuny.edu
=20
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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: Per W. <pw...@ia...> - 2004-07-04 22:30:35
|
You have forgotten then end brace for your for() statement.
Note that you shouldn't use the for statement like that, since you don't
want to run it for 20 times, but until you have 20 accepted numbers. If a
user enters an incorrect number, the for loop should run for more than 20
times. With your current structure, you do one retry if the entered number
iswrong - however, you don't make a new check that the number is ok. If
you instead did the i++ increment only when you are satisfied with the
number, you may run the for loop as many times as is needed.
You should add a new loop (for j = 0; j < i; j++) to verify that the
entered number isn't a duplicate value.
By the way: Please specify a subject when you mail to this list.
/Per W
On Sun, 4 Jul 2004, PETER CAMPOS wrote:
> cpp freshman asks for help again...i want this program to request the user for 20 numbers within the range 10<x<100 and print the 20 numbers. if the numbers have any duplicates the numbers must be re-entered.
> i have a parse error at the end of the program. i've read thru the program a few times but can't find it. **David, i am trying to think more about my programs and what i want them to do. i made a flow chart for this one. another question, is it possible to use rand()/rand_max in anyway in this program?
>
> thanx again everyone
> panos.....GO GREEECE EURO 2004:)
>
> #include <iostream>
> using namespace std;
>
> int main(){
> int numbs;
> int num[20];
> for (int i=0; i<20; i++){
> cout << "what are the numbers? ";
> cin >> numbs;
> num[i] = numbs;
>
> if (num[i] = num[i])
> {
> cout << "you have entered a duplicate. Try again. ";
> cin >> numbs;
> num[i] = numbs;
> }
>
> else if (numbs <= 10 || numbs >= 100)
> {
> cout << "you have entered a value out of range. try again. ";
> cin >> numbs;
> num[i] = numbs;
> }
> else
> cout << "the numbers are" << num[i] << endl;
>
>
> return 0;
> }
>
>
> ______________ ______________ ______________ ______________
> ccny.cuny.edu
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> digital self defense, top technical experts, no vendor pitches,
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> 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: PETER C. <pca...@cc...> - 2004-07-04 19:48:19
|
cpp freshman asks for help again...i want this program to request the user for 20 numbers within the range 10<x<100 and print the 20 numbers. if the numbers have any duplicates the numbers must be re-entered.
i have a parse error at the end of the program. i've read thru the program a few times but can't find it. **David, i am trying to think more about my programs and what i want them to do. i made a flow chart for this one. another question, is it possible to use rand()/rand_max in anyway in this program?
thanx again everyone
panos.....GO GREEECE EURO 2004:)
#include <iostream>
using namespace std;
int main(){
int numbs;
int num[20];
for (int i=0; i<20; i++){
cout << "what are the numbers? ";
cin >> numbs;
num[i] = numbs;
if (num[i] = num[i])
{
cout << "you have entered a duplicate. Try again. ";
cin >> numbs;
num[i] = numbs;
}
else if (numbs <= 10 || numbs >= 100)
{
cout << "you have entered a value out of range. try again. ";
cin >> numbs;
num[i] = numbs;
}
else
cout << "the numbers are" << num[i] << endl;
return 0;
}
______________ ______________ ______________ ______________
ccny.cuny.edu
|
|
From: <or...@vp...> - 2004-07-04 18:05:53
|
at...@su... wrote: > Thanx, got just GNU gdb 5.2.1, but it workes. > Can I user gdb 6.0 in combination with gcc version 3.2 (mingw special > 20020817-1) > without problems? I think so. If not, then get gcc 3.3 or 3.4, but I'm sure gdb 6.0 can=20 debug 3.2 compiled exes. -- Greetings, Bal=E1zs |
|
From: David M. <dml...@co...> - 2004-07-04 17:07:50
|
extern is used in multi file projects and is used to saythe following to
the compiler:
"This variable is declared in another file, when you are linking look
for it and link it in".
E.g.
--File1.cpp--
int my_global_var = 5;
int main()
{
...
}
--end File1.cpp--
--File2.cpp--
extern int my_global_var;
void some_funct_that_uses_global(void)
{
...
}
--end File2.cpp--
Now anything that uses my_global_var in file2 is using the same variable
that the functions in file1.cpp are using.
Any type of variable can be used with extern (class, struct, union, etc)
even functions. For functions they are seldom (if ever) used because
functions are automatically shared throught all files in a program, so
putting extern is redundant.
Signed
David McKen
Noorez Kassam wrote:
> What does the keyword "extern" do?
>
> _________________________________________________________________
> Add photos to your messages with MSN Premium. Get 2 months FREE*
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital
> self defense, top technical experts, no vendor pitches, unmatched
> networking opportunities. Visit www.blackhat.com
> _______________________________________________
> 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: Noorez K. <coo...@ho...> - 2004-07-04 16:22:27
|
What does the keyword "extern" do? _________________________________________________________________ Add photos to your messages with MSN Premium. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines |
|
From: Jeffrey W. <jaw...@co...> - 2004-07-04 15:21:31
|
Jeffrey Wittig Pizza God by birth, Computer Geek by Choice. |
|
From: <at...@su...> - 2004-07-04 14:25:37
|
Thanx, got just GNU gdb 5.2.1, but it workes. Can I user gdb 6.0 in combination with gcc version 3.2 (mingw special 20020817-1) without problems? Cheers achim ----- Original Message -----=20 From: "OROSZI Bal=E1zs" <or...@vp...> To: <dev...@li...> Sent: Friday, July 02, 2004 11:47 AM Subject: Re: [Dev-C++] Can't debugg at...@su... wrote: > well, use dev-cpp 4.9.8.10.(gcc version 3.2 (mingw special 20020817-1), GNU > gdb 5.1.1 (mingw experimental)), > and I can't debugg it anymore, nothing will happen: GDB 5.1.1 is stone-aged. Try 6.0. -- Greetings, Bal=E1zs |
|
From: David M. <dml...@co...> - 2004-07-04 03:22:51
|
int result3 = (instance.*pt2Member)(12, 'a', 'b'); // Outside class int result4 = (*this.*pt2Member)(12, 'a', 'b'); // Inside class in your case it would be: cout << (cA.*pFunc)(); A good tutorial on this topic is avalible @ www.function-pointer.org Hope this Helps David McKen Harry Piterson wrote: > Hello, All!!! > > I need to call function-member of class by its pointer. For example: > > > //- main.h ---------------------------------- > #include <iostream> > #include <stdlib.h> > > class A > { > public: > int f (void) { return 5; } > }; > > //- main.cpp -------------------------------- > #include "main.h" > > using namespace std; > > int main(int argc, char *argv[]) > { > A cA; > > int ( A::*pFunc ) (void); > > pFunc = &A::f; > > // cout << ??? How I can call cA.f() using the pointer pFunc? > > system("PAUSE"); > return 0; > } > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > 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: Pascal <p.t...@ti...> - 2004-07-04 00:58:45
|
Hello, I will redefine the Shortcut keyboards in the soft but, there was not registered after a redefine ,same i have shutdown the software and restarted. |
|
From: Daniel K. O. <dan...@ya...> - 2004-07-03 23:43:45
|
Pascal wrote: > I would use the SDL lib,but i have found that the DEV-CPP packages are > not sending with the file "libSDL.la"(there are with the ORIGINAL pack > in http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1. > What is that? Nothing that you'll ever need, believe me. > Would i link or use it? No. If you really want this file, download the SDL from the www.libsdl.org. If you don't know how to install it, just stay with the DevPak. :) PS: these tutorials on cone3d.gamedev.net are the best basic tutorials for SDL I have ever found. Good luck. Daniel K. O. |
|
From: Pascal <p.t...@ti...> - 2004-07-03 23:10:19
|
Hello, I would use the SDL lib,but i have found that the DEV-CPP packages are not sending with the file "libSDL.la"(there are with the ORIGINAL pack in http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/tut1. What is that? Would i link or use it? |
|
From: Harry P. <wi...@ma...> - 2004-07-03 18:44:49
|
Hello, All!!!
I need to call function-member of class by its pointer. For example:
//- main.h ----------------------------------
#include <iostream>
#include <stdlib.h>
class A
{
public:
int f (void) { return 5; }
};
//- main.cpp --------------------------------
#include "main.h"
using namespace std;
int main(int argc, char *argv[])
{
A cA;
int ( A::*pFunc ) (void);
pFunc = &A::f;
// cout << ??? How I can call cA.f() using the pointer pFunc?
system("PAUSE");
return 0;
}
|
|
From: Eric <eri...@cl...> - 2004-07-03 13:39:31
|
Have you tried the standard character by character "cin" then the next line would do a backspace then write a X or * over what was just put there, so it happens so fast the password is not seen, then the function escapes when it sees a "return or enter" character? From Eric Sorry I can not be more help, I only check my mail once a day, by that time most of the questions are answered. ----- Original Message ----- From: "Noorez Kassam" <coo...@ho...> To: <dev...@li...> Sent: Saturday, July 03, 2004 3:50 PM Subject: [Dev-C++] hidden input I want to make an input for passwords so when the user types something in it would be hidden. And how can i fix input so that when the user types in the last character, my program take the password to test it? _________________________________________________________________ MSN Premium helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU =http://hotmail.com/enca&HL=Market_MSNIS_Taglines ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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.714 / Virus Database: 470 - Release Date: 02-Jul-04 |
|
From: Noorez K. <coo...@ho...> - 2004-07-03 03:50:39
|
I want to make an input for passwords so when the user types something in it would be hidden. And how can i fix input so that when the user types in the last character, my program take the password to test it? _________________________________________________________________ MSN Premium helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines |