Trying Fix Code Compile Vs2012 Seeing Whats Working Need Assist Consoleapplication2cpp Def Q10223455

Trying to fix this code so I can compile it in VS2012, notseeing whats not working need an assist

// ConsoleApplication2.cpp : Defines the entry point for theconsole application.
//

Connect with a professional writer in 5 simple steps

Please provide as many details about your writing struggle as possible

Academic level of your paper

Type of Paper

When is it due?

How many pages is this assigment?

#include “stdafx.h”
#include <string.h>
#include <iostream>
#include <new>

using namespace std;

class student{
public:
string name;
string address;
string ID;
student(string n,string add,string id){
name = n;
address = add;
ID = id;
}
void setName(string n){
name = n;
}
void setAddress(string a){
address = a;
}
void setID(string id){
ID = id;
}
string getName(){
return name;
}
string getAddress(){
return address;
}
string getID(){
return ID;
}
string ShowMe(){
return “—- STUDENT INFORMATION —- nNAME : “+name+”nADDRESS :”+address+”nID : “+ID+”n”;
}
};

class course{
public:
string title;
string cr_ID;
string instructor;
course(string t,string id,string instr){
title = t;
cr_ID = id;
instructor = instr;
}
void setTitle(string t){
title = t;
}
void setID(string cr){
cr_ID = cr;
}
void setInstructor(string ins){
instructor = ins;
}
string getTitle(){
return title;
}
string getID(){
return cr_ID;
}
string getInstructor(){
return instructor;
}
string ShowMe(){
return “—- COURSE INFORMATION —- nTITLE : “+title+”nCOURSE ID: “+cr_ID+”nINSTRUCTOR : “+instructor+”n”;
}
};

int main(){
student* std = new student(“VIJENDER”,”IITDELHI”,”2012CS10262″);
cout << std->ShowMe() << endl;
course c(“DATA STRUCTURE AND ALGORITHM”,”CSL201″,”AMITKUMAR”);
cout << c.ShowMe() << endl;
return 0;
}

The post Trying Fix Code Compile Vs2012 Seeing Whats Working Need Assist Consoleapplication2cpp Def Q10223455 appeared first on Nurses Den.