hi could someone help me .
Exist some function in c or c++ or visul c++ to do a conversion from ASCII character in decimal number???
please help me
thanks in advance
gimmy
0
Newbie Poster
Recommended Answers
Jump to PostThere is no function because there is no need for one. What you see is how you choose to interpret it.
#include <stdio.h> int main(void) { char ch = '*'; printf("ch = '%c'\n", ch); printf("ch = %d\n", ch); return 0; } /* my output ch = '*' …
All 3 Replies
Dave Sinkula
2,398
long time no c
Team Colleague
gimmy
0
Newbie Poster
Dave Sinkula
2,398
long time no c
Team Colleague
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.