Anyone Else Experincing This problem?
When I type the Code
UserProperties=True
CPU=Inactive
User Login Form2.Show()
The whole program crashes. It works just fine on Visual Studio 2010 but doesnt work a big on Visual C++ no idea why this is happening. This code works. But its crashing -.-
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
Se7en_Gamerz
When I type the Code
UserProperties=True
CPU=Inactive
User Login Form2.Show()
It is not a C++ code. :cool:
Re: Anyone Else Experincing This problem?
In what way do crashing code work?
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
VictorN
It is not a C++ code. :cool:
Well, it could be... "UserProperties" could be a bool; "True" could be typedefed to "true"; "User_Login_Form2" could be an object (if there were underscores). But, I wouldn't expect a crash. Maybe a syntax error because of the lack of ';'. ;)
Viggy
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
MrViggy
Well, it could be... "UserProperties" could be a bool; "True" could be typedefed to "true"; "User_Login_Form2" could be an object (if there were underscores). But, I wouldn't expect a crash. Maybe a syntax error because of the lack of ';'. ;)
Viggy
Tried that, it froze when i used this code T_T
I don't under stand what is happening. I'm trying to take my program
from Visual Basic to Visual C++ cause I'm alot better at C++ and The
Coding is a little easier for me. I don't have any idea why but honestly.
I tried everything I googled, results came up with no errors, its just kinda annoying ... I asked my Visual Basic / Visual C++ teachers and neither one of them knew what I should do -.-
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
MrViggy
Well, it could be... "UserProperties" could be a bool; "True" could be typedefed to "true"; "User_Login_Form2" could be an object (if there were underscores). But, I wouldn't expect a crash. Maybe a syntax error because of the lack of ';'. ;)
Viggy
Then would we also expect to besomethig like
Code:
#define True true;
...
and so on? :confused:
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
Se7en_Gamerz
Tried that, it froze when i used this code T_T
I don't under stand what is happening. I'm trying to take my program
from Visual Basic to Visual C++ cause I'm alot better at C++ and The
Coding is a little easier for me. ...
Then why did you post the this Forum which is
Quote:
Visual C++ Bugs & Fixes Share bugs and fixes for source code on this site. Also use this to share bugs/fixes in the various class libraries etc. of use to VC++ developers. This is NOT for general programming questions.
And being "alot better at C++" must mean that you know about semicolons...
Re: Anyone Else Experincing This problem?
Quote:
Originally Posted by
VictorN
Then would we also expect to besomethig like
Code:
#define True true;
...
and so on? :confused:
:)
I knew a guy that had his programming background in PASCAL. As such, all of his C files began with:
Code:
#define BEGIN {
#define END }
Talk about going crosseyed while debugging...
Viggy