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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by thornley

  1. thornley

    for loop without statement

    First, a for loop can have a null statement, and it can be terminated with a semicolon, so that for (si = -1; si < 0; --si) ; is legal, and basically executes --si until it is no longer true that si < 0. It is good style here to make the fact that this is a loop with...
  2. thornley

    can i eval a string

    No, there is no &quot;eval&quot; in C, or anything similar. C is typically compiled to an efficient stand-alone executable, and in order to have an &quot;eval&quot; the compiler would have to be packaged with the executable. It is possible to write a sort of interpreter in C, and if you're...
  3. thornley

    Graphics in C

    There are cross-platform graphics environments, although they are not standard C. One popular one is Qt (see http://www.trolltech.com) (no endorsement implied here; I've never used it), and there are others. If you're planning to write a commercial application, write it so that it looks like...

Part and Inventory Search

Back
Top