I am trying to learn C. Following is a simple program with several compiler errors that I do not understand. Any help would be appreciated. The compiler errors follow. Then the code.
3...
Type: Posts; User: beebee
I am trying to learn C. Following is a simple program with several compiler errors that I do not understand. Any help would be appreciated. The compiler errors follow. Then the code.
3...
Thank you for your help. The program compiles! It doesn't run, but it compiles. 1/2 way there.
beebee
Sorry Grumpy. I am a real beginner...taking my first course in C. I modified the program (see below) and now have a compiler error "declaration of 'time x' shadows a parameter. This has me stumped...
// code to solve elapsed time between two entered times
#include <stdio.h>
struct time
{
int hr;
int min;
int sec;