Formatted OutputIn Exploration 4, you used tab characters to line up output neatly. Tabs are useful, but crude. This Exploration introduces some of the features that C++ offers to format output nicely, such as setting the alignment, padding, and width of output fields.
http://reply.papertrans.cn/33/3203/320260/320260_32.png
Compound StatementsYou have already used compound statements (that is, lists of statements enclosed in curly braces) in many programs. Now it’s time to learn some of the special rules and uses for compound statements, which are also known as ..
CharactersIn Exploration 2,I introduced you to character literals in single quotes, such as ‘
’ to end a line of output, but I have not yet taken the time to explain these fundamental building blocks. Now is the time to explore characters in greater depth.
http://reply.papertrans.cn/33/3203/320260/320260_35.png
http://reply.papertrans.cn/33/3203/320260/320260_36.png
http://reply.papertrans.cn/33/3203/320260/320260_37.png
http://reply.papertrans.cn/33/3203/320260/320260_38.png
,Gleichartige reguläre Maßfunktionen,r. You can acquire these tools separately or bundled, possibly as a package deal with an integrated development environment (IDE). Options abound regardless of your platform, operating system, and budget.
Introduction to complementary medicine presents a number of common errors and gives you a chance to see what kinds of messages your compiler issues for these mistakes. The more familiar you are with these messages, the easier it will be for you to interpret them in the future.