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)