Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   class/functions Help (http://www.go4expert.com/forums/class-functions-help-t4430/)

abyss 26May2007 09:42

class/functions Help
I'm mainly trying to figure how to understand and implement classes/functions. I'm trying to create a program where the user enters yes or no, if there is a disc or a manual in a game case. Im just doing it as a starter program. Please dont flame, thank you!


#include stdlib.h
#include iostream.h
using namespace std;


int main()
    char Gamecheck;
    cout << "Is there a disc?" << endl;
 cin >> DiscCheck >> endl;

void Gamecheck::CheckDisc(int DiscCheck);
{ // check for cd
    if (DiscCheck == "yes")
    // make a statement for cd missing
    // remaining statement

shabbir 26May2007 09:56

Re: class/functions Help
Duplicate of class/functions Help. Thread closed.

All times are GMT +5.5. The time now is 14:15.