Search:

Type: Posts; User: seanJ

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Thread: C++ linked list

    by seanJ
    Replies
    8
    Views
    1,273

    So the *head is the list, *conductor is a node,...

    So the *head is the list, *conductor is a node, and conductor->next is a link? Is there a special name for a list that loops, where the last link points to the first node? I will read the forum rules...
  2. Thread: C++ linked list

    by seanJ
    Replies
    8
    Views
    1,273

    Sorry, I didn't know that

    Sorry, I didn't know that
  3. Replies
    19
    Views
    1,769

    it helps a lot if you take a problem and break it...

    it helps a lot if you take a problem and break it into smaller and smaller problems.

    "take a random number of characters and numbers from the keyboard, find the smallest number and print all...
  4. Thread: C++ linked list

    by seanJ
    Replies
    8
    Views
    1,273

    I'm new also but i think this is about what you...

    I'm new also but i think this is about what you are trying to do



    int location; // which list do you want to access?
    int ctr; // needs a counter to keep track of the list we are...
  5. Replies
    8
    Views
    1,186

    no, i was thinking (ctr2 < 4 || ctr 2 > 4) or...

    no, i was thinking (ctr2 < 4 || ctr 2 > 4) or (ctr2 != 4) like you said. I don't think anyone would trust anything i wrote at the moment anyway
  6. Replies
    8
    Views
    1,186

    ah! i didn't know that lol. thanks, that long...

    ah! i didn't know that lol. thanks, that long line of code was bugging me
  7. Replies
    8
    Views
    1,186

    i like polly better than poly. I was looking at...

    i like polly better than poly. I was looking at that, i was going to change it to < 4 and add something to dump memory and exit the function if ctr2 hits 5 in the while statement since the whole...
  8. Replies
    8
    Views
    1,186

    gah, I always do that

    gah, I always do that
  9. Replies
    8
    Views
    1,186

    and a "," has to be added the the last number in...

    and a "," has to be added the the last number in the polygonvertexindex: data field inside the .fbx file in order for it to fill in the last conduit->p4.
  10. Replies
    8
    Views
    1,186

    making some progress; .fbx file translator

    I haven't been writing much for the past week with work but I have been making some progress and started writing this program. it still has errors like memory leaks and it's only half complete (I...
  11. Replies
    5
    Views
    2,623

    Yes, I will have too look into quaternions, I...

    Yes, I will have too look into quaternions, I read a little about it on wikipedia but I don't understand it yet. I ran into a similar problem with "dev superman mode" camera movements but I was able...
  12. Replies
    1
    Views
    1,149

    render engine outline

    I've been trying to build a structure that can define 3D models made of 3 point polygons and figure out the position of all of the vertices during rotations and movements. It can only rotate on the Y...
  13. Replies
    5
    Views
    2,623

    X=xCos(angle)-ySin(angle)...

    X=xCos(angle)-ySin(angle)
    Y=xSin(angle)+yCos(angle)
    Z=xSin(angle)+zCos(angle)

    I think, so i'm just working with two axis to find a third axis.
  14. Replies
    5
    Views
    2,623

    3d rotational displacement formula?

    I only recently started programing and after reading a little about vertices and polygons I was trying to figure out how rotations of vertices are calculated. I figure that if an object is composed...
  15. Replies
    18
    Views
    2,501

    What if the address was pulled out of the...

    What if the address was pulled out of the structure declared with malloc() into a void pointer, decremented by two, then assigned to a pointer used for the next member in the structure with that...
  16. Replies
    18
    Views
    2,501

    By setting the colors of the pixels to variables...

    By setting the colors of the pixels to variables and assigning the variables values derived by using high and length as operands i've figured out how too make thick lines, divisions, gradients, and a...
  17. Replies
    18
    Views
    2,501

    worked with pragma in vs 2010 also, thanks it...

    worked with pragma in vs 2010 also, thanks it would have taken me a very long time too figure that out
  18. Replies
    18
    Views
    2,501

    recompiled inside of code::blocks with #pragma...

    recompiled inside of code::blocks with #pragma pack(1); declared and it worked!!
  19. Replies
    18
    Views
    2,501

    I wrote this with visual studio 2010, I have...

    I wrote this with visual studio 2010, I have code::blocks with the minGW compiler installed also but I have to run programs inside of code::blocks or else they don't hook into the right .dll's.


    ...
  20. Replies
    18
    Views
    2,501

    it worked! lol can you upload the photo? I don't...

    it worked! lol can you upload the photo? I don't think I have pragma pack, at least I never installed it. the photo is 1080x1920 all grey right?
  21. Replies
    18
    Views
    2,501

    messing around with bitmaps

    started writing this today; still new too writing files though. it's not working yet, the program runs and executes with out crashing but the file it creates can't be opened so i think i must have...
  22. Replies
    4
    Views
    1,155

    you computers memory doesn't work like that....

    you computers memory doesn't work like that. computers do not understand base 10 number systems. they only understand binary, a base 2 number system. when you declare an int data type and send a...
  23. Replies
    4
    Views
    3,704

    everything worked fine with gets() but when I...

    everything worked fine with gets() but when I switched over too fgets() I ran into the problem that you talked about grumpy, however instead of ptr[0]->.fname only loading '\n' I ended up with this...
  24. Replies
    4
    Views
    3,704

    thanks, that really did help me out a lot. I'm...

    thanks, that really did help me out a lot. I'm surprised I missed that, I guess I was just focusing on the individual statements and not looking at the over all flow of the program. I will look at...
  25. Replies
    6
    Views
    2,072

    I tried using code::blocks with minGW also, I...

    I tried using code::blocks with minGW also, I downloaded the entire GCC, spent an hour or two trying to figure out how to use it, then found minGW. Now I can only run programs outside of code::blocks...
Results 1 to 25 of 26
Page 1 of 2 1 2