To me the notion that a pointer was merely an address was completely obvious, and I didn't have many problesm with it. Seeing students learning C and struggling is almost painful to me these days.
I agree, however, I think the biggest problem with pointers in C is not so much understanding that *a pointer points to some memory address*, but rather how to properly dereference pointers.
Consider some struct malloced off the heap, which *might* contain pointers in its member list. Does one use the "->" operator or the "."(dot) operator to select the apropriate member? I've seen a LOT of people have trouble with this. Also, function pointers, which STILL give me headaches from time to time...
Another pedantic, nitpicky point...
Since you seem to be using C++, I don't understand why you are using the *depreciated* C-style.h <include>s
it should be:
#include <cstdlib>// and
#include <ctime>
Also, the first parameter to main() is not a pointer to an int, it's just a plain int... And since you didn't call any command-line arguments, main should have been called like:
int main()// <- no parameters...
Furthermore, you don't NEED to have main return 0. That is now implicit in C++, unless the programmer declares otherwise.
dude, which is funny because they often play the South Park movie *completely* unedited, which arguably has much more foul language than The Big Lebowski..
As far as melon scratchers go, that's a diddly of a honeydew...
Incedentally, I find some shades yellow to sound rather coarse, with harmonic triangles increasing with each beat inverse to the fundamental. Not as vulgar a sound as say, Taupe, but not as auarally pleasing to me as drips of purple.
Now, Brown, on the other hand, has a rather discordant sound, much like a Dom. 7th, even if the actual interval is not such...
Oh, snap! I just used up my mod points a minute ago. But thank god, because I probably would have spent far too long deciding whether to mod parent insightful or funny.
Yeah, but don't forget, the Revolution controller is also capable of 3D "axial" motions AND 3D "spacial" motions. Assuming for a moment that none of the axial or spacial controls are necessarily analog, the Rev controller has 23 possible "buttons" -- 6 axial gestures, 6 spacial gestures, 4 d-pad buttons, 2 (A + B), 2 (a + b), Start, Select and Home (whatever that does)-- And that is just the main Remote unit!
Or, perhaps, 2 analog controls, a D-pad, and the 7 other buttons. And, also, don't forget that there is an expansion port available on the main control unit, which could be used for other past gen Nintendo controllers, ahem, if you still have tham lying around...
Also, i'm banking that Nintendo will provide some means of configuring the standard controller setup, to the user's preference, to be most comftorable with the past-gen games library -- At least I hope so.
the "full blown sex" in Killer 7 is fully clothed... Basically a woman grinding on a man sitting in a wheelchair. The player can only see her from about mid-torso on up. The sounds of her pleasure are certainly audible, as is the "pretend" masturbation in another scene, but there is NO nudity anywhere in this game.
Anyone ever play "Fear Effect" for the ps1? Full anime nudity in that game, but no one whined about it back then (1999??)
There are much worse things on network tv here in the states.
I can't believe someone posted this before me!
I've been pushing the.cum TLD with the IETF ever since I discovered that there is porn on the internet... Which was last week... When I felt lonely...
Seriously though, every time one mistypes a URL, one invariably winds up at a pr0n site. If porn had its own TLD, perhaps this might change.
(Pppffffttttt. Yeah right!) At least it might make it easier to find quality porn on the net;)
I agree, however, I think the biggest problem with pointers in C is not so much understanding that *a pointer points to some memory address*, but rather how to properly dereference pointers.
Consider some struct malloced off the heap, which *might* contain pointers in its member list. Does one use the "->" operator or the "."(dot) operator to select the apropriate member? I've seen a LOT of people have trouble with this. Also, function pointers, which STILL give me headaches from time to time...
Since you seem to be using C++, I don't understand why you are using the *depreciated* C-style
it should be:
#include <cstdlib> // and
#include <ctime>
Also, the first parameter to main() is not a pointer to an int, it's just a plain int... And since you didn't call any command-line arguments, main should have been called like:
int main() // <- no parameters...
Furthermore, you don't NEED to have main return 0. That is now implicit in C++, unless the programmer declares otherwise.
Sorry, just sayin ;P
<Prof. Frink voice> G-Hoiven-Gla-VEN, Alas, I finally have a viable excuse to dispell my mis-spent youth, bu-HEY, m-hey </Frink>
Monty Python on PBS and BBC America. Boobies and even a little muff. Somehow Their satirical "documentary" skits make it past the censors...
dude, which is funny because they often play the South Park movie *completely* unedited, which arguably has much more foul language than The Big Lebowski..
As far as melon scratchers go, that's a diddly of a honeydew...
obviously when it's before the *first* 9 o'clock, Sheesh ;)
Incedentally, I find some shades yellow to sound rather coarse, with harmonic triangles increasing with each beat inverse to the fundamental. Not as vulgar a sound as say, Taupe, but not as auarally pleasing to me as drips of purple. Now, Brown, on the other hand, has a rather discordant sound, much like a Dom. 7th, even if the actual interval is not such...
Oh, snap! I just used up my mod points a minute ago. But thank god, because I probably would have spent far too long deciding whether to mod parent insightful or funny.
Assuming for a moment that none of the axial or spacial controls are necessarily analog, the Rev controller has 23 possible "buttons" -- 6 axial gestures, 6 spacial gestures, 4 d-pad buttons, 2 (A + B), 2 (a + b), Start, Select and Home (whatever that does)-- And that is just the main Remote unit!
Or, perhaps, 2 analog controls, a D-pad, and the 7 other buttons.
And, also, don't forget that there is an expansion port available on the main control unit, which could be used for other past gen Nintendo controllers, ahem, if you still have tham lying around...
Also, i'm banking that Nintendo will provide some means of configuring the standard controller setup, to the user's preference, to be most comftorable with the past-gen games library -- At least I hope so.
the "full blown sex" in Killer 7 is fully clothed... Basically a woman grinding on a man sitting in a wheelchair. The player can only see her from about mid-torso on up. The sounds of her pleasure are certainly audible, as is the "pretend" masturbation in another scene, but there is NO nudity anywhere in this game. Anyone ever play "Fear Effect" for the ps1? Full anime nudity in that game, but no one whined about it back then (1999??) There are much worse things on network tv here in the states.
..and also don't forget to match those parenthesis on the malloc statement... and don't forget those semicolons ;)
wrong article, dude!!
Seriously though, every time one mistypes a URL, one invariably winds up at a pr0n site. If porn had its own TLD, perhaps this might change.
(Pppffffttttt. Yeah right!) At least it might make it easier to find quality porn on the net ;)