Ok, so this was a false alarm. I didn't have libstdc++-devel installed. I am not sure how I missed it. I apologize for the any undue stress this may have caused. I am a bit baffled as to why it did not get installed though? I selected all of the development tools. Ok, that's a problem for tomorrow. std::cout << "Good Night, World? std::endl;
<br><br><div><span class="gmail_quote">On 6/15/07, <b class="gmail_sendername">Aquil H. Abdullah</b> <<a href="mailto:aquil.abdullah@gmail.com">aquil.abdullah@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello All,<br> I have just installed Fedora Core 7 on an x86 system. It was the smoothest install of any Fedora Core that I have attempted. However, I am having a problem using the gnu compiler in particular with g++. I have written a simple hello world program:
<br><br>#include <iostream><br><br>int main(void)<br>{<br> std::cout <<"Hello, World!" << std::endl;<br> return 0;<br>}<br><br>and attempted to compile it using the command:<br><br>[aha@boombata
devel]$ g++ -o hello hello.cc <br>hello.cc:1:20: error: iostream: No such file or directory<br>hello.cc: In function 'int main()':<br>hello.cc:5: error: 'cout' is not a member of 'std'<br>hello.cc
:5: error: 'endl' is not a member of 'std'
<br><br>As you can see for some reason iostream.h is not being found, even though I have confirmed it's existence:<br><br>[aha@boombata backward]$ ls /usr/include/c++/4.1.2/backward/iostream.h <br>/usr/include/c++/4.1.2/backward/iostream.h
<br><br>Now I may be in the wrong place for such a question, but does anyone have any about how to fix this problem. I am embarrassed to call myself a developer :(<br><br>Regards<br clear="all"><span class="sg"><br>-- <br>
Aquil H. Abdullah
<br><a href="mailto:aquil.abdullah@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">aquil.abdullah@gmail.com</a>
</span></blockquote></div><br><br clear="all"><br>-- <br>Aquil H. Abdullah<br><a href="mailto:aquil.abdullah@gmail.com">aquil.abdullah@gmail.com</a>