I know this isn't exactly web development but I thought this was the best place for it.
I wrote a simple program:
#include <iostream>
#include <stdlib>
int main()
{
int i=0;
while (i<10)
{
cout<<"i="<<i<<"\n";
i++;
}
return (0);
}
and when I try to compile it with g++ it gives me errors that indicate that those header files aren't there. I've tried it with the .h on the ends also with the same results.
I wrote a simple program:
#include <iostream>
#include <stdlib>
int main()
{
int i=0;
while (i<10)
{
cout<<"i="<<i<<"\n";
i++;
}
return (0);
}
and when I try to compile it with g++ it gives me errors that indicate that those header files aren't there. I've tried it with the .h on the ends also with the same results.