Search:

Type: Posts; User: rkjd2

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Large Numbers

    by rkjd2
    Replies
    2
    Views
    820

    Large Numbers

    Alright, here's my problem. I need to store a number thats as big or higher than 1661713756910382300 into a data type other than a string or array. The problem with a string/array is that when i use...
  2. Thread: pointer help

    by rkjd2
    Replies
    9
    Views
    1,043

    well thank you for critisizing my code when it...

    well thank you for critisizing my code when it wasnt even in question. thats not code that i've actually tested, and i wrote it on the fly and do expect it to have errors. i did write code to find...
  3. Thread: pointer help

    by rkjd2
    Replies
    9
    Views
    1,043

    no i mean if i have the following code ...

    no i mean if i have the following code


    #include <stdio.h>

    int main()
    {
    char a_string[1030];
    int i;
    for(i=0;i<=1030;i++)
  4. Thread: pointer help

    by rkjd2
    Replies
    9
    Views
    1,043

    so what if ptr is a string not a pointer? would i...

    so what if ptr is a string not a pointer? would i be accessing ptr as a pointer if i did *(long *)&ptr = something;?
  5. Thread: pointer help

    by rkjd2
    Replies
    9
    Views
    1,043

    so then what would *&ptr be? the value at the...

    so then what would *&ptr be? the value at the address of ptr?
  6. Thread: pointer help

    by rkjd2
    Replies
    9
    Views
    1,043

    pointer help

    I'm trying to learn pointers and their values, i know the following (please correct if incorrect)

    ptr = the value of the variable it points to
    *ptr = the address of the variable it points to...
  7. Thread: OpenGL help

    by rkjd2
    Replies
    2
    Views
    825

    OpenGL help

    ok im learning opengl and im of corse running msvc 6.0 enterprise edition blah blah blah anywho this code(below) seemed to do nothing untill i added a messagebox to to the if(!registerclassex...)....
  8. Replies
    4
    Views
    1,685

    still hwnd is an undefined variable.

    still hwnd is an undefined variable.
  9. Replies
    4
    Views
    1,685

    console app in full screen

    alright i know about the alt+enter stuff and the code that one guy posted:



    bool GoFullScreen(void){


    hwnd = FindWindow(NULL, "Menu");
    if(hwnd != NULL){
    int nVer =...
  10. Thread: installing djgpp

    by rkjd2
    Replies
    6
    Views
    1,162

    nope

    nope
  11. Thread: installing djgpp

    by rkjd2
    Replies
    6
    Views
    1,162

    windows xp has no autoexec.bat

    windows xp has no autoexec.bat
  12. Thread: installing djgpp

    by rkjd2
    Replies
    6
    Views
    1,162

    installing djgpp

    im running windows xp and djgpp says to add some stuff under the enviroment tab in msconfig...there is no enviroment tab nore is there and autoexec.bat for me to edit any one know how to get this...
  13. Replies
    0
    Views
    886

    installing allegro

    im running borland 5.5 and i need to know how to install allegro here's what i've done so far, its not working...

    unzip the source files to my \borland\bcc55\allegro
    went into the allegro folder...
  14. Thread: Graphics

    by rkjd2
    Replies
    9
    Views
    761

    i dont gots the library's for opengl, or directx,...

    i dont gots the library's for opengl, or directx, dunno about allegro...know of any good/beginner tutorials?
  15. Thread: Graphics

    by rkjd2
    Replies
    9
    Views
    761

    any way to get that to work in windows? it says...

    any way to get that to work in windows? it says BGI graphics are not supported by windows, any ideas what i should use? oh im useing Borland C++ 5.01...i may just need a new compiler...
  16. Replies
    13
    Views
    1,047

    besides u have to use a variable for srand...

    besides u have to use a variable for srand otherwise you couldnt manipulate it. and if you used a variable with 1,2,3 as values, you would be calling the same seeds getting the same numbers. there...
  17. Replies
    13
    Views
    1,047

    ok first he wasnt asking for a SINGLE random...

    ok first he wasnt asking for a SINGLE random number. there for he needs 3 random numbers, if i calll srand one time, rand will spit out the same number each time (trust me i've done this before). if...
  18. Replies
    13
    Views
    1,047

    ok not that i like the fact that you didnt check...

    ok not that i like the fact that you didnt check the FAQ to begin with, but this isnt really in the faq, it just takes a little thinking, here is a sample of what your code should look like, i...
  19. Replies
    2
    Views
    1,122

    ah yes getc() IS standared but i need _getc() one...

    ah yes getc() IS standared but i need _getc() one shows output to the screen the other dosnt.
  20. Replies
    2
    Views
    1,122

    _getc(); equivelent in linux

    does any one know what linux compilers call _getc()???
  21. Thread: system()

    by rkjd2
    Replies
    1
    Views
    891

    system()

    for some odd reason when i compile this c++ program i get errors

    #include <iostream.h>

    int main()
    {
    system("telnet localhost");

    return 0;
    }
  22. Replies
    10
    Views
    2,308

    ok not to be rude but yes i know that Slackware...

    ok not to be rude but yes i know that Slackware 8.0 is a O/S not a compiler (trust me i'm quite aware of this) i was refering to the program g++ that it comes with wich IS a compiler. Aside from that...
  23. Replies
    10
    Views
    2,308

    hmmm slackware 8.0 dosnt have conio.h.....

    hmmm slackware 8.0 dosnt have conio.h.....
  24. Thread: Eof

    by rkjd2
    Replies
    5
    Views
    768

    i got it to work, stupid me you cant capitolize...

    i got it to work, stupid me you cant capitolize EOF i was doing this

    while(!somefile.EOF())

    gotta do this
    while(!somefile.eof())
  25. Replies
    10
    Views
    2,308

    linux equivelent to conio.h

    does any one know a linux equivilent to conio.h?
Results 1 to 25 of 59
Page 1 of 3 1 2 3