1.Write a c++ program which counts and displays the number of
characters and blank spaces in its own source code.
No.
yes, he should do it.
No, we won't do it.
No, it's not urgent at all (at least for us, if it's for him he'd best hurry).
No, it's got nothing to do with game development whatsoever.
#include <iostream>
using namespace std;
int main()
{
cout << "\104\157\40\171\157\165\162\40\157\167\156\40\150\157\155\145\167\157\162\153\41" << endl;
return 0;
}
\104\157\40\171\157\165\162\40\157\167\156\40\150\157\155\145\167\157\162\153\41 is a special bitmask that will count alphanumerical characters and spaces and print them out. You're welcome
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.