thanks
Type: Posts; User: toxicherry
thanks
i am writing a program to count number of paragraphs
and it can successfully run
#include <stdio.h>
int main(int argc, char *argv[]) {
int para = 0;
char ch;
FILE *fp =...
thanks for help!
i know how to do :)
yes, i can really prevent the characters with your code
however if i type 7 (which is out of 1-6), it shows please enter again,
then no matter what i input, the exe. window close itself
it there...
oh is it like this?
i typed 1,it really ouput u choose 1
however, i found that if i type in a character
it output " u choose 2"
why?
int options;
printf("\n\n\nOptions:");
...
i can do the first one u suggested
char options;
printf("\n\n\nOptions:");
scanf("%c",&options);
yes, it can run successfully.
but i have no idea on your latter suggestion...
i am writing a menu by using switch
however it is not successful :(
i typed the option 1; but it seems it could not recognize and output [Please enter again]. Then i can't input anything, the...
i tried yours by using Dev-C++
however, it just disappear in a minute.
what happen?
I am working on counting the no. of words from a input file.
i think the code is alright, however when i click on run,,,
it shows the below photo,,,
what should i do?
my code:
#include...
thanks for your suggestion
then what compiler do u want to suggest to me?
i dunno which one should i choose...
oh thanks
i will try my best to improve my program
gonna ask u when i have further problems :)
I am using Miracle C.
I don't know why i can execute nth but blank only at my home computer.
I have already placed my files under Miracle C .
However, I still cannot run the program with...
I am using Miracle C.
I would like to write a program on check spelling...
I decide to have a word bank and use strcmp... [will it be alright?]
however, i have a question:
for example, i have...