User Tools

Site Tools


notes:c4eng:fall2024:projects:stl2

This is an old revision of the document!


STL2

loops

for loop

while loop

do-while loop

bitwise operations

bitwise AND

logical left shift

A bitwise operation that moves all bits in an operand to the left by a specific number of positions. What does this mean? In C, we use « to represent a left shift of one place. We could also do «# to left shift that specific number of places. In practice, this would shift the ones place to the twos place, the twos place to the fours place, the fours place to the eights place, and so on so fourth. In the context of this project, when used in a loop, this operation would allow us to perform sequential operations on a specific value of multiple bits by successively shifting the value one place to the left with each loop.

notes/c4eng/fall2024/projects/stl2.1728345742.txt.gz · Last modified: 2024/10/08 00:02 by dprado