|
-
Jan 3rd, 2002, 11:20 PM
#1
Thread Starter
Hyperactive Member
Passing arrays to functions.....
Hi,
I have one question. According to my book it says that placing 'const' in front of the argument of the function generates a compile error if the function attempts to change the arrays' values. Is this only for checking purposes. Coz in some of the functions in my book the 'const' is still used. So i reckon that it's only for checking. Am i right?
thnx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|