Search:

Type: Posts; User: paret

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,142

    your rightt!....that makes sense...thanks man!!

    your rightt!....that makes sense...thanks man!!
  2. Replies
    7
    Views
    1,142

    that actualy is how i worte it in the code, when...

    that actualy is how i worte it in the code, when i wrote it above, i accidently put in the extrat struct TWO*...and if that is the proper procedure, then cleary the problem is somewhere else..
  3. Replies
    7
    Views
    1,142

    heres the exact flow control of my program...

    heres the exact flow control of my program (simplified)..hopefully someone can see what i am doing wrong..



    struct Gemstone* gem;
    main(){

    construct_gem(gem);
    initialize_gem(gem);...
  4. Replies
    7
    Views
    1,142

    Day #8 now of trying to figure this out...im...

    Day #8 now of trying to figure this out...im debating on giving up programming for good.....ive tried to rewrite this program 101 ways now,including your solution quzah and im still in the same place...
  5. Replies
    7
    Views
    1,142

    struct pointer to struct pointer..??

    I am experiencing problems with a program that involves alot of structures and pointers, i think i have narrowed my problem down to an issue with ether assigning or referencing struct memebers...
    ...
  6. yes I tried quzahs suggestion and nothing...

    yes I tried quzahs suggestion and nothing changed..i think i narrowed it down to a problem with defrefercing a struct pointer to struct pointer...
    im trying to fill the value of gem_p->position->x...
  7. can anyone offer any other solution?..PLEASE! im...

    can anyone offer any other solution?..PLEASE! im desperate, its been a week now, and i still havent resolved this problem
  8. ok, so i figured out how to incorporate a printf...

    ok, so i figured out how to incorporate a printf into my code, and its giving me the same thing as the debugger
  9. the only issue with that, is this is all graphics...

    the only issue with that, is this is all graphics and drawings of simple polygons, print statments actually dont work, so i use a debugger with a breakpoint in that location to read the values of x...
  10. i appologize if im confusing you guys, the code...

    i appologize if im confusing you guys, the code segments are just small segments of a very large project that consists of several files...the details of the actual program, im not sure are...
  11. ya the struct for point was in a different header...

    ya the struct for point was in a different header file, so when i did my reply i just through that in
    ..and when you say print them first, do you mean before the call to init_gemston()?
  12. heres one of my header files with the stuct for...

    heres one of my header files with the stuct for gem_p


    #ifndef _UOW_GEMSTONE_H
    #define _UOW_GEMSTONE_H

    #include "uow_graphics.h"
    #include "drawing.h"
    #include "board.h"
    #include <cmath>
  13. Problem with Passing arguments/pointers..PLEASE HELP

    Ive been trying to debug this peice of code for a couple days now, no matter what I try I continue to have the same problem..im trying to pass several arguments of different types from one function...
  14. Replies
    6
    Views
    1,277

    there is no output from the debugger, it runs the...

    there is no output from the debugger, it runs the program as it supposed to..im trying to draw a picture of a gemstone on a background (for a classics pacman game)..im assuming it is still drawing...
  15. Replies
    6
    Views
    1,277

    SORRY, I had to repost it because I changed part...

    SORRY, I had to repost it because I changed part of the code for debugging perposes, heres the code in original form




    #include "gemstone.h"
    #include "board.h"

    bool draw_gemstones(struct...
  16. Replies
    6
    Views
    1,277

    Ya thats what I thought at first, but I dont see...

    Ya thats what I thought at first, but I dont see how that can be when Im passing the actual numbers 0 and 1, and also the size (0.5) is being passed properly.. heres the entire code..



    #include...
  17. Replies
    6
    Views
    1,277

    Help..having trouble passing parameters

    I am having problem with a small code segment,the segment is part of a large project, everything else workd properly and this problem appears to be issolated..i am trying to pass two integer values...
Results 1 to 17 of 17