Feb 19, 2014 21:23
I will. Cheers and have a good evening! :-)
Feb 19, 2014 21:21
alright guys, I think I have some good new insights what I will do with those people next time. Thank you a lot for your input!
Feb 19, 2014 21:19
:-)
Feb 19, 2014 21:12
it works because it is still a normal binary operator, but with a strange notation?
Feb 19, 2014 21:10
holy crap I wasn't really aware of that ^^
Feb 19, 2014 21:04
maybe I can use the [] notation and later on refactor it to use the * notation to show them it's the same thing
Feb 19, 2014 21:02
[] vs. *
Feb 19, 2014 21:02
but how do I explain the notation? :-)
Feb 19, 2014 20:57
true i can still write it like that
Feb 19, 2014 20:55
hmm but that example would already incorporate pointer arithmetics
Feb 19, 2014 20:51
ok so far a good example
Feb 19, 2014 20:50
no pointer arithmetic for those guys for a long time Glen :-)
Feb 19, 2014 20:49
so arrays, then pointers, then strings?
Feb 19, 2014 20:48
strings are another can of worms :-D
Feb 19, 2014 20:47
going down the array path would require me to limit arrays to integer arrays.
Feb 19, 2014 20:42
fair enough. I begin to think the same... :-)
Feb 19, 2014 20:42
but I have people that need something closer to a real world problem, they can relate to
Feb 19, 2014 20:41
that's what i would do with technical people
Feb 19, 2014 20:40
sure i can do that. but in the end of the day i will be required to answre the question: "that's neat, but why do i need it?"
Feb 19, 2014 20:38
so using var gives you a call-by-reference
otherwise call-by-value?
Feb 19, 2014 20:34
i do actually. :-) not sure why i hoped for a clear answer to that question ^^ i had a lot of trouble to figure out which SO Board I should use, since it became so fragmented
Feb 19, 2014 20:33
the second approach would focus more on the true character of pointers, which handles stuff in other places, while the array approach may let to the assumption that a pointer is merely an instrument on such structures
Feb 19, 2014 20:31
right
Feb 19, 2014 20:31
you mean like "oh why can a function only return 1 value"?
Feb 19, 2014 20:30
and I'd have a more defined application for pointers. I really want to avoid too much abstraction
Feb 19, 2014 20:29
true, i could actually do that.
Feb 19, 2014 20:27
well would you suggest introducing arrays first?
Feb 19, 2014 20:24
no worries :-)
Feb 19, 2014 20:19
Hi. Yes, that question is why i'm here :-)