Search:

Type: Posts; User: /Muad'Dib\

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    6,818

    Look up memset.

    Look up memset.
  2. Thread: iterators

    by /Muad'Dib\
    Replies
    23
    Views
    3,668

    Obviously. Exatly what requires them? I'm sure...

    Obviously. Exatly what requires them? I'm sure there are several reasons, one or two would help.
  3. Thread: iterators

    by /Muad'Dib\
    Replies
    23
    Views
    3,668

    iterators

    Could someone explain to me the purpose of the STL iterators and generally when they should be used? Thanks.
  4. Thread: Kernel mode

    by /Muad'Dib\
    Replies
    2
    Views
    1,650

    Thanks for the links.

    Thanks for the links.
  5. Thread: Kernel mode

    by /Muad'Dib\
    Replies
    2
    Views
    1,650

    Kernel mode

    I was trying to use the _outp, _in functions in my code, but under windows xp those are priveleged instructions. How can I allow my program access to kernel mode (like device drivers) so I can use...
  6. Replies
    7
    Views
    1,970

    t is just a pointer to a test object. Your code...

    t is just a pointer to a test object. Your code does not tell t to point to any object. If you wrote Test * t = Test_Object (Where Test_Object was already defined in your code) deleting it should not...
  7. Replies
    4
    Views
    4,073

    Ok I see. I suppose theres no real way to decode...

    Ok I see. I suppose theres no real way to decode dlls either.
  8. Replies
    4
    Views
    4,073

    Viewing .lib files

    I'm trying to view the implementation of windows functions by looking at the libraries. (kernel32.lib in this case) However, I only get machine code, which I expected, but can't make anything out of...
  9. Replies
    11
    Views
    1,423

    Yours compiles correctly on my machine. Post the...

    Yours compiles correctly on my machine. Post the entire code, it looks like there might by a global variable name conflict.
  10. Replies
    11
    Views
    1,423

    Post the code.

    Post the code.
  11. Thread: Assembly

    by /Muad'Dib\
    Replies
    1
    Views
    1,319

    Inline assembler is used for optimizing code...

    Inline assembler is used for optimizing code inside your program, or writing routines that are much faster when written in pure assembler and not c++. I do not believe that you can include a full...
  12. Thread: File format

    by /Muad'Dib\
    Replies
    4
    Views
    1,101

    File format

    How does one create their own file format in c++? I'm going to store some rather complex data for a game I am writing, and the .txt or .dat format is to convoluted and not exatly what I'm looking for.
  13. Replies
    3
    Views
    1,182

    Delete double post. You probably are getting an...

    Delete double post. You probably are getting an access violation, i.e. j is larger than the vector size.
  14. Replies
    0
    Views
    1,264

    Loading bitmaps without win32

    I was wondering If anyone here knows how to load bitmaps into a console window without using win32 specific code. I know I have to use BITMAPFILEHEADER, BITMAPINFOHEADER, and RBGQUAD, but I haven't...
  15. Replies
    2
    Views
    2,983

    The exception errors are probably due to problems...

    The exception errors are probably due to problems within your linked list. For a simple sorting algoritm, google for 'bubble sort'.
  16. Replies
    4
    Views
    2,173

    WSAGetLastError() should not be returning five....

    WSAGetLastError() should not be returning five. All error codes are within the bounds of 10000 and above. On a side note, the function requires winsock2; make sure you're not using plain winsock. If...
  17. Replies
    2
    Views
    931

    function problem

    void Shoot_Left (void Draw( CHAR_INFO scene[50][80] ), CHAR_INFO scene[50][80], Linked_List<Entity> &LL_ENTITY );

    and the function placed in paramater 1:

    void Draw_Maze(CHAR_INFO...
  18. Replies
    14
    Views
    2,236

    Ok sorry. I was under the impression that system...

    Ok sorry. I was under the impression that system was strictly windows. My mistake. And as for CreateProcess, yeah its less portable. I didn't bother looking that up. :o
  19. Replies
    14
    Views
    2,236

    How will it not work? CreateProcess() can open...

    How will it not work? CreateProcess() can open any app as long as the path is specified. If you wanted me to go into a full description of the function, sorry I don't have the time.
  20. Replies
    14
    Views
    2,236

    system() calls aren't portable. You would be...

    system() calls aren't portable. You would be better of using CreateProcess(). It allows you to control the application you spawn better as well.
  21. Replies
    3
    Views
    2,075

    Thanks for the help. I fixed the problem.

    Thanks for the help. I fixed the problem.
  22. Replies
    4
    Views
    4,299

    It depends on what your looking for. If you want...

    It depends on what your looking for. If you want to take the string "This is a string. This is another part of this string." And separate it into two strings (one for each sentance) you would iterate...
  23. Replies
    7
    Views
    1,158

    Parsing a string. I.e. taking "This is a string"...

    Parsing a string. I.e. taking "This is a string" and turning it into several strings. ("This", "This is a", Thi", "a stri" etc)
  24. Replies
    1
    Views
    1,408

    Not quite sure about the image. Heres the...

    Not quite sure about the image. Heres the simplest code to open a program.


    #include <windows.h>

    int main()
    {
    WinExec("notepad.exe", SW_NORMAL);

    return 0;
  25. Replies
    4
    Views
    3,730

    #include int main() { char...

    #include <iostream>

    int main()
    {

    char input[20]; //the buffer should be larger
    std::cout << "Enter input: ";
    std::cin >> input;

    int count = 0;
Results 1 to 25 of 33
Page 1 of 2 1 2