Search:

Type: Posts; User: Alex Saunders

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    1,216

    Never mind, I maybe misunderstood how if...

    Never mind, I maybe misunderstood how if statements work. This is now working. Thank you very much.
  2. Replies
    13
    Views
    1,216

    //A program that calculates the reduced mass of...

    //A program that calculates the reduced mass of diatomic molecules.
    //The following libraries will be used.
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>

    Manual_Input()
    {

    }
  3. Replies
    13
    Views
    1,216

    Well this is the thing, because I have a...

    Well this is the thing, because I have a chemistry teacher and not a programming teacher who taught us, we didn't go into that depth of detail. I assumed before you assigned the value, it still...
  4. Replies
    13
    Views
    1,216

    Ermm it wouldn't have a value?

    Ermm it wouldn't have a value?
  5. Replies
    13
    Views
    1,216

    But if it wasn't 1 it doesn't necessarily mean...

    But if it wasn't 1 it doesn't necessarily mean False || True || True, because someone could have put in the wrong number like 4. No? Then they would all be false.
  6. Replies
    13
    Views
    1,216

    Well that code was providing the loop, it seemed...

    Well that code was providing the loop, it seemed to be working because it kept looping back.
  7. Replies
    13
    Views
    1,216

    If command problems.

    I feel so bad making another topic so soon after the other one. I was just wondering if there was something wrong with my if statements here. When I choose an option other than option 1,2, or 3 it...
  8. Replies
    14
    Views
    1,508

    Thankyou very much for the help everyone. Problem...

    Thankyou very much for the help everyone. Problem is now solved.
  9. Replies
    14
    Views
    1,508

    For some reason our teacher was using a C++...

    For some reason our teacher was using a C++ compiler, but teaching us C commands from stdio.h.
    The teacher didn't mind if we used C++ or C as long as it ran in the compiler, and I think I used some...
  10. Replies
    14
    Views
    1,508

    We haven't been given any no.

    We haven't been given any no.
  11. Replies
    14
    Views
    1,508

    This is what I've got so far, after having a mess...

    This is what I've got so far, after having a mess around with it. No loop as of yet, but I will try to implement that later. I'm now having the problem that the string doesn't seem to print after...
  12. Replies
    14
    Views
    1,508

    Never mind, I've figured that out. Thanks

    Never mind, I've figured that out.
    Thanks
  13. Replies
    14
    Views
    1,508

    Hi, I'm going to sounds really stupid but I've...

    Hi, I'm going to sounds really stupid but I've just had a read of the C File I/O tutorial on here, and I'm still not really understanding. What is the difference between the filename and the data...
  14. Replies
    14
    Views
    1,508

    Thankyou very much both of you for the replies,...

    Thankyou very much both of you for the replies, I'll have a read through the linked tutorial and how parsing works. Sorry to ask such a simple question, but I'd literally spent a whole day on it and...
  15. Replies
    14
    Views
    1,508

    I/O from .txt files.

    Hi, I was wondering if it would be possible to get some help. I'm making a program for my chemistry course that requires a number of values to be read from a text file, a calculation done with those...
Results 1 to 15 of 15