What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » C Programming Question

C Programming Question
Author: Message:
John Anderton
Elite Member
*****

Avatar

Posts: 3908
Reputation: 80
37 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: C Programming Question
quote:
Originally posted by Madman
To output a interger as the number value using printf you'd use.
What i meant is that i heard that there is a way to do that whole thing in one printf statement 8-)

Damn ..... why didnt i write it down :sad:

Neways ill try that nAscii idea of yours tho im not that hopeful .... if anyone knows about it then help me .....
I got an idea like if i tell the compiler that a variable ( m ) .....

code:
if (m >= 'A' || m >= 'Z')
printf("It is a capital letter");

Will that work 8-) I know i can use the conversion type functions calling "ctype.h" and the using functions like isalpha(a), isupper(a) and/or islower(a) ..... but thats a different approach cause the question says that i should use the ascii values :sad:

EDIT:
quote:
Originally posted by Madman
P.S Dont worry if im wrong i havnt been coding with c for very long either :P

I got that a long time back :P
;) thanks but keep trying .....

This post was edited on 10-03-2005 at 07:36 PM by John Anderton.
[

KarunAB.com
]

[img]http://gamercards.exophase.com/459422.png[
/img]
10-03-2005 07:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
C Programming Question - by John Anderton on 10-03-2005 at 06:48 PM
RE: C Programming Question - by Yousef on 10-03-2005 at 07:03 PM
RE: RE: C Programming Question - by Plik on 10-03-2005 at 07:06 PM
RE: C Programming Question - by John Anderton on 10-03-2005 at 07:18 PM
RE: C Programming Question - by Plik on 10-03-2005 at 07:25 PM
RE: C Programming Question - by John Anderton on 10-03-2005 at 07:33 PM
RE: RE: C Programming Question - by segosa on 10-04-2005 at 06:09 AM
RE: C Programming Question - by J-Thread on 10-03-2005 at 08:27 PM
RE: C Programming Question - by John Anderton on 10-04-2005 at 07:45 AM
RE: C Programming Question - by RaceProUK on 10-04-2005 at 10:46 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On