It prints error
-
Here's something to pass the time. Found it on bash.org:
<moe_> Hello, can someone answer my question : how can I call a bool function from another function? I am trying if (!Class::function()) { cout << "error\n"; exit(-1); }
<moe_> but it is not working
<moe_> it prints error
-
Man, that's awesome. <3 bash.org
-
@<moe_> said:
if (!Class::function()) { cout << "it's working!\n"; exit(-1); }
Fixed!