Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > C programming

Thread Tools

C programming
Posts: n/a
how to convert integer to char in C

Reply With Quote
Joe Wright
Posts: n/a
      10-07-2007 Removed) wrote:
> how to convert integer to char in C

A char is an integer. So are int, short and long, etc. Converting values
of one type to another is done by cast and/or assignment following
normal conversion rules. Read your C book. K%R2 is recommended.

Joe Wright
"Everything should be made as simple as possible, but not simpler."
--- Albert Einstein ---
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C (functional programming) VS C++ (object oriented programming) Joe Mayo C Programming 168 10-22-2007 01:00 AM
Can Your Programming Language Do This? Joel on functional programming and briefly on anonymous functions! Casey Hawthorne Python 4 08-04-2006 05:23 AM
Wireless PEAP/MSCHAPV2 client programming question Jim Howard Wireless Networking 6 07-02-2005 11:53 AM
systems programming versus application programming Matt Java 35 07-22-2004 08:10 AM
XSLT programming cameron Firefox 0 01-04-2004 10:51 PM