Hi I want to print in the screen only the fields of some of the data that is in the structure, Doom3 like: the name for example,
or the field time in FIFA, or the field memory in word
How can i do this ?
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct proceso{
char name[20];
int memory;
int time;
int files;
};
struct proceso Doom3 ={"Doom3", 500, 4,5};
struct proceso Hades ={"Hades", 100, 2,1};
struct proceso Word ={"Word" , 50, 1,1};
struct proceso FIFA ={"FIFA" , 10, 3,1};
struct proceso Doom2 ={"Doom2", 400, 5,2};
printf("\n ??????????