Hi everybody,
Since I have time this summer, I decided to teach myself C++. So far, I've installed Xcode, and I'm making my way into Prata's book "C++ Primer Plus."
Now, I'm not understanding the difference between a "BSD" C++ file and a "Carbon" C++ file; nor the difference between the many project types. Which am I supposed to use? Next, why are two files created, one with a .h extention and the other with a .cpp? What's the difference?
Also, I'm having trouble getting my first program to run. There's an error, but I'm not understanding what the hell it means. I'm not sure how the debugger works. When I try to use it, a blank screen appears.
I'm sure these must sound like silly questions, but you have to excuse me.
Since I have time this summer, I decided to teach myself C++. So far, I've installed Xcode, and I'm making my way into Prata's book "C++ Primer Plus."
Now, I'm not understanding the difference between a "BSD" C++ file and a "Carbon" C++ file; nor the difference between the many project types. Which am I supposed to use? Next, why are two files created, one with a .h extention and the other with a .cpp? What's the difference?
Also, I'm having trouble getting my first program to run. There's an error, but I'm not understanding what the hell it means. I'm not sure how the debugger works. When I try to use it, a blank screen appears.
I'm sure these must sound like silly questions, but you have to excuse me.