Thread: is this C++ code sample?

  1. #16
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by mrafcho001
    the ++ is only used with variables. and it increments their values by one.

    ++ is really += 1
    += doesn't really mean much to people that don't know programming either.

    Code:
    var++;  // or
    ++var;  // or
    var += 1;  // is like saying
    var = var + 1;
    Sent from my iPadŽ

  2. #17
    Registered User
    Join Date
    Feb 2006
    Posts
    22
    how come 19 * sizeof(31) ..is not workin on my code?

  3. #18
    Registered User
    Join Date
    Feb 2006
    Posts
    22
    is it 589?

  4. #19
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    No offense to the OP, but I request this thread be closed on the grounds of it's lack of real topic or point.
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Pre-Interviewer asking sample code
    By jayee_spicyguy in forum C Programming
    Replies: 3
    Last Post: 02-09-2009, 11:21 AM
  2. Quick help on bool or while? Sample code...
    By Striph in forum C Programming
    Replies: 5
    Last Post: 01-12-2006, 04:05 PM
  3. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  4. stricmp() where can I view the sample code?
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 06-28-2002, 08:40 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM