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 « 3264 3265 3266 3267 32683539 >

[2014-10-21. : 3:09 am]
O)FaRTy1billion[MM] -- It helps because in order to rotate you need to move the bit that gets pushed off the end to the other side ... otherwise you are only shifting bits
[2014-10-21. : 3:08 am]
Dem0n -- Well i don't really see how using AND/OR helps to rotate the bits
[2014-10-21. : 3:01 am]
jjf28 -- Dem0n
Dem0n shouted: Is it 00010011? :O
yep, want help with the rest? it's a bit content-y so i'd skip it if you have a lot else to study
[2014-10-21. : 2:58 am]
O)FaRTy1billion[MM] -- http://www.staredit.net/skins/1/images/nav.png Was this always there?
[2014-10-21. : 2:56 am]
O)FaRTy1billion[MM] -- I messed that up. Hopefully you get the idea ... !x == 0 when x != 0. :P
[2014-10-21. : 2:56 am]
O)FaRTy1billion[MM] -- basically, if x == 0 then !x == 1, else ![i]/i] == 0.
[2014-10-21. : 2:55 am]
O)FaRTy1billion[MM] -- int c = !5345; // c == 0
[2014-10-21. : 2:55 am]
O)FaRTy1billion[MM] -- or, char d = !1; // d == 0
[2014-10-21. : 2:54 am]
O)FaRTy1billion[MM] -- signed short c = !0; // c == 1
[2014-10-21. : 2:54 am]
O)FaRTy1billion[MM] -- unsigned int b = !0; // b == 1
[2014-10-21. : 2:54 am]
O)FaRTy1billion[MM] -- char a = !0; // a == 1
[2014-10-21. : 2:54 am]
O)FaRTy1billion[MM] -- because it !0 will always return 1
[2014-10-21. : 2:53 am]
Dem0n -- FaRTy1billion
FaRTy1billion shouted: Dem0n ! is logical-not, meaning it returns only true (1) or false (0)
But what does that mean when assigning it to a variable? How does it know which to return?
[2014-10-21. : 2:49 am]
O)FaRTy1billion[MM] -- errr, shit ~0 would be -1
[2014-10-21. : 2:49 am]
O)FaRTy1billion[MM] -- so !0 would be 1, while ~1 would be -1 (Which unsigned char would be 255)
[2014-10-21. : 2:49 am]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: Do you know what assigning an unsigned char to !0 means?
! is logical-not, meaning it returns only true (1) or false (0)
[2014-10-21. : 2:49 am]
O)FaRTy1billion[MM] -- yay, the mysql errors are gone
[2014-10-21. : 2:49 am]
Moose -- Jack
Jack shouted: Dem0n structs are basically objects
strekt
[2014-10-21. : 2:48 am]
O)FaRTy1billion[MM] -- the shoutbox keeps not letting me shout D:
[2014-10-21. : 2:48 am]
Jack -- Dem0n
Dem0n shouted: objects don't exist in C :massimo:
structs are basically objects
[2014-10-21. : 2:47 am]
O)FaRTy1billion[MM] -- it means assigning it to 1
[2014-10-21. : 2:47 am]
Dem0n -- Do you know what assigning an unsigned char to !0 means?
[2014-10-21. : 2:39 am]
Dem0n -- true
[2014-10-21. : 2:38 am]
O)FaRTy1billion[MM] -- when in doubt, compile and see what happens ... :P
[2014-10-21. : 2:38 am]
O)FaRTy1billion[MM] -- I think that makes sense, but I've never seen or done anything like that before
[2014-10-21. : 2:37 am]
Dem0n -- So since p points to the third element in array a, would r then point to the second?
[2014-10-21. : 2:37 am]
Dem0n -- it's int * const r = p - 1, where p is a pointer to a + 2, where a is an array
[2014-10-21. : 2:36 am]
O)FaRTy1billion[MM] -- Wait, I'm thinking of const int*
[2014-10-21. : 2:35 am]
O)FaRTy1billion[MM] -- I don't know how or why you would use a constant pointer ... Is it an argument?
[2014-10-21. : 2:28 am]
O)FaRTy1billion[MM] -- a constant pointer, I assume
[2014-10-21. : 2:27 am]
Dem0n -- What is an int * const?
[2014-10-21. : 2:26 am]
O)FaRTy1billion[MM] -- You're right, that was a joke.
[2014-10-21. : 2:25 am]
Moose -- You don't need no paper
[2014-10-21. : 2:25 am]
Moose -- FaRTy, stop being a scrub
[2014-10-21. : 2:24 am]
O)FaRTy1billion[MM] -- However, (3&0), using several sheets of paper, I am still at a loss.
[2014-10-21. : 2:24 am]
O)FaRTy1billion[MM] -- "(3|17), off the top of my head, is 19. :P
[2014-10-21. : 2:20 am]
Moose -- C, I'm failing already! C the pun there? :D
[2014-10-21. : 2:20 am]
Moose -- See, I'm failing already!
[2014-10-21. : 2:19 am]
Dem0n -- objects don't exist in C :massimo:
[2014-10-21. : 2:18 am]
Moose -- Or a constructor, I'd be like "uhhh it's a CS term" and maybe I'd get partial credit
[2014-10-21. : 2:18 am]
Moose -- I'd be like idk?
[2014-10-21. : 2:18 am]
Moose -- They would probably ask some shit like what an object is and
[2014-10-21. : 2:17 am]
Moose -- I barely know programming, I would do horribly
[2014-10-21. : 2:17 am]
Dem0n -- take my C midterm for me tomorrow pls
[2014-10-21. : 2:15 am]
Moose -- Yes, it just has a 1 wherever either 3 or 17 does.
[2014-10-21. : 2:09 am]
Dem0n -- Is it 00010011? :O
[2014-10-21. : 2:08 am]
Dem0n -- Wait, I think I do
[2014-10-21. : 2:08 am]
Dem0n -- I don't know what calculating 3 OR 17 means :O
[2014-10-21. : 12:34 am]
checkmate824 -- ummm. for BW
[2014-10-21. : 12:34 am]
checkmate824 -- https://www.sendspace.com/file/fe7wjx got an early rough draft of the first half of my campaign here; for any interested
[2014-10-21. : 12:31 am]
Virtual Pancake -- i hate vision...
[2014-10-21. : 12:08 am]
Jack -- You should just get rekt! :wob:
[2014-10-20. : 11:26 pm]
Ahli -- btw, sc2 patch 2.1.6 will be released (can download on SEA), but I don't know what it changes... no patchnotes, yet
[2014-10-20. : 11:25 pm]
*jjf28 lacks a clear starting point*
[2014-10-20. : 11:17 pm]
jjf28 -- could you calculate (3|17) by hand? (3&0) off the top of your head? (that's 3 OR 17, 3 AND 0)
[2014-10-20. : 11:16 pm]
Dem0n -- I know what OR and AND do, but I don't know how they are used in programming
[2014-10-20. : 11:11 pm]
Roy -- At least, I'm pretty sure it does. I had an issue once because it was.
[2014-10-20. : 11:10 pm]
Roy -- Create/Remove does give vision, by the way, Moose.
[2014-10-20. : 10:45 pm]
jjf28 -- Dem0n
Dem0n shouted: jjf28 that's what I wanted to do and I have no clue what any of that means
i'll start on this after that vision topic; for now: do you know OR and AND? could you calculate (3|17) by hand? (3&0) off the top of your head?
[2014-10-20. : 9:50 pm]
Moose -- :lock:
[2014-10-20. : 9:23 pm]
Generalpie -- How did you get -16? Unless you used that glitch that was patched...
[2014-10-20. : 9:11 pm]
Echo -- I have the least minerals on SEN
[2014-10-20. : 8:50 pm]
Dem0n -- jjf28
jjf28 shouted: if you want to wraparound you could AND off the first bit (for left) or the last bit (for right); do the shift, then OR the bit on the other end
that's what I wanted to do and I have no clue what any of that means
[2014-10-20. : 8:26 pm]
Generalpie -- It's like meta Watch_dogs
[2014-10-20. : 8:06 pm]
jjf28 -- especially in a world where critical tasks are controlled by AIs
[2014-10-20. : 8:03 pm]
jjf28 -- I don't even want to think about the kinds of damage 24/7 10ghz hackers could do
[2014-10-20. : 6:49 pm]
Roy -- Well, yeah, human assassins will be out of a job when we have awesome robots.

Pages: < 1 « 3264 3265 3266 3267 32683539 >


Members Online: jun3hong, Roy