Just looking for clarification on what a thread is.
My understanding is that it involves more than one function (if that is a correct word to use) For instance if I input 2 numbers and ask the program
to
A) Add these 2 numbers and print them out at a particular location
-then
B) Ask for the numbers to both be squared then added and finally print out on the screen in another location.
*But what I would like to do is to do more complicated than the above tasks.
Is this a thread? Thanks for your help, it is appreciated!
Threads can be described as a mechanism to run several parts of a program /at the same time/ (simultaneously).
If I understood your question correctly, you don't really want threads, because you want to execute A /then/ B. With threads, you execute A and B at the same time.