473,779 Members | 2,015 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which font does Bjarne Stroustrup use in TC++PL special for code?

HL
As the subject, I like the font he used for codes. It's not constant-
width but better than constant-width fonts while presenting text.
Netters, could you tell me the name of that font? I hope to use it in
my writing. Thank you.
Nov 13 '08 #1
3 2435
On page ii (which contains some info about the book like ISBN),
I see the sentence "This book was typeset in Times and Courier by the
author."

On Nov 12, 9:47*pm, HL <moogle.l...@gm ail.comwrote:
As the subject, I like the font he used for codes. It's not constant-
width but better than constant-width fonts while presenting text.
Netters, could you tell me the name of that font? I hope to use it in
my writing. Thank you.
Nov 13 '08 #2
On 2008-11-13 08:01, sj*****@gmail.c om wrote:
On Nov 12, 9:47 pm, HL <moogle.l...@gm ail.comwrote:
>As the subject, I like the font he used for codes. It's not constant-
width but better than constant-width fonts while presenting text.
Netters, could you tell me the name of that font? I hope to use it in
my writing. Thank you.
On page ii (which contains some info about the book like ISBN),
I see the sentence "This book was typeset in Times and Courier by the
author."
Please do not top-post.

To the OP: To clarify, the font is bold and italic Courier, which is a
fixed width font. Personally I find it a bit hard to read, probably
because of the italic.

--
Erik Wikström
Nov 13 '08 #3
Erik Wikström wrote:
On 2008-11-13 08:01, sj*****@gmail.c om wrote:
On page ii (which contains some info about the book like ISBN),
I see the sentence "This book was typeset in Times and Courier by
the author."
To the OP: To clarify, the font is bold and italic Courier, which is a
fixed width font. Personally I find it a bit hard to read, probably
because of the italic.
It doesn't look like Courier to me, at least in the 3rd edition. It
looks like Times italic. The only place I see anything that looks like
Courier is in the index.


Brian
Nov 13 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4715
by: valexena | last post by:
Does PL/SQL allow cursors to contain subqueries? -- Posted via http://dbforums.com
42
2112
by: ES Kim | last post by:
Here's a code fragment from TC++PL Special Edition, p291: void f1(T a) { T v; T* p = &v; p--; // please note (my comment) *p = a; // oops: 'p' out of range, uncaught ++p; *p = a; // ok
65
12615
by: Skybuck Flying | last post by:
Hi, I needed a method to determine if a point was on a line segment in 2D. So I googled for some help and so far I have evaluated two methods. The first method was only a formula, the second method was a piece of C code which turned out to be incorrect and incomplete but by modifieing it would still be usuable. The first method was this piece of text:
16
1524
by: nelu | last post by:
I know I can use unsinged byte, but I need it for java, which code runs faster in C? int f1(char b) { return (b&0x80)|(b&0x7f); } or int f2(char b) {
5
1621
by: Wayne Shu | last post by:
Now I'm reading Stroustrup's The C++ Programming Language(Special Edition). In section 4.4 Integer Types, he has wrote that "Using an unsigned instead of an int to gain one more bit to represent positive integers is almost never a good idea. Attempts to ensure that some values are positive by declaring variables unsigned will typically be defeated by the implicit conversion rules". I can't understand the two sentences.
8
2976
by: Wayne Shu | last post by:
Hi everyone, I am reading B.S. 's TC++PL (special edition). When I read chapter 11 Operator Overloading, I have two questions. 1. In subsection 11.2.2 paragraph 1, B.S. wrote "In particular, operator =, operator, operator(), and operator-must be nonstatic member function; this ensures that their first operands will be lvalues". I know that these operators must be nonstatic member functions, but why this ensure their first operands will...
0
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10302
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10071
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9925
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4036
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2867
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.