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
112 Views Asked by Rittam Das At
0
There are 0 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in GCC
- gcc static library compilation
- Different behavior of async with Visual Studio 2013(Windows8.1) and GCC 4.9(Ubuntu14.10)
- How to add directories to Cygwin gcc default search path
- Usage of #ifndef directive
- Failure to link a program with gcc -static
- Text as parameter in inline assembly (ARM)?
- Alternatives for strrspn and strfind functions(libgen functions in Solaris) in AIX?
- Incorrect format specifier with gcc compiler
- Why should I use a closing bracket in this?
- How can I compile *without* various instruction sets enabled?
- Automatically wrap C/C++ function at compile-time with annotation
- gcc compiled library: can successfully link with, how come it's "undefined symbol" when run the program?
- compiling caffe on Yosemite
- error - /usr/bin/ld: cannot find -lavutil in ubuntu 15.04
- Compatibility of libstdc++.so libgcc_s.so when upgrading GCC 4.1 to GCC 4.8.2
Related Questions in GNU
- How can I compile *without* various instruction sets enabled?
- Copy directory in GnuParallel
- Gnu Parallel - decrypt and send file content to a Python script
- in Makefiles, how to test for gcc's --with-ld option?
- How does GNU make's "file" function work?
- How we can get time of individual test cases in DejaGnu
- Error: gsl/gsl_file.h : No such file or directory found
- How to generate Label debug info in GreenHills assembler?
- Comparing timespec values
- Using find command to search for files in one directory which are not in the other, then move them
- How to address the error has both : and :: entries while using gnu make
- How to build a './configure && make && make install' software against a custom library which I also build?
- Compile coretuils as shared objects?
- Unknown symbol in module
- Where can I get the source and header files for the gnu.org Simple Makefile?
Related Questions in TDM-MINGW
- How do I execute a standard GCC "configure" script with the TDM64-GCC toolchain?
- libnfc cmake header file compilation error
- Error: expected initializer before "BOOL CALLBACK _export Function" in Bloodshed Dev-C++ 5.11
- a.exe terminal closes just after program execution stops
- TDM-GCC w64 script to change windres for 32bit?
- Are Mingw32 and TDM-GCC compatible?
- How to see what g++ command-lines Boost.Build invokes (1.33.1)
- Differences between Mingw-w64 and TDM-GCC for a simple GDI project
- compling with mingw32 to install xgboost
- Allegro - 'pkg-config' doesn't work
- Allegro: linker does not properly link libraries [Code::Blocks]
- failed to compile debug in wxwidgets windows 10
- C++ Build environment on Windows
- fstream linking error in g++ with -std=gnu++0x
- GCC's assembly output of an empty program on x86, win32
Related Questions in TDM-GCC
- a.exe terminal closes just after program execution stops
- How to set up OpenMP?
- How to install TDM-GCC in powershell and open Mingw command prompt?
- compling with mingw32 to install xgboost
- GDB doesn't start
- netbeans c program build fail with tdm-gcc msys
- Updated packages, now Mex files compiled with -O0 are "invalid mex file"?
- VS Code C++ issue
- ShellExecute - ERROR code 5
- C++ Build environment on Windows
- TDM-GCC c++ compiler (Setting up)
- Unable to use declval in typeid for TDM-GCC
- Why does not std::sqrt() work correctly on double data in C++?
- How to add -std=c++17 to my mingw32-make?
- extra spaces written in r+ mode
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)
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?