Problem about c compiler

aksa

aksa

@aksa-fXgUdo Oct 22, 2024
hello.

i using the Xp window's. i have some problem regarding c complier. i want to do work on graphics program. so i that, i installed the c complier so many time on my PC. but whenever i make the graphics program. and i want to run the prog. At that time my monitor screen go on black. Nothing to shown on it. if i type exit at that time. it has been closed. To solve this problem i installed window's2003 server for run the c compiler on it. except window xp. but nothing is change . same problem here. tell me any solution about it......

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Sep 3, 2009

    aksa
    hello.

    i using the Xp window's. i have some problem regarding c complier. i want to do work on graphics program. so i that, i installed the c complier so many time on my PC. but whenever i make the graphics program. and i want to run the prog. At that time my monitor screen go on black. Nothing to shown on it. if i type exit at that time. it has been closed. To solve this problem i installed window's2003 server for run the c compiler on it. except window xp. but nothing is change . same problem here. tell me any solution about it......
    Which C compiler you are using ?
    Maybe your code is incorrect.
  • aksa

    aksa

    @aksa-fXgUdo Sep 6, 2009

    no. of time i check the coding, Coding is correct. This problem is occure in the graphics programming.
  • gaurav.bhorkar

    gaurav.bhorkar

    @gauravbhorkar-Pf9kZD Sep 7, 2009

    Before going for the dosbox method, try this:
    Go to properties of TC.exe (in BIN folder) and change the compatibility mode to run in compatible with Windows Xp or 95 or 98. This might work.
  • blacrobous

    blacrobous

    @blacrobous-Exhggm Sep 8, 2009

    which C compiler is it if u say you are coding a graphical interface program i wouldnt suggest to use Turbo C++ get codeblocks compiler and try
  • aksa

    aksa

    @aksa-fXgUdo Sep 10, 2009

    i have been installed the codeblocks. but i can't understand how can i use initgraph() in it. just give me simple program of graphics.
  • aksa

    aksa

    @aksa-fXgUdo Sep 10, 2009

    i have chanhed the properties of tc.exe in compatabilty mode of window. but nothing is changed
  • aksa

    aksa

    @aksa-fXgUdo Sep 10, 2009

    wat is DOSBox 0.72 ? and where its.....