Search:

Type: Posts; User: cda67

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    4,301

    Reading from Files, and printing to them

    Hello guys,

    I am having difficulty maintaining a file of student information, using C, and any advice/hints would be greatly appreciated :biggrin:.

    Problem background --> First off, I need to...
  2. Replies
    6
    Views
    2,919

    That else if structure really helped, and I...

    That else if structure really helped, and I changed my 'void main' to 'int main(void)'. I got the infinite loops when I inputed a character value, for instance 'ghdjj.' Integer error messages are...
  3. Replies
    6
    Views
    2,919

    Alright, I've tried to make my program simpler,...

    Alright, I've tried to make my program simpler, but still getting some infinite loops instead of error messages.
    #include <stdio.h>
    #include <math.h>


    void main()


    {
    char error_bell =...
  4. Replies
    6
    Views
    2,919

    Catching user errors

    Hi guys,

    I'm writing a program that calculates resistance values from the colour codes. My program works fine, but I am having trouble catching user errors.

    My program should print an error...
  5. Replies
    3
    Views
    3,704

    Thank you, Jim. Your suggestions led me to...

    Thank you, Jim.

    Your suggestions led me to victory!

    -cda67
  6. Replies
    3
    Views
    3,704

    Passing arrays to functions

    Hello guys,

    I'm looking for some advice on how to pass arrays to functions, rather than having the arrays declared in the function.

    Right now my program works fine, but I'm using one mass of...
  7. Replies
    2
    Views
    1,780

    Calling functions

    Hi everyone,

    I'm looking for some advice on how to go about my program (not looking for you to do my homework!).

    I have to write a program that gives a user two choices for a game or to exit.
    ...
  8. I've done some more work on it, thanks to the...

    I've done some more work on it, thanks to the advice. My only question is how to exit the program when the user chooses to? and here's what I have now:

    #include <stdio.h> /* Lab 1 program to...
  9. Program to determine area,perimeter of geometric shapes using coordinates

    Hello,

    I am only 2 weeks into programming so I am at a very basic level but I am very willing to learn and apply any help and advice.

    I have to write a program that determines the area and...
Results 1 to 9 of 9