I am already using double buffering but that doesnt seem to fix the mouse
Type: Posts; User: Jamazon
I am already using double buffering but that doesnt seem to fix the mouse
Hi
I'm using Open Gl with Borland 5.5 and when I try to use the mouse with my own cursor (data/main.cur) it gets all flickery. Can Somebody please help, how do I fix it?
Thanks
Windows programmign is alot different to DOS programming. First you have to get a compiler that will compile windows programs, like Borland c++ 5.5 or Dev C++ - both r free. I dont know the addresses...
I forgot to say loop should be -1 at begining, and when declaring loop you shhould go while(number[loop++] != '\0') - i forgot the ++.
Do you want the program to input a number then print it out with 2 spaces in between each digit? If so you should use a string:
#include <iostream.h>
void main(void)
{
char number[15];
int...
the first one is the string (array of characters) to put data into. The second one is how many characters from the line to read (mayby you only want a 5 letter word) and I dont know what the last one...
#include <iostream.h> //text input and output
void main(void)
{
char number[15]; //declare our number
int loop = 0; //what we use to keep track of the number we are up to
cout << "Please...
How do i know what state the button is in, toggled on non-toggled. The example above will work when you just press the button on or off, how do I do it so that it works only when the button is on?
Hi i'm trying to input a question in a window program. The box can either be pressed or not pressed but how do i find out what state it is in (pressed or not). I got some help from another web page...
It is great with window programming and game programming, plus its free. You can do Direct X or Open Gl programming and almost all visual c++ examples will work on it. I dont know the exact site but...
Hi
I've been reading the tutorials from the NeHe(http://nehe.gamedev.net/default.asp) Site (the opengl ones) and every one compiled perfectly untill I got to number 6. The tutorial was on texture...
Hi
I want to compile a opengl cpp code I got from a NeHe tutorial. I haven't ever used borlands free compiler for anything but dos programs and the normal way I compile my code doesn't work: bcc32...
When I ran the program it said i needed the .h file which you haven't oploaded.
Hi
I've just got direct X 8 to work with dev-c++ but aren't too sure how to use it. The examples haven't been the simple stuff like moving a pixel around the screen. Does anybody know a good site...
You can also use it to make a beep eg.
cout << "Hello, BEEP \a" << endl; \\ or \n
Hi
Does anybody know how to use graphics in borland c++ 5.5, I just want to get to screen 13h but most examples on the web don't seem to work!
Thanks...
If what you want is to convert a char that has numbers in it like "123445" to a int that will end up like 123445 then include the stdlib library. the command int atoi(char *word) does what you want....
I want a change though - devc++ cant do everything!
veiw - folder options - filetypes - find(text files) - edit - edit - c:\windows\NOTEPAD.exe.
Follow the above commands throgh any browsing window - I used mycomputer. It works!
Hi
I have recently downloaded the free borland c++ compiler and done everything right (i think) to install it - yes, I have added the lines to autoexec.bat and ilink32.cfg and bcc32.cfg - when i...
// reading a text file
#include <iostream.h>
#include <fstream.h> //input with files
int main () {
char buffer[256];
ifstream examplefile ("example.txt"); //set file for reading.
if (!...
It has all the answers to simple stuff like that, just read it.
Hi im using djgpp and want to use the findfirst and findnext to see if a file exists. It is in dos.h but I dont know how the function works, could somebody please help: findfirst(const char*, ffblk...
just type in the directory your zip files are in (in msdos): "unzip32 *.zip -d c:\djgpp" after you have made the djgpp directory. It will unzip everything to the right directory properly. Then go to...
Hi
I am wanting to use the findfirst and findnext functions for reading files but dont know what ".h" they are included in, do any of you? Please help.
Thanks...