C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-27-2002, 10:15 PM   #1
Registered User
 
Join Date: Feb 2002
Posts: 4
Help.... Urgent... Thanks!

how to do celcius symbol in c???
the ° ascii code is 176 if i am not wrong....
but how come i can't display it in output?
It give me junk.

Code:
int test=97;

printf("%c", test);
this 2 line will return me an "a" output.
but when i substitude it with 176, how come it can't give me out the symbol that i want???
It shld be ° but it give me junk....
Urgent. Pls help. Thanks!
weihann is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent Help Needed In Writing Algorithm!! Vikramnb C++ Programming 1 01-09-2009 12:46 PM
beginner plzz help urgent sara101 C Programming 11 01-14-2007 10:38 PM
pls help me urgent.. intruder C Programming 4 01-13-2003 04:41 AM
Help Needed: Borland C++ 5.5 Installation - URGENT! Linette C++ Programming 12 03-09-2002 06:44 PM
help... urgent,... thanks! weihann C Programming 6 02-28-2002 10:17 PM


All times are GMT -6. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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