Really simple question!!

Hi, i am really new to the arduino and i have never used c++. i am programming out of a book and they are using the symbol += together. what does that mean.

thanks in advance.

joel5886:
Hi, i am really new to the arduino and i have never used c++. i am programming out of a book and they are using the symbol += together. what does that mean.

thanks in advance.

int a=3; // assign a=3
a+=5; // it means a+5

a+5 that is 3+5=8

its a simple addition that will be saved in your assigned variable.

cheers.

... more compound operators here.