Thread: Visual C++ 2005 Express.

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    80

    Visual C++ 2005 Express.

    I have encountered a stupid thing in my copy of VC++ 2k5 Express.
    Code:
    The } char does not work in the IDE and all other chars like @, { and ] works just fine.
    Does anyone know what to do about this?
    Sorry about the CODE tags, the forum didn't allow me to post those chars without it.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Any example?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Apr 2006
    Posts
    132
    hmmm never had that before. show the code.

  4. #4
    Registered User
    Join Date
    Sep 2004
    Posts
    80
    Code:
    int main()
    {
         return 0;
    // can't put the "}" here in the IDE
    This is the problem, the IDE refuese to accept that input. I can never end my code blocks because it does not accept that character.

    EDIT: By the way, I use swedish keyboard layout and to get that char I press ctrl + alt + 0. I don't know if this matters but now you know.
    Last edited by antex; 06-06-2006 at 01:48 AM.

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Hmm....

    You don't type the right curly brace with ctrl+alt+0. You use the "Alt Gr" key + whatever key the symbol is at. Usually the 0 key for non-english keyboards.

    I've checked the swedish keyboard on the net. Try "Alt Gr" + 0. The "Alt Gr" key is found immediately to the right of the space bar
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM