I have installed TDM-GCC compiler on my system. And I write my c programs in a text editor and save it with the .c extension and compile it using the gcc command in the MinGW terminal and as usual the a.exe file is created as a result of it but when I double click the a.exe file and open it a terminal appears displaying the output and this terminal closes as soon as the program execution is over.... How do I stop this terminal from closing as soon as the program is over??
a.exe terminal closes just after program execution stops
119 views Asked by Rittam Das At
0
There are 0 answers
Related Questions in C
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in GCC
- File refuses to compile std::erase() even if using -std=g++23
- the difference between two style of inline ASM
- Why veneer code generated by gcc for cortex-m0 seems 8-byte aligned?
- How to compile the Linux kernel with -O0 for more detailed debug?
- GMP Windows installation "configure: error: could not find a working compiler"
- Unable to run get .exe file from assembly NASM
- Problem with compiling c++ project that is running python code using Python.h -> undefined reference
- How to use a newer linker and glibc in a Kotlin/Native project?
- "Config.guess failed to determine the host type" when trying build binutils-2.7 with Cygwin
- Trying to compile GCC returns a bunch of errors
- Compiling with gcc fno-common option causes performance degradation
- On cygwin I get errors containing -lintl and -liconv when running gcc
- Constant function pointer optimization
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- How to fix this error in terminal while writing hello world code in VS Code on C?
Related Questions in GNU
- Library problem in an executable with Raspberry Pi5 (No such file or directory problem)
- Why is the last file not recompiled?
- Handling Empty Sections in Linker Script Causes Hard Fault on STM32H7
- Gnu screen - how do I move focus to a region by number?
- How to stop a wget mirror?
- I got a Assembler error while compile mt19937
- Build gcc with a different name
- Not able to install and build the riscv-gnu-toolchain
- Make : make[2]: *** No rule to make target '<path/to/.so>', needed by '<target>'. Stop
- MinGW c compiler not working (cc1.exe application error)
- Command to find ARM GCC Port
- RISC-V toolchain + googletest: undefined reference to `getcwd', `mkdir`
- Clang tidy problem with _Float32, _Float64, _Float128
- How to resolve C printf %b format warnings
- Querying the Target of a Linker Script?
Related Questions in TDM-MINGW
- g++ :cannot execute ‘DIRECTORY/collect2.exe’:CreateProcess: No such file or directory
- Why do the square of input decreases by one when using pow function?
- OpenMP parallel program of Fibonacci is slower than sequential
- Retrieve list of VESA video modes from Int 10h/AX=4F00h
- failed to compile debug in wxwidgets windows 10
- printf is not working as expected. Can someone explain the output?
- problem with compiling 64 bt dll on a 32 bit windows via TDM-GCC
- Compile C in windows: TDM vs MinGW
- a.exe terminal closes just after program execution stops
- Error: expected initializer before "BOOL CALLBACK _export Function" in Bloodshed Dev-C++ 5.11
- C++ Build environment on Windows
- compling with mingw32 to install xgboost
- typedef of character array and use in functions
- g++ not compiling with wildcard filenames on Windows
- Installing Ipopt for anaconda python windows 64bit
Related Questions in TDM-GCC
- cgo: C compiler "gcc" not found
- Path to shell executable "d:\VsCode Projects\C\gcc" does not exist
- How to install TDM-GCC in powershell and open Mingw command prompt?
- (How to) Input 2 Values at Once using Single 'cin' Statement in a Specific format
- Format specifier %Lf is giving errors for `long double` variables
- VS Code C++ issue
- Is there any event for shapes?
- Can't import uxtheme library
- Can't drag or resize custom frame window
- Where can I download dwmapi.lib?
- How to resize the height of title bar in Windows API?
- Make a borderless resizable window in WinAPI
- How to set up OpenMP?
- Updated packages, now Mex files compiled with -O0 are "invalid mex file"?
- Building Allegro 5 Library using TDM-GCC and CMake
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)