Thank you for your speedy reply. Yes, the "Hello" program is a C/C++
institution as almost every C/C++ programmer started with it. The book I have
begins with it. However, upon trying to compile it I get the message, "command
not found" from bash. rpm says, "cpp not installed, c++ not installed" so
therefore, I have to install the compiler and lib's before I can run "Hello."

Jake McHenry wrote:

> Those books are a good REFERENCE, there is no way that any human could
> learn "C" or "C++" in 21 days. You may learn a little, but you will forget
> it almost instantly! All you can do it sit down and mess with it. That is
> the best way to learn anything. Like I said, use this book as a reference,
> like this list.
>
> as far as installing the rpms, I'm not sure about this, but I think the
> compiler is installed by default, you have to choose to install the kernel
> development package, I think, to get the kernel info. Here is what I
> started out with in my computer networking class in college.
>
> -----------
>
> #include <stdio.h>
> #include <stdlib.h>
>
> voidmain( void )
> {
> printf("Hello world\n");
> }
>
> ___________
>
> Just copy that and paste it in a file called yourfilename.c and save it in
> the vi ( or like ) editor and then compile it by getting to a prompt, type
> cc yourfilename.c and it will start compiling it. Depending on your
> computer, the time may differ, but with small thing it will compile
> instantly. It will make a file called a.out, just type a.out and voila,
> your first "C" program. I haven't gotten into "C++" very much, I'm still
> learning advanced "C". Have fun programming.
>
> Jake
>
> On Thu, 4 May 2000, Jerry Human wrote:
>
> > Hello Ladies and Gentlemen of the Redhat List. I think I'm ready to
> > begin learning how to program in C/C++ (I have teach yourself in C++ 21
> > days by Jesse Liberty from Sams), which is one of the main reasons for
> > installing Linux. But, I have a small problem and everyone has been so
> > nice helping me with a few other problems, I thought I would ask again.
> >
> > When I installed RH 6.2 from CD I decided to not install the development
> > package to conserve space and to get a basic OS working first before
> > complicating things. Now I want to install it but can't find it on the
> > CD. Ok, I can ftp it, I have access to several good mirrors but I'm not
> > sure what I need. Could someone give me a complete list of rpm's for
> > programming and kernel compiling? Do those rpm's have to be installed in
> > a specific order?
> >
> > Thank you.
> >
> >
> > --
> > To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> > as the Subject.
> >
> >
>
> Jake McHenry
> [EMAIL PROTECTED]
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to