How to print ascii values from 0 to 255 in C++ ? i have seen many programs regarding this but didnt understand them ...so plz give expalnation also.
shweta2008
0
Newbie Poster
Recommended Answers
Jump to PostThis is the C forum so this is how you could do it in C
#include <stdio.h> #include <stdlib.h> int main() { int i; for( i = 0; i < 256; i++ ) printf("%c",i); return 0; }
For C++ you could do this
#include …
All 3 Replies
sfuo
111
Practically a Master Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
shweta2008
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.