A simple C++ Program
to reverse the string and convert it into uppercase letters using Multiple Threads and Joins
. There are two variations of the program, you can execute whichever you want:
- With using pthread_t global variables
(main.cpp)
- Without using pthread_t global variables
(main1.cpp)
-
Use any of the following command to
Compile the Code
:g++ main.cpp
g++ main1.cpp
-
Use the following command to
Run the Code
:./a.out