Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~10K People Reached
Favorite Forums
Favorite Tags
c++ x 13
c x 11

20 Posted Topics

Member Avatar for leefuren

I think you can use Access database to store the passwords and use ADO controler to operation the database.

Member Avatar for arpit56
1
531
Member Avatar for Dani

try this: //--------------------------------- // try_i.cpp #include <iostream.h> void main() { int i = 1; int last_value; last_value = i++; cout << "i++ = " << i << endl; last_value = ++i; cout << "++i = " << i << endl; cout << "Again:" << endl; cout << "i++ = " …

Member Avatar for WaltP
0
661
Member Avatar for iamboredguy

the first, you mustn't have any return statement in your main() function as if you use void main() declare. If you use int main() function, you must return a int value, otherwise your complier will prompt a warning.

Member Avatar for sujitkumarsingh
1
853
Member Avatar for Asif_NSU

I like Tubor C/C++ very much. The Path can modity in TC++,the step is: 1st: run tc-->select "Option"menu-->select "Directories..." 2nd: modity the path in the pop window. finally, press the "Ok". 3rd: select "Option" menu-->select "Save...". ok!finished. by the way,you must sure the "Inlucde" and "Lib" path was existed,if not,you …

Member Avatar for neelam_209
0
3K
Member Avatar for lara_

THe C++ Standard suggest we ought to using cin to get char or strings. you can use vector to store the strings. vector is a object but like a array.

Member Avatar for Narue
0
2K
Member Avatar for kohkohkoh

r = no % 100; ================== no = 120; 120 % 100 = 20; 130 % 100 = 30; 100 % 100 = 0; I dont konw how to describle it in Eglish.

Member Avatar for Narue
0
181
Member Avatar for XianBin

I don't how to description this puzzle, just like this: [code] int *fun_num() { int b = 123; return &b; } char *fun_char() { char *b = "123"; return b; } int main(int argc, char *argv[]) { int *pfun; char *pchar; pfun = fun_num(); pchar = fun_char(); cout << *pfun …

Member Avatar for XianBin
0
145
Member Avatar for tj

look this web site,it is a good tutoria for study C++. [url]http://www.cplusplus.com/doc/tutorial/[/url] or you can reading "Essential C++" .

Member Avatar for anthmaina
1
270
Member Avatar for dhanashree
Member Avatar for scott_6169

in Turbo C/C++, you can use the gotoxy(x, y) function to move the cur on the screen.

Member Avatar for XianBin
0
168
Member Avatar for danny_froud

try this: printf("stime %s \n",tmp.tms_stime); printf("utime %s \n",tmp.tms_utime);

Member Avatar for danny_froud
0
126
Member Avatar for big buc's fan

int main() { double charge; // charge minnimum rate of 2 dollars for 3 hours int hours; //---------------------------- // Add a input statement cin >> hours; //---------------------------- if (hours<=3) { charge=2; }

Member Avatar for frrossk
2
451
Member Avatar for shouvik
Member Avatar for Pietro
0
229
Member Avatar for XianBin

the book "Effective C++" have a item introduce cosnt,but a question i dont understand clearly. [code] class GamePlayer { private: static const int NUM_TURNS = 5; // constant eclaration int scores[NUM_TURNS]; // use of constant ... }; const int GamePlayer::NUM_TURNS; // mandatory definition; // goes in class impl.file [/code] why …

Member Avatar for FireNet
1
222
Member Avatar for Sphyenx

[QUOTE=hostmoon]What kind of detail are you looking for? A quick google search turned up several tutorials.. not exactly an "e-book", but effective all the same... example: [url]http://www.cplusplus.com/doc/tutorial/[/url][/QUOTE] Thank you very much, it is a good site for me to learn C++.

Member Avatar for Asif_NSU
0
176
Member Avatar for Mr.PinkBunny
Member Avatar for Brent_Ritterbec

main() function is have tow paras like this : argv[], argc int main(argv[],argc). you can confirm if user input "<" character in DOS prompt.while argv[] was contain a "<" char , you can create a file and save input strings in it.

Member Avatar for Chainsaw
0
159
Member Avatar for Sukhbir
Member Avatar for Mahen

string is a class: //////////////////////////////////////////////// // file name: string #ifndef __STRING__ #define __STRING__ #include <std/bastring.h> extern "C++" { typedef basic_string <char> string; // typedef basic_string <wchar_t> wstring; } // extern "C++" #endif ///////////////////////////////////////////// // file name: bastring.h template <class charT, class traits = string_char_traits<charT>, class Allocator = alloc > class …

Member Avatar for Dave Sinkula
0
176
Member Avatar for Sphyenx

[QUOTE=Sphyenx]im nto a programmer, and i wanna start im gonna pick the book up tommorow, i need a good book, i mean a good book that wil build the back bone to my future!/ lol. i mean a simple book for non programmers[/QUOTE] I prefer the "Effective C++",It is a …

Member Avatar for XianBin
0
110

The End.