Search:

Type: Posts; User: White Rider

Search: Search took 0.01 seconds.

  1. Thread: Allegro

    by White Rider
    Replies
    13
    Views
    2,614

    Are the error's Link errors or Compiler errors? ...

    Are the error's Link errors or Compiler errors?

    If they are compile errors it probably means that Allegro was not compiled correctly.

    If they are Link errors it means that you are not linking...
  2. Replies
    2
    Views
    992

    RE: function problems

    Your functions don't have a return type defined.

    In front of every function name you need a data type such as int, float, or void.

    for example:



    float addAccount()
    {
  3. Thread: DLL Help

    by White Rider
    Replies
    4
    Views
    1,059

    Nope, no way that I know of besides rewriting the...

    Nope, no way that I know of besides rewriting the classes for VC++.

    I think the problem is caused by VC++'s DLL name-mangling algorithm.
  4. Replies
    11
    Views
    1,379

    Try safe deleting the memory by checking if it...

    Try safe deleting the memory by checking if it exists:



    if(buffer)
    {
    delete[] buffer;
    }
    if(added)
    {
  5. Replies
    9
    Views
    1,189

    The main reason why I would use a class is...

    The main reason why I would use a class is because they are cooler then structs. :)

    However in your case it would probably be easier to use a struct for a tile array unless you wanted to use CTile...
  6. Replies
    11
    Views
    4,430

    Here is what I use. However Im using MSVC++...

    Here is what I use.
    However Im using MSVC++ although it should still work for you.



    #include <iostream.h>
    #include <conio.h> // for _kbhit and getch()

    int main()
    {
  7. Replies
    7
    Views
    2,577

    LOL whoops, you probably figured out that I...

    LOL
    whoops, you probably figured out that I meant "help".

    Thanks alot ygfperson.

    Except that does not fix my problem with having to run vcvars32.bat from the prompt everytime I need to use...
  8. Replies
    7
    Views
    2,577

    Hey thanks a lot. The batch file now works...

    Hey thanks a lot.

    The batch file now works fine.

    Unfortunately I have to go to ...\VC98\Bin folder every time and run it if i want to make anything.

    There has got to be an easier way to...
  9. Replies
    7
    Views
    2,577

    vcvar32.bat problem

    I need to be able to use nmake through the command line to compile make files. All the documentation that I have consulted has suggested that I use vcvar32.bat in the Bin folder. However when I use...
  10. Replies
    37
    Views
    4,125

    Its also an OS thing. 2000, NT, and XP all...

    Its also an OS thing.

    2000, NT, and XP all dont have true DOS, therefore you cant use the mouse in a DOS program.

    Thats why Im sticking with 98 for a long time.
  11. Replies
    18
    Views
    14,443

    When you press an arrow key two hits are storred...

    When you press an arrow key two hits are storred in the buffer therefor you need to use getch() twice to find out which arrow key is pressed. Something like this.




    #include <iostream.h>...
  12. Replies
    3
    Views
    5,893

    Heres a lab i did using nested switches it might...

    Heres a lab i did using nested switches it might help.



    /*******************************************************************
    *Lab 4 ...
  13. Replies
    24
    Views
    2,831

    sigma Yes i see what you mean. I guess the...

    sigma
    Yes i see what you mean.

    I guess the main difference is that a class uses a constuctor making the declaration different unless you declare all of its members public so you have dirrect...
  14. Replies
    24
    Views
    2,831

    Classes or Structs faster for Lists

    Are stucts faster than classes for linked lists?

    I think stucts are easier to initialize becuase you dont need a constructor but its easier to have functions inside a class.

    Also its a bit...
  15. Replies
    20
    Views
    2,248

    with MS VC++ i believe it can be found in...

    with MS VC++ i believe it can be found in string.h and also windows.h

    clearing the screen is not part of VC++ but can be found on the FAQ of this board

    in the project tab you can add header...
  16. Replies
    6
    Views
    1,512

    This is what I do because I dont like getch()...

    This is what I do because I dont like getch() also its a lot more flexible though harder to learn.

    You will need to use the <windows.h> header

    first what I do is create standard input output...
Results 1 to 16 of 17