Hi
I am completely new to C++ though I have knowledge in more simplier codinglanguages.
Now I am trying to locate where and a bit how I will write code.
I have made a "New Project" (Window Forms Application) and I have put a "Button" to my Form.
Now is my question this. How would the code look like to open this textfile(C:\test.txt) when I press the button.
And very important for me to know is also where I will put this code.
For the form I have a lot of code and for the "Button1" the code looks as follows.
Thank You...
//
// button1
//
resources->ApplyResources(this->button1, L"button1");
this->button1->ForeColor = System:rawing::SystemColors::AppWorkspace;
this->button1->Name = L"button1";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);