
-----------------------------------
Clayton
Mon Oct 23, 2006 6:50 pm

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).

-----------------------------------
wtd
Mon Oct 23, 2006 7:00 pm

Re: Request a Tutorial
-----------------------------------

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.

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++.

-----------------------------------
r.3volved
Mon Oct 23, 2006 7:47 pm


-----------------------------------
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) ;)

-----------------------------------
Clayton
Mon Oct 23, 2006 8:58 pm


-----------------------------------
bad choice of words i suppose. I meant creating functions other than the main function. My bad.

-----------------------------------
[Gandalf]
Tue Oct 24, 2006 2:03 am


-----------------------------------
Wait a second... Justin_ actually deleted all his tutorials?  Most interesting...

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.

-----------------------------------
Clayton
Tue Oct 24, 2006 7:38 am


-----------------------------------
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 :P)

-----------------------------------
wtd
Tue Oct 24, 2006 12:06 pm


-----------------------------------
"]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.

-----------------------------------
wtd
Thu Oct 26, 2006 5:37 pm

Re: Request a Tutorial
-----------------------------------
OOP (Just the basics, enough to get people going)

Ask and ye shall receive.

http://compsci.ca/v2/viewtopic.php?t=13862

-----------------------------------
Clayton
Fri Oct 27, 2006 8:52 pm


-----------------------------------
Thank you wtd, it has been added to the walkthrough (now if i can get it stickied or something...)
