Search:

Type: Posts; User: wendioo

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    3,137

    How to load array with text from a file?

    I am trying to load my array from text read from a file. My text file looks like this:
    a 50.00 2.00
    b 40.00 2.00
    c 40.00 2.00
    d 50.00 2.00
    e 40.00 2.00
    My function to read the data works...
  2. I used your previous advice and I've experimented...

    I used your previous advice and I've experimented a lot of things to fix my employeedata function alone but I keep getting errors. The thing is it worked when my friend used it in linux, but when I...
  3. Beginner that needs lots of help, Program that calculates employee data

    A warning, I am a super beginner and I am having great difficulty and frustration trying to write this program I need to do for school. Any help will be greatly appreciated.
    I need to write a...
  4. Replies
    4
    Views
    3,070

    Sorry, I am a complete beginner so I am not so...

    Sorry, I am a complete beginner so I am not so great at this yet. How do I give scanf the address then? I thought I was doing that by using *ch because it's a pointer, or is it, am I doing pointers...
  5. Replies
    4
    Views
    3,070

    making functions, need help

    I need to make a function that asks for user input and prints it. I need to display name, hours worked, and hourly rate. It is not working and I do not know what I am doing wrong. Can anyone help?
    I...
  6. Replies
    1
    Views
    13,044

    Finding average using struct

    I've written my code but my first scanf that asks for user input asks for two numbers and I only want it to ask for one. Can someone tell me what I've done wrong?
    Here is my code:
    #include...
  7. Replies
    1
    Views
    4,800

    Beginner that needs help.

    I have to write a program that calculates 5 employees' work hours and pay and prints it all in a list using a for loop. I also have to store user input into an array. And if -1 is entered by the user...
Results 1 to 7 of 7