Search:

Type: Posts; User: LloydUzari

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    19
    Views
    3,946

    Me and Magos are only ones that get it :rolleyes:...

    Me and Magos are only ones that get it :rolleyes: Hes not talking about a premade tree and putting the data into it from file, but making the tree entirely from the file so eveything is in the right...
  2. Replies
    11
    Views
    1,371

    I dont know of another way, but I think I may...

    I dont know of another way, but I think I may know how to fix the problem. you said * returned the first value's size, try '*m_card[]', like with delete, it may return the whole array. I dont know, I...
  3. Replies
    11
    Views
    1,371

    Try putting '&' before m_card, that should return...

    Try putting '&' before m_card, that should return the size of it, if not, try * like alpha said.
  4. Replies
    19
    Views
    3,946

    I think he means so he can construct the tree...

    I think he means so he can construct the tree through the file, without having to have the tree premade and use the file to fill it. I think your idea should work, but if that edit means you found a...
  5. Replies
    6
    Views
    1,523

    Heres something: if(getch()!='\0') mainscr();...

    Heres something:

    if(getch()!='\0') mainscr();
    That should return mainscr() each time any key is hit, if not, just try playing with it... :rolleyes:
  6. Replies
    16
    Views
    1,702

    Did you declare both cout and endl? By one of the...

    Did you declare both cout and endl? By one of the three methods:

    using namespace std; (not recommended)
    using std::[command]; (without []'s, not best, but better)
    std::[command] (put std::...
  7. Replies
    10
    Views
    1,350

    I got this to work, its a pretty cool trick, but...

    I got this to work, its a pretty cool trick, but does it have any advantages? The only thing I can think of is being able to organize variables easier(in the class instead of in main)
  8. Replies
    1
    Views
    2,665

    Dev-C++ Error

    Im using Dev-C++, and just finished the first version of my project.

    While using the debugger, when it was running, it ran error 193 and canceled execution. I checked the Dev-C++ Help, but nothin...
  9. Replies
    4
    Views
    1,476

    Ok heres some code: //In class: struct tile...

    Ok heres some code:

    //In class:
    struct tile ***iso_map;

    //Declaring 3D array of structs:
    **iso_map=new int[map_height]; //dynamically declare 3D array
    for (int a=0; a<map_height; a++) {
    ...
  10. Replies
    4
    Views
    1,476

    Pointer&Array problem

    Im making a little graphics engine, but not much about that in this topic. My problem right now is with pointers and arrays(if you didnt notice)

    I have a Dynamic 3D array, which 'seems' to work,...
  11. Replies
    3
    Views
    1,048

    Allegro & C++ programming...

    Allegro & C++ programming

    That link will show you some basics of C++, and how to display bmp images. After learning the little that is there, learn off of the tutorials on this site for more info...
  12. Replies
    2
    Views
    1,590

    Thanks, that fixed a few problems :D

    Thanks, that fixed a few problems :D
  13. Replies
    2
    Views
    1,590

    Allegro Help

    Im starting to get further into coding, and now I need help with Allegro.

    Im following a tutorial to it, but when I try to compile the program, it runs this error:


    Heres the code, seems right...
  14. Replies
    3
    Views
    1,047

    I recommend using the tutorials on this site and...

    I recommend using the tutorials on this site and moving on from there, jumping from nothing to ports isnt the easiest thing :rolleyes:
  15. Thread: wxWindows

    by LloydUzari
    Replies
    1
    Views
    1,026

    wxWindows, Header Error

    I got this thing following a tutorial, and it keeps running the error of redefining bool :( Anyone know how to fix this? I looked into it, and it is trying to redifine bool so that instead of...
  16. Replies
    5
    Views
    1,324

    Here Ill post what Im trying in one(decided to...

    Here Ill post what Im trying in one(decided to use dev, didnt feel like changing)


    void SetMCGA() {
    __asm("mov %ax, 0x0013");
    __asm("geninterrupt, 0x10"); //error line
    }

    Note sure...
  17. Replies
    5
    Views
    1,324

    Ya, I use Dev-C++. And I dont understand the...

    Ya, I use Dev-C++. And I dont understand the funny syntax for the AT&T one :( Whats a good free compiler that would compile the stuff I find in that tutorial?
  18. Replies
    5
    Views
    1,324

    Graphic programming

    Ive been trying the graphic programming tutorials on the site, but Im having problem with the assembly code stuff, my compiler just keeps saying its undeclared, and I know nothing about assembly so I...
  19. If you mean converting the int value of a string...

    If you mean converting the int value of a string to char form, I understand :D Heres a way I used for it.

    Make two functions. One will tell the program how many int values to input, and the other,...
  20. Replies
    24
    Views
    2,402

    Thanks, that fixed the rest. I added seekg to get...

    Thanks, that fixed the rest. I added seekg to get past that terminating thing :rolleyes:
  21. Replies
    24
    Views
    2,402

    Oh wait, the preset for ofstream deletes the...

    Oh wait, the preset for ofstream deletes the file, right? That might explain it :rolleyes:

    EDIT: I changed it to fstream, but now it does 1x0, not 10x10 :( Any idea why its stopping after 1 char...
  22. Replies
    24
    Views
    2,402

    Accually, the file checking is outside of the...

    Accually, the file checking is outside of the functions. I did have file checking in the functions before, but they were slowing the program down like crazy, so basically how it works now is before...
  23. Replies
    24
    Views
    2,402

    Its pretty darn absic... I updated the loading of...

    Its pretty darn absic... I updated the loading of dimensions with get(), and used atoi to make it int. works much better and now only problem is it doesnt load what I want it too(the values come out...
  24. Replies
    24
    Views
    2,402

    Right now, that wouldnt matter cause their both...

    Right now, that wouldnt matter cause their both the same currently(10)

    I have debugger in compiler, but the annoying thing itself is bugged and dont work :rolleyes: I did the cout way of debuggin,...
  25. Replies
    24
    Views
    2,402

    That might help him, but not me :( My code uses...

    That might help him, but not me :(
    My code uses a 2D array for storing data from a file, but the first 2 digits of the file tell it what the dimentions are, and then I make Dynamic Array for the...
Results 1 to 25 of 63
Page 1 of 3 1 2 3