Difference between revisions of "Student Resources OOP344 - 20101"

From CDOT Wiki
Jump to: navigation, search
m (Create an IRC account and login (in Windows))
(IRC basics)
Line 40: Line 40:
 
In "Solution Explorer", add new item to Header Files or Source Files.
 
In "Solution Explorer", add new item to Header Files or Source Files.
  
== Create an IRC account and login (in Windows) ==
+
== The Basics of IRC ==
  
1. google search "ChatZilla", [https://addons.mozilla.org/en-US/firefox/addon/16 download] and install it.<br />
+
IRC is also known as Internet Relay Chat. The principal of it is essentially to provide accessible chat rooms for people over the internet over multiple operating systems.
2.  From "FireFox" menu => select "Tools" => select "ChatZilla". <br />
 
3.  commands: <br />
 
<table>
 
<tr><td>
 
/server irc.freenode.net  </td><td>/* connect to server */</td></tr>
 
<tr><td>
 
/join #seneca              </td><td>/* join #Seneca channel */</td></tr>
 
<tr><td>
 
/nick nickname            </td><td>/*  Change your nickname */</td></tr>
 
<tr><td>
 
/leave                    </td><td>/* leave the channel */</td></tr>
 
<tr><td>
 
/query nickname            </td><td>/* open a private chat with some one */
 
</td></tr>
 
</table>
 
  
4.  If someone has taken your registered nick or you're trying to log on with your nick but it says "already in use" then try this to:
+
To be able to connect and interact with IRC, one must first have an IRC client of some sort.
<table>
+
Two of the most common are [https://addons.mozilla.org/en-US/firefox/addon/16 Chatzilla] (Add-on for
<tr><td>
+
Firefox), and [http://www.mirc.com/ mIRC].
RECOVER Kill another user who has taken your nick
 
<br/>goto: Eg. the main chat room such as "irc.freenode.net" not the channels and type the
 
<br/>Syntax : /msg NickServ RECOVER [nick] [personal password]
 
<br/>/* leave out the brackets [ ] */ (NOTE: Please use the Ghost command instead for now)
 
</td></tr>
 
  
<tr><td>
+
Once installed and running, you will have such options as connecting to various servers. We're particularly interested in the one which the seneca chatroom is located.
GHOST Kills the nickname
+
 
<br/>goto: Eg. the main chat room such as "irc.freenode.net" not the channels and type the
+
This table has some basic commands for IRC.
<br/>Syntax : /msg NickServ GHOST [nick] [personal password]
+
 
<br/>/* leave out the brackets [ ]
+
{|
 +
| /server irc.freenode.net
 +
| /* Connects your client to an IRC server. In this case, it is the freenode server*/
 +
|-
 +
| /join #seneca
 +
| /* Join #seneca channel */
 +
|-
 +
| /nick nickname
 +
| /* Change your nickname */
 +
|-
 +
| /leave
 +
| /* Leave the channel */<br />**Note: /part also works
 +
|-
 +
| /query nickname
 +
| /* Open a private chat with some one */
 +
|}
 +
 
 +
Once connected to the server, it is a good idea to register your nick, otherwise someone can impersonate you and steal your nick -- Forcing you to change your name again.
 +
 
 +
To register, one uses the following command:
 
<code>
 
<code>
/msg NickServ ghost nickname password  
+
/msg nickserv REGISTER foo foo@bar.com
</code>However, not sure if it's case sensative.*/
+
</code>
</td></tr>
+
 
</table>
+
This will associate your account with the e-mail foo@bar.com, as well as have your password be foo.
 +
To identify yourself, you do a similar command:
 +
<code>
 +
/msg nickserv IDENTIFY foo
 +
</code>
 +
 
 +
If someone has taken your registered nick, or you have a zombie in the channel (Where you drop connection but you still appear in the channel), there is a command to fix that.
 +
 
 +
{|
 +
| RECOVER Kill another user who has taken your nick<br /><br />Syntax : /msg NickServ RECOVER [nick] [personal password]<br /><br />/* leave out the brackets [] */ (NOTE: Please use the Ghost command instead for now)
 +
|-
 +
| GHOST Kills the nickname<br /><br />Syntax : /msg NickServ GHOST [nick] [personal password]<br /><br />/* leave out the brackets []<br /><code><br />/msg NickServ ghost nickname password<br /></code>
 +
|}
 +
 
 +
Stick with GHOST for now, as Recover is becoming more obsolete.
  
 
== Linked List Explained ==
 
== Linked List Explained ==
 
[[Linked List]] <br />
 
[[Linked List]] <br />
 
If you don't really understand how linked lists work or why we should even use them then this page is made for you!
 
If you don't really understand how linked lists work or why we should even use them then this page is made for you!

Revision as of 22:12, 26 January 2010


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

Quick Link

Tortoise in 5 - Linked List

This page will serve as a hub for all OOP344 students to create wiki pages related to the course for the purpose of aiding their fellow students. Got a handy trick that makes programming easier? Feel free to build a page about it and link it here for all your classmates to use!

Standards

To add a new page, simply put a link at the top of the page and a section below with a link and short description of what the page is about. Simple enough?


Webpages

https://cs.senecac.on.ca/~btp300 <-- the degree version of oop344. Good for an indepth look at the material. Includes Workshops and Walkthroughs

https://cs.senecac.on.ca/~fardad.soleimanloo/oop344/notes/ <-- Notes only up to Oct 28, 2009. Includes past tests

svn://zenit.senecac.on.ca/oop344 <-- Up to Date Notes shown in all lectures

TortoiseSVN in 5 easy steps

Tortoise in 5
This page is dedicated to those poor souls that have to use SVN but don't have time to read through chapter upon chapter about it just to be able to participate in assignment 2.

RabbitVCS

RabbitVCS
RabbitVCS is a Linux alternative to TortoiseSVN. This page will help describe how to install and use RabbitVCS.

Creating Projects in Visual Studio for Console Applications

Visual Studio is available for download from ACS

To create a new project for console applications:

  • From the File menu, select New > Project
  • Select Project Type as Visual C++ > Win32
  • Select template Win32 Console Application
  • Assign project name and choose local directory
  • Uncheck the box Create directory for solution
  • In the wizard, click on Application Settings
  • Application type of Console application should be selected
  • Check the box beside Empty project

In "Solution Explorer", add new item to Header Files or Source Files.

The Basics of IRC

IRC is also known as Internet Relay Chat. The principal of it is essentially to provide accessible chat rooms for people over the internet over multiple operating systems.

To be able to connect and interact with IRC, one must first have an IRC client of some sort. Two of the most common are Chatzilla (Add-on for Firefox), and mIRC.

Once installed and running, you will have such options as connecting to various servers. We're particularly interested in the one which the seneca chatroom is located.

This table has some basic commands for IRC.

/server irc.freenode.net /* Connects your client to an IRC server. In this case, it is the freenode server*/
/join #seneca /* Join #seneca channel */
/nick nickname /* Change your nickname */
/leave /* Leave the channel */
**Note: /part also works
/query nickname /* Open a private chat with some one */

Once connected to the server, it is a good idea to register your nick, otherwise someone can impersonate you and steal your nick -- Forcing you to change your name again.

To register, one uses the following command: /msg nickserv REGISTER foo foo@bar.com

This will associate your account with the e-mail foo@bar.com, as well as have your password be foo. To identify yourself, you do a similar command: /msg nickserv IDENTIFY foo

If someone has taken your registered nick, or you have a zombie in the channel (Where you drop connection but you still appear in the channel), there is a command to fix that.

RECOVER Kill another user who has taken your nick

Syntax : /msg NickServ RECOVER [nick] [personal password]

/* leave out the brackets [] */ (NOTE: Please use the Ghost command instead for now)
GHOST Kills the nickname

Syntax : /msg NickServ GHOST [nick] [personal password]

/* leave out the brackets []

/msg NickServ ghost nickname password

Stick with GHOST for now, as Recover is becoming more obsolete.

Linked List Explained

Linked List
If you don't really understand how linked lists work or why we should even use them then this page is made for you!