im trying out CString, just experimenting, and im going crazy. i've look at a couple of sites, and it's correct:

Code:
#include <cstring.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

void main(void){
	CString s1;

	s1= "hello";

	printf("%s",s1.Right(1));
}
The Errors:

--------------------Configuration: Cpp1 - Win32 Debug--------------------
Compiling...
Cpp1.cpp
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(7) : error C2065: 'CString' : undeclared identifier
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(7) : error C2146: syntax error : missing ';' before identifier 's1'
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(7) : error C2065: 's1' : undeclared identifier
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(8) : error C2146: syntax error : missing ';' before identifier 's2'
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(8) : error C2065: 's2' : undeclared identifier
C:\Nabeel\Projects\C++\gfxtest\Cpp1.cpp(8) : error C2228: left of '.Right' must have class/struct/union type
Error executing cl.exe.

Cpp1.exe - 6 error(s), 0 warning(s)

im going crazy over this!

then i tried converting to pointers, and still the same errors