Prog to list ASCII codes (beginners' stuff)

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2004
Posts: 11
Reputation: Anu is an unknown quantity at this point 
Solved Threads: 0
Anu Anu is offline Offline
Newbie Poster

Re: Prog to list ASCII codes (beginners' stuff)

 
0
  #11
Sep 25th, 2004
Just wanted to say, I just skipped all non-printables using an int array and it works just as it's supposed to.

Might be getting annoying by the time, saying it in every post, but thanks again. Nice board you got here, I -as a very beginner- learned a lot of useful stuff by just reading some threads. -which also saved you e.g. another "void main <--> int main ?" thread- :mrgreen:
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 140
Reputation: chound is an unknown quantity at this point 
Solved Threads: 1
chound chound is offline Offline
Junior Poster

Re: Prog to list ASCII codes (beginners' stuff)

 
0
  #12
Sep 25th, 2004
You could use stdio.h and
for(int i=0;i<253;i++)
{
printf("%c", i);
}
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC