Author |
Message |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Mon Oct 23, 2006 6:50 pm Post subject: Request a Tutorial |
|
|
Obviously the collection of tutorials here isn't the greatest, so post tutorials that you would like to see here.
Some that come to mind:
- Arrays
- OOP (Just the basics, enough to get people going)
- namespaces - handy ones to use and what some of their key functions do.
- Creating a function outside of the main function
- Templates
I'm sure there's lots that I'm missing, but feel free to add any that you are missing.
+100 bits to a single quality submission (perhaps more). |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
wtd
|
Posted: Mon Oct 23, 2006 7:00 pm Post subject: Re: Request a Tutorial |
|
|
Freakman wrote:
- Arrays
- OOP (Just the basics, enough to get people going)
- namespaces - handy ones to use and what some of their key functions do.
- Creating a function outside of the main function
- Templates
I believe at least some of these issues are talked about, at least to some extent.
Though I find this odd.
Quote: Creating a function outside of the main function
Except for a non-standard addition to GCC, it is not possible to create functions inside the main function in either C or C++. |
|
|
|
|
![](images/spacer.gif) |
r.3volved
|
Posted: Mon Oct 23, 2006 7:47 pm Post subject: (No subject) |
|
|
I'm pretty sure he means branching the main into multiple function/method calls rather than having straight inline code through the main.
...and yes you can...it's called a macro (the technology of last resort) ![Wink Wink](http://compsci.ca/v3/images/smiles/icon_wink.gif) |
|
|
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Mon Oct 23, 2006 8:58 pm Post subject: (No subject) |
|
|
bad choice of words i suppose. I meant creating functions other than the main function. My bad. |
|
|
|
|
![](images/spacer.gif) |
[Gandalf]
![](http://compsci.ca/v3/uploads/user_avatars/189297994e4c716fec7f1.png)
|
Posted: Tue Oct 24, 2006 2:03 am Post subject: (No subject) |
|
|
Wait a second... Justin_ actually deleted all his tutorials? Most interesting...
r.3volved wrote: it's called a macro
What do macros have to do with function creation? Either you don't know what you're talking about or I'm definately missing something.
C++ is a huge language, so creating a comprehensive walkthrough sounds like a pretty lofty goal. |
|
|
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Tue Oct 24, 2006 7:38 am Post subject: (No subject) |
|
|
Well I'm going to do my best, even if it means linking to tutorials outside of compsci
Justin_ did indeed delete all of his tutorials (well actually he edited them and left colorful comments about mods on the board, Dan deleted them ) |
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Tue Oct 24, 2006 12:06 pm Post subject: (No subject) |
|
|
[Gandalf] wrote: C++ is a huge language, so creating a comprehensive walkthrough sounds like a pretty lofty goal.
Indeed. There is a reason that when I created the C whirlwind, I deliberately chose not to make it the C++ whirwind. |
|
|
|
|
![](images/spacer.gif) |
wtd
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Clayton
![](http://compsci.ca/v3/uploads/user_avatars/1718239683472e5c8d7e617.jpg)
|
Posted: Fri Oct 27, 2006 8:52 pm Post subject: (No subject) |
|
|
Thank you wtd, it has been added to the walkthrough (now if i can get it stickied or something...) |
|
|
|
|
![](images/spacer.gif) |
|