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 ...
Type: Posts; User: アストラル
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 ...
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....
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> >...
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
class ShortPath
{
private:
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...
why would they add padding bytes to structs anyways?
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...
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.
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...