Note: I think I posted this in the articles section by mistake and I reposting this in the discussion forum.

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!

P.S., I'm really curious of what :: means in c++, does that have to do with classes or functions, just curious!

#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

Last edited by shabbir; 26May2007 at 09:53.. Reason: Code block -