Code::Blocks Forums

User forums => Help => Topic started by: leoz on November 16, 2005, 11:30:56 am

Title: curly brackets
Post by: leoz 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
Title: Re: curly brackets
Post by: killerbot 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
Title: Re: curly brackets
Post by: kkez 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
Title: Re: curly brackets
Post by: takeshimiya on November 16, 2005, 02:15:22 pm
Note that it works with ALT+123, not with ALT-GR+123.
Title: Re: curly brackets
Post by: leoz 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
Title: Re: curly brackets
Post by: rickg22 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
Title: Re: curly brackets
Post by: Vampyre_Dark 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.