Note that there are some explanatory texts on larger screens.

plurals
  1. POerror in functions of header file constrea.h in c++
    primarykey
    data
    text
    <p>I have written a simple code to open a new screen in c++.<br> I am using turbo c++ 4.5.<br> my code is :</p> <pre><code>#include&lt;constrea.h&gt; void highvideo(void); int main () { constream win; win.window(1,1,40,20); win &lt;&lt; "xyz"; return 0; } </code></pre> <p>but, the compiler is giving 11 errors :</p> <pre><code>Error ..\INCLUDE\CONSTREA.H 123: Call to undefined function '_setcursortype' in function conbuf::setcursortype(int) Error ..\INCLUDE\CONSTREA.H 129: Call to undefined function 'highvideo' in function conbuf::highvideo() Error ..\INCLUDE\CONSTREA.H 135: Call to undefined function 'lowvideo' in function conbuf::lowvideo() Error ..\INCLUDE\CONSTREA.H 141: Call to undefined function 'normvideo' in function conbuf::normvideo() Error ..\INCLUDE\CONSTREA.H 165: Call to undefined function 'textattr' in function conbuf::textattr(int) Error ..\INCLUDE\CONSTREA.H 171: Call to undefined function 'textbackground' in function conbuf::textbackground(int) Error ..\INCLUDE\CONSTREA.H 177: Call to undefined function 'textcolor' in function conbuf::textcolor(int) Error ..\INCLUDE\CONSTREA.H 183: Call to undefined function 'delline' in function conbuf::delline() Error ..\INCLUDE\CONSTREA.H 189: Call to undefined function 'insline' in function conbuf::insline() Error ..\INCLUDE\CONSTREA.H 201: Call to undefined function 'window' in function conbuf::window(int,int,int,int) Error ..\INCLUDE\CONSTREA.H 206: Call to undefined function 'textmode' in function conbuf::textmode(int) </code></pre> <p>clearly the problem is not in the code. why is this happening. what is the solution to this.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload