Search:

Type: Posts; User: hayai32

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    2,963

    righto then. Cheers for all the comments I...

    righto then.
    Cheers for all the comments I understand the junk variable thing alot better now.
  2. Replies
    20
    Views
    2,963

    Cheers for the comments. The second printout...

    Cheers for the comments.
    The second printout value is understood. no worries. But...

    With the first one the value printed out for n (or any other letter) is always constant (2) each time I run...
  3. Replies
    20
    Views
    2,963

    Cheers. If you guys got this type of Q in an...

    Cheers.

    If you guys got this type of Q in an exam what would you put down?
    Also would the junk variable value be different for different compilers?
  4. Replies
    20
    Views
    2,963

    printf returning values problem

    Hey all,
    Just looking through some notes and came accros this code asking what the printout is... I don't understand why n has different values for each.... Is the first value for n a junk value?...
  5. Replies
    2
    Views
    1,294

    Cheers for that... Not exactly what I'm looking...

    Cheers for that... Not exactly what I'm looking for but I wish I had known about that site before... gives pretty good explanations.

    I'm lookin for tutorial/exam type questions like the ones in...
  6. Replies
    2
    Views
    1,294

    Practice questions for associativity

    Does anyone here know where I can find some online questions related to associativity and other questions regarding the understanding of C programming with answers?

    Cheers in advance

    Colin.
  7. Replies
    4
    Views
    2,648

    Sorry i meant to delete that function hence why...

    Sorry i meant to delete that function hence why it has comment tags... I just removed the ;'s from the defines...

    I think I have it worked out now though... I just noticed that the if ()'s were...
  8. Replies
    4
    Views
    2,648

    "for" loop problems....

    When I try to compile the following code in borland it tells me that there is incorrect syntax with the for () loop and that the statement is missing. I don't understand why the syntax is wrong, i...
  9. Replies
    9
    Views
    2,196

    Sorry i don't really understand the code used...

    Sorry i don't really understand the code used above... i have a pretty limited knowledge...

    The code where the user inputs needs to be checked is as follows

    code:


    /*User input section......
  10. Replies
    9
    Views
    2,196

    cheers... How does that function work and waht...

    cheers... How does that function work and waht does it test for....

    I need a function that will check whether the user has inputted an integer number (i.e. not a character) and repeat the input if...
  11. Replies
    9
    Views
    2,196

    Checking user input?

    Hey all.

    What is the simplest way to check whether a user has inputted an integer and not a character?

    Thankyou in advance for any help!
    Colin.
  12. Replies
    2
    Views
    2,947

    inverse cosine function?

    hey all, i searched the forum for this query but came up with nothing...

    what is the source code for: inverse cosine ?

    Is there any bugs in the function i need to be aware of? i.e. any values...
  13. Replies
    4
    Views
    5,548

    all very fair calls... I was taking the slack...

    all very fair calls...

    I was taking the slack root...

    cheers for the link madcow257...
  14. Replies
    4
    Views
    5,548

    Cubic polynomial root solver program...

    Hey, i'm a newbie to the programming scene (1st year uni) and i need some help...

    I have an assignment that requires me to write a c program that solves the roots of a cubic polynomial of the form...
Results 1 to 14 of 14