I made this code
ill try to do what you just said
Type: Posts; User: enjoyincubus
I made this code
ill try to do what you just said
umm ok, so how do i do that?
thanks for all your reply
@Happy_reaper
i changed it now im using fgets
@jermy75
thanks for the correction
ive got it to work...
it was the parenthesis
im down to the last
void search (void)
can anyone check this?
im still having problem
void view (void)
{
FILE *fp;
i really got used to in writing the code in the paper because all of the exams in my school is written in paper and i try as much as i could to fit the whole program...so thats why.
@quazah
thanks for the quick faqs
hmm i see...about the search funtion you mean the fread right?
other than file reading hows my search function?, is it correct?
@vart and quazah
if not gets then what should i use?
for the spacebar the program is not finish yet...i make indentation after i finish making the whole program.
which part?
Hi guys,
its me again i got problem on my file function.
A function new() that appends a new contact information into the file.
The function asks for a name, telephone no., and a cell phone...
ok thans...gonna check this out....
thanks for the corrections...
really thanks
aaww..i didnt thought of this before...i guess i need more practice
btw will my answer still works?...
thanks for corrections
EDIT: OT, a manchester united fan?...hehe im going for chelsea...
hmmm i see so it was only for division by 2...i didnt know that...thanks for the correction
but how about my third function...is it correct?
thanks guys...i understand now
but need to check if my last code is correct..pls read first
1.function int isPrime(int n ) that returns 1 if n is a prime and 0 otherwise.
done this already...
a recursive function int fibo(int n) that returns the nth fibonacci number.
i dont really quite get this..so here goes
int fibo (int n)
{
I would like to know from you guys if this book is good, its what our teacher uses as her preference and she wants us to use it as well.
Data Structure and Algo in C
by Weiss, Mark Allen
thanks for looking it up
i dont quite get it,
i want to store the givin input by the user in the first index of the array?...how do i do that?
im also having trouble accessing structures in array but my question is much simpler than mathewmc
example:
typedef struct
{
char FN[30]; /* First Name */
char LN[30]; /* Last Name */
i would like that but some of the homework posted here are very much advance for the like of me, im looking something simple, then work slowly towards advance C problem
that would really help
thanks a lot!
EDIT: do you have something simple? our lesson starts at Structures
something that have simple to advance problems
any site where they have certain C problem and solve them yourself?
both simple and advance C problem.
because i really need to practice solving C problems
every time i encounter problems...