#include <iostream.h>
#include <iostream>
voidint main() //main() should retirn int
{
int count = 0;
while (count<2) {
count <<"welcome to C++"; //If it was a pointer you would do a left shift here
// (essentually count = 0). But it's a string literal and incompatible type
// so it is a compile error
std::cout << "welcome to C++"; //Correct way
count++;
}
}