Warning: Cannot modify header information - headers already sent by (output started at /home/anime/public_html/banzai/header.php:34) in /home/anime/public_html/banzai/includes/sessions.php on line 254
Warning: Cannot modify header information - headers already sent by (output started at /home/anime/public_html/banzai/header.php:34) in /home/anime/public_html/banzai/includes/sessions.php on line 255
Anime-Source.Com: Forums
Warning: Cannot modify header information - headers already sent by (output started at /home/anime/public_html/banzai/header.php:34) in /home/anime/public_html/banzai/includes/page_header.php on line 499
Warning: Cannot modify header information - headers already sent by (output started at /home/anime/public_html/banzai/header.php:34) in /home/anime/public_html/banzai/includes/page_header.php on line 501
Warning: Cannot modify header information - headers already sent by (output started at /home/anime/public_html/banzai/header.php:34) in /home/anime/public_html/banzai/includes/page_header.php on line 502 Anime-Source.com :: View topic - C programming
If you are doing an assignment, maybe you can state out the question so the skilled programmers here (i'm not included) can help you? _________________ What's yours is mine, what's mine is still mine.
There's two way to access a variable. if you do something like
printf("Here is iVar %d", iVar)
you'll see the value of iVar. 2
But you can also access the "memory address" of the variable. While it serves little purpose with two var, integer more so, it can be pretty important when you try to use dynamic data strucutres.
To see the memory adress of an object, you use &.
printf("Here is iVar %d", &iVar)
This would display something really different, the memory location of iVar.
so iPointer = &iVar would make the pointer "point" to the memory location of iVar. You can then access (read, modify) the value of iVar through iPointer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
All images and comments are property of their respective owners, all the rest � 2002 by Anime-Source.com.
You can syndicate our news using the file backend.php.