i dont get it, if i had only char drink[5][10], could i get the output listed in order, like what i had now? in 1, 2,3....?
this is what i did earlier, but i dont know how to get the output into...
Type: Posts; User: skydancer
i dont get it, if i had only char drink[5][10], could i get the output listed in order, like what i had now? in 1, 2,3....?
this is what i did earlier, but i dont know how to get the output into...
#include <stdio.h>
#include <stdlib.h>
void initialize (void);
void menu (char drink1[5][10],char drink2[5][10],char drink3[5][10],char drink4[5][10],char drink5[5][10],float price1,float...
thanks, it works now.
thanks alot, i've been doin this all nite, and now its working.
but the output goes weird when it is set into another function
#include <stdio.h>
#include <string.h>
i still dont get it, after reading those links
i tried using fgets, and it wont work as well. furthermore, i havent thought to use fget, so it wouldnt be nice to be using on it when i'm doin my...
here's the example of the code
#include <stdio.h>
void initialize (void);
void menu (void);
int main (void)
thanks for the help, i understand the array part now
yeah, its a homework. but i'm practicing different things to try out new things.
how bout getting an input of a word, example "Nike" and get the...
lol, i just simply wrote there
lets say it goes like this
#include <stdio.h>
int initialize (void);
int menu (void);
how do i get an output of a function into another function?
for example:
#include <stdio.h>
int initialize (void);
int menu (void);
int main (void)