Search:

Type: Posts; User: Afro

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,099

    Ah, alright, makes sense now, thanks for the help...

    Ah, alright, makes sense now, thanks for the help Todd, and Mike :)

    /thread over
  2. Replies
    6
    Views
    1,099

    oh man, thanks. That's such a silly error to...

    oh man, thanks. That's such a silly error to make.
    But i thought defining an array as [7][7] would give eight different variables?
    As in: 0 1 2 3 4 5 6 7?
    Or i might just be totally off there.
    ...
  3. Replies
    6
    Views
    1,099

    Problem with reading from an array

    As the title suggests im having trouble with writing from an array.

    It seems as if even the i give the board[x][y] the correct values it's still reading from
    the wrong point, i've looked through...
  4. Replies
    11
    Views
    2,176

    I understand, i'm just tired and got a bit ticked...

    I understand, i'm just tired and got a bit ticked off by what you said, a simple "no, that is impossible" would've been enough. And yes, i am quite new to C. But it was apparently obvious eh? :P...
  5. Replies
    11
    Views
    2,176

    I'll try to explain, let's say i have three...

    I'll try to explain, let's say i have three structures all connected (dont know the word for it)
    to the foot_item structure.



    struct foot_item {
    char item_name[20];
    char...
  6. Replies
    11
    Views
    2,176

    The question was if there actually WAS a way to...

    The question was if there actually WAS a way to pass them directly to a function without a pointer, so that part of your reply makes absolutely no sense aswell. Thank you for your help though.
    ...
  7. Replies
    11
    Views
    2,176

    Passing strings to functions?

    As the title implies i am trying to pass a string to a function, and i wondered if there is any way to do it without using pointers?

    Here is my situation
    I have a structure:


    struct foot_item...
  8. Replies
    8
    Views
    16,516

    Thanks guys, i got that part to work now.

    Thanks guys, i got that part to work now.
  9. Replies
    8
    Views
    16,516

    Seeing as i got a few "If you have to use...

    Seeing as i got a few "If you have to use system..." then is there any other ways to execute a program from a variable?

    The program is supposed to have a menu, with the options to add a program to...
  10. Replies
    8
    Views
    16,516

    Using variables in system()

    Is there some way to use variables in a system() command?

    i've tried



    system("%s",firstprogrampath);


    but i only get an errormessage in the stdlib.h header (line 356), too many arguments...
  11. Replies
    3
    Views
    1,027

    Thanks, i got it to work!

    Thanks, i got it to work!
  12. Replies
    3
    Views
    1,027

    Exiting windows through a C program.

    I would like some help with, as the thread name implies, with exiting windows through a C program. I am quite new to programming, so please try to explain what to do :). I guess that C doesnt have a...
Results 1 to 12 of 12