Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ashstampede

  1. ashstampede

    Model loading Algorithm with MS C++ and opengl

    I could really really use some help on making my model loader faster, it is loading .obj file format. There area where it is slow is converting the mesh data to opengl VBO data. so it looks for duplicate vertex,normal and uv data and creates indices as appropriatly. a model with 570 faces loads...
  2. ashstampede

    larger float cast to int equals 0

    I am attempting to create a timer using the CPU ticks the, the real problem is this is an abstract class And i dont know how the authurs TIMER works but it returns a float. I have then created a timer counter, that track the time since the function was last called. The problem is it never...
  3. ashstampede

    acos dividing by zero

    I have sorted it out, it was the normalized, i didnt normalize heading vector so the numbers were over -1 and 1 so sorted. thanks for the response
  4. ashstampede

    acos dividing by zero

    I'm very lost in the fact that acos is returning ?-1.#IND000 What i am trying to calculate is a angle from two vectors. now my "float dot" is a negative number so my assumtion is "that must be why it is returing dived by zero". //Get the Tanks current Location Vector2D Alien = Vector2D()...
  5. ashstampede

    Image transition

    Hi I am trying to code a image transition using copyRECT with no success. currently what is happening is a small junk of the old/current image is copied on to the new image and then just stays as the slide show continues. here is so code i have attempting to wipe the image in from the left...
  6. ashstampede

    accessing labels like 2d array items

    ok, i didnt see icon editor in the toolbox? how do i use a icon editor?
  7. ashstampede

    accessing labels like 2d array items

    I am building a visual guild to path finding, i am trying to use MS visual c++ so i have a bunch of label on my form and i will read in a txt file that will be a ascii art type map. like so xxxxxxxxxx x00000000x x00000000x x00000000x xxxxxxxxxx so in my program i read the file assign the...
  8. ashstampede

    Database not selected error

    DRJ478: the error doesn't happen on any line persay, the error i get is the mysql. but the function that is called that doesn't finish is 'populate', but before calling populate i call a function selectlist, that goes to the same database but different table, and the code work fine until...
  9. ashstampede

    Database not selected error

    I have a weird problem with my php page, I have three or so functions that call the database. two of the functions run and on the third I have output if an error occurred with the database. stating "No database selected" <?php session_start(); //redirect the user if they are not admin...
  10. ashstampede

    echo duplication and page reload error

    ah no It was my database entries, there was orignal 52 rows, but then i changed most of the categories so what must have happen origanally was when i copied and paste the insert staetments over again.
  11. ashstampede

    echo duplication and page reload error

    ah yeah it is as the function is called twice, or the output is outputted twice. function and call to the database function selectList() { require_once('conn.php'); $errors[] = array(); $selout = "<select name=\"ps_category\">\n"; $query = "SELECT * FROM category;"; $result...
  12. ashstampede

    echo duplication and page reload error

    sleipnir214, Thanks for the answers but just a follow up. *well I read the manual of php link you posted and it said to use mysql_affected_rows() for statements that modify the tables. as for how do i know its not double I ran a select * from the table and it returns just 1 list equaling 52 rows
  13. ashstampede

    echo duplication and page reload error

    I am fairley new to php and mysql so my first project I decide to make the ever infamous web blog. I have experience with MS SQL and ASP.net. At the moment I am having two problems, that I cannot figure out for the life of me. The first is with a function I have created, it is called in the...
  14. ashstampede

    Internet share through Airport card

    Hi, i would like to share my internet through my airport card with my nintendo ds. I have no idea if it would work but seeing as it is a option to share your internet connection through your airport card. I made an attempt at this but the problem i discovered was the airport doen't give an ip...
  15. ashstampede

    my css file is not linking or changing the style of my xhtml file

    yes, yes it does help. I feel like a turd right now, why did that validate then!? anyway thanks a ton

Part and Inventory Search

Back
Top