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 « 3287 3288 3289 3290 32913572 >

[2014-10-27. : 12:58 am]
jjf28 -- Dem0n
Dem0n shouted: If I do *bucketArray = new_table->bucket[0], can I access it by doing like bucketArray[2]?
sounds about right
[2014-10-27. : 12:55 am]
Moose -- Dem0n
Dem0n shouted: If I have this, how can I access [0][2] using pointers?
Delete facebook, lawyer up, hit the gym!
[2014-10-27. : 12:55 am]
Dem0n -- If I do *bucketArray = new_table->bucket[0], can I access it by doing like bucketArray[2]?
[2014-10-27. : 12:54 am]
Dem0n -- If I have this, how can I access [0][2] using pointers?
[2014-10-27. : 12:52 am]
Moose -- jjf28
jjf28 shouted: yea uhh, I don't care enough to work through that mess of english
rekt
[2014-10-27. : 12:51 am]
Dem0n -- lul
[2014-10-27. : 12:49 am]
jjf28 -- yea uhh, I don't care enough to work through that mess of english
[2014-10-27. : 12:49 am]
O)FaRTy1billion[MM] -- *buckets[0]?
[2014-10-27. : 12:48 am]
O)FaRTy1billion[MM] -- a pointer and an array are the same things
[2014-10-27. : 12:48 am]
Dem0n -- I know that, farty, but I have to use pointers to access it, which is confusing me
[2014-10-27. : 12:48 am]
Dem0n -- If the pointer is equal to the memory of a pointer pointing to the array at position 0
[2014-10-27. : 12:48 am]
O)FaRTy1billion[MM] -- Dem0n
Dem0n shouted: Like there could be multiple elements at buckets[0], but I don't know how to access them
buckets[0][0]?
[2014-10-27. : 12:47 am]
Dem0n -- jjf28
jjf28 shouted: Bucket *bucketArray = new_table->bucket[0]; Bucket *aBucket = &bucketArray[0]; aBucket->something = 5;
Does setting a pointer equal to the memory of a pointer pointing to an element in an array mean that you can then index that initial pointer to go through the array at position 0?
[2014-10-27. : 12:43 am]
poiuy_qwert -- its all up to you
[2014-10-27. : 12:43 am]
poiuy_qwert -- its an array if you are allocing an arrayi
[2014-10-27. : 12:42 am]
Dem0n -- I think it's an array =o
[2014-10-27. : 12:39 am]
jjf28 -- assuming new_table->bucket is an array, I'm not looking at these definitions
[2014-10-27. : 12:38 am]
jjf28 -- Bucket *bucketArray = new_table->bucket[0]; Bucket *aBucket = &bucketArray[0]; aBucket->something = 5;
[2014-10-27. : 12:34 am]
poiuy_qwert -- oh well then it can be an array
[2014-10-27. : 12:34 am]
Dem0n -- Like there could be multiple elements at buckets[0], but I don't know how to access them
[2014-10-27. : 12:33 am]
Dem0n -- Well the table is supposed to represent a hash table, and I'm using chained hashing, so when there's a collision, the element is supposed to be put in a new bucket at that spot, so that's what I need to access
[2014-10-27. : 12:33 am]
poiuy_qwert -- Bucket *firstBucket = new_table->bucket[0];
[2014-10-27. : 12:32 am]
poiuy_qwert -- They are not arrays, they are pointers to Bucket's
[2014-10-27. : 12:31 am]
Dem0n -- So if each one of those is an array, how do I access them?
[2014-10-27. : 12:31 am]
poiuy_qwert -- yes
[2014-10-27. : 12:28 am]
Dem0n -- So if that creates an array of table_size elements, how do I access them? new_table->buckets[0], etc?
[2014-10-27. : 12:28 am]
Dem0n -- new_table->buckets = (Bucket **) calloc(table_size, sizeof(Bucket*))
[2014-10-27. : 12:26 am]
jjf28 -- might do templates as scrips, might be a binary file; haven't decided
[2014-10-27. : 12:24 am]
jjf28 -- groups have their own abstraction as well, but i'm still doing the theorycrafting on that
[2014-10-27. : 12:23 am]
jjf28 -- they're trigger generators (easily created by regular users, easily shared, commonly useful & well implemented ones will come with chkdraft) from which you can make a trigger or trigger group
[2014-10-27. : 12:23 am]
poiuy_qwert -- Dem0n
Dem0n shouted: Holy shit nigga I am still so confused about double pointers and arrays
:(
[2014-10-27. : 12:20 am]
trgk -- What is 'templates'?
[2014-10-27. : 12:12 am]
Dem0n -- Holy shit nigga I am still so confused about double pointers and arrays
[2014-10-26. : 11:15 pm]
jjf28 -- leaves us with http://puu.sh/crYf7/8775de7c61.jpg
[2014-10-26. : 11:14 pm]
jjf28 -- even strings and wavs, those dialogs can be brought up at the same time as triggers...
[2014-10-26. : 11:12 pm]
jjf28 -- ehh units and location tabs are prolly a bit much
[2014-10-26. : 11:07 pm]
jjf28 -- o right, wavs
[2014-10-26. : 11:07 pm]
jjf28 -- coordinate based actions, sure, trying to think what tabs if any should be included
[2014-10-26. : 11:05 pm]
Moose -- Ideally, units and locations would be autocompletes once you start typing where a unit or location would go
[2014-10-26. : 11:02 pm]
jjf28 -- http://puu.sh/crX53/da451d56da.jpg hmm... would anything else be terribly useful to have quickly available for triggers?
[2014-10-26. : 9:59 pm]
Devourer -- Haha. Ups. Mostly because I do not know how to put it in without stretching the design and where. Maybe a small box with scrollbar? I do not know. I dislike the idea of having a second window open.
[2014-10-26. : 9:50 pm]
Dem0n -- Dev why isn't the "more smileys" thingy implemented yet =o
[2014-10-26. : 9:48 pm]
Apos -- 'tis a must
[2014-10-26. : 9:47 pm]
Apos -- [CALC]1+1[CALC]
[2014-10-26. : 9:47 pm]
Apos -- We getting the calculator shoutbox BBCODE?
[2014-10-26. : 9:39 pm]
Devourer -- Rule #1: don't get close to people who are bleeding out of their eyes </exaggeration>
[2014-10-26. : 9:38 pm]
Devourer -- It isn't?
[2014-10-26. : 9:29 pm]
jjf28 -- sounds like Ebola isn't infectious till after symptoms appear (which takes 2-21 days), doesn't sound apocalyptic, though still not something to ignore
[2014-10-26. : 9:26 pm]
jjf28 -- lies, I plan on living till i'm at least 200 years old
[2014-10-26. : 9:23 pm]
Jack -- 2150 we will all be dead
[2014-10-26. : 9:23 pm]
Dem0n -- You're gonna die, Echo
[2014-10-26. : 9:23 pm]
Jack -- By 20
[2014-10-26. : 9:19 pm]
Echo -- He was a doctor who had high temperature. Decided to go bowling with friends. Took 3 different subways, which are all connected.
[2014-10-26. : 9:19 pm]
Echo -- Ebola patient was found in NYC
[2014-10-26. : 9:09 pm]
Devourer -- Ehrmahgehrd by 2017 "we will all be dead". Yes. Oh wait. Probably not.
[2014-10-26. : 7:43 pm]
Moose -- Homewerkt? Homerekt.
[2014-10-26. : 7:42 pm]
jjf28 -- trade places demin? :cube:
[2014-10-26. : 7:41 pm]
jjf28 -- I miss classes where I got to write largely undocumented C-style code
[2014-10-26. : 7:33 pm]
Dem0n -- I still gotta do this project on double pointers :sick:
[2014-10-26. : 7:33 pm]
Dem0n -- ya srsly
[2014-10-26. : 7:32 pm]
jjf28 -- common homework, just go away while i'm not looking
[2014-10-26. : 7:28 pm]
Moose -- o ok
[2014-10-26. : 6:13 pm]
O)FaRTy1billion[MM] -- at least, integers are trivially interchangeable when it's little-endian
[2014-10-26. : 6:12 pm]
O)FaRTy1billion[MM] -- all integer types are interchangeable. strings in assembly are the same as strings in C ;o
[2014-10-26. : 6:01 pm]
Zoan -- :wob:
[2014-10-26. : 5:33 pm]
Dem0n -- :wob:
[2014-10-26. : 5:23 pm]
jjf28 -- :wob:
[2014-10-26. : 5:23 pm]
Moose -- :wob:
[2014-10-26. : 5:12 pm]
KrayZee -- :wob:

Pages: < 1 « 3287 3288 3289 3290 32913572 >


Members Online: Moose, Oh_Man