|
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.
[2014-12-05. : 11:10 pm] Dem0n -- Mini Moose 2707Mini Moose 2707 shouted: What are you writing a shell in anyway C/Unix[2014-12-05. : 11:09 pm] Moose -- It's like Magic Boxes except it's upfront about you getting fucked.[2014-12-05. : 10:30 pm] Dem0n -- Yay, my shell can change directories and exit. Too bad those are the two easiest things to code.[2014-12-05. : 10:02 pm] Dem0n -- But once I look at that node, I don't know how to decide if I should execute that command, or go to another node with a command of a higher precedence[2014-12-05. : 10:01 pm] Dem0n -- Well, the arguments are already parsed and put into the tree for me, so I just have to look at each node and see which command it's holding[2014-12-05. : 10:00 pm] Dem0n -- What do you mean by delimiters? All I've ever seen them used for are tokenizers[2014-12-05. : 9:59 pm] Moose -- So don't you get to decide what the delimiters are and process arguments however you say they're processed?[2014-12-05. : 9:58 pm] Dem0n -- Speaking of which, I have no clue how to process a tree to see which commands I need to eecute[2014-12-05. : 9:57 pm] Dem0n -- in this project where I have to write my own shell. There's a tree struct that stores the commands being entered, and each node has **argv, but no argc[2014-12-05. : 9:45 pm] jjf28 -- you can make assumptions like that, and they might be true, but they don't have to be[2014-12-05. : 9:43 pm] Dem0n -- What is **argv represented as? Is it just a bunch of strings concatenated together with a null character in between each of them?[2014-12-05. : 9:41 pm] Dem0n -- how do I iterate through that without knowing the length of each string?[2014-12-05. : 9:11 pm] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: bitwise arithmetic is hard ;_; I love bitwise operators ![]() [2014-12-05. : 9:09 pm] Devourer -- jjf28jjf28 shouted: like, best website ever http://en.cppreference.com/w/cpp/language/operator_precedence ! pretty cool[2014-12-05. : 9:07 pm] jjf28 -- like, best website ever http://en.cppreference.com/w/cpp/language/operator_precedence ![2014-12-05. : 9:06 pm] O)FaRTy1billion[MM] -- RoyRoy shouted: Or is it a(2 XOR n)? PEMDAS didn't prepare me for this shit. Multiplication has precedence[2014-12-05. : 8:18 pm] Sacrieur -- http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx[2014-12-05. : 8:04 pm] Jack -- FaRTy1billionFaRTy1billion shouted: Jack Jack I'm not. What is STL? Standard Template Library, a set of libraries for C++ which are generally templated so you can use them for pretty much any type. Lots of useful things like different sorting methods and dynamic list types available[2014-12-05. : 7:40 pm] Fire_Kame -- I don't understand why blizzard still sells their game cards in these boxes. This is the second time of three times I've bought it this way that there was no game card in the box.[2014-12-05. : 6:35 pm] jjf28 -- lil-Infernolil-Inferno shouted: Would anyone else care to join us for map afternoon? yes!.... next friday ![]() [2014-12-05. : 6:15 pm] Sacrieur -- RoyRoy shouted: Or is it a(2 XOR n)? PEMDAS didn't prepare me for this shit. xD[2014-12-05. : 6:03 pm] Dem0n -- When we have questions on our exams where it tells us to do some operation using only certain symbols, I'm like fuck[2014-12-05. : 6:02 pm] Dem0n -- lil-Infernolil-Inferno shouted: Who's try'na play some diplomacy? me[2014-12-05. : 5:59 pm] Roy -- SacrieurSacrieur shouted: or you could just right a*2^n Yeah, you could do that if you want to do 2a XOR n. |