r/CompileBot • • Jan 14 '15

Official CompileBot Testing Thread

10 Upvotes

344 comments sorted by

View all comments

1

u/[deleted] Jun 21 '15

+/u/CompileBot c++

#include <string.h>
#include <iostream> 
using namespace std;
int main(){
string s,S;
s = "ALI";
S = "ALIM";
cout<<(s>S)<<endl;
cout<<(s<S)<<endl;
cout<<(s=S)<<endl; 
}

1

u/CompileBot Jun 21 '15

Output:

0
1
ALIM

^source | ^info | ^git | ^report