Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 5
c x 1

5 Posted Topics

Member Avatar for hkhk106

For my freshmen programming students I recommend one book which I find to be quite helpful for most. If he sticks with it to the end he shall find a thorough grounding in computer software and hardware: "Code: The Hidden Language of Computer Hardware and Software" by Charles Petzold It's …

Member Avatar for sumtaru
0
240
Member Avatar for alkeshtech

You should revisit definition the of rand() and srand() functions, both will give you non-repeating random numbers from 0 to your system's 'randmax' value. Just use the standard form of rand() with a 'shift' and 'scale factor',eg: number = shift value + rand() % scaling factor; // shift value = …

Member Avatar for alkeshtech
0
105
Member Avatar for Little E

[QUOTE=Little E;283656]Can anyone help me write a program that will print a sentence using 5 different words that are in 6 different array's based on a random number generated by the computer. Right now my code will print 5 sentences using each elimate from each array, but it doesn't pick …

Member Avatar for CPLUSCPLUS
0
535
Member Avatar for Srynx

Sir, Let me suggest that your 'Menu' itself should be a function, say , Menu(), for these lines: cout <<"Sudoku\n\n\n"<<endl; cout <<"1. How to\n\n"<<endl; cout <<"2. Sudoku generator\n\n"<<endl; cout <<"3. Play!\n\n"<<endl; cout <<"4. Exit\n\n"<<endl; This avoids the issue of using any 'goto and labels.' As for calling main() within your …

Member Avatar for CPLUSCPLUS
0
672
Member Avatar for CPLUSCPLUS

The System () function call is in C and C++, but I can't seem to find out just exactly what it can do. I use "C++ How to Program", by Deitel and Deitel, but it's silent on the application of System(). Any help would be appreciated. Thanks. PS: For example, …

Member Avatar for CPLUSCPLUS
0
119

The End.