Z
Z
zeuss562018-01-04 21:08:57
C++ / C#
zeuss56, 2018-01-04 21:08:57

How to call Explorer from .bat with the request "Select a file ..." so as not to write the path manually?

I want to write a step by step CLI for OutGuess on Windows, where you need to select two files - an image and a message.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman, 2019-10-24
@zakatzakatom

scanf("%f", epsilon); But this is only the first. further worse.

int res1 = 0;
  for(i = 0; i <= n; i++) {
    res1 = res1 * i;
}

int res1 = 0 
...
res1 = 0 * i;

float an = (3 * factorial())/X3factorial();

division by 0
while (an > epsilon)
...

when the condition becomes false?
int n = 1;
float sum = 0;

...

int n = n++; // ???

Let's start with the fact that this is not a C++ program. in C++ this should not compile.

M
Mercury13, 2019-10-24
@Mercury13

printf("%d %f", &n, &sum);
printf("%d %f", n, sum);

W
wisgest, 2019-05-24
@wisgest

For example, CMD/BAT: using standard GUI dialogs you... .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question