View Single Post
Old Mar 4th, 2005, 9:09 PM   #9
BaroN NighT
Programmer
 
Join Date: Mar 2005
Location: USA
Posts: 60
Rep Power: 4 BaroN NighT is on a distinguished road
Quote:
Originally Posted by arod199113
i dont know that much about c++ cause im just learning also
but the first code you entered was correct except for #include<iostream>
its supposed to be
#include <iostream.h> with a space between #include and <iostream.h>
and a ".h" after <iostream
and dev c++ compiles both c and c++
C++ ignores spaces so there's no differences between #include<iostream> (without space) and #include <iostream> (with spaces)
BaroN NighT is offline   Reply With Quote