Noob Question:
how do i get the hwnd of the main program?
thanks
User Profile
Collapse
-
Varibles in Batch files
Okay, so I know how to make a variable:
set bla = blabla
but then i want to set it as a directory of "cd"
so then if the directory was C:\WINDOWS,
i want bla to = cd
so something like
set bla = cd
but that doesn't work. any help?
thanks -
Exiting a function
what would i use to only exit the
Code:private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { if (this->textBox1->textLength == 0) { MessageBox::Show("fail!";"D:"; MessageBoxButtons::OK); exit button1_Click(??) }; } -
-
yea i'm using VC++ Express Edition 2008 edition
andd.... please don't confuse me with "dynamic array or vector" because i started C++... about 3 hours ago. thanks.
(a good example would be good enough)...Leave a comment:
-
Form1.h(105) : error C2057: expected constant expressionCode:int q = this->textBox1->TextLength; int i = 1; int o[q]; int a = 0; o[0] = 0;
Form1.h(105) : error C2466: cannot allocate an array of constant size 0
Form1.h(105) : error C2133: 'o' : unknown size
Form1.h(112) : warning C4800: 'int *' : forcing value to bool 'true' or 'false' (performance war...Leave a comment:
-
Array Length with Integer Help?
Well I'm declaring an array with text length,
so i did
int i[this->textBox1->textlength];
but that didn't work so i did
int q = this->textBox1->textlength;
int i[q];
but neither did that work.
any ideas?
thanks.
No activity results to display
Show More
Leave a comment: