New to C++/ Couple of questions...
Hi everybody. I'm new to C++, and am very grateful for this site/board. I plan to post on this board a good deal, and to work hard learning C++.
Today I went through the first 4 Lessons, and have a couple of questions I was hoping you guys could help me out with.
1) #include <(header files)> - Where do these header files come from? In the tutorial it discusses using iostream.h, but I was very confused on this subject. Basic info would help alot.
2) I need a little more tutoring on the C++ Boolean Operators, such as !, |, &&. I became confused with this, and need some more info and maybe some sample code using these operators. I understand the basics, but I don't understand problems like:
A. !(1 || 0) Answer: 0
B. !(1 || 1 && 0) Answer: 0
C. !((1 || 0 ) && 0) Answer: 1
3) I am not totally clear on the == operator. What is the difference between = and ==? I believe that == is used for setting things equal, so what is = used for?
-- Thanks for any help you guys can give. I love programming, and am having frustrating fun learning C++!