Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ inline if

#include <iostream>

int main()
{
	bool bDidLaundry = false;
	std::string sDidLaundry = bDidLaundry ? "1" : "0";

	std::cout << "b - " << bDidLaundry << " s - " << sDidLaundry << "
";
  
  	system("PAUSE");
  	return 0;
}
 
PREVIOUS NEXT
Tagged: #inline
ADD COMMENT
Topic
Name
3+5 =