Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
vf
#include <iostream> #include <string.h> int main() { //freopen("output.txt", "w", stdout); //freopen("input.txt","r",stdin); std::string s; long a,b,l; l=0; std::getline ( std::cin, s ); std::cin>> a>>b; l=b-a+1; s.erase(a-1,l); std::cout<<s; }
run
|
edit
|
history
|
help
0
Example of custom deleter to manage a resource.
template specialization inheritance problem
Fun with Pointers #1
Union-Struct-uint32_t byte order
MY FIRST OBJECT ORIENTED PROGRAM
Tree Traversal and Node
pack expansion
non-template template parameters for container stream insertion: SFINAE
Example Node Program
Test bitfields with unnamed union