Argument passing by reference to pointer problem

后端 未结 5 1177
你的背包
你的背包 2021-02-06 10:20

Every time I try to compile my code I get error:

cannot convert parameter 1 from \'int *\' to \'int *&\'

The test code looks like this:

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-06 10:58

    A very simple example can be found in this place. http://markgodwin.blogspot.de/2009/08/c-reference-to-pointer.html

提交回复
热议问题