Search:

Type: Posts; User: toonlover

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,002

    Help with Linked Lists

    Hello there, I was just practicing my Linked Lists. I have come out with some code, works well with exception of the first element that I insert. Can anyone please tell me what I did wrong? So far...
  2. Replies
    3
    Views
    1,435

    Well....to load a bitmap you have to declare a...

    Well....to load a bitmap you have to declare a BITMAP pointer like this:


    BITMAP* my_picture = loadbitmap( file to load here );


    What I want to do is this:


    (BITMAP*) *frames[size];
  3. Replies
    3
    Views
    1,435

    Starting Allegro

    Hello there! I am starting allegro and am getting familiarized with it... I am trying to device a structure that holds a dynamically sized (BITMAP*) array. However I get a compile error when I try to...
  4. Replies
    22
    Views
    4,385

    Well that's odd. I originally began to code this...

    Well that's odd. I originally began to code this with Code::blocks, and then I migrated to Visual Studio 2005 w/out any service packs installed ( might be the reason? ). I tried to recompile the code...
  5. Replies
    22
    Views
    4,385

    Crap! Did not know why I was doing that! That was...

    Crap! Did not know why I was doing that! That was an error generated right after fixing the errors I previously asked. It all works now! Although when I compile it in DEBUG mode it still forces that...
  6. Replies
    22
    Views
    4,385

    I have provided the definitions, although I don't...

    I have provided the definitions, although I don't think the constructors or Add() functions are the problem. I runs fine in Release Mode, however when i try to access a container through the pointer...
  7. Replies
    22
    Views
    4,385

    Yes, I did check the debugger and it breaks...

    Yes, I did check the debugger and it breaks before entering the first iteration. I have fixed the *it++ but the error still prevails. I am getting a headache here....:(
  8. Replies
    22
    Views
    4,385

    This is what I got for Call Stack: ...

    This is what I got for Call Stack:


    > NewMedicine.exe!main(int argc=1, char * * argv=0x00365ea8) Line 19 C++
    NewMedicine.exe!__tmainCRTStartup() Line 586 + 0x19 bytes C
    ...
  9. Replies
    4
    Views
    5,758

    Go ahead and try Code::Blocks @...

    Go ahead and try Code::Blocks @ http://www.codeblocks.org/
    In contrary to netbeans it is completely dedicated to C/C++. I also downloaded netbeans two days ago, after already having Code::Blocks...
  10. Replies
    22
    Views
    4,385

    Well this is the section of code located on...

    Well this is the section of code located on list.h that apparently is making my code break:


    304: #if _HAS_ITERATOR_DEBUGGING
    305: void _Compat(const _Myt_iter& _Right) const
    306: { //...
  11. Replies
    2
    Views
    1,038

    How about instead of using clrscr(); to clear...

    How about instead of using
    clrscr(); to clear the screen, you use
    system("cls");?


    was int load() declared on your load.h header? Here your just declaring another function called load() on a...
  12. Replies
    22
    Views
    4,385

    Thanks for the reply! Well here are my thoughts:...

    Thanks for the reply! Well here are my thoughts:


    while( *it != mynewList->GetList()->end())
    { //EXPLANATION(S)
    Results->push_back(&**it); //*it = iterator which points to a...
  13. Replies
    22
    Views
    4,385

    Thanks for your replies! Daved, I cannot add the ...

    Thanks for your replies! Daved, I cannot add the type at line 309 because it is from <list.h>, I mess with that I mess with the entire library, anyhow VC++ 2005 locks the file from being modified. ...
  14. Replies
    22
    Views
    4,385

    Currently I haven't practiced pointers that...

    Currently I haven't practiced pointers that often, and I want to know all aspects of C++. Thanks for your reply! Unfortunately I still receive the same error.
  15. Replies
    22
    Views
    4,385

    Dereferencing Class Pointer List

    Hello there! I am currently coding the base of a future program. However, after compiling the code(no errors), there is a forced brake point. The Error says: Debug Assertion Failure, Expression: List...
  16. Replies
    1
    Views
    1,384

    Linked List Problem

    Hello there! I am reacquainting myself with C/C++ after a few years of not practicing it. I am practicing Linked Lists but I cannot succeed in compiling a code. Take a look:

    Base Class Declaration...
  17. Replies
    6
    Views
    2,058

    thanx!!

    thanx!!
  18. Replies
    6
    Views
    2,058

    So how exactly do I implement that function in...

    So how exactly do I implement that function in this case??
  19. Replies
    6
    Views
    2,058

    Mathematical Error

    Hello you guys! I don't know why my compiler is giving me this error:


    code.cpp(23) : error C2296: '^' : illegal, left operand has type 'float'
    code.cpp(26) : error C2296: '^' : illegal, left...
  20. Replies
    18
    Views
    5,260

    Does the program create the file that's being...

    Does the program create the file that's being read?? If not, that may be the problem....since some compilers create a temporary .exe somewhere else to run after compilation... Could be the cause...
  21. Replies
    5
    Views
    1,179

    ok, thanx, I'll try that!

    ok, thanx, I'll try that!
  22. Replies
    5
    Views
    1,179

    Yes, it was made in VC++ 2005, should I make...

    Yes, it was made in VC++ 2005, should I make compile it on an earlier version, such as C++ 6.0??
  23. Replies
    5
    Views
    1,179

    Why doesn't it work???

    Hello everyone! Currently, I've done some programs, yet when I try them in other computers, an error comes out saying that it couldn't execute the program because it wasn't configured right, and that...
  24. Replies
    5
    Views
    2,388

    "Computer Science" Science Project

    Hello everyone! I am supposed to do a science project, and I lack of ideas. Can anyone here give me some Ideas that may involve programming with C++??

    Thanx in Advance!!
  25. Replies
    5
    Views
    1,675

    ur my hero anonytmouse!!!

    ur my hero anonytmouse!!!
Results 1 to 25 of 105
Page 1 of 5 1 2 3 4