User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,512 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,694 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1722 | Replies: 1
Reply
Join Date: Aug 2004
Posts: 1
Reputation: gsreerekha is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
gsreerekha gsreerekha is offline Offline
Newbie Poster

window () is not working at all

  #1  
Aug 8th, 2004
I am using Turbo C++ 4.5 version.

I tried window (). But when I complied the code given at the bottom of this page, I am getting the following error messages:

"call to undefined function 'window' in function main ()"

"call to undefined function 'textcolor' in function main ()"

"call to undefined function 'textbackground' in function main ()"

"call to undefined function 'cprintf' in function main ()"


#include <conio.h>
int main(void)
{

window(10,10,40,11);
textcolor(BLACK);
textbackground(WHITE);
cprintf("This is a test\r\n");

return 0;
}


Please advise how to sort out this issue. Your advise will be highly apprecaited.



Thanks & Regards


G SREE REKHA
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Aug 2004
Posts: 1
Reputation: arash is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
arash arash is offline Offline
Newbie Poster

Re: window () is not working at all

  #2  
Aug 9th, 2004
First be sure that all the functions used are prototyped in <conio.h>
second be sure that your include directory is correctly set and finally be sure to make an executable file for the console application 'cos it won't work as an windows app.

hope this helps
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 3:51 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC