CompuServe Thread

Problem with printf

1 messages in this thread
#7014From: Evan BrowneJul 14, 1993 11:02 PM
#include<stdio.h> solved the printf problem. It should have been there and I inadvertantly left it out. The eronious variable values were caused by the scanf line of code. I had: scanf ("%d/%d/%d", &today.month, &today.day, &today.year); It should have been: scanf ("%d%d%d", &today.month, &today.day, &today.year); Thanks for your help… – Evan