Original Post
ok, I''m making a database for my programming class and I want to be able to check a variable using the ? method in c++ but I don''t know how to do it. Actually, I''m not even sure you''re aloud to. The syntex in c++ is:
I think I''ve seen it in a java program somewhere, but I''m not sure. ANy help would be appreciated.
arg1 = arg2 ? returnSomeThing: orSomeThingElse