imported_vr6
Platinum Member
Hey guys...does anyone know any cool shortcuts or tricks in c++? One good example is the ? and the : work in conjunction to produce the same code as in if and else statements, all in one line. If anyone knows anything could you let me know about it and maybe have a code for the example? This is for my extra credit assignment in class. Thanks!!