Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
1
#include <iostream> #include <iomanip> using namespace std; int main() { int a = 0; for (int i = 0; i < 10; i++) { cout << i; for (int j = 0; j < 10; j++) { a = j + i * 10; if (a <= 10 ) { cout << setw(8) << a; } else { cout << setw(8) << a * a; } } cout << endl; } cout << "\n\n"; return 0; }
run
|
edit
|
history
|
help
0
regex select, find
Template function declaration to avoid usage of template in T::template f<int>()
VS struct name enumerate
Strings
xyz1_1 programm
du
PreprocessorVsNamespace
Use std::is_base_of to subset STL container contents.
seh exception
defined(FOO)