Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning C# 6.0 Programming with Visual Studio 2015
This is the forum to discuss the Wrox book Beginning C# 6.0 Programming with Visual Studio 2015 by Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid; ISBN: 978-1-119-09668-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning C# 6.0 Programming with Visual Studio 2015 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 1st, 2016, 01:18 PM
Registered User
Points: 27, Level: 1
Points: 27, Level: 1 Points: 27, Level: 1 Points: 27, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Missing Content? & and |

On page 55 it says:

"The & and | operators also have two similar operators, known as conditional Boolean operators, shown in Table 4-2."

Table 4.2 shows && and ||.

This seems to indicate the & and | operators have already discussed but I cannot find any mention in the previous text.

Kevin
 
Old March 26th, 2017, 04:26 PM
Registered User
Points: 12, Level: 1
Points: 12, Level: 1 Points: 12, Level: 1 Points: 12, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2017
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reply

Hi,

The & and | are indeed operators but they are known as the bitwise operators. They compare the two operands at the bit level.

Additionally, the & can be used as a unary operator which yields the memory address of a variable.

I agree that the text should be changed to && and || as the bitwise operators are not discussed in those sections.

Michael




Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Content Provider & SQLITE puneetverma05 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 January 15th, 2013 12:47 PM
reading & validating url content arnabghosh ASP.NET 3.5 Professionals 0 September 23rd, 2009 01:44 AM
Missing mail content with CDONTS sunile-zest Classic ASP Basics 1 July 10th, 2007 02:22 PM
» in content property natmaster CSS Cascading Style Sheets 1 April 17th, 2006 02:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.