User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 391,662 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,850 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser:
Views: 6861 | Replies: 11
Reply
Join Date: Sep 2004
Posts: 11
Reputation: Anu is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
Anu Anu is offline Offline
Newbie Poster

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

  #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  
Join Date: Aug 2004
Posts: 138
Reputation: chound is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
chound chound is offline Offline
Junior Poster

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

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

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C Marketplace
Thread Tools Display Modes

Other Threads in the C Forum

All times are GMT -4. The time now is 1:47 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC