![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() |
<---- is humiliated had trouble with hello world (damn gcc and g++)
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity." - Albert Einstein |
|
|
|
|
|
#12 | |
|
Expert Programmer
|
Quote:
#include <iomanip> .... cout << "Press the [ANY KEY] to continue... "; cin.clear(); cin.ignore( 256, '\n' ); .... Damn I hate those System commands ![]() This also reminds me that it has been a very long time since I have done anything in C++, I feel kind of deprived... since that is the language I know best ![]()
__________________
Clifford Matthew Roche <geek@cliffordroche.com> Web Hosting: http://www.crd-hosting.com Consulting: http://www.crdev-consulting.com |
|
|
|
|
|
|
#13 | |
|
Programmer
Join Date: Sep 2004
Location: JHB , South Africa
Posts: 79
Rep Power: 5
![]() |
Quote:
Another question what is the public doing in the constructor definition? I gather Dice is another class. My guess would be that DiceGameDice inherits from Dice and your calling its constructor there? But why the public... sorry just interested. DiceGameDice::DiceGameDice() : public Dice(6)
__________________
Ravilj's OpenGL Terrain aka WinTerrain Last Updated: 17/01/2005! |
|
|
|
|
|
|
#14 |
|
PFO Founder
![]() ![]() |
that was actually one of my errors
![]()
__________________
BIG K aka Kyle Programming Forums Kyle K Online Please do not PM or email me programming questions. Post them in the forums instead. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|