I am currently trying to write a test program involving constructors. I know what I am about to ask is pretty basic stuff but Visual Studio is not recognizing when I declare strings for some reason. My code isn't completed yet but as I am typing string in to declare the variable in the class Visual Studio is not recognizing string as a usable value. Code below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <cassert>
#include <iostream>
#include <stdio.h>
#include <string>
usingnamespace std;
class college {
private:
string stuName
string className
string grade
int phoneNumber
int stuNumber
int stuGPA
Like I said... this is completely unfinished I just need to understand why my strings aren't being recognized. I am probably including way more than I need to but I am very much a c++ novice so I am not sure which I will need. Thank you for any help you can give!