I'm using Codeblocks to coding my things using C++.
I remember that in C i can use gotoxy() features and textcolor(), but in C++ that library doesn't work.
Any idea?...
How can i use those functions in C++?.
gotoxy()
and textcolor()
are system dependent functions. They are not part of the standard and not portable.
Two possibilities:
with the same development environment you can get them to work in C and not in C++. In this case, its certainly conio2.h
which doesn't provide for extern "C"
for the C functions. The linker will not find them for this reason.
with your new development environment these functons are not provided:
gotoxy()
as explained here.