Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT.I don´t have A SINGLE QUOTE character on my keyboard

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Thank you in advance for any help!!!
I tried to write a program in text file and one of variables was of type char.The problem is,I can´t give a variable an initial value,cos I don´t have A SINGLE QUOTE CHARACTER on my keyboard.I tried all of combinations and all I got was ´ and `,but those two compiler wont except and the ALT+CTRL+Kode or ALT+KODE also won´t work.How do I get a single quote?Please help.
 
Hi,

Try using the "ALT-key method": press the (left) ALT-key and type the corresponding ascii-code for the character you want USING THE NUMBER KEYPAD and release the ALT-key again.

I just successfully inserted a straight single quote character into a Notepad document by ALT+039. This should work fine with any Windows+compatible software.

See for a list of ascii codes. (NOTE: you should use the DECIMAL code number, not octal or hexadecimal!)

Hope this helps!

DrMaggie
---------
"Those who don't know the mistakes of the past won't be able to enjoy it when they make them again in the future."
— Leonard McCoy, MD (in Diane Duane's Doctor's Orders)
 
Maybe you can try to install a new keyboard layout (such as US 101, or whichever is closest to yours), and allow the switch between layouts with Alt+Shift, or Ctrl+Shift, and switch to this new layout when you code.

Start->Settings->Control Panel->Keyboard ... (The rest depends on your version of Windows)

Vincent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top