Error 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'System::String ^' (or there is no acceptable conversion)
usingnamespace System;
usingnamespace System::ComponentModel;
usingnamespace System::Collections;
usingnamespace System::Windows::Forms;
usingnamespace System::Data;
usingnamespace System::Drawing;
using std::ofstream;
using std::string;
Thanks, im still new to C++, i forgot most of it after i graduated from high school lol. But, the teacher only told how to do stuff in cmd, and he said don't use MS Visual studio....
Regards,
Ash
Edit:
I also tried this ash<< "<body background="richTextBox5" bgproperties=fixed>;
But gets 5 errors.
Error 1 error C2001: newline in constant
Error 3 error C2143: syntax error : missing ';' before 'string'
Error 5 error C2146: syntax error : missing ';' before identifier 'ash'
Error 2 error C2146: syntax error : missing ';' before identifier 'richTextBox5'
Error 4 error C3288: 'System::Windows::Forms::RichTextBox ^' : illegal dereference of a handle type
This is CLI/C++ which is kind of an entirely different language from normal C++. It's like MS's own version of C++ that they tweaked around to make it work with the .NET framework.
I can't really be of any help to you here. Maybe someone with C++/CLI experience can chime in.