IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.66 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-24
[09:09]<pzrrnrvqt0wr>not really :>
[09:09]<pzw>it doesnt? :)
[09:09]<pzw>well yes i know the difference
[09:09]<pzrrnrvqt0wr>you don't know references unless you realise they are pointers and that you can do pointer arithmetic :)
[09:09]<pzrrnrvqt0wr>http://www.amazon.com/gp/product/0130622214/102-0610849-8616143?v=glance&n=283155
[09:10]<pzrrnrvqt0wr>^-- try this one on for size
[09:10]<pzw>Project2501a: oh.. pointers.. yes i know what that is.. but i cant "do them" cause all ive ever programmed is C# and java
[09:11]<pzrrnrvqt0wr>learn pointers :P
[09:11]<pzrrnrvqt0wr>C# has pointers :P
[09:11]<pzw>it does? :)
[09:11]<pzrrnrvqt0wr>they are an advanced subject
[09:11]<pzrrnrvqt0wr>yup
[09:11]<pzrrnrvqt0wr>in unmanaged code.
[09:11]<pzw>well ofc t hey have pointers.. but can u do them?
[09:11]<pzw>thats what i thougt :P
[09:12]<pzw>Project2501a: i am trying to learn some C though
[09:14]<pzrrnrvqt0wr>good man :)
[09:14]<pzrrnrvqt0wr>learn unix, too
[09:15]<pzw>i know some linux
[09:18]<pzynsv-jp-psy>morning
[09:27]<pzw>Priest-of-Psi: moin
[09:42]<rfffgdrgwq19>Hi
[09:44]<pzw>hi
[09:59]<pzynsv-jp-psy>frW: C++ is better then C
[10:03]<znzznss>if I declare my array as such: int [] intArray; intArray = new int[5], then can that array only hold 5?
[10:03]<pzw>Priest-of-Psi: It is used for different things
[10:03]<pzw>regress: yes
[10:03]<pzw>regress: 5 items
[10:03]<znzznss>so what's this talk about arrays being dynamic in c#?
[10:03]<pzw>Such as ArrayList
[10:04]<znzznss>is there a way I can increasse the capacity of the array without knowing how large it is at declaration time?
[10:04]<znzznss>arraylist, ok, I'll check it
[10:04]<pzw>regress: ArrayList m_myArr = new ArrayList(); m_myArr.Add("Hi");
[10:05]<znzznss>hmm, do I need to specify the datatype inside of it?
[10:05]<pzw>regress: the way you created it, it is not possible. But using an arraylist lets you do that
[10:05]<pzynsv-jp-psy>frW: nope
[10:05]<pzw>You can in .net 2.0 using collections or what it is called..
[10:05]<pzynsv-jp-psy>you can do everything in c++ you wanted to do in C
[10:05]<pzynsv-jp-psy>frW: its called generics
[10:05]<pzw>Priest-of-Psi: yes but people still uses C
[10:05]<pzw>ah yeah that is right :D
[10:06]<pzynsv-jp-psy>List<string> objlist = new List<string<string>();
[10:06]<pzw>Priest-of-Psi: C is structure based and C++ is oop.. totaly different :)
[10:06]<pzynsv-jp-psy>works the same as an arraylist
[10:06]<pzynsv-jp-psy>but for strings
[10:06]<pzynsv-jp-psy>frW: c++ is driven from C
[10:06]<pzw>I know
[10:06]<pzynsv-jp-psy>example: c++ is C and OOP
[10:06]<pzw>C is deriven from B that is deriven from A :)
[10:06]<pzynsv-jp-psy>heh
[10:06]<pzynsv-jp-psy>regress:
[10:07]<sdnffdxdlld>derived :P
[10:07]<pzynsv-jp-psy>did you follow that?
[10:07]<pzynsv-jp-psy>smellyhippy: sup homie!
[10:07]<pzw>smellyhippy: whatever :P
[10:07]<sdnffdxdlld>lo
[10:07]<pzw>Priest-of-Psi: But C is not OOP. but you can make an OOP language with C :)
[10:08]<pzw>Priest-of-Psi: im not a C / C++ guy so i dont really know how to argue for either of them :P
[10:08]<pzynsv-jp-psy>I am coding c++ purely now
[10:08]<pzynsv-jp-psy>no more .net
[10:08]<pzw>oh 8GB CF for 160 dollars..
[10:08]<pzw>Priest-of-Psi: why?
[10:08]<pzynsv-jp-psy>because
[10:08]<pzynsv-jp-psy>I can?
[10:08]<pzw>heh
[10:08]<pzynsv-jp-psy>and .net is becomming too easy
[10:08]<pzw>i must say that i love .net
[10:08]<pzw>that is why i love .net
[10:09]<znzznss>Priest-of-Psi: yeah, I follow that
[10:09]<pzynsv-jp-psy>any person can code .net
[10:09]<pzw>however, i love to know what is happening behind the scene
[10:09]<znzznss>so are Lists simple a more flexible version of ArrayList?
[10:09]<pzynsv-jp-psy>regress: also check out Dictionary<key,value>
[10:09]<pzynsv-jp-psy>regress: List is a generic
[10:09]<pzynsv-jp-psy>smellyhippy showed me about generics
[10:09]<pzynsv-jp-psy>:)
[10:09]<pzw>I never understoond what my teacher was babbling about when he talked about Hashtables..
[10:10]<pzw>I know how to use them and ive done so many times..
[10:10]<pzynsv-jp-psy>Hastables are awesome
[10:10]<pzw>I kniw
[10:10]<znzznss>why is it you're against .net being easy to use?
[10:10]<pzynsv-jp-psy>because I get bored when things become easy
[10:10]<pzynsv-jp-psy>I know I can code .net
[10:10]<pzw>Priest-of-Psi: he said that a hashtable wroks like ... em.. You have an index, then you can add many items to the same index, but you cant.. right?
[10:10]<pzynsv-jp-psy>but its too easy so there is no challenge in it anymore
[10:11]<pzynsv-jp-psy>frW: hastables are simaler to arraylists
[10:11]<sdnffdxdlld>you can have 1 unique index per item
[10:11]<pzw>Priest-of-Psi: yes but they have an index :)
[10:11]<pzynsv-jp-psy>yeah
[10:11]<pzw>i know but he have some fucked up idea about them
[10:11]<pzw>cause he is a fucking retard.. The school hired someone who was mentally ill..
[10:11]<pzw>I cant understand why they do that
[10:11]<rzzjrrgv>Priest-of-Psi: If you're looking for difficulty, change paradigms.
[10:11]<pzw>And they couldnt fire him
[10:11]<rzzjrrgv>Hit Haskell or something.
[10:12]<pzw>So i gave them an MSN logg of me speaking to him.. he will never ever be able to teach at that school again :P
[10:12]<pzynsv-jp-psy>Arrogant: I am either going to code C / C++ or python
[10:12]<pzw>Priest-of-Psi: sorry, when i talk about him i get a little over excited.. :P
[10:12]<pzynsv-jp-psy>its ok man







