Search:

Type: Posts; User: tiger6425

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    10,958

    Character count program

    Standard functions
  2. Replies
    3
    Views
    10,958

    Character count program

    I have the character count program that works like it should, but I can't figure out code to count the number of non-alphanumeric characters. Non alphanumeric characters are !@#$%^&*() basically...
  3. Replies
    7
    Views
    2,518

    perfect number from a few quotes ago

    I see the red in int perfect() a few quotes ago that a was never initialized which I
    don't understand what it means by not being initialized by int a; which
    is declared in int perfect(), can you...
  4. Replies
    7
    Views
    2,518

    Perfect Number program

    In the Perfect Number Program, when I run the program I enter a number such for example 6 which is a perfect number after I put in the number it says its not a perfect number if I entered a different...
  5. Replies
    4
    Views
    8,147

    Date valid test image of command prompt

    I image of the results from the last post.
  6. Replies
    4
    Views
    8,147

    Ok, I changed the printf statement ...

    Ok, I changed the printf statement




    printf("Enter the date in the format MM DD YY: ");



    where in between the three date types in the command prompt I put in a space
  7. Replies
    4
    Views
    8,147

    date valid program

    I have a question with my date valid program, when I put in the date in the format MMDDYY it is supposed to check the MM (month), the DD (day), and the year (year). When I put in the date (ex....
  8. Replies
    1
    Views
    4,289

    Payroll Pointers program

    On the payroll pointers program, I am struggling with a few things on the program.

    The data from the terminal uses malloc, for an employee node. Dynamic Memory Allocation is used in the program.
    ...
  9. I looked back in the book and it said I had to...

    I looked back in the book and it said I had to define the measurements in a attached file which I attached and had nothing in the file. In the metric.h file below I put in:




    #define...
  10. The Preprocessor; Using the #include statement

    I added the metric.h in the source files like in the image. The program still doesn't work, what should I correct to make the program work?
  11. I don't know if I do, how do you know if its in...

    I don't know if I do, how do you know if its in the directory, its probably not in there, how do you insert metric.h in the same directory?
  12. The Preprocessor; Using the #include statement

    I am doin the 13.3 program in Programming in C by Stephen G. Kochran. I put out the program like it supposed to.




    /* Program to illustrate the use of the #include statement
    Note: This...
  13. Replies
    3
    Views
    13,847

    payroll program using structures

    I have a question, on the payroll program which now incorporates structures. I am taking the variables and putting them into structures. I am trying to fix this program it comes as command prompt...
  14. Replies
    11
    Views
    8,969

    payroll program, functions, arrays

    I took the help from previous post and restructured the payroll program with reorganized functions now it works. Thank you everyone.
  15. Replies
    11
    Views
    8,969

    re: payroll program

    Good point jimblumberg and whiteflags, Thank you. I'll continue to modify it and reply when I have another struggle.
  16. Replies
    11
    Views
    8,969

    payroll program, functions, arrays

    I have cleaned some of the errors, now I get this error C2120 'void' illegal with all types. Which I don't know how to fix it. When you think you know you have figured out the problem and think the...
  17. Replies
    11
    Views
    8,969

    reply

    I would need some more example code to guide me in the right direction, the description is good but I would need some more example code to help me better to figure this out. I have been struggling...
  18. Replies
    11
    Views
    8,969

    payroll program, functions, arrays

    I declaired ot a functions and reduced the errors to nine. I have a attached image to show what the errors are. Other than that for now I am trying to figure out a way to make this program work. ...
  19. Replies
    11
    Views
    8,969

    Payroll program using Arrays and functions

    I am having trouble with a payroll program working with arrays and functions. What do you see in the program that would have to be changed to get it to work? File is attached.
Results 1 to 19 of 19