you need to download and install the gcc rpm package from redhat. This is the standard GNU compiler used to compile software in linux. For some strange reason, RedHat and SUSE don't come with it on standard install.
**edit 04/24/06 08:46**
Sorry, looking back at this, I see it is your first post. Welcome to linux! Let me try to be a little bit more descriptive in my directions.
1) download lated gcc package (rpm's are redhats packaged software)
2) install gcc with:
rpm -Uvh gcc-4.1.0-9.i386.rpm
3) you may get an error saying you do not have the required dependencies. Here is an example
error: failed dependencies:
binutils >= 18.104.22.168.41 is needed by gcc-2.96-69
cpp = 2.96 is needed by gcc-2.96-69
glibc-devel is needed by gcc-2.96-69
Just find the appropriate rpm's (http://rpmfind.net/
) for the listed packages you are missing and install (see #2)
On a side note, redhat is pretty out dated. I see from your description that you are from Malaysia. I know RedHat has a large market presence over seas but you should look into some of the free distro's. A lot of them are much more powerful and better supported. I prefer slackware but for beginners, you might want to look at FedoraCore (Built from RedHat Project)
Hope this was a little more helpful. Let me know if you have any problems with the above.