Move all C++ tests to cpp.

This commit is contained in:
2014-05-31 22:55:50 +04:00
parent 1c1c6fe543
commit 7cdff553c8
52 changed files with 0 additions and 0 deletions

17
cpp/shift_size.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include <iostream>
#include <iomanip>
int main ( )
{
std::cout << "shift amount: ";
int a;
std::cin >> a;
int b = 1;
int c = b << a;
std::cout << " 1 << " << a << " = " << std::hex << c << std::endl;
return 0;
}