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
StackTel
HelloWorldExample
ledproject
Binary tree balanced or not
2222aaaa
XD
Palindrome
c++
12hours Clock c++
grid