C++ School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a C++ Expert!

Join 300,474 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,725 people online right now. Registration is fast and FREE... Join Now!




ASCII

 

ASCII

veggetoxl

27 Nov, 2008 - 12:21 PM
Post #1

New D.I.C Head
*

Joined: 12 Oct, 2008
Posts: 36

How do you go on printing ASCII characters that are related to a particular decimal integer between 1-117 in regular C form?

This post has been edited by veggetoxl: 27 Nov, 2008 - 01:02 PM

User is offlineProfile CardPM
+Quote Post


KYA

RE: ASCII

27 Nov, 2008 - 01:21 PM
Post #2

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 11,192



Thanked: 489 times
Dream Kudos: 2825
Expert In: C, C++, Java

My Contributions
cpp

# include<stdio.h>

int main()
{
for(int i = 0; i < 255; i++)
{
printf("%c ", (char)i);
}
char response;
scanf("%c", &response); //used to pause in dev cpp
return 0;
}



This post has been edited by KYA: 27 Nov, 2008 - 01:27 PM
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic

Time is now: 11/8/09 02:58AM

Live C++ Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month