GCC and G++ installation

I am a first time linux user and would like to have gcc and g++ installed on my opensuse 11.1

I cannot find it in my yast’s software repositories and do not want it to compile it from source as it might lead to dependancies issues. I installed cpp-4.3,binutils and glibc-dev but still I dont have access to iostream header file what shud I do

su terminal

zypper in gcc gcc-c++

If that doesn’t work, post result of

zypper lr -d

When I search for gcc in YaST > Software > Software Management I definitly see it. When you do not, it seems that you do not even have the OS repo or the DVD.

It seems that I am having the same problem as this chap. So I downloaded openSuSE 12.1, and added the ISO to the software repository. Then I issued the command below,
and you can see the output. It eventually asks me for a disk that I do not have.
inux:~ # zypper in gcc gcc-c++
Loading repository data…
Reading installed packages…
Resolving package dependencies…

The following NEW packages are going to be installed:
gcc gcc43 gcc43-c++ gcc-c++ glibc-devel libstdc++43-devel

6 new packages to install.
Overall download size: 12.3 MiB. After the operation, additional 64.5 MiB will
be used.
Continue? [y/n/?] (y): y
Retrieving package glibc-devel-2.11.1-0.17.4.x86_64 (1/6), 4.7 MiB (30.6 MiB unpacked)
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: Mounting media failed (mount: no medium found on /dev/sr0)

You need to go to Yast > Software Repositories >
and disable the entry for the install DVD /dev/sr0
OR
Put the install DVD in when managing software