Phil Frisbie's Programming Page

Tips and tricks

Back to my main page
This page last updated 3 Jul 19988.

This is new, so do not be surprised if I make major changes here over the next few months.

Each item below is marked if it is specific to a certain OS/API/compiler.

(OpenGL with Voodoo graphics) How can you have a mouse pointer on a Voodoo card? Source code includes functions to help you draw any overlay.

(DJGPP, Visual C++) How to find out how much PHYSICAL memory a PC has installed Full DJGPP and Visual C++ source code.

(OpenGL with Visual C++) How to eliminate the compile error "conversion from 'double ' to 'float ', possible loss of data"

	This one is short and simple. You can either prefix all your constants
	with (float), or add this to your main include file:

	#pragma warning (disable:4244)

	One last note: This also disables some other conversion warnings, so compile
	without this occasionally.

Back to my main page

© 1997-1998 phil@hawksoft.com


This page hosted by GeoCities Get your own Free Home Page


1