Archived

This topic is now archived and is closed to further replies.

Setting up...

This topic is 5401 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I started using C++ like 4 days before posting this message and I have Visual C++ 6.0, is that a good program for making games/programs with? I have this learn C++ in 21 days book off the net and it said you don''t need any exp. in C++ to do the things in it. Then it asks me to make my first program and it doesn''t even tell me how! It loads me up on scripts for a ''Hello World'' app. Can someone give me some free books and tips to start off with C++ correctly?

Share this post


Link to post
Share on other sites
What do you mean "it does not tell you how"? I have this book, and it''s absolutely excellent.

It doesn''t explain how to use Visual C++ 6.0 because it''s not specifically about Visual C++. Read the documentation for VC++ to figure out how to compile and run a program.

Share this post


Link to post
Share on other sites
Ok, I went to the special chapter on "Visual Basic C++ 6.0" (There were chapters on earlier versions too) And at the end of day one it told me to make a program that displays the message "Hello World" on it. Then it gave me a small script to start me off with. Then it told me to finish it and compile it. I read the whole first day and all it talked about was the history of C++ and it did not include ANYTHING to do with actually learning the language or using it in any way.

PS: Is your book downloadable? lol

Share this post


Link to post
Share on other sites
Ok, I went to the special chapter on "Visual Basic C++ 6.0" (There were chapters on earlier versions too) And at the end of day one it told me to make a program that displays the message "Hello World" on it. Then it gave me a small script to start me off with. Then it told me to finish it and compile it. I read the whole first day and all it talked about was the history of C++ and it did not include ANYTHING to do with actually learning the language or using it in any way.

PS: Is your book downloadable? lol

Share this post


Link to post
Share on other sites
I know this may come as a revelation, but perhaps the second chapter contains what you are looking for?

The book is perfectly fine, I have it right next to me now.

Share this post


Link to post
Share on other sites
You could Google yourself but I''ll be nice this time. First, go to File->New Project. Select Win32 Console Application. Then go to New and then go to new file. Choose a C++ file. There, insert your code, then click on compile, a little paper icon with an arrow. Then Execute it.



tcache
Contact Me
-----------
AH! MY BRAIN IS GOING TO SELF-DETONATE! -- Yours Truly (Jan, 2003)

Share this post


Link to post
Share on other sites
quote:
Original post by WaterMelon34
it did not include ANYTHING to do with actually learning the language or using it in any way.



Umm, perhaps you didn't realize it, but the "script" you spoke of is the language. Learning to use Visual C++ to edit and compile programs is a 5-minute process, and not very important in a book about C++. Read the docs (or use the helpful info in Tazel's post) and compile your hello world program.

quote:

Then it gave me a small script to start me off with. Then it told me to finish it and compile it.



I'm pretty sure that the book provided the entire code of the "Hello World" example. What kind of book would give you a "little bit of code to start you off with" and expect you to finish it without knowing C++? Just copy the code into the editor and compile it.

[edited by - micepick on March 2, 2003 3:42:40 PM]

Share this post


Link to post
Share on other sites