Hi
I'm a beginner in c++ but i know the basics of C# and Java. I downloaded Visual C++ and tried to create a Hello World program. But I cant enter a closing bracket. The cursor is just still. I can enter the bracket in google, notepad, in a "new file" in visual c++ but not in any project i create???
What am I doing wrong?
I realize that the answer might be simple but I cant figure this one out...
I can even copy it (ctrl +v) that is a short-time solution but why cant i enter it?
Nothing wrong with the keyboard because I can enter it everywhere else. I'm thinking could iðve disabled some option or something?
Thanks for the help. But it didn't solve my problem. The weird thing is that the curly bracket works in Visual C# 2010. The only thing that could have happened is that I might have changed some setting accidentally but I reinstalled Visual c++ and it did not help....
I tried to switch keyboard layouts from Icelandic to English (US) but then I couldn't do anything with Ctrl +Alt + something. I make ccurly braces with Ctrl + Alt + (7 or 0).
Try one of the nine trigraphs that should be supported by the preprocessor. I'm not sure if they are standard or just supported by GNU...and this still probably won't be the real solution to your problem. They are:
Thanks for the help guys I really appreciate it. After 12 hours of irritation and reinstalling Visual C++ I found the problem. There is a standard shortcut in Visual C++ for CTRL+ALT+0 for View.View Code or something. That's why the right curly brace didn't print. I hope next time when someone has this trouble and googles it he finds this post and the solution.