I'm new to C++ programming and currently using procedures in my project. What i need help with is declaring a variable that can be used by the main cpp files and other cpp files. Procedures are set up properly and using threads to run them but i can never get the procedures to use the variable i declared in the main .cpp files.
Question
Lil' J
Hi,
I'm new to C++ programming and currently using procedures in my project. What i need help with is declaring a variable that can be used by the main cpp files and other cpp files. Procedures are set up properly and using threads to run them but i can never get the procedures to use the variable i declared in the main .cpp files.
Anyone know how?
Thanks
Link to comment
Share on other sites
1 answer to this question
Recommended Posts