Strange problem with code please look at it and tell me
Ok Im trying to make one of the combination lock crackers but when I execute this code, it just flashs the cmd window. This occurs when I type in the number
code: #include <iostream> #include <stdio.h>
using namespace std;
int main() { cout << " MaterCrack Version 1.0.0" << endl; cout << " Written by Patient0" << endl; int third; cout << "enter the third number: "; cin >> third; int offset = third % 4; cout << "possible first numbers: "; for (int i = 0; i < 10; i++) cout << offset + 4i << " "; int offset2 = offset; if (offset < 3) offset2 += 2; else offset2 -= 2; cout << endl << "possible second numbers: "; for (int i = 0; i < 10; i++) cout << offset + 4i + offset2 << " "; cout << endl; }
try
markupSystem("pause");
at the end.
Depending on what compiler you use you may need to include something else.
E.G for the compiler I use
markup#include<string>
:P Btw: There is no logical reason I can think of why it is "string" that must be included for system commands in my compler :P