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: 1822.25 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-07-05
[18:27]<azyfm>TimeSpan ts = new TimeSpan(hours, minutes, seconds);
[18:28]<zu2>ok
[18:28]<zu2>let me try
[18:28]<sdnffdxdlld>yer ... track 16 ... disc 2 ... dark side of the 80's
[18:29]<sdnffdxdlld>I'd know the name of the band but *somone* didnt rip the tack names :P
[18:29]<sdnffdxdlld>someone
[18:29]<sdnffdxdlld>track
[18:29]<sdnffdxdlld>ffs
[18:29]<fraa>i make a normal class in static class, and 2 method. 1 load, and 1 save. in this method i step to the variables, and fill. the 2 class's variables is equal. the name, end the type, too. but i don't know the variables.
[18:29]<fraa>i want to step to static class's variables
[18:30]<fraa>whereby?
[18:30]<mjzdmdgo|busd>smippy: dude... I was dumping my ex on the day I copied them... sorry
[18:30]<sdnffdxdlld>ya ripped that one long before then
[18:31]<sdnffdxdlld>hmmm the systables are hidden in management studio :S
[18:31]<mjzdmdgo|busd>Not in mine
[18:31]<mjzdmdgo|busd>??
[18:31]<fraa>normalclass c = new normalclass();
[18:32]<fraa> FieldInfo[] fi = p.GetType().GetFields();
[18:32]<fraa>p=c :)
[18:32]<mjzdmdgo|busd>go to the options... Environment> untick Hide System Objects in Object Explorer
[18:32]<fraa>but c isn't a static class :(
[18:32]<sdnffdxdlld>I can only see dbo.sysdiagrams on this db :/
[18:34]<mjzdmdgo|busd>see msn
[18:34]<mjzdmdgo|busd>you can turn the viewing on
[18:35]<zu2>Arild i have one error underlying my source code, ts=new timespan(date.now.hour,date.now.minute,date.now.second)
[18:36]<zu2>Error
[18:36]<fraa>anybody can i halp me?
[18:36]<azyfm>what's date.now?
[18:36]<azyfm>and it seems like you're trying to represent the time since midnight?
[18:37]<azyfm>you can get that from DateTime.TimeOfDay
[18:37]<azyfm>public TimeSpan TimeOfDay { get; }
[18:37]<azyfm>
[18:37]<azyfm>C++
[18:37]<azyfm>public:
[18:37]<azyfm>property TimeSpan TimeOfDay {
[18:37]<azyfm> TimeSpan get ();
[18:37]<azyfm>}
[18:37]<azyfm>
[18:37]<azyfm>J#
[18:37]<azyfm>/** @property */
[18:37]<azyfm>oops, sorry
[18:37]<azyfm>thought it'd just paste the C# one
[18:37]<mjzdmdgo|busd>PASTEBIN
[18:37]<azyfm>:-(
[18:39]<mjzdmdgo|busd>Ni!
[18:39]<drdyrrr>Arild, SeaSharp ?
[18:40]<azyfm>lol
[18:40]<sjlx>hi
[18:40]<zgzzcygnv>+10 points if you know where thats from :P
[18:40]<zgzzcygnv>Moridin8|Busy += 10
[18:40]<drdyrrr>Told my gf wanted to call our new house Seas Harp
[18:40]<azyfm>didnt go down hell, I'd expect
[18:40]<mjzdmdgo|busd>-1000 points if you know what they replaces Ni with....
[18:40]<azyfm>well
[18:40]<azyfm>oh well, hell, well, same thing
[18:40]<drdyrrr>Well she didn't quite twig I'd be verbally saying c#
[18:43]<`d0>what is this? template <class T>
[18:43]<azyfm>C++
[18:43]<`d0>what is its equivalent ?
[18:43]<svzz[wjzc]>class myclass<t>
[18:44]<azyfm>class Foo<T> { ... }
[18:44]<svzz[wjzc]>class myclass<t> : where T is class
[18:44]<azyfm>why the constraint? the c++ one doesn't do any such thing
[18:44]<svzz[wjzc]>no? i thought the class keyword implied that
[18:45]<lnvnzxu>it doesn't
[18:45]<azyfm>the c++ template syntax throws around "class" everywhere
[18:45]<svzz[wjzc]>ok sorry
[18:45]<drdyrrr>generics != templates
[18:45]<azyfm>sometimes replaced with "typename"
[18:45]<`d0>http://pastebin.ca/79600
[18:45]<lnvnzxu>class and typename are synonymous
[18:45]<`d0>That link is what I want to convert to C#
[18:45]<lnvnzxu>(in this context)
[18:45]<`d0>There are no Vector utilities in C#
[18:45]<`d0>So I need to make a vector mathematics routine
[18:45]<lnvnzxu>List<T>
[18:46]<lnvnzxu>oh
[18:46]<lnvnzxu>you mean a vector as in a matrix
[18:46]<drdyrrr>okay, so paste that into a manged C++ app
[18:46]<drdyrrr>compile it.
[18:46]<`d0>yea
[18:46]<azyfm>What's the vector, victor?
[18:46]<drdyrrr>run reflector on it
[18:46]<drdyrrr>disassemble into c#
[18:46]<drdyrrr>paste into new c# project :)
[18:46]<`d0>?
[18:46]<`d0>I have static C++ libs
[18:46]<`d0>I don't know how I should do them within C#, I am recreating the files
[18:47]<lnvnzxu>damieng: that won't do anything, as that's not managed code
[18:47]<`d0>it is unmanaged code
[18:47]<azyfm>templated matrices are somewhat icky to do in C# anyway, since you can't constrain types to have mathematical operators
[18:48]<drdyrrr>http://axiomengine.sourceforge.net/wiki/index.php/Main_Page
[18:48]<drdyrrr>might contain some c# samples for vector math
[18:48]<lnvnzxu>time to go get a sandwich
[18:49]<mjzdmdzo|azzzd>Damn BO...=/
[18:49]<mjzdmdzo|azzzd>project just got cancelled on me...
[18:49]<drdyrrr>ah, ignore Axiom link I posted... it's not .net 2.0 generics
[18:49]<azyfm>anyone tried blogging from Onenote 2007?
[18:49]<mjzdmdzo|azzzd>*A* project just got cancelled on me...
[18:49]<`d0>http://m0.myftp.org/







