Jump to content
  • Advertisement

Archived

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

Suicide_joe

Help a few kids learn C++

This topic is 5397 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

A few people i know and I want to start learning C++, but it is pretty difficult. We are wondering what some of you guys suggest we use to start. 2 of us have a book called C++ for dummies 4rth edition. I think my main problem might be is understanding how to use the compiler.

Share this post


Link to post
Share on other sites
Advertisement
What compiler do you have? Is it Visual C++ .NET Enterprise Edition?

If it isn''t then just say what it is and folks here can help you get started, or at least point you to resources.

Share this post


Link to post
Share on other sites
Hi!

You should tell us which compiler you use, and, if any, which IDE. Then it would be easier to help you out.

But to understand a compiler, you should also understand what steps are involved in compiling/linking your application. Most books I know gave at least a little introduction to this.

Other than that, I think it''s a great idea to not start coding alone, but together with a few friends!

cya,
Drag0n


-----------------------------
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning..." -- Rich Cook

My future web presence: Dave''s Programming Resources

Share this post


Link to post
Share on other sites
quote:
Original post by Suicide_joe
A few people i know and I want to start learning C++, but it is pretty difficult. We are wondering what some of you guys suggest we use to start.
2 of us have a book called C++ for dummies 4rth edition. I think my main problem might be is understanding how to use the compiler.



It generally only takes a couple of days (at most) to get your compiler working correctly. It''s good that you''re doing it with friends, but you need to remember that some people will have a lot more trouble than others, and that you need to move ahead slowly, even with only one person.

Share this post


Link to post
Share on other sites
We are using Dev C++
Whats funny is i just tried it with the code i found on an internet tutorial, and it worked. There must have been a fault in the code some how.
It might be because C++ for dummies is using GNU, which runs in DOS, i have xp so i can''t use my DOS. Maybe thats it?

Share this post


Link to post
Share on other sites
umm with dev-cpp are you sure your running it as a console program. and you gotta go start a new project before you code.


Share this post


Link to post
Share on other sites
Some of the header files were changed (1998), such as the I/O header file to try and make the C++ launguage a bit more universal. It used to be #include <iostream.h>, which wont compile on dev c++, its now #include <iostream>. Also you need ''using namespace std;'' at the start of your code to declare space for the cout, cin, endl objects.

Maybe that your probem ?

''A library consists of the actual binary code behind the API. You link your game code to the library to make everything work.''

Share this post


Link to post
Share on other sites
quote:
Original post by Raloth
Dev-C++ is evil.


Dev-Studio is slower less funtional and generates larger executables. It will get better. But Dev-Cpp is years old. And at the time better.

LETS NOT FLAME WAR OVER WHAT IDE IT''S ALL THE SAME COMPILER




Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!