Archive for the ‘Code’ Category

CodeBlocks: Undefined reference to getaddrinfo()

CodeBlocks: Undefined reference to getaddrinfo()

By nick | Code

If you’re encountering the error “Undefined reference to getaddrinfo()” he’s how to solve the problem.  It seems the winsock examples on the MSDN site are very much intended for use with Visual C and therefore you may have to do a few additional things to get everything working correctly.   Firstly you’ll need to add

SDL: Undefined reference to IMG_LOAD [Solved]

SDL: Undefined reference to IMG_LOAD [Solved]

By nick | Code

If you’re trying to get SDL_Image to work correctly and are getting the following error: undefined reference to `IMG_Load` Here’s how to fix it: Go to your compiler link options, in code and add -lSDL_image &nbsp

PHP Search Engine Ranking Code

By nick | Code

I’m putting up for download a very useful tool for webmasters and php developers alike.  It’s a basic tool for finding the ranking position of a keyword in a set search engine. This code will take two parameters, a keyword and a url.  It will search through a predefined number of results pages for your

Free code contributions added to the site

Free code contributions added to the site

By nick | Code

I’ve just created a Code section to the site which I’ll start to post various snippets and classes in to.  This will be stuff written in PHP, Javascript, Java and have some MySQL stuff thrown in as well. Everything I upload will be free for you to use and redistribute