How can I make that the do-while keeps repeating while the user hasnt entered anything?? I mean, if when asked to enter your name you just press ENTER then the do-while repeats... I have this code but it doesnt work!!
Can you help me?
Code:void pidenombre(void) { do{ printf("Your name?"); gets(nombre); }while(nombre=="\0"); }