View Full Version : What does <<TT>B>a mean ?

The SharK
10-09-2005, 02:27 PM
I have been reading this document on C programming,
and I came to this, and I don't get it, so I thought that
you might help me out here :)

This always confuses beginners, because they aren't used to seeing the variable on both sides of the equal-sign. All this means is that a has one added to it to produce a new value, and this value is stored back in the location called <<TT>B>a. If you're worried, try thinking about it as:

temp = a+l;
a = temp;

The thing I don't understand is: <<TT>B>a


The SharK

Dante Shamest
10-09-2005, 02:51 PM
Did you get it from here (http://www.le.ac.uk/cc/tutorials/c/ccccdo.html)?

It looks like a HTML typo. I think the author meant to bold a.

10-09-2005, 02:52 PM
What is the exact piece of code that <<TT>B>a is contained in?

10-09-2005, 02:58 PM
Looks like a crummy attempt to make the letter 'a' bold, like the other 'a' in the same sentence.

The SharK
10-09-2005, 03:33 PM
Hi Dante Shamest

Yes, it's exactly THAT piece of code I'm
referring to :)