Another c++ question that i can't figure out

This is a discussion on Another c++ question that i can't figure out within the C++ Programming forums, part of the General Programming Boards category; theta += delta_theta does this mean; 1) delta_theta = 2 * theta or 2) theta = .5 * delta_theta or ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    8

    Another c++ question that i can't figure out

    theta += delta_theta

    does this mean;

    1) delta_theta = 2 * theta

    or

    2) theta = .5 * delta_theta

    or

    3) something else entirerly

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    it means:
    theta = theta + delta_theta

    or in words:

    theta is assigned the value of theta plus the value of delta_theta

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    8
    thanks again another one solved.....

  4. #4
    I'm less than sure.... abyssphobia's Avatar
    Join Date
    Aug 2004
    Posts
    112
    it a abrevation like this example

    sum =sum +abyss

    sum+= abyss
    Its just the same thing, and do the same
    love Abyss
    Have I crossed the line?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 08:22 PM
  3. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 02:57 PM
  4. Algorithm question
    By PJYelton in forum C++ Programming
    Replies: 2
    Last Post: 10-28-2002, 09:52 AM
  5. Math Question, hard
    By Yoshi in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 12-08-2001, 10:58 AM

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