Yeah it is saying that ptre is an unused variable, BUT when i run the program with the warning VISUAL STUDIO CRASHES!! Somethings deffinitly wrong!! i just dont understand there has to e something im...
Type: Posts; User: Edubbzzz
Yeah it is saying that ptre is an unused variable, BUT when i run the program with the warning VISUAL STUDIO CRASHES!! Somethings deffinitly wrong!! i just dont understand there has to e something im...
Thanks that cleared up my errors, but no i have a warning for the PTR.
im compiling in visual studio C++ its telling me " : error C2228: left of '.printIt' must have class/struct/union type" i dont understand what its asking for! I'm really new at this and im not very...
#include <iostream>
#include <string>
using namespace std;
class course
{
private:
string name;
int credits;
int total;