Professional Documents
Culture Documents
(BJARNE STROUSTRUP)
Education
Stroustrup has a master's degree in mathematics and computer science (1975) from Aarhus University, Denmark,
and a Ph.D. in computer science (1979) from the University of Cambridge, England. His thesis advisor in Cambridge
was David Wheeler.
Career
Stroustrup began developing C++ in 1978 (then called "C with Classes"), and, in his own words,
"invented C++, wrote its early definitions, and produced its first implementation...chose and
formulated the design criteria for C++, designed all its major facilities, and was responsible for the
processing of extension proposals in the C++ standards committee. Stroustrup also wrote a textbook
for the language, The C++ Programming Language. Stroustrup was the head of AT&T Bell Labs' Largescale Programming Research department, from its creation until late 2002. Stroustrup was elected
member of the National Academy of Engineering in 2004. He is a Fellow of the ACM (1994) and
an IEEE Fellow. He works at Texas A&M University as a Distinguished Professor where he holds the
College of Engineering Endowed Chair in Computer Science. He is also a visiting faculty in Computer
Science Department at Columbia University. ITMO University noble doctor since 2013. In 2015, he was
made a Fellow of the Computer History Museum for his invention of the C++ programming language.
Publications
Stroustrup has written or co-written a number of publications including the following books.
Website
www.stroustrup.com
parasol.tamu.edu/people/bs
2.
for loop
2.
while loop
3.
do...while loop
while(num!=0);
printf("sum=%d",sum);
return 0;
}
d) While True
The while loop in C/C++ is very similar to the for loop. The for statement contains two semicolons, which allows placement of
the initialization statement, the negation of the termination condition and the iterative statement in it. However, the while loop
allows placement of only the condition so the other two statements must be placed outside the while statement.
e.) do / while
The while loop checks whether the test expression is true or not. If it is true, code/s inside the body of while
loop is executed,that is, code/s inside the braces { } are executed. Then again the test expression is checked
whether test expression is true or not. This process continues until the test expression becomes false.
g.) if / else
The if statement checks whether the text expression inside parenthesis () is true or not. If the test expression is
true, statement/s inside the body of if statement is executed but if test is false, statement/s inside body ignored.