Search Results

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: Mike29936 ; Forum: C and child forums
Forum: C Dec 23rd, 2003
Replies: 2
Views: 5,415
Posted By Mike29936
Hmm, I just noticed that I forgot to load the file into memory, and to rewind() the file after I found how big it was.

I fixed that, and now it seems to get the unique strings. All that's left...
Forum: C Dec 23rd, 2003
Replies: 2
Views: 5,415
Posted By Mike29936
The other day, I got an idea for a compression program, and decided to write up a function that compresses a file into "filename.compressed".

Compression function works fine, but I get a nasty...
Forum: C Oct 8th, 2003
Replies: 2
Views: 16,862
Posted By Mike29936
Anyone? I found it crashes during the while loop where PeekMessage() is, but I still haven't been able to fix it.
Forum: C Sep 22nd, 2003
Replies: 2
Views: 3,972
Posted By Mike29936
Awright, I don't know what 'cs' is. But here's a basic idea of what you need to do:

Get input and store in variables named 'width' and 'height'
for (temp=0;temp<width;temp++)
for...
Forum: C Sep 8th, 2003
Replies: 1
Views: 7,309
Posted By Mike29936
Do you know the position of the char?

If so:

char_array_name[position] = new_character;

char_array_name is the name of the array.
position is an integer value specifying the offset from the...
Forum: C Sep 8th, 2003
Replies: 2
Views: 16,862
Posted By Mike29936
#include "main.h"

DirectInput::Initialize(void) {
int error;
char *message;
buffer = new unsigned char[256];
//Make DirectInput8
if (SUCCEEDED(error =...
Forum: C Sep 8th, 2003
Replies: 2
Views: 16,862
Posted By Mike29936
(edit) Code was too long for forum. I'm splitting it in 1/2

I'm currently working on a Direct3D class that simplifies D3D, so I can use it to make games, applications, etc.

I started on it...
Showing results 1 to 7 of 7

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC