hi,can someone please tell me how i can read in data,save data to a file and print it out to the screen using the "gets" statement.My code starts something like:
#include <stdio.h>;
#include <stdlib.h>;
struct {
char make[10];
char model[10];
double cost;
int yearMade;
}cars;
int main ()
{
FILE *myCars;
char cars[200];
myCars = fopen.........
.......................
THANKS :)