Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
string probe
//Title of this code #include <iostream> #include <string> using namespace std; template<class T, class T2 = char> T my_cast(T2 t) { return (T)t; } int main() { string s1; s1 = "hello"; s1 = s1 + s1; s1[0] = toupper(s1[1]) >> 1; cout << "Hello, world!\n" << my_cast<int>(s1[0]) << endl; }
run
|
edit
|
history
|
help
0
123
BinTree playground
Split in C++ (Simple)
Metodos mejorado
sort
std::string(pid_t)
Finding Ocean
LRUCache
Do While Meteoro Agustin
Stream7