|
|
13 expected primary-expression before '.' token 16 expected primary-expression before '.' token |
|
|
fun as a type, not a variable. You are getting the error because you are trying to access (non static) members of a class/struct type from it's name rather than a particular instance of it.fun:fun myFun;,int (int myInt;). |
|
main ()fun any_name_you_wantfun.v with:any_name_you_want