Computer Science Canada

Request a Tutorial

Author:  Clayton [ 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).

Author:  wtd [ 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++.

Author:  r.3volved [ Mon Oct 23, 2006 7:47 pm ]
Post 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

Author:  Clayton [ Mon Oct 23, 2006 8:58 pm ]
Post subject: 

bad choice of words i suppose. I meant creating functions other than the main function. My bad.

Author:  [Gandalf] [ Tue Oct 24, 2006 2:03 am ]
Post 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.

Author:  Clayton [ Tue Oct 24, 2006 7:38 am ]
Post subject: 

Well I'm going to do my best, even if it means linking to tutorials outside of compsci Confused

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 Razz)

Author:  wtd [ Tue Oct 24, 2006 12:06 pm ]
Post 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.

Author:  wtd [ Thu Oct 26, 2006 5:37 pm ]
Post subject:  Re: Request a Tutorial

Freakman wrote:
OOP (Just the basics, enough to get people going)


Ask and ye shall receive.

http://compsci.ca/v2/viewtopic.php?t=13862

Author:  Clayton [ Fri Oct 27, 2006 8:52 pm ]
Post subject: 

Thank you wtd, it has been added to the walkthrough (now if i can get it stickied or something...)


: