is this C++ code sample?

This is a discussion on is this C++ code sample? within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by mrafcho001 the ++ is only used with variables. and it increments their values by one. ++ is ...

  1. #16
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,074
    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,074
    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Ž

Page 2 of 2 FirstFirst 12
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, 10:21 AM
  2. Quick help on bool or while? Sample code...
    By Striph in forum C Programming
    Replies: 5
    Last Post: 01-12-2006, 03: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, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21