View Single Post
Old 06-11-2005, 07:10 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,726
redhead is on a distinguished road
First off, if you plan on using C++, use correct C++ includes ie:
Code:
#include <stdio.h>
 #include <iostream.h>
 #include <string.h>
Is bad
Code:
#include <iostream>
 #include <string>
using std namespace;
is better

Another thing
Code:
string schoice;
...
                   switch(schoice1)
                   {
Switch only takes Intrinsic types So you'll have to change the way you're using teh switch here.

Else keep up the good work.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote