Standard functions
Type: Posts; User: tiger6425
Standard functions
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...
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...
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...
I image of the results from the last post.
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
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....
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.
...
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...
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?
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?
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...
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...
I took the help from previous post and restructured the payroll program with reorganized functions now it works. Thank you everyone.
Good point jimblumberg and whiteflags, Thank you. I'll continue to modify it and reply when I have another struggle.
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...
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...
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. ...
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.