Hello people, im back for more questions.
Recently I posted a question regarding structures(and you were all very helpful) but Now I have another problem:
I have a file with the following:
<usr>...
Type: Posts; User: RoRo
Hello people, im back for more questions.
Recently I posted a question regarding structures(and you were all very helpful) but Now I have another problem:
I have a file with the following:
<usr>...
oh and back to files.
what would the parameters be if I have a file.txt
<md>
<id_user>0001</id_user>
<name>John Fitzpatrick</name>
<pass>123abc</pass>
<status>Active</status>
</md>
#include<stdlib.h>
#include<string.h>
#define TSIZE 50
struct Medico
{
int Id_Doc[TSIZE];
char Nombre[TSIZE];
char Especialidad[TSIZE];
char Estado[TSIZE];
Pretty useful, so... For instance:
I want the structure to be asked in this way:
Terminal:"Hello new user, won't you please give me your name?"
User: "Jimi Hendrix"
Terminal:"Hello Jimi, Wont you...
Hey thanks for the warm welcome!
So yeah I was thinking about using structures; but Im not really that familiar with structures(the usage of pointers is still a little blurry :/)..as It seems...
Hello people, Im new to this forum, but just from reading posts I've learned a lot.
I've got a quick question:
So I want to create a file that goes like:
In a file called Users
<md>...