AllExperts > Object Oriented Programming 
Search      
Object Oriented Programming
Volunteer
Answers to thousands of questions
 Home · More Object Oriented Programming Questions · Answer Library  · Encyclopedia ·
More Object Oriented Programming Answers
Question Library

Ask a question about Object Oriented Programming
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Marty Landman
Expertise
Available for questions involving packaging, writing and using methods, and generally most object oriented techniques. Conversion from modular (routine based) to OOP (object based) is a pet interest of mine. My language experience in this area is (in order of competence) Perl C++ PHP Visual Basic/ASP Java

Experience
Programmer since 1980, web developer since 1998.

Education/Credentials
M.S. in Computer Science from New York University

 
   

You are here:  Experts > Computing/Technology > Perl/PHP > Object Oriented Programming > C++ Literals

Object Oriented Programming - C++ Literals


Expert: Marty Landman - 6/1/2009

Question
Hi, I'm confused about literals. From its definition, it seems like every value in C++ are literals, so how about C++ keywords? Are they literals? And how about character escape sequences? How exactly is a literal defined?

Thanks,
confused

Answer
Angela,

A literal is data where a keyword is an instruction. Escape sequences would be literals, unless they are stored in a variable.

Is this clearing things up for you at all?

--
Marty Landman, Face 2 Interface Inc.
Free Database Search App: http://face2interface.com/Products/FormATable.shtml

Add to this Answer   Ask a Question


 
User Agreement | Privacy Policy | Kids' Privacy Policy | Help
Copyright  © 2008 About, Inc. AllExperts, AllExperts.com, and About.com are registered trademarks of About, Inc. All rights reserved.