dertuz13337
Пользователь
- Сообщения
- 10
- Реакции
- 0
В общем, даже когда у меня нет папки, все равно пишет Folder exists, Next state, но и выполняет код после "else", создает папку, хотя не должно, в чем причина, голову ломаю уже 2-й час...
C++:
static long long start_time = GetCurrentTimeMillis();
long long current_time = GetCurrentTimeMillis();
const char* text = "";
int numOne = 65;
numTwo = 130;
long long elapsed_time = current_time - start_time;
static bool cycle_complete = false;
if (timer < 4000) {
if (direxists("C:\\nightcore")) {
numOne = 45;
text = "Folder exists, Next state";
}
else {
numOne = 75;
text = "Create folder...";
CreateDirectory("C:\\nightcore", NULL);
}
}