Tutorials on c++?

  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 8:49 pm

I have just gotten visual c++ 6.0 and i have no clue how to program in c++ in fact i know nothing but html :/ Please send me a link to a c++ guide Thank you!
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 26th, 2003, 8:49 pm

  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 26th, 2003, 9:17 pm

For 1, I'd recommend another compiler for C++.

VisualC++ 6 is fairly broken and ignores the standard. Hell it came out BEFORE the C++ standard.

I'd recommend using MinGW, or if you need an IDE (editor and compiler built into 1 application) use DevShed's C++ IDE or even VisualC++ .NET 2003

Also, HTML has no relavence to programming. Programming is when you create code to do something, HTML is just sets of tags to be interpreted by a Rendering Engine within a browser.
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 9:34 pm

Are those compilers free? if so please send me a link :)
  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 26th, 2003, 9:37 pm

lostsoul wrote:
Are those compilers free? if so please send me a link :)
MinGW is a free compiler. Dev-C++ uses MinGW to create an IDE.

MinGW can be found at http://www.mingw.org however, a person at http://www.nuwen.net created a much better package for MinGW. If you use MinGW, it's command line compiling.

DevShed's C++ IDE would probably be better for a new person, it uses MinGW but in a fine and friendly Interface. You press play and it compiles. Link: http://www.bloodshed.net/devcpp.html
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 9:42 pm

Heh well a long time ago i purchased a idiots guide to c++ the compiler was a dos program and it did not work correctly so i went out and got visual C++ the stuff in the book was like another language to visual c++ is that what you meant in your first reply? that may not have made a lot of sense... if that is the case i can use the book as a guide lol...
  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 26th, 2003, 9:45 pm

lostsoul wrote:
Heh well a long time ago i purchased a idiots guide to c++ the compiler was a dos program and it did not work correctly so i went out and got visual C++ the stuff in the book was like another language to visual c++ is that what you meant in your first reply? that may not have made a lot of sense... if that is the case i can use the book as a guide lol...
VisualC++ is a C++ IDE. It has a compiler in it and an editor.

The C++ book probably only taught you the C++ language, where as VisualC++ trys to focus more on Windows GUI programming using the API, alt and MFC.

I'd work on learning the C++ language first before using GUIs.

and VC++ 6 is horrible at the standard, so I wouldn't use it. That or you can find the package that combines the Intel compiler into VC++ 6. Then it becomes a decent compiler but that may be a bit hard for you since you're new.
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 9:47 pm

im confused heh... You have a link to a guide that will teach me? or do you sugest using the book i have now? BTW Thanks for the links and help
  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 26th, 2003, 9:53 pm

lostsoul wrote:
im confused heh... You have a link to a guide that will teach me? or do you sugest using the book i have now? BTW Thanks for the links and help
Buy a book, learn C++ before any GUI crap.

http://www.nuwen.net click C++ then scroll to almost the bottom and it gives some EXCELLANT book suggestions.

Just NEVER EVER EVER BUY ANYTHING BY HERBET SCHILDT
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 9:58 pm

The book i have says it uses a gnu compiler. So does that mean the book i have will do fine with the new compiler you suggested?
  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 26th, 2003, 10:01 pm

lostsoul wrote:
The book i have says it uses a gnu compiler. So does that mean the book i have will do fine with the new compiler you suggested?
If the book was made several years ago, then it won't be a good book since the C++ standard just came out like 4 years ago and books just NOW have been getting more standards complient.

Also, idiots guide to anything suck, those are some horrible books. Atleast in programming/scripting they are horrible.
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 26th, 2003, 10:03 pm

its a dummies guide probobly just as bad heh. i have no clue how old the book is i have only had it about a year does not mean its new :/
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 27th, 2003, 6:15 am

I was wondering what c++ is capable of making can you please sumbit a list of programs c++ can make Thank you :) i need to know what c++ does before i learn it :/ im really looking to program games.. and photo editing programs and such thank you :)
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 27th, 2003, 6:27 am

ok i have installed dev c++ now i have no clue what kind of project im going to do... heh...........?
  • Kasracer
  • Banned
  • Banned
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 26
  • Loc: Maryland
  • Status: Offline

Post October 27th, 2003, 10:14 am

lostsoul wrote:
I was wondering what c++ is capable of making can you please sumbit a list of programs c++ can make Thank you :) i need to know what c++ does before i learn it :/ im really looking to program games.. and photo editing programs and such thank you :)
C++ is a general purpose language. You can make anything with it, except something like a bootstrap.
lostsoul wrote:
ok i have installed dev c++ now i have no clue what kind of project im going to do... heh...........?
Uh.... did you buy any books or anything? The project names should speak for themselves.....
  • lostsoul
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 26, 2003
  • Posts: 39
  • Loc: Ocala, FL
  • Status: Offline

Post October 27th, 2003, 11:39 am

Hmm i put a conversion code and compile it i open the msdos .cpp file and i type in number and it automatically closes dos... its suposed to convert the code heh
//
// Conversion - convert temperature from Celsius
// degree units into Fahrenheit degree
// units:
// Fahrenheit = Celsius * (212 - 32)/100 + 32
//
#include <stdio.h>
#include <iostream.h>
int main(int nNumberofArgs, char* pszArgs[])
{
// enter the temperature in Celsius
int nCelsius;
cout << "Enter the temperature in Celsius:";
cin >> nCelsius;

// calculate conversion factor for Celsius
// to Fahrenheit
int nFactor;
nFactor = 212 - 32;

// use conversion factor to convert Celsius
// into Fahrenheit values
int nFahrenheit;
nFahrenheit = nFactor * nCelsius/100 + 32;

// output the results
cout << "Fahrenheit value is:";
cout << nFahrenheit;

return 0;
}
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 27th, 2003, 11:39 am

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: No registered users and 251 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.