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
volatile thread-safe object
runtime template mode processor
base and derr con
Atul
IAR compiler bug test code
Cotton Farm 0.0.1.0
Bad palindrom
Stock buy/sell, maximum subarray problem
Geometric Series
P1