The "if" token in the class member declaration is not valid - if-statement

I don't know why but I was working quietly with unity and c# when all of a sudden it gives me this error and I can't do anything more
I tried to redo a new project but it didn't work, it keeps giving me the same error.I tried to redo a new project but it didn't work, it keeps giving me the same error.

Related

An error popping up while trying to create a new source file, or trying to open an old code

While trying to crate a new file, or open an old code in Dev c++ an error pops up. the error message is :
'clBtn' is not a valid integer value.
I've had this problem for a couple of days now. I have three options, to send anonymous bug report, to continue or to terminate. I don't think I deleted something that lead to this issue. Also I have never had this issue before, any advice would be helpful.

LINK 1104: Cannot open file '...test.exe' randomly occurred

I'm a beginner C++ developer working on a quality assurance project utilizing the GoogleTest framework. While creating unit tests, to verify whether solution outputs were within an acceptable range or not, I received the error message of " LINK1104: cannot open file 'C:Users\kfung\Documents\SAM\sam_dev\ssc\build_vs2017\x64\Release\test.exe' ".
It came out of nowhere. I've been working within the SAM\sam_dev branch for quite sometime now, where I have complete access to this. On top of that, this error message came after trying to build my solution. When this message came, I was only changing integer values, so I do not think it really is linked to that action. It wasn't anything major.
The test.exe program works fine and is able to test all of the files within my test explorer. The program works, yet VS17 is unable to locate/use this file.
I've searched throughout stack overflow and google and nothing like my issue has been discussed. The error has came out of nowhere with nothing really to prompt it.
I've tried "resetting" my development branch on Gitbash using the commands "checkout -- . ", where I should have reverted my project to it's workings state before this occurred. This did not effect my solution where the error keeps occurring.
What should I do?

Access violation error every time I make a change to source code in Embarcadero's C++ Builder XE8

I am working on debugging a very large program that takes a couple of minutes to build from scratch.
Whenever I make the slightest change to the source code and try to rerun the program, I get an access violation error immediately upon launch. The way I have been getting around this is by cleaning the project as to delete all of the objs and then re-creating all of them at which point the program runs fine.
However, I don't want to keep wasting a couple of minutes every time I make a little change to the program.
Is the compiler not creating the objs correctly for whatever reason or what exactly is going on here and is there a better solution?
I am using Embarcadero's C++ Builder XE8.
Thanks.

Visual studio 2015 severely misbehave if I change the language setting. Solutions?

I just stumbled across this really weird bug. My Visual Studio was set to the OS language (italian),I changed it to be english,restarted it, but now every time I run my code the compiler just run some code it had stored somewhere,even if I had deleted said code from my project. Every update to my main.cpp get completely ignored by the compiler and just runs the old code each time I ask to compile.
Not only that,if I attempt to create a new project,select c++ "win32 console project", hit the "New" button,instead of creating the new project it close the project creation window for half a second and then prompt me back into it again. I can hit New even 10 times and nothings changes,I get stuck into a loop that prompts me to the same project creation window again and again,without nothing being created.
On the other hand,if I change back the interface language to italian, all the problem are fixed and it works as supposed.
Any idea what's going on here and how do I fix it? I would like to run it english, of course.

EXC_BAD_ACCESS error when ViewController is pushed, but not when it's the app's initial VC

I have a VC that causes a bad access error about 10% of the time. It's mostly code I haven't written (in obj-c and c++), and imports code I haven't written--all of which I'm certain don't cause the error. When I strip out the code that I did add, the error still occurs. It's as if the same exact code in my project throws an error, but in the sample project this error never occurs. I made the VC the initial start screen and the error won't occur, but when it's pushed by a navigation controller, the error happens 10% or so of the time.
NSZombies don't help me at all, by the way. I'm totally at a loss for what to do.