[ create a new paste ] login | about

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

C++, pasted on May 14:
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
#include <string>

int main(){

	std::string s1("str_f"), s2("str_f");

	if(s1 == s2)
		std::cout << "Ok..\n";

	return 0;
}


Output:
1
Ok..


Create a new paste based on this one


Comments: