Search:

Type: Posts; User: アストラル

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,442

    Ok, well I'm trying to create a child window...

    Ok, well I'm trying to create a child window without using .rc just to get to know somethings a bit better. MSDN says

    HWND WINAPI CreateDialog(
    __in_opt HINSTANCE hInstance,
    __in ...
  2. Replies
    3
    Views
    1,442

    msg loop/child window

    Just starting learning the win32 API last night and I was wondering if I wanted to create a child window... like the one you'd get if you went to Help->About if I need to create a new class style....
  3. Replies
    7
    Views
    1,103

    can I do an if(maze[x][y]=='s'){ blah } if maze...

    can I do an if(maze[x][y]=='s'){ blah } if maze is a 2d vector? I keep getting a segmentation problem with the following code:



    int main(int argc, char* argv[])
    {
    vector<vector<char> >...
  4. Replies
    7
    Views
    1,103

    #include #include #include...

    #include <iostream>
    #include <fstream>
    #include <vector>

    using namespace std;

    class ShortPath
    {
    private:
  5. Replies
    7
    Views
    1,103

    syntax problems =/

    I'm making a class with various functions for finding the shortest path from one spot on a map to another around "terrain". I haven't used c++ in awhile, and I am not quite sure how to go about...
  6. Replies
    22
    Views
    3,416

    why would they add padding bytes to structs...

    why would they add padding bytes to structs anyways?
  7. Replies
    22
    Views
    3,416

    it worked, reading it in piece by piece. I wanted...

    it worked, reading it in piece by piece. I wanted to avoid that but meh... actually I did try sizeof(Bitmap_FileHeader) before I just forgot totally about it. I knew it had to do with bytes getting...
  8. Replies
    22
    Views
    3,416

    sizeof(bmp.bmfh) = 16 sizeof(bmp.bmih) = 40 ...

    sizeof(bmp.bmfh) = 16
    sizeof(bmp.bmih) = 40

    how can I fix that? I'm pretty sure I am using the right sized data in my structures.
  9. Replies
    22
    Views
    3,416

    Loading files into memory

    I stopped coding for about a year and a half ago. So I'm trying to find things to brush up on. At the moment it's file i/o.

    I'm not exactly sure what is wrong with my code, but when I go to check...
Results 1 to 9 of 9