If I am in debug mode I want to display a message box, what is the variable that determines if I am in debug?
??Code:if (debug) { MessageBox::Show("Debug"); }
DirkFirst Tutorials | Linux Forum
I'm not sure I understand. Why don't you just create a static variable and set that to true or false. If you are in debug, set to true. Then use your if() statement
Use [Conditional("Debug")]
Code:[Conditional("Debug")] private void whatever(){ MessageBox.Show("Debug"); }
Void
i've download the visual c++ from the microsoft website in express edition but y cannot compile?? izit dis is d feature donot own by express edition or i miss download something???
What error do you get when you try to compile?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks