Members in Shoutbox
None.

Shoutbox Search
Search for:


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.
Pages: < 1 « 3218 3219 3220 3221 32223572 >

[2014-12-05. : 11:12 pm]
Moose -- Fuck yeah, UNIX is the best
[2014-12-05. : 11:11 pm]
jjf28 -- Unix? that thing's still alive?
[2014-12-05. : 11:10 pm]
Dem0n -- Mini Moose 2707
Mini 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. : 11:09 pm]
Moose -- Sounds like my kind of game
[2014-12-05. : 11:07 pm]
MasterJohnny -- mmm no
[2014-12-05. : 11:06 pm]
Fire_Kame -- you do
[2014-12-05. : 11:06 pm]
MasterJohnny -- who wants to buy a ticket for 20 and win 15 minerals...
[2014-12-05. : 11:06 pm]
MasterJohnny -- aniother jackpot thats lower then the cost of a ticket..
[2014-12-05. : 11:00 pm]
Moose -- What are you writing a shell in anyway
[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:15 pm]
lil-Inferno -- XD
[2014-12-05. : 10:02 pm]
Moose -- Damn, writing a shell is weird XD
[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:01 pm]
Moose -- Delimiters as in things that separate arguments, in this case
[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:59 pm]
Dem0n -- I don't know how to take operator precedence into account
[2014-12-05. : 9:58 pm]
Dem0n -- execute*
[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:56 pm]
Moose -- Where do you have argv without argc?
[2014-12-05. : 9:45 pm]
Dem0n -- well fuck lel
[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:42 pm]
jjf28 -- the amount*
[2014-12-05. : 9:42 pm]
jjf28 -- oh, then ur on ur own
[2014-12-05. : 9:42 pm]
Dem0n -- This argv is just a variable in a struct
[2014-12-05. : 9:42 pm]
Dem0n -- I don't have an argc
[2014-12-05. : 9:41 pm]
jjf28 -- think of argc as argCount
[2014-12-05. : 9:41 pm]
jjf28 -- but they amount of crazy stuff it could be *shivers*
[2014-12-05. : 9:41 pm]
Dem0n -- how do I iterate through that without knowing the length of each string?
[2014-12-05. : 9:41 pm]
Dem0n -- yeah that's what I meant
[2014-12-05. : 9:41 pm]
jjf28 -- typically it's an array of strings
[2014-12-05. : 9:36 pm]
Dem0n -- Is char **argv an array of arguments?
[2014-12-05. : 9:24 pm]
jjf28 -- mad cause sad cause bad cause dad
[2014-12-05. : 9:16 pm]
lil-Inferno -- mad cuz bad
[2014-12-05. : 9:16 pm]
lil-Inferno -- he mad as fuk
[2014-12-05. : 9:13 pm]
O)FaRTy1billion[MM] -- yay, 40 box
[2014-12-05. : 9:12 pm]
Moose -- Dem0n just mad because he skipped the class on bitwise operators
[2014-12-05. : 9:11 pm]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: bitwise arithmetic is hard ;_;
I love bitwise operators :O
[2014-12-05. : 9:09 pm]
Devourer -- jjf28
jjf28 shouted: like, best website ever http://en.cppreference.com/w/cpp/language/operator_precedence !
pretty cool
[2014-12-05. : 9:08 pm]
jjf28 -- webpage*
[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] -- Roy
Roy shouted: Or is it a(2 XOR n)? PEMDAS didn't prepare me for this shit.
Multiplication has precedence
[2014-12-05. : 8:38 pm]
Devourer -- You are old :)
[2014-12-05. : 8:38 pm]
Devourer -- n64 + gamecube
[2014-12-05. : 8:27 pm]
NudeRaider -- gamecube = childhood? :massimo: :sadwalk:
[2014-12-05. : 8:18 pm]
Sacrieur -- .NET Core
[2014-12-05. : 8:04 pm]
Jack -- FaRTy1billion
FaRTy1billion 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:45 pm]
lil-Inferno -- I'm kicking new flava in ya ear.
[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-Inferno
lil-Inferno shouted: Would anyone else care to join us for map afternoon?
yes!.... next friday :(
[2014-12-05. : 6:35 pm]
Dem0n -- pls stop spam
[2014-12-05. : 6:31 pm]
Devourer -- Childhood, good old gamecube
[2014-12-05. : 6:15 pm]
Sacrieur -- Roy
Roy shouted: Or is it a(2 XOR n)? PEMDAS didn't prepare me for this shit.
xD
[2014-12-05. : 6:13 pm]
lil-Inferno -- Would anyone else care to join us for map afternoon?
[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:03 pm]
Dem0n -- bitwise arithmetic is hard ;_;
[2014-12-05. : 6:02 pm]
Roy -- Or is it a(2 XOR n)? PEMDAS didn't prepare me for this shit.
[2014-12-05. : 6:02 pm]
Dem0n -- lil-Inferno
lil-Inferno shouted: Who's try'na play some diplomacy?
me
[2014-12-05. : 5:59 pm]
Roy -- Sacrieur
Sacrieur shouted: or you could just right a*2^n
Yeah, you could do that if you want to do 2a XOR n.
[2014-12-05. : 5:57 pm]
lil-Inferno -- Who's try'na play some diplomacy?
[2014-12-05. : 5:17 pm]
Sacrieur -- you only have Math.Pow
[2014-12-05. : 5:17 pm]
Sacrieur -- my mistake, there isn't an exponent operator in C#
[2014-12-05. : 5:01 pm]
O)FaRTy1billion[MM] -- ^ is not exponent, is what I am getting at.
[2014-12-05. : 4:58 pm]
O)FaRTy1billion[MM] -- if a = 432 and n = 229, then a*2^n == 901 xD
[2014-12-05. : 4:56 pm]
O)FaRTy1billion[MM] -- I meant that to be == 12

Pages: < 1 « 3218 3219 3220 3221 32223572 >


Members Online: Symmetry, Zycorax