thanks.. i'll take note of it !!!
big help my friend !!!
Type: Posts; User: imbecile in C
thanks.. i'll take note of it !!!
big help my friend !!!
now i realized something....
-this code does really work, if i define:
if((fp=fopen("phone.txt", "a")) == NULL) {
printf("cannot open directory file\n");
exit(1);
hey come on...
i m jst askin' for comments about this thing...
i try to store the name and number: ryan 45 678 67
but when i lookup, its not there on the file..
i jst need some help...
hey !! sorry if i annoyed anyone with my remarks....
i didn't mean to.... my apologies !!!
thanks for making me realize that i need help to help myself !
anyway,.. im not really that...
i wish to ask any programmer for help, regarding a case study iam compelled to solve...
it all has to do with creating a telephone directory, where you can store unlimited number of people with...
Oi Speedy 5 !!!
yeah ! its crude, simple.. but it works...
your use of functions (or whatever you call it), mezmerizes me to the point that i have to browse my book over and over again..
...
sorry, but i couldn't follow....
im trying and analyzing using:
if (isalnum(ch))
{
printf('*');
}
ok, here's my code.. Its really stupid..
coz everytime i type some "stuff"... i could see the "stuff" on the screen.. and when i hit enter, that's when i see the asterisks="****"
it should...
i have a curious question....
Something occurred to me while on an ATM,..
I wish to write a program asking a password...but i was bogged a little with this problem...
1. A user types...
Im copying your comments dudes.... Im learning more on those "indentations for readability" ...(imbecile me)...
now i have to *really* listen..
int *limit[N] ---> wrong
int limit[N] ----->...
/*sebastiani*/
The modulus (%) obtains the remainder of a division....
Thus, that code insures that an in-bounds index is generated.
-------------
oh yes,.. of course, of course....
...
Here's the revised code again:
#include <stdio.h>
#define N 12
int main(void)
{
char m[80], *months[N] = {"january", "february", "march", "april", "may",
Hey Dudes !!
Oi ! /*Salem*/ !!
I don't know what you call it... but I woke up this evening, and got the idea for the problem... i got it on paper then typed it on my P.C. - and Yeah it...
sorry, got a correction.. int 21 and limit
char *zodiac[N] = { "CAPRICORN", "AQUARIUS", "PISCES", "ARIES", "TAURUS", "GEMINI", "CANCER", "LEO", "VIRGO", "LIBRA", "SCORPIO", "SAGITTARIUS"};
...
Sorry, but I dont get it....
should I use the switch again...?
but i do understand that i have to declare:
char *zodiac[N] = { "CAPRICORN", "AQUARIUS", "PISCES", "ARIES", "TAURUS",...
Yeah,.. i got the symantec worm fix tool,..
It removed the thing off my system 3 days ago,... but now its here again..
im currently running the tool.. it works anyway,..
Don't know if I have to bring this out.... (anyway,..)
Everytime I visit this site (cprogramming.com) I got the dreaded "BLAST" in my system activated...
in other words, Im interrupted by...
Oi !!
Thats real help dude !!
I had copied your codes on my Very Creative !! Thanks !!!
=======
Now.. may i ask something again...??
I have a source code below,... and notice that I...
How could I simplify this more...
[note: fgets(s, 80, stdin) doesn't work for me... (sorry) it doesnt compile !!]
it doesn't matter if the user types the month and date:
June 6789 (no...
char *continent ={"Australia", "Asia", "Africa", "Europe", "NAmerica", "SAmerica"};
Ok.. How do you declare the continent right ??
God ! your concepts are to advanced for me to follow...
...
Oi !
You deduced my problem to the point of REAL simplicity !!
Yeah !! Thanks !!
I got edited it all to using: fgets(s, 80,stdin),... the int main(),..
and return 0; (as you...
back then (while fixing this code) I got the idea of using switches..
but Im having a TOTAL mess with using strings as "variables" and case "constants"...
how should i write:
...
(to the board editors: sorry for my previous thread !!)
We're asked to write an astrology program,
1. the user types his/her birthday..
2. the program responds with the user's zodiac sign......
Thanks for your comments on our ancient standard compiler...
Well, I can't do anything about it... Its our "class" standard,
Our instructor always comments on the fact that most of us have no...
/* to avoid confusion between a computer mouse and the little furry rodent */
Really ?,.. Well, I stand corrected, Sir..
Thanks for that "term" !!