|
You last visited: Today at 21:45
Advertisement
[RE-OPENING]"Programming For Idiots (Tutorial) - In C#"
Discussion on [RE-OPENING]"Programming For Idiots (Tutorial) - In C#" within the CO2 Programming forum part of the Conquer Online 2 category.
09/16/2009, 22:40
|
#1
|
elite*gold: 0
Join Date: May 2009
Posts: 836
Received Thanks: 239
|
[RE-OPENING]"Programming For Idiots (Tutorial) - In C#"
At start i want to say THIS IS NOT MY GUIDE , GUIDE WAS MADE BY INFAMOUSNONE!!
Quote:
Lesson One - Console IO (Input/Output): 
Other Mirrors:
- keving
Description: I explain the basic input and output of a console and get into a little bit of string variables here, the concept of using the console will always be the most vital thing for figuring out where errors are and keeping your application running and generating error reports.
|
Quote:
Lesson Two - Variables: 
Other Mirrors:
- Akinci1234
Description: I explain the use of variables, how to use them, what they're used for, what kind of integer-variable to use and when and so on. I also get into variable conversions such as int to string, and string to int.
|
Quote:
Lesson Three - Exceptions and Errors: 
Other Mirrors:
- Akinci1234
Description: Here I cover how to handle exceptions, why they occur, how to get information from them and prevent them from happening, when to use try/catch blocks.
|
Quote:
Lesson Four - Loops and Arrays: 
Other Mirrors:
- Akinci1234
Description: I discuss what arrays are used for near the end, and demonstrate the two ways of creating in C# (initializing by defining the values, or by size), and I also demonstrate how the while and for loop are used. If anyone wants me to go more in depth on either arrays or loops post your question here.
|
Quote:
Lesson Five - Collections: 
Other Mirrors:
- Akinci1234
Description: I talk about the use of collections that are like arrays, but where you do not have to specify the size, I also talk about the dangers of trying to use ArrayList's to hold a ton of data instead of copying it to a normal C# array.
I forgot to mention in this video you can preform a foreach loop on arraylists, for example:
Code:
ArrayList list = new ArrayList();
// add stuff the list
foreach (object obj in list)
{
// you have to use object as you loop variable, but inside the loop
// you can typecast it to whatever you want
// i.e.
// int i = (int)obj;
}
Intermediate
|
Quote:
Lesson Six - Classes: 
Other Mirrors:
- Akinci1234
Description: Here I cover what classes should be used for, and DLL Imports in C#. In this one, I display how to make an INI reader and writer class, and make it possible so that you can write or read in different variable types using parsing methods.
|
Quote:
Lesson Seven - Pointers: 
Description: I discuss the ups and downs of pointers, I also demonstrate why hadeset is a down with pointers and how pointers can be potentially so dangerous to crash your application; On other hand I demonstrate how they could speed your application up if used properly.
|
Quote:
Lesson Eight - Ciphers and Encryptions: 
Description: I start off by explaining whats needed to invent your own cipher, then I use an algorithm I invented at 13 to create a "advanced" or at least "intermediate" cipher. At the end I show an example of a really easy cipher to create.
|
Quote:
Lesson Nine - Socket Programming
This lesson will be broken down into sub-lessons which will covert several aspects of socket programming (i.e. client, server, packets, etc.)
|
Quote:
Introduction: 
Description: Here I just introduce socket programming and show what namespaces will be needed and I introduce the class we'll be working with and wrapping.
|
Quote:
Server and Client: 
Description: Here I introduce socket programming using my "WinsockClient" and "WinsockServer" from my System.NativeInterop DLL I include.
|
!!!IMPORTANT!!!
REMEMBER THAT THIS GUIDE WAS MADE BY INFAMOUSNONE , NOT ME!!
DO NOT FLAME ME FOR ANYTHING PLEASE!!
|
|
|
09/16/2009, 23:03
|
#2
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
o.0 who's an idiot?
|
|
|
09/16/2009, 23:20
|
#3
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
Quote:
Originally Posted by blade911
o.0 who's an idiot?
|
More people in this section than you can count on 30 hands.
|
|
|
09/16/2009, 23:45
|
#4
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
hahahaha.
|
|
|
09/16/2009, 23:57
|
#5
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
Prototype finds it funny, maybe ignorance controls him.
|
|
|
09/16/2009, 23:59
|
#6
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
Quote:
Originally Posted by _tao4229_
More people in this section than you can count on 30 hands.
|
actually i laughed at this you fool
|
|
|
09/17/2009, 00:07
|
#7
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
Idc, you always comment after I do cuz you got no life.
|
|
|
09/17/2009, 00:13
|
#8
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
...and just for your information, saint was including you on his 30 hands
|
|
|
09/17/2009, 00:17
|
#9
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
Not know what to say so you point out the obvious...
|
|
|
09/17/2009, 00:23
|
#10
|
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
|
It includes every person who's posted previous to this post.
Except myself.
|
|
|
09/17/2009, 00:25
|
#11
|
elite*gold: 0
Join Date: Aug 2009
Posts: 930
Received Thanks: 448
|
i am deleting my posts then
|
|
|
09/17/2009, 00:31
|
#12
|
elite*gold: 0
Join Date: Jun 2009
Posts: 378
Received Thanks: 141
|
#Request move to Programing Section
This not a general programing section as stated in the videos they do no pertain to conquer at all they are the basic's for programming that you should know.
Note this is not a flame its just common sense maybe you should write a " Common Sense for Idiots"
If you would like to continuation of tutorial about C# let me know i will Start a topic about it.
|
|
|
09/17/2009, 00:33
|
#13
|
elite*gold: 20
Join Date: Mar 2008
Posts: 958
Received Thanks: 494
|
Thread for
Quote:
Originally Posted by Soiken
idiots
|
|
|
|
09/17/2009, 00:40
|
#14
|
elite*gold: 0
Join Date: May 2006
Posts: 828
Received Thanks: 235
|
Man Hybrid is such a nerd.
|
|
|
09/17/2009, 10:05
|
#15
|
elite*gold: 0
Join Date: May 2009
Posts: 836
Received Thanks: 239
|
Guys , this isn`t my Guide or Title :P INFAMOUSNONE has made this title + Guide :P Don`t laught from this title xD it`s mostly for lazy ppl that don`t wan`t to read guides This is Video Guide about C# so i think it`s nice for ppl from diff country then U.S.A bcoz (like me) we can`t understand everything when thread have 10 mins of reading >.<
|
|
|
 |
|
Similar Threads
|
Programming For Idiots (Tutorial) - In C#
05/25/2013 - CO2 Programming - 188 Replies
This tutorial has been superseded by: http://www.elitepvpers.com/forum/co2-programming/88 5939-programming-idiots-c-take-2-a.html
Well for the next week (or so) due to being bored, I've started a video-tutorial called C# Programming for Idiots and yeah, by the end of it I'll demonstrate how to make a conquer server (patch 5016 and before) without the need of mysql, or anything like that; all you need is the Visual C# compiler, and WinRAR (To extract the videos).
Visual C# Compiler:...
|
Programming for Idiots (Tutorial) C++
06/11/2012 - CO2 Programming - 20 Replies
Yeah, so in my relation to my C# one (http://www.elitepvpers.com/forum/co2-guides-templa tes/148675-programming-idiots-tutorial-c.html), which wasn't the best I felt I'll *try* make for it with this one. I've also got some spare time in between school, from when exams start, and a new Warlords server comes out... so yeah.
Right, so before I post any links to the videos I'd like to point out, so I don't get bitched at by people saying, "this isn't real C++", most of the things I do will be...
|
All times are GMT +1. The time now is 21:46.
|
|