Plz..guys i want to know is there any function that can give ASCII value of character? and do i need to use any header file to use that function
sargarpramod
0
Newbie Poster
Recommended Answers
Jump to PostHere is sample code, which demonstrates on how to get a the ASCII code for the entered char.
#include <stdio.h> #define TRUE 1 void clear_buffer( void ) { int ch; while( ( ch = getchar() ) != '\n' && ch != EOF ); } int main() { …
Jump to Post>/* I dont think my main should return an Integer*/
It doesn't matter what you think. You still have to follow the rules. If you don't like it, go to C99 or C++ where 0 is returned automagically. And if you use C99, be sure to tell us so you …
Jump to PostHow many times are you prepared to run across the road blindfolded, just because you managed to get across the first time without being run over?
Being right is a matter of attitude to solving the problem, not what your current compiler will let you get away with. Of …
Jump to Post:) ok
Jump to PostTwo resurrections of a 3-year old thread with worthless posts are enough. Closed.
All 20 Replies
ssharish2005
62
Posting Whiz in Training
death_oclock
103
Posting Whiz
sargarpramod
0
Newbie Poster
jephthah
1,888
Posting Maven
Software guy
6
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
Software guy
6
Junior Poster
Dave Sinkula
2,398
long time no c
Team Colleague
Narue
5,707
Bad Cop
Team Colleague
Software guy
6
Junior Poster
jephthah
commented:
for general principles
-1
Narue
5,707
Bad Cop
Team Colleague
jephthah
commented:
that's gonna leave a mark.
+4
Software guy
6
Junior Poster
Salem
5,138
Posting Sage
Dave Sinkula
commented:
Me too.
+15
jephthah
commented:
i love analogies
+4
ssharish2005
commented:
Love advices, respect - ssharish
+2
Software guy
6
Junior Poster
Narue
5,707
Bad Cop
Team Colleague
Software guy
6
Junior Poster
ssharish2005
commented:
This is green because u agreed that where wrong. Listen to what people say first.
+2
punni
0
Newbie Poster
masha2505
0
Newbie Poster
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
tilakkumar
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.