Fahad <> wrote:
> I am a newcommer in c world,
> I am making a tiny program on Mathematics.
> I have one problem if somebody enter his name, "i am able to make the
> first letter uppercase but my problem how can i make the 1st letter
> after space to be uppercase" plz help me.
Iterate over the array of chars until you find a space, take the
next char and covert it to uppercase. If you would show us some
code you already have we might be able to give you some more
helpful answer.
> Then "how can i get the value of Sin30 degree".
Use the sin() function and call it with an argument of 30 degree
after you converted that to radians (or simply use 0.5, that
saves a bit of CPU time
> And how can I draw a Triangle or a rectangle shape.
There are no functions in standard C for drawing. You will need
to use some extensions supplied for the system you are using).
You will have to ask that in a group that is dedicated to dis-
cussions about programming for your system.
Regards, Jens
--
\ Jens Thoms Toerring ___
\__________________________
http://www.toerring.de