This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C

I was hoping to find on-line manuals that I could print and read on the john. So far no luck. But what I really need is how to declare variables in C.

For example, I have a sample code that has the statement:

unsigned char

and

unsigned long

What do these mean and do they limit the declaration to integers. What do i declare if I want a floating point?

Also, someone told me I cant do floating point with a Keil Compiler because of licensing issues (I got my copy from Silicon Labs and have just registered it). I will eventually need to do trig functions. What do i have to get (buy) to complete my project?

Parents
  • "Yes, I do Fiber Optics. What do you do?"

    I'm just a menial who's done 8051 programming for the past umpteen-plus years.

    I don't like to give too much away about myself here because I'd almost certainly be classed as a code monkey :(

    I remember seeing one of your articles a while back. Nothing to do with my field, but it was easy to read and interesting.

Reply
  • "Yes, I do Fiber Optics. What do you do?"

    I'm just a menial who's done 8051 programming for the past umpteen-plus years.

    I don't like to give too much away about myself here because I'd almost certainly be classed as a code monkey :(

    I remember seeing one of your articles a while back. Nothing to do with my field, but it was easy to read and interesting.

Children
  • Well, how 'bout that. A fan.

    Thanks for your comments. I'll have to put those in my scrapbook.

    I'm at Renco Encoders now doing other strange stuff. Working on a real neat encoder solution. So simple I am surprised no one has thought of it. Well, maybe they have, I just cant uncover it.

    Maybe I'll have one last hurrah before exiting ;)