1. For the first problem you have to add this after your includes:
#include <iostream>
using namespace std;
2. For the second one with CString.
you cannot use CString in a program that has no MFC support. Anyway if you want to use MFC do this:
- go in ProjectSettings->General and select "Use MFC in a Shared DLL"
- add #include <afx.h> at the begining of your file, after your includes.
Hope this helps, s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
This is the one thing I didnt like. #include <string> and #include <string.h> are TWO different files. John is correct. #include <string> will give you the functionality you are missing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.