Hot to convert string in C language to ASCII then ASCII into binary, plz i need a C code?
-
hot to convert string in C language to ASCII that ASCII into binary
-
Answer:
To convert it into string. char output[1000]; int value = 5000; sprintf(output, "%d", value); printf("%s", output);// this will print 5000. output is "5000". To convert it into numbers. char *input = "5000"; int value; sscanf(input, "%d", & value); printf("%d", value); // this will print 5000. value is 5000.
EFZOMG75NAE74EAJ3UCM3WIUNA at Yahoo! Answers Visit the source
Related Q & A:
- Should I make a C&C cage for my guinea pigs?Best solution by Yahoo! Answers
- How can I add a HTML code to My Yahoo homepage?Best solution by Yahoo! Answers
- How do I use a genetic code table?Best solution by biology.about.com
- Where do I enter a promotional code on national express?Best solution by vouchercloud.com
- Can I get a LookBook code?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.