•
•
•
•
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
![]() |
•
•
Join Date: Aug 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- touchpad not recognized after laptop reassembly (ribbon is connected) (Peripherals)
- JPG into JPE (Graphics and Multimedia)
- window.close() not working in flash MX??? (Graphics and Multimedia)
- I lack focus... (Java)
- Hotmail 'Match the characters' Error and failed log-in (Web Browsers)
- Help with .js JAVASCRIPT file!!!!!?!!?!? (JavaScript / DHTML / AJAX)
- win2000pro SP3 hangs in strange way (Windows NT / 2000 / XP / 2003)
Other Threads in the C++ Forum
- Previous Thread: circular refrence
- Next Thread: Understanding classes


Linear Mode