Visual C++ 2005 Express.

This is a discussion on Visual C++ 2005 Express. within the C++ Programming forums, part of the General Programming Boards category; I have encountered a stupid thing in my copy of VC++ 2k5 Express. Code: The } char does not work ...

  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
    21,313
    Any example?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    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
    Portugal
    Posts
    7,404
    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
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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, 04: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, 09:43 AM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 07:13 PM
  5. Learning OpenGL
    By HQSneaker in forum C++ Programming
    Replies: 7
    Last Post: 08-06-2004, 08:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21