Hi,

Im programming in C++ and looking to draw a rectangle with no color fill and text in the left top hand corner. So far my code looks like this:
Code:
#include <windows.h>
#pragma once

void main(){
dc->FillRect(screen_area,&CBrush(HS_BDIAGONAL,RGB(0,255,0)));
dc->TextOut(screen_area.left+2,screen_area.top+5,"HD");
}
however i get a bunch of errors most of which are undeclared identifiers. Help would be much appreciated.

Thanks