|
-
April 20th, 2012, 12:09 PM
#1
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 -.-
-
April 20th, 2012, 12:50 PM
#2
Re: Anyone Else Experincing This problem?
 Originally Posted by Se7en_Gamerz
When I type the Code
UserProperties=True
CPU=Inactive
User Login Form2.Show()
It is not a C++ code.
Victor Nijegorodov
-
April 20th, 2012, 12:53 PM
#3
Re: Anyone Else Experincing This problem?
In what way do crashing code work?
-
April 20th, 2012, 02:28 PM
#4
Re: Anyone Else Experincing This problem?
 Originally Posted by VictorN
It is not a C++ code. 
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
-
April 20th, 2012, 02:34 PM
#5
Re: Anyone Else Experincing This problem?
 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 -.-
-
April 20th, 2012, 02:38 PM
#6
Re: Anyone Else Experincing This problem?
 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?
Victor Nijegorodov
-
April 20th, 2012, 02:41 PM
#7
Re: Anyone Else Experincing This problem?
 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
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...
Victor Nijegorodov
-
April 20th, 2012, 02:48 PM
#8
Re: Anyone Else Experincing This problem?
 Originally Posted by VictorN
Then would we also expect to besomethig like
Code:
#define True true;
...
and so on? 

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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|