Search:

Type: Posts; User: slenkar

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,463

    ohh ok thanks!

    ohh ok thanks!
  2. Replies
    4
    Views
    1,463

    oh yes I did include it in multiple source files...

    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
  3. Replies
    4
    Views
    1,463

    allocate memory for constant string?

    I have a struct



    struct animation
    {
    char *name;
    }
  4. Replies
    6
    Views
    1,789

    yes, originally I wanted to write a function that...

    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...
  5. Replies
    6
    Views
    1,789

    thanks for the reply what is wrong with the...

    thanks for the reply

    what is wrong with the add_to_array function that would cause this behaviour?
  6. Replies
    8
    Views
    55,940

    are you sure you recompiled? try b='b';...

    are you sure you recompiled?

    try
    b='b';
    a='a';
    if (a==b)
  7. Replies
    6
    Views
    1,789

    why does my array get bigger?

    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...
Results 1 to 7 of 7