G
Gaurav
Hello,
I am using visual c++ 6 and i am having problems with string to work.
******** Here is the program project.cpp*********
#include <iostream.h>
#include <string>
#include "stdafx.h"
// This program just inverts the tickers.csv files execpt first line
int main(){
string ticker ;
return 0;
}
***************************
on compiling i get this error message
**************************
Compiling...
StdAfx.cpp
Compiling...
Project.cpp
C:\Windows\Desktop\Project\Project.cpp(17) : error C2065: 'string' :
undeclared identifier
C:\Windows\Desktop\Project\Project.cpp(17) : error C2146: syntax error
: missing ';' before identifier 'ticker'
C:\Windows\Desktop\Project\Project.cpp(17) : error C2065: 'ticker' :
undeclared identifier
Error executing cl.exe.
Project.exe - 3 error(s), 0 warning(s)
****************************
can someone tell me whats wrong here ?
thank you in advance.
Gaurav
I am using visual c++ 6 and i am having problems with string to work.
******** Here is the program project.cpp*********
#include <iostream.h>
#include <string>
#include "stdafx.h"
// This program just inverts the tickers.csv files execpt first line
int main(){
string ticker ;
return 0;
}
***************************
on compiling i get this error message
**************************
Compiling...
StdAfx.cpp
Compiling...
Project.cpp
C:\Windows\Desktop\Project\Project.cpp(17) : error C2065: 'string' :
undeclared identifier
C:\Windows\Desktop\Project\Project.cpp(17) : error C2146: syntax error
: missing ';' before identifier 'ticker'
C:\Windows\Desktop\Project\Project.cpp(17) : error C2065: 'ticker' :
undeclared identifier
Error executing cl.exe.
Project.exe - 3 error(s), 0 warning(s)
****************************
can someone tell me whats wrong here ?
thank you in advance.
Gaurav