Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/05/02 06:07
Read: times


 
#33815 - ASCII in C problems
1. I write following line in C51(Keil)
--> strcpy(Buff," "Hello" ") ;
--> strcpy(Buff," "Hello // " ") ;
(I need ( " ) and ( // ) characters to save in Buff )
it 's not work. I know ( // ) is comments prefix. but if I really need it to save in Buff . so how can I deal it?
2. another question is about ASCII control codes --> r = 0x0d , n = 0x0a ..
how about 0x00 thru 0x1f ? I want to find such a symbol as r and n .. from these value .
Thanks for helping


List of 4 messages in thread
TopicAuthorDate
ASCII in C problems            01/01/70 00:00      
RE: ASCII in C problems            01/01/70 00:00      
RE: ASCII in C problems            01/01/70 00:00      
RE: Trigraphs            01/01/70 00:00      

Back to Subject List