Recommendation 1: Switch from Dev-C++. It belongs in a mausoleum.
Recommendation 2: Try starting from an empty project rather than a console project. All sorts of weird stuff goes on with console projects. :)
why are you all making suggestions? i didn't ask for that.
1. You didn't ask for anything at all.
2. C++ is a language. There are a few IDEs available for C++ programming. The one you're using, which is called Dev-C++, is quite outdated. It hasn't been updated in 5 years, so listen to what people who know better are telling you.
3. Do you really expect to get free help from strangers by being arrogant?
@above:
I wasn't trying to be arrogant.I was just a little frustrated. It is on me for not being speacfic but i thought it was obvious.Iam so sorry for my attitude :(
Iam not really in the mood of caring for if Dev is updated i just wanted to know how to fix it.
But going over it i have the code right.And today i learned that software updates are really important.so my problem maybe due to lack of updates.
And i thank you for letting me know that. And again sorry.
Iam trying ummmm that visual studio and i don't know how to compile on it, and i get that required request is not allowed error.