Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. surrealandlost

    conditional statements output

    a=4,b=6,c=6,and d=8 the conditional statements are a) x = !( a < b ) a) x = !( 1 ) a) x = 0 b) x = b == c && d == b b) x = b == c && d == b b) x = b == 1 == b b) x = 0 == b b) x = 0 c) x = a < b || d < a c) x = 1 || 0 c) x = 1 d) x = c > a && b >a d) x = 1 && 1 d) x = 1...
  2. surrealandlost

    PHP in C++?

    Umm - Once installing PHP - do you know if there's a way to implement it's translator into your program? Like if I wanted to either create a PHP editor / tester thingy or a webserver.
  3. surrealandlost

    Functions as function parameter?

    Is it at all possible in a standard console program to pass a function as a parameter? Example: int test( int x, int y ) { return (x + y); } int foo( int z, function blah ) { return blah( z, 1 ) } int main() { cout << foo( 1, test ) << endl; // will print 2 return 0; }

Part and Inventory Search

Back
Top