I wrote a simple c++ program which takes a password and then shows a message for the intended person. Now i want to crack this program with another c++ program by using password cracker. How to use another c++ program to brute force this program?

There are are many examples of brute force methods here in the forums.

Just put "Brute force" into search field.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.