Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
using outtext function turbo c shows linker problem in runtime, but no problem in compile time.........
What is the problem......
My code is given below........

MIDL
#include<graphics.h>
#include<stdlib.h>
#include<stdio.h>
#include<conio.h>
int main(void)
{   clrscr();
    int gdriver = DETECT,gmode,errorcode;
    int midx,midy;
    initgraph(&gdriver,&gmode,"");
    errorcode=graphresult();
    if(errorcode != grOk)
    {   //cout<<"Eroor"<<grapherrormsg(errorcode);
    getch();
    exit(1);
    }
    midx=getmaxx()/2;
    midy=getmaxy()/2;
    moveto(midx,midy);
    outtext("Pallob");
    outtext("Suba");
    getch();
    closegraph();
    return 0;
}
Posted

1 solution

This means that linker is not able to find the library containing outtext.

-Saurabh
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900