Search:

Type: Posts; User: TheBigH

Search: Search took 0.01 seconds.

  1. The fix is simple: in the function Agrade1,...

    The fix is simple: in the function Agrade1, wherevery you have &grade1 you need to remove the &, and wherever you have just grade1 you need to add a *:

    grade1 -> *grade1
    &grade1 -> grade1

    Do...
  2. You pass the variable grade1 to the function...

    You pass the variable grade1 to the function Agrade1 as a pointer, but in the function you do not treat it as a pointer.
Results 1 to 2 of 2