cplusplus:pointers_2
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
cplusplus:pointers_2 [2016/03/05 22:41] – [Pointer to constant data] mithat | cplusplus:pointers_2 [2019/03/11 19:53] – [Pointer to constant data] mithat | ||
---|---|---|---|
Line 23: | Line 23: | ||
<file cpp function-with-pointer.cpp> | <file cpp function-with-pointer.cpp> | ||
- | /** Demostrates | + | /** Demonstrates |
#include < | #include < | ||
using namespace std; | using namespace std; | ||
Line 88: | Line 88: | ||
</ | </ | ||
- | <WRAP center | + | <WRAP center tip 90%> |
- | I (and many other programmers) | + | I feel pointers are much better |
</ | </ | ||
Line 146: | Line 146: | ||
- | <WRAP center | + | <WRAP center tip 90%> |
One way to remember this is //"'' | One way to remember this is //"'' | ||
In the case of: | In the case of: | ||
<code c++>int *const myPtr = & | <code c++>int *const myPtr = & | ||
- | '' | + | '' |
+ | |||
+ | In the case of: | ||
<code c++> | <code c++> | ||
'' | '' |
cplusplus/pointers_2.txt · Last modified: 2019/03/28 16:55 by mithat