www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - Output Window

↑ ↓ ← "john russell" <joru ukonline.co.uk> writes:
I am a newcomer to Digital Mars IDDE. My question is using the simple
programme below, why doesn't "Simple C programme" get printed to the IDDE
output window. When I run the programme the digitalmars windows minimise for
2 or 3 seconds then reappear but nothing written to the output window. The
program works ok using the dos command window. Am I missing something.

#include <stdio.h>

int main(void)
{
    printf("Simple C programme.");

    return 0;

}
Aug 29 2002
↑ ↓ → Jan Knepper <jan smartsoft.cc> writes:
Because this is written to a console window.
Change it like:

#include <stdio.h>

int main(void)
{
    printf("Simple C programme.");
    getchar ();

    return 0;
}

And you will get the idea of what is happening.

Jan



john russell wrote:

 I am a newcomer to Digital Mars IDDE. My question is using the simple
 programme below, why doesn't "Simple C programme" get printed to the IDDE
 output window. When I run the programme the digitalmars windows minimise for
 2 or 3 seconds then reappear but nothing written to the output window. The
 program works ok using the dos command window. Am I missing something.

 #include <stdio.h>

 int main(void)
 {
     printf("Simple C programme.");

     return 0;

 }

Aug 29 2002