ohh ok thanks!
Type: Posts; User: slenkar
ohh ok thanks!
oh yes I did include it in multiple source files
after fixing it, I cant seem to print the string
printf("anim name %s\n",a.name);
it just doesnt print anything after anim name
I have a struct
struct animation
{
char *name;
}
yes, originally I wanted to write a function that added an object to the first empty space in the array, or if the array was full...create a new larger array and copy the objects to the new larger...
thanks for the reply
what is wrong with the add_to_array function that would cause this behaviour?
are you sure you recompiled?
try
b='b';
a='a';
if (a==b)
here is a C program for windows
#include <windows.h>
#include <gl/gl.h>
#include <stdlib.h>
#include <stdio.h>
LRESULT CALLBACK WindowProc(HWND, UINT, WPARAM, LPARAM);
void EnableOpenGL(HWND...