|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2015-9-10. : 3:53 am] O)FaRTy1billion[MM] -- FaRTy1billionFaRTy1billion shouted: if(argc > 1) maps.OpenMap(argv[1]); vs. http://puu.sh/k52uf/0a629755cb.png[2015-9-10. : 3:53 am] O)FaRTy1billion[MM] -- arg.length is in absolutely no way related to anything about this[2015-9-10. : 3:52 am] O)FaRTy1billion[MM] -- Just because you're presumably unfamiliar with c and I'm not the best at wording things has very little reflection on whether or not it is easy[2015-9-10. : 3:52 am] Sacrieur -- FaRTy1billionFaRTy1billion shouted: I was saying in C it's super easy because argc is the number of arguments, and argv is the array of them, already sorted out so you don't ever need to deal with "s [2015-9-10. : 3:51 am] Sacrieur -- The fact I had to read that three times means it's not super easy.[2015-9-10. : 3:51 am] O)FaRTy1billion[MM] -- or deal with string lengths or anything, you just have to do FaRTy1billionFaRTy1billion shouted: if(argc > 1) maps.OpenMap(argv[1]); [2015-9-10. : 3:50 am] O)FaRTy1billion[MM] -- I was saying in C it's super easy because argc is the number of arguments, and argv is the array of them, already sorted out so you don't ever need to deal with "s[2015-9-10. : 3:49 am] O)FaRTy1billion[MM] -- What? I was talking specifically about for command line arguments[2015-9-10. : 3:49 am] Sacrieur -- FaRTy1billionFaRTy1billion shouted: Sacrieur argv[1]. FaRTy1billionFaRTy1billion shouted: Oh, the array length is argc [2015-9-10. : 3:48 am] Sacrieur -- FaRTy1billionFaRTy1billion shouted: also strlen(str) isn't any harder It's plenty harder, for a number of reasons[2015-9-10. : 3:45 am] O)FaRTy1billion[MM] -- It wasn't that I didn't remember, it's that I didn't read[2015-9-10. : 3:44 am] Sacrieur -- Man if only it were easy llike <string>.length. That would be super easy to remember.[2015-9-10. : 3:43 am] O)FaRTy1billion[MM] -- SacrieurSacrieur shouted: FaRTy1billion You'd still have to get the array length. argv[1].[2015-9-10. : 3:39 am] jjf28 -- I could use something nicer like scanf without going to regex ofc, but I want regex power for other parsing needs[2015-9-10. : 3:31 am] Sacrieur -- His code is still difficult for me to read at a glance, like what the fuck LPSTR is.[2015-9-10. : 3:31 am] Sacrieur -- In any case, I don't believe jjf's problem is that he doesn't know Regex, which is the point I'm trying to get at.[2015-9-10. : 3:26 am] Sacrieur -- In C#, strings are reference types that can be treated like value types.[2015-9-10. : 3:24 am] Sacrieur -- FaRTy1billionFaRTy1billion shouted: Sacrieur Sacrieur Sacrieur or you can do argc[1]. Done. You'd still have to get the array length.[2015-9-10. : 3:23 am] Sacrieur -- Dem0nDem0n shouted: Fire_Kame I don't kiss his ass. In fact, I do inherently dislike him lel. Yeah it sucks when other people don't take your shit, huh?[2015-9-10. : 3:03 am] lil-Inferno -- I couldn't help but notice that I didn't win the raffle. Devourer, I thought you rigged it in my favor?[2015-9-10. : 3:02 am] lil-Inferno -- BloodyZombie117BloodyZombie117 shouted: Azrael It's QT3.14 if you want to get memey. tfw no qt 3.14 gf[2015-9-10. : 2:39 am] O)FaRTy1billion[MM] -- SacrieurSacrieur shouted: FaRTy1billion In C# that's totally unnecessary. SacrieurSacrieur shouted: String.StartsWith() would do what jjf wants. SacrieurSacrieur shouted: Then you can just find the string length using the length property. or you can do argc[1]. Done.[2015-9-10. : 2:30 am] BloodyZombie117 -- AzraelAzrael shouted: Dem0n Aww what a cutiepie <3 It's QT3.14 if you want to get memey.[2015-9-10. : 2:04 am] lil-Inferno -- GeneralpieGeneralpie shouted: mfw I grow multiple mouths :OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO You need multiple mouths to consume all these memes. |
GGmano, ShifaAttia