Author Topic: curly brackets  (Read 17131 times)

leoz

  • Guest
curly brackets
« on: November 16, 2005, 11:30:56 am »
Hi,
I use CodeBlocks on Win32 with and Italian keyboard.This kind of keyboard doesn't have the curly brackets keys.
With notepad or others editors I can write a curly bracket holding the ALT key and typing the ASCII code with a sequence of keys on the numeric pad but this trick doesn't work with CodeBlocks.
How can I write a curly bracket ({ }) on CodeBlocks without using the copy/paste method??
Thanks in advance

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5514
Re: curly brackets
« Reply #1 on: November 16, 2005, 12:00:36 pm »
on my machine : Win XP English , I can do :
alt + 123 ==> {
alt + 125 ==> }

In whatever program, and also in CB.

Lieven

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: curly brackets
« Reply #2 on: November 16, 2005, 01:55:12 pm »
Quote
I use CodeBlocks on Win32 with and Italian keyboard.This kind of keyboard doesn't have the curly brackets keys.

Are you sure? Try ALT gr + shift + the key with the square bracket, the one with "è" or "é" or the one with "+" or "*"

ps i have an italian keyboard too  :D

takeshimiya

  • Guest
Re: curly brackets
« Reply #3 on: November 16, 2005, 02:15:22 pm »
Note that it works with ALT+123, not with ALT-GR+123.

leoz

  • Guest
Re: curly brackets
« Reply #4 on: November 16, 2005, 02:40:37 pm »
Thank you all.
Now it works.I installed the latest version 1.0 rc 2 on another PC and it's OK whit ALT+123

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: curly brackets
« Reply #5 on: November 17, 2005, 06:09:24 am »
i have a spanish keyboard.

Try this:

1) Open notepad
2) Play with alt-gr and all the keys you can imagine. The curlies will appear sooner or later :P

Offline Vampyre_Dark

  • Regular
  • ***
  • Posts: 255
  • Hello!
    • Somewhere Over The Rainbow...
Re: curly brackets
« Reply #6 on: November 17, 2005, 07:44:52 am »
Isn't that what the program CHARACTER MAP is for? Just do a Start->Run charmap then find the characters you need, and their codes.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~