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
  • Seems to me C was invented to get the job done fast and not efficient.

    C was designed to be as close to the silicon as you can get without using assembly, actually. Hence, programs in C _can_ be very efficient.

    I just bought the development package thru Silicon Labs and Keil doesn't want to support it and I am having difficulty ascertaining what I must spend to lift it's 4K limits.

    Did you contact your local distributor of Keil products? He should be more than happy to provide you with a quote.

Reply
  • Seems to me C was invented to get the job done fast and not efficient.

    C was designed to be as close to the silicon as you can get without using assembly, actually. Hence, programs in C _can_ be very efficient.

    I just bought the development package thru Silicon Labs and Keil doesn't want to support it and I am having difficulty ascertaining what I must spend to lift it's 4K limits.

    Did you contact your local distributor of Keil products? He should be more than happy to provide you with a quote.

Children
No data