Search
Get Started
CP-SPC
Computer Programming - Seneca Polytechnic College
•
3y ago
Revan
Why am I getting a linker error with my global variables?
I setup two global variables in my header file and I used the extern key word to declare them
, but im still getting a linker error saying its an undefined reference
?
Computer Programming - Seneca Polytechnic College
Join
Welcome to Seneca Polytech's Programming Community! 🚀 Whether you're into CPA or CPP, all programs are welcome!
2,320
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Not sure why I'm getting a linker error
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
4y ago
Not sure why I am getting an error here
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
4y ago
I dont know why i am getting a segementation fault here
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
4y ago
Not sure why I am getting a segementation fault in the matrix but locally i can run my program
CP-SPC
Computer Programming - Seneca Polytechnic College / ask-a-question
4y ago