Ok here is the program that I was trying to run

#include <stdio.h>
#include <conio.h>

void main()
{
        char ch;

        printf("Press the ~ key to stop\n");

        for(;;)
        {
                ch=getche();
                if(ch=='~')
                {
                        break;
                }
        }
        printf("\nDone!\n");
}



Like I said I'm learning C
in fact I've been try to learn C for two year now
But all the books I've tried before sucked or taught nothing but
how to type in a program

when I was using macOS I tried about five different books for the Mac
and they all seem to want to teach how to type in their code for their
ideas and then they don't tell you what is what.

Then I tried Teach yourself C in 21 Days
ekk that was a terrible book but I learn what a function and a statement
are but that is about it

Now I have C for Dummies and I feel very comfortable with playing around
with the programs and I have even written a frame work in C of some of
the programs I wrote a long time ago for the Apple II.



Now for the Q's how do you know where a function might be and how a
certain Function works. I Just finished looking through curses and
ncurses and it looked like there are some graphix hacks that I NEED to
play with!!!!!!!! ;D


Thanks for all you help .

Reply via email to