Search:

Type: Posts; User: Bigbio2002

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    7,955

    aha, thank you!!

    aha, thank you!!
  2. Replies
    4
    Views
    7,955

    ive modified my code slightly and inserted the...

    ive modified my code slightly and inserted the errors before the lines they appear on. hope this helps.
  3. Replies
    4
    Views
    7,955

    pointer to multidimensional array

    I'm trying to use a pointer to access an array, since I need to be able to switch between two identically-sized arrays. However, I get compiler errors when I try to reference an array to my pointer....
  4. Replies
    8
    Views
    1,772

    i know thats not the exact output that he wanted....

    i know thats not the exact output that he wanted. i said that hed have to format it to make it look nice, but thats the gist of what the program is supposed to do.
  5. Replies
    8
    Views
    1,772

    it looks like youve done a pretty good job...

    it looks like youve done a pretty good job getting the basics down. now, you need to get yourself into a cold, computerized mindset. :cool:

    first of all, youve tried to initialize r even though...
  6. i meant that as pseudocode, not actual examples...

    i meant that as pseudocode, not actual examples of working code. in place of curr_time it should be GetTickCount(), since GetTickCount gets the current time, lol.

    same thing with Sleep(). i used...
  7. gathering time? im not sure what you mean

    gathering time? im not sure what you mean
  8. How to relinquish processor cycles in wait functions

    I'm trying to find an effective and accurate way for synching my framerate. If I use something like this:


    while((curr_time - start_time) < 33)
    ; //wait and do nothing

    then it will eat...
  9. Replies
    3
    Views
    1,557

    tyvm for your help! that problems been bugging me...

    tyvm for your help! that problems been bugging me for a while now, but it finally compiled properly
  10. Replies
    3
    Views
    1,557

    member member function pointers

    im trying to create a member function pointer, but the problem is that i need to make that pointer a member of the class as well. heres a sample of what im trying to:



    //gfxclass.h

    class...
  11. Replies
    15
    Views
    2,600

    i hear that mcdonalds gives competitive pay....

    i hear that mcdonalds gives competitive pay. maybe you can program their mcflurry machines :P
  12. [bump]

    [bump]
  13. Replies
    15
    Views
    2,600

    here is how you would go about creating a class....

    here is how you would go about creating a class. the h file would contain prototype information about the class, and you need to include it in any cpp files that use the class:


    //factorial.h
    ...
  14. [bump and update] i made a new program to test...

    [bump and update]

    i made a new program to test and i compiled it with only a cout statement. it compiled successfully, but the program crashed when i tried to run it. as i said, its only compiling...
  15. Replies
    4
    Views
    3,206

    use memcpy(). it takes a destination pointer, a...

    use memcpy(). it takes a destination pointer, a source pointer, and the number of bytes you want to copy. you need to include <memory.h> in order to use it. it returns the value of the destination...
  16. Replies
    3
    Views
    1,069

    what are you trying to access bitmaps for? if you...

    what are you trying to access bitmaps for? if you want to copy them or move them around, try using directdraw to access the hardware blitter
  17. [bump] id really like some help on this,...

    [bump]

    id really like some help on this, seeing as the standard c++ library is extremely important, and that i wont be able to compile anything until i fix this problem
  18. nope, i've already determined that cin is causing...

    nope, i've already determined that cin is causing the error. try to comment it out and see for yourself. this is a problem that had in a larger program which im hoping to get fixed
  19. LNK2019 with .net 2003 and standard c++ library

    when using cin, i get a linker error when compiling with the release libraries, but it compiles fine with the debug libraries. all project settings are at default. here is the test code that i used:...
  20. operating system: xp home sp1 compiler: msvc++...

    operating system: xp home sp1
    compiler: msvc++ 6.0. i also have dev c++ and borland 5.5 but i rarely use them
  21. inline assembler as alternative to int86()

    i have a book with some code samples using int86() to do graphics functions. on the graphics tutorials on this site, i saw the author using inline assembler. how would i go about converting the...
  22. great question dagdarian. i hate having to hold...

    great question dagdarian. i hate having to hold the fridge door open with my foot so i can pick a tv dinner and set the microwave (which is one of those cheap 700 watt ones)
  23. thanks for your help Nyda and Prelude. another...

    thanks for your help Nyda and Prelude. another one of programmings great mysteries answered :)
  24. optimizations in if statements using true and false

    my compiler is msvc++ 6.0. when using an if statement, which of these lines of code would run faster?


    if(variable==0)
    or

    if(!variable)

    also the same question with these 2 lines of code
  25. Replies
    1
    Views
    2,664

    testing a cgi script on my computer

    i need to create a cgi script for my schools website. i compiled a test cgi script to run on my computer to see if it works, but it didnt load in IE.

    i compiled it as i would any other program but...
Results 1 to 25 of 38
Page 1 of 2 1 2