How to use graphics.h in codeblocks?

First download WinBGIm from http://winbgim.codecutter.org/ Extract it. Copy graphics.h and winbgim.h files in include folder of your compiler directory Copy libbgi.a to lib folder of your compiler directory In code::blocks open Settings >> Compiler and debugger >>linker settings click Add button in link libraries part and browse and select libbgi.a file In right part (i.e. … Read more

Good debugger tutorial for beginners [closed]

I’d suggest the following tutorial for Visual Studio 2010 to start with. It contains information about call stack, debugging multithreaded program and other things which may be needed. The express edition of Visual Studio 2010 is available for free and AFAIK its debugger has precisely the same features as commercial editions.

undefined reference to gotoxy in C

The problem you’re facing isn’t related to Code::Blocks, it’s related to the compiler it’s using (MinGW by default), and it’s because that function isn’t standard and wasn’t implemented in that compiler. I’m not sure if Borland still provides conio.h, but you could try this one for MinGW. Have a look at this http://projectsofashok.blogspot.in/2010/05/gotoxy-in-codeblocks.html You can … Read more

“Undefined reference to” template class constructor [duplicate]

This is a common question in C++ programming. There are two valid answers to this. There are advantages and disadvantages to both answers and your choice will depend on context. The common answer is to put all the implementation in the header file, but there’s another approach will will be suitable in some cases. The … Read more

tech