+ 2

Hey guys, i started out this topic in devc++, and i used the variable int _a=3 but it showed 2 errors but not when used int a?

plz tell me the reason for that!

28th May 2018, 5:06 PM
Bunny
Bunny - avatar
6 Answers
+ 7
Please show your code.
28th May 2018, 6:13 PM
Hatsy Rei
Hatsy Rei - avatar
+ 4
Still need to see that code buddy, it's hard to tell without seeing the code ... How about reinstall the DevC++, maybe there's a problem with the installation.
28th May 2018, 5:57 PM
Ipang
+ 3
There shouldn't be a problem to use underscore in the beginning of variable names, tell the error message, and show the code, otherwise no one here will help you.
28th May 2018, 5:49 PM
Ipang
+ 3
If you want any help you could show the code, also describing exactly what the error message is, sometimes helps.
28th May 2018, 6:02 PM
ifl
ifl - avatar
+ 2
yes i will the next time
28th May 2018, 6:07 PM
Bunny
Bunny - avatar
+ 1
hey buddy now i got the answer but i want to tell u that this is problem occuring again n again; first i used _ it showed error i used _ a little later error gone!! so i was not lieing but this thing of different results on compilation is confusing!
28th May 2018, 5:54 PM
Bunny
Bunny - avatar