C, C++ (general), Microsoft Visual C++, Borland C++, UNIX C++
Views:
16209
The sequel to my award winning C++ tutorial, this tutorial is clearer and a lot more indepth. It contains numourous code examples and links to further resources.
Please vote for me to help encourage my efforts :)
skelm (skelm AT hush DAWT com)
AIM: skelm32 MSN: skelmirc@hotmail.com
Terms of Agreement:
By using this article, you agree to the following terms...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
The sequel to my award winning C++ tutorial, this tutorial is clearer and a lot more indepth. It contains numourous code examples and links to further resources. Not to mention that it is continuously growing, what more could you want?
The tutorial currently covers the following topics indepth:
* The history of C++
* Functions - from the basics upwards
* Loops - Basic to advanced use
* Using command line arguments in your programs
* File manipulation
* Explanation of Object Orientated Programming
* Basic String manipulation
* Advanced String manipulation
As I mentioned above, this tutorial is continuously growing and will be updated on a bi-monthly schedule, so please vote for me to help encourage my efforts :)
skelm (skelm AT hush DAWT com)
AIM: skelm32 MSN: skelmirc@hotmail.com
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come
out every day, so no prevention program can catch 100% of them. For your own safety, please:
Re-scan downloaded files using your personal virus checker before using it.
NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
If you don't have a virus scanner, you can get one at many places on the net
including:McAfee.com
Terms of Agreement:
By using this article, you agree to the following terms...
You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
You may link to this article from another website, but ONLY if it is not wrapped in a frame.
You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
ok seth it is true about the include syntax, but most compilers(the one he is using) supports include plus iostream.h is very different from iostream, also kbhit(), whats wrong with that function, someone has to use it, its a standard function for console applications w-t-f (If this comment was disrespectful, please report it.)
hmm, main reason that I havn't used in both my tutorials is simple, i'm trying to teach people the basics without throwing them more information then they need. If it really upsets people that much then i'll change it. (If this comment was disrespectful, please report it.)
kbhit() is NOT STANDARD, it is typically found to be prototyped in 'conio.h' if the compiler has it... (If this comment was disrespectful, please report it.)
About "teach people the basics without throwing them more information than they need," teaching them incorrect information might be more a hindrance than "throwing too much at them." You could simply do something like this: #include using namespace std; // open up global namespace, this will be covered in another installment to the tutorial series ? (If this comment was disrespectful, please report it.)
Sorry for the lack of formatting in the posts, PSC seems to be getting picky about whitespace and such in the postings. There should be a few newlines in there, such as after the #include before the 'using namespace std;' (If this comment was disrespectful, please report it.)
Seth, Due to public opinion all of the tutorials will be updated before the next update :) Thanks for the input. (If this comment was disrespectful, please report it.)
using namespace std; is not needed for iostream , and g++ compilers don't even need it included before you can use cout, and Seth, i guess he can't tell us about MessageBox , or Wins Api since there not standard functions (If this comment was disrespectful, please report it.)
2/25/2004 10:32:03 AM:
I just read your source code, and I like them all!If you has been kind enough to share more with me, please sent email to me. Thanks (If this comment was disrespectful, please report it.)
OpcodeVoid this isn't a flame war, don't make it into one. You're correct, there is a big difference between and --- the C++ standard recognizes the latter form, not the prior. Another point to be made, his tutorial focuses on C++, never did he mention about discussing the Windows API or any other. Regarding g++, it is perhaps THE most standards-compliant compiler in existence for both C(gcc) and C++(g++). (If this comment was disrespectful, please report it.)
When I saw the title of this article, I said, "ugh, another c++ tutorial." But this one is put together pretty well. I was surprised to see , but that should not take away from the quality and time put into this article. I got 5 on it. (If this comment was disrespectful, please report it.)
OpcodeVoid how can you correct someone if they are not incorrect? =) Michael Skelton, I do commend your efforts. (If this comment was disrespectful, please report it.)
Michael if you'd like more tips or someone to proof-read future tutorials, I'd be happy to help! (If this comment was disrespectful, please report it.)
hey i wanna say that what great tutorials i like it but we need to move on asssembly coz the world will control the av so join our virus world thank u....linubel (If this comment was disrespectful, please report it.)
Add Your Feedback
Your feedback will be posted below and an email sent to
the author. Please remember that the author was kind enough to
share this with you, so any criticisms must be stated politely, or they
will be deleted. (For feedback not related to this particular article, please
click here instead.)