Search:

Type: Posts; User: Chalmers86

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,005

    In your Int main you need to write getch(); i...

    In your Int main you need to write getch(); i started programing a couple of months back and had the same probelm lol!



    int main()
    {
    setup();
    menu();
    getch();
    return 1;
  2. Replies
    1
    Views
    2,024

    file handling

    Our lecturer gave us a program to look over in the holidays. Unfortunately I think he has forgotten we haven’t done any file handling in C yet. I’ve had a look around on some other websites to see if...
  3. Replies
    3
    Views
    1,923

    I’ve done a little on while loops but I’m not...

    I’ve done a little on while loops but I’m not that experienced in C programming as a whole. This is my first year at college.

    I understand what you have wrote there.

    I’ve been taught for the...
  4. Replies
    3
    Views
    1,923

    sorry didn't mean to create two. If possible...

    sorry didn't mean to create two. If possible could the admin delete this sorry to make a mess.
  5. Replies
    4
    Views
    1,787

    For Loop Disaster

    Currently trying how to use the For loop but I’m not having much luck. Just trying to print a name ten times but I reckon I’m doing something wrong? Your help would be much appreciate as i am getting...
  6. Replies
    3
    Views
    1,923

    For Loop Disaster

    Currently trying how to use the For loop but I’m not having much luck. Just trying to print a name ten times but I reckon I’m doing something wrong? Your help would be much appreciate as i am getting...
  7. Replies
    4
    Views
    1,246

    Simple as that ... I find sometimes thats all...

    Simple as that ...

    I find sometimes thats all you need someone else to spot the silly mistakes. Thanks man :D
  8. Replies
    4
    Views
    1,246

    If Statements? What’s wrong with it?

    I’ve done an if statement before in a previous program but it was numbers …



    void process()
    {
    total=float(miles_after - miles_before)*0.42f;
    if (total>=1000);
    {
    ...
  9. Replies
    9
    Views
    1,348

    Thanks!

    Thanks again guys! That's absolutely brilliant, I feel I am actually really learning stuff as well because you guys are just giving me pointers instead of writing the whole code for me :D
  10. Replies
    9
    Views
    1,348

    So this instead? printf("\nPlease enter...

    So this instead?




    printf("\nPlease enter your christian name.");
    scanf("c",&name);
  11. Replies
    9
    Views
    1,348

    Stuck once again

    Like I said yesterday I’m pretty new to C. I’m currently trying to write a program which involves the user entering some characters. I think for the char function you have to set an array? Because it...
  12. Replies
    9
    Views
    1,348

    Thanks MK27! I think I understand what you mean …...

    Thanks MK27! I think I understand what you mean … I know it as BODMAS (Brackets. Of. Divide. Multiply .Add .Subtract) I completely forgot about the whole concept. Currently doing a HNC at college and...
  13. Replies
    9
    Views
    1,348

    Please Help!

    Trouble with program

    I’m new to C and seem to be having some problem with my subtracting in “void process” can someone please give me some help?

    The problem I have been given to solve is –
    ...
Results 1 to 13 of 13