|
|
|
|
|
|
|
|
|
|
|
|
|
|
• |
You
are asked to update an application in response
|
|
to a
change in a library function
|
|
|
• |
The
original library function is
|
|
|
|
– |
assign(char*
to, char* from, int cnt = NCNT)
|
|
|
|
– |
Copy cnt
characters from to into from
|
|
|
• |
The
new library function is
|
|
|
|
– |
assign(char*
to, char* from, int pos,
|
|
|
int cnt = NCNT)
|
|
|
|
– |
Copy cnt
characters starting at pos from to into from
|
|
|
• |
How
would you make this change? (In groups)
|
|