Hey guys, i was coding in codeblocks and i was trying to compile my simple hello world program with the borland compiler. The thing is i can build the program but when i run it it comes up with "*projectname*.exe has stopped working". I Know i can use system pause or something but i just want to use cin.get! why cant i, heres my code! oh and i'm using the mingw codeblocks
yeah, there must be something wrong with your codeblock cause i just ran the code in mine and it worked. reinstall it or download the biggest version you can find in the web, the one that comes with everything, besides remember to use the default compiler when you are going to create the project, the one that says GNU.... i cant remember now.