How do I write a C plus plus program to print the alphabet?

for (char c='a'; c<='z'; ++c) std::cout << c;

for (char c='A'; c<='Z'; ++c) std::cout << c;