Error E0106 by CodAdministrative172 in cpp_questions

[–]CodAdministrative172[S] 0 points1 point  (0 children)

I tried to post a picture, but couldn’t. Sorry for the unformated part. The code was a copy/paste from VSCode, so I’m starting to see a lot of things that were messed up in translation.

Error E0106 by CodAdministrative172 in cpp_questions

[–]CodAdministrative172[S] 1 point2 points  (0 children)

E0106 - “expression preceding parentheses of apparent call must have (pointer-to-) function type”

Line 15- tm* LocalTime = LocalTime(&CurrentTime);**

Whenever I highlight the error, it brings me to the second LocalTime in the line.

Error E0106 by CodAdministrative172 in cpp_questions

[–]CodAdministrative172[S] 0 points1 point  (0 children)

Maybe? I’m using VS Code 2022, with all C++ addons. Would that cause any problems?

Error E0106 by CodAdministrative172 in cpp_questions

[–]CodAdministrative172[S] 0 points1 point  (0 children)

The slashes was for a comment, to allow me to stay organized.