Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 617 Bytes

File metadata and controls

21 lines (17 loc) · 617 Bytes

Reverse and Uppercase String Using Thread Joins

Description

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:

  1. With using pthread_t global variables (main.cpp)
  2. Without using pthread_t global variables (main1.cpp)

Manual

  1. Use any of the following command to Compile the Code:

    g++ main.cpp
    
    g++ main1.cpp
    
  2. Use the following command to Run the Code:

    ./a.out