Thread
:
Char assignment using Octal values
View Single Post
Aug 17th, 2005, 7:15 PM
#
7
Scorpions4ever
Programmer
Join Date: Jun 2005
Posts: 86
Rep Power:
4
Quote:
Originally Posted by
Ooble
I got that. What I want to know is how you insert characters represented as octal numbers into a string.
(
Toggle Plain Text
)
printf("This is the first letter of the alphabet: \101\n");
printf("This is the first letter of the alphabet: \101\n");
Works for me on gcc 3.3.3
Scorpions4ever
View Public Profile
Find More Posts by Scorpions4ever