[ create a new paste ] login | about

Link: http://codepad.org/jBjAik3f    [ raw code | output | fork ]

C++, pasted on Jun 23:
1
2
3
4
5
6
7
8
9
10
11
#include <algorithm>
#include <iostream>
#include <string>

int main(){

	std::string line = "qwe rty !! asd";
	std::remove(line.begin(), line.end(), ' ');
	std::cout << line << std::endl;
	return 0;
}


Output:
1
qwerty!!asdasd


Create a new paste based on this one


Comments: