Hallo,
i have a programm, it works without errors , the only problem i have is that the .exe file works for one line and then it closes from itself
how can i change this problem.
i must give this .exe file in 4 days !!
thanks

At the very beginning of the main function, insert the line return 0; . Then it will work for zero lines. Problem changed!

HTH HAND

You can't expect serious help on a problem if you don't even explain what the problem is. Unless you need vague, obvious advice, like, "debug the program."

Hallo,
i have a programm, it works without errors

, the only problem i have is that the .exe file works for one line and then it closes from itself

Those two statements contradict each other. Apparently the first statement is false.

Post your program so we can see and test it. Do you mean you don't have a chance to see the program's output because the program closes too fast? If that's the case then put a getchar() just before the return statement in main().

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.