Shiva
Veteran
include
C++:
#include "caplib.h"
Yapının Kendisi
C++:
cap test;
test.changetype(n); // there are 2 types in total, 1 - default in capital letters, 2 - normal text output
test.use(); // calling the captcha itself
test.check(n); // bool checks the captcha response
Example/Örnek
C++:
int i;
cap test;
test.changetype(1);
test.use();
cin >> i;
if (test.check(i))
cout << "Succes";
else
cout << "Failed";
Done.


Kaynak kodu
https://github.com/withoutforget/projects/blob/main/captcha/caplib.h
