Search:

Type: Posts; User: tzuch

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,797

    Function syntax to return a pointer...

    Hey all. I'm about halfway through a book called "Teach Yourself C in 21 Days." Great book, but I can't find out how to return a pointer from a function. Can anyone give me the syntax, or an...
  2. Replies
    2
    Views
    1,899

    thank you very much vart. I should have done...

    thank you very much vart. I should have done that but I'm fairly new at this.

    tzuch
  3. Replies
    26
    Views
    3,241

    You need to initialize the array...

    Someone already posted an easier example of this, but when you declare an array you are simply reserving memory. Anything can be in that memory. You need to initialize each of the elements in that...
  4. Replies
    2
    Views
    1,899

    Can anybody show me why this works??

    I found this recursive function code in a C book. I do not understand why it works. It seems to me that there is no variable in the function the keep up with the results, yet it works perfectly! ...
  5. Replies
    4
    Views
    1,200

    Thanks Guys!!

    Simple typos. I did a replace from int to float and the ampersand was incorrect.

    Guess I'll get new glasses!

    Thanks all.

    tzuch
  6. Replies
    4
    Views
    1,200

    Anyone see why this doesn't work?

    I'm new to C programming, but not to programming. Can anyone see why this code isn't working? It seems to be the simplest program in the world, but it always returns a product of 0.00000. If...
Results 1 to 6 of 6