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.50 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-16
Pages: 1
[00:03]<affusffus>could that work under c#? for (int i = 0, j = 1; i < count; i++, j = j + 3) ...
[00:06]<zndy_wjfnz>Cool... The namespace 'MyApp' allready contains a defination for '?'
[00:16]<kjr>Remi_Woler: isn't the ternary operator supposed to be defined....?
[00:16]<zndy_wjfnz>thought so...
[00:17]<kjr>well, it's a part of the language spec
[00:19]<affusffus>hm...why is the result 1.0? ;/ http://www.rafb.net/paste/results/KNSsYd51.html
[00:19]<zndy_wjfnz>Kog: It gives the error on the second [ in the line "string[] values = new string[1] { "csBedrijf" };"
[00:20]<kjr>Remi_Woler: that's because you're defining it incorrectly
[00:20]<zndy_wjfnz>Kog: it always worked :D
[00:20]<kjr>if you're going to explicitly define it (new string[] {"asdf"}) you don't want the string[1]
[00:20]<kjr>I'm not sure that's a syntax error... but it's bad form
[00:21]<zndy_wjfnz>Kog: I ran it that way without errors a 1000 times (prolly more)
[00:21]<kjr>it's still bad form
[00:21]<zndy_wjfnz>eh, okay
[00:22]<affusffus>Remi_Woler any idea?;/
[00:22]<kjr>if it's just a one element string array, why bother?
[00:23]<zndy_wjfnz>Kog: I learned that this was the way it is supposed to be written. You think I should loose the number?
[00:24]<kjr>Remi_Woler: what I'm saying is it's bad form to both give a size and explicitly define
[00:24]<kjr>either give it a size and set it later, or explicitly define it
[00:24]<zndy_wjfnz>cplusplus: no, I have no clue
[00:24]<kjr>but, if it's a one element string[], why use an array at all
[00:24]<kjr>that doesn't make a whole lot of sense
[00:25]<zndy_wjfnz>Kog: I understand what you mean. Just making sure I delete the right part. I'd rather stick with the standards, then some book
[00:25]<kjr>I may incorrect about that convention... look on MSDN if you want the answer
[00:25]<kjr>my point about a one element array still stands regardless
[00:26]<zndy_wjfnz>Kog: because the method that get's the array, doesn't have an overload yet
[00:26]<kjr>the easiest way to test if it's a syntax error from defining both the size and the elements explicitly is to remove the size declaration
[00:26]<kjr>Remi_Woler: I sometimes mix up which language I'm talking about, so I may well be wrong
[00:26]<zndy_wjfnz>it's not a syntax error. It compiled 1000 times fine
[00:28]<zndy_wjfnz>Kog: I created an other fatal error somewhere else, and fixed that, and now exactly the same line compiles fine :)
[00:33]<zndy_wjfnz>Hmm... Now I get the same error in the Designer Window :S
[00:37]<affusffus>Remi_Woler: it works: result += 1 / System.Convert.ToDouble(j);
[00:38]<zndy_wjfnz>cplusplus: good :)
[00:39]<affusffus>how can i print a double with Console.WriteLine?
[00:39]<affusffus>because output is: 0002,97604617604618 ... i dont need the at first...
[00:39]<kfylsax>anybody can help with regexp? id like to know how to have the regexp search for a string until he find a space
[00:40]<affusffus>ups..
[00:40]<affusffus>i had a second wirte in function;/
[01:26]<mupmvz>anyone programatically enable/disable a usb port w/ c#
[01:41]<zndy_wjfnz|afk>nite all
[01:42]<mupmvz>or programatically hijack a hid device so you can control when characters are transmitted or not transmitted
[02:47]<zgmz19s>when writing a formal report
[02:48]<zgmz19s>if I want to add internet links, do I add them as footnotes or references?
[02:48]<mupmvz>Error 2 Inconsistent accessibility: parameter type 'Applus.Applications.WAKiosk.CreditCard' is less accessible tha
[02:48]<mupmvz>what does that mean?
[02:53]<mupmvz>insert public
[02:53]<mupmvz>np
[02:59]<rxrcr_>interesting
[02:59]<rxrcr_>looks like someone else is using my nick
[02:59]<rxrcr_>time to learn how to use nickserv properly
[03:01]<ddx>chaka, success eh?
[03:02]<rxrcr>yep. Glad I bothered to register my nick way back when
[03:02]<ddx>way to be
[03:02]<rxrcr>never really used any other nickserv command though till now
[03:18]<afnwyt>what is a good way to simulate unix process forking in .net or is there a better way to do stuff like this
[03:41]<mupmvz>is it possible to set a forms cursor to none
[03:41]<mupmvz>none isnt an option in the list anyway
[03:54]<afnwyt>i want to have a server that spawns forks other processes
[03:55]<nvzzfzsv>Alexi5: threads?
[04:17]<mupmvz>this.cursor.dispose
[04:17]<mupmvz>like to think theres a better way than that
[04:28]<sgjjls>hey, am I correct in thinking the visual studio 2005 ide can have modules added to it - to support different languages?
[04:30]<cxrfnm>Snoops, yes. You are correct.
[04:30]<ddx>languages? hmm
[04:30]<ddx>first thing that came to mind is http://viemu.com/
[04:31]<cxrfnm>i assumed he meant programming languages
[04:31]<sgjjls>What I'm looking for is a module for vs2005 to support cfml
[04:31]<ddx>Oh, I'm sure. I'm just saying there is a lot of cool addons out there
[04:31]<ddx>I'm not familiar with any language / compiler addons tho.
[04:31]<sgjjls>been looking on google for the last 30 mins..
[04:31]<sgjjls>shrug, damn search terms
[04:32]<cxrfnm>dmh, there is visual perl add-on from active perl
[04:33]<ddx>is it.. Komodo?
[04:33]<ddx>Or is that a seperate stand alone program
[04:34]<ddx>Not familiar, sorry
[04:35]<sgjjls>is there some main site for language addons? (if just purely syntax stuff, not linking to compilers etc)
[04:41]<jdvgdjgcgd>i've hacked craigslist once again
[04:44]<mupmvz>interesting
[05:40]<jdvgdjgcgd>i'll be the judge of that
[06:03]<zgzzcydjvgev>is there an official standard (perhaps an RFC or ISO document) that defines INI files?
[06:53]<vnsvnz0101>does anyone know if the XmlDocument class allows you to write the XSL stylesheet information tag into a file ?
[08:26]<lyfuym-wjzc>lo all
[08:26]<lyfuym-wjzc>rikkus awake?
[08:51]<lyfuym-wjzc>even without databinding this grid is being a bitch
[09:40]<lyfuym-wjzc>Kog
[09:40]<lyfuym-wjzc>here?
Pages: 1







