Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2013
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2013 by Ivor Horton; ISBN: 978-1-118-84571-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2013 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 21st, 2019, 02:30 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2019
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re Exercise 6-10 Extended Parameters Passed

Hi,

Firstly this is a great exercise to get one's head around! The query I have is the passing of parameters to the functions.

The first two functions receive the pointer to the buffer as char* str but the subsequent functions which are called by these first two receive the pointer to the position in the buffer as const char* str.

Can someone please help me understand why the subsequent called functions receive the pointer as const?

Thanking you in anticipation for any advice.

Regards, Necuima


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 17 extended credit mikeashields@hotmail.com BOOK: ASP.NET 4 24-Hour Trainer 2 January 31st, 2012 08:05 AM
TreeView extended chinoo ASP.NET 2.0 Basics 0 February 16th, 2007 05:41 PM
How to check the parameters passed to web method? karveajit ASP.NET 1.0 and 1.1 Professional 3 December 20th, 2006 05:55 PM
how can i get parameters passed to a vb exe teominator Beginning VB 6 4 January 24th, 2005 12:11 AM
sql parameters not passed or received redeye2 Pro VB.NET 2002/2003 1 November 5th, 2004 07:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.