Hey friends,
I want to compile a C program using Command prompt. I have the turbo C compiler.
Please show me the way with a simple example.

Assuming Turbo C's bin directory is in your PATH and the presence of C:\MyCode containing your source files:

C:\MyCode>tcc myprog.c
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.