objective c - How to prompt and wait for next command in order to continue -
I have created a command line tool that parses JSD from reddit front page. After being able to successfully submit the Submission titles list; I would like to be able to indicate the numerical selection and wait to go deeper in the post.
BTW, I am new to language and I am making it for fun. I really do not know how to ask this question properly because I have not ever developed for a compiler.
what about plain matte 'C:
int selection; Taxes {FCEC (STDIN, 0, SEEK_END); Printf ("Select and ID:"); } While (Scan ("% i", and Selection) == 0);
Sorry you have no way to check with me. However, you can read man page from your conscience for scanf
(and fseek
, now I added it - sorry for non-functional snippets already!) . If you want a little exercise, try to figure out why it is necessary to call fseek
.
Although #include & lt; Stdio.h & gt;
.
Comments
Post a Comment