Click here to Skip to main content
15,921,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get IMAGE_FUNCTION_ENTRY Pin
YoSilver17-Sep-05 2:03
YoSilver17-Sep-05 2:03 
AnswerRe: how to get IMAGE_FUNCTION_ENTRY Pin
Alexander M.,17-Sep-05 12:07
Alexander M.,17-Sep-05 12:07 
QuestionNewbie Question Pin
kenexcelon16-Sep-05 9:52
kenexcelon16-Sep-05 9:52 
AnswerRe: Newbie Question Pin
David Crow16-Sep-05 10:11
David Crow16-Sep-05 10:11 
GeneralRe: Newbie Question Pin
kenexcelon16-Sep-05 10:30
kenexcelon16-Sep-05 10:30 
GeneralRe: Newbie Question Pin
David Crow16-Sep-05 10:36
David Crow16-Sep-05 10:36 
GeneralRe: Newbie Question Pin
hunter1316-Sep-05 10:40
hunter1316-Sep-05 10:40 
GeneralRe: Newbie Question Pin
hunter1316-Sep-05 10:36
hunter1316-Sep-05 10:36 
system("cls");

or use

-------

void clrscr(TCHAR FillChar)
{
COORD coordScreen = { 0, 0 };
DWORD cCharsWritten;
CONSOLE_SCREEN_BUFFER_INFO csbi;
DWORD dwConSize;

HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE);

GetConsoleScreenBufferInfo(hConsole, &csbi);
dwConSize = csbi.dwSize.X * csbi.dwSize.Y;

FillConsoleOutputCharacter(hConsole, FillChar, dwConSize, coordScreen, &cCharsWritten);

GetConsoleScreenBufferInfo(hConsole, &csbi);
FillConsoleOutputAttribute(hConsole, csbi.wAttributes, dwConSize, coordScreen, &cCharsWritten);
SetConsoleCursorPosition(hConsole, coordScreen);
return;
}
-------

and maybe you will need gotoxy too ( X-D )

-------
void gotoxy(int x, int y)
{
COORD pos;
pos.X = x-1; pos.Y = y-1;
SetConsoleCursorPosition(GetStdHandle( STD_OUTPUT_HANDLE ), pos);
}
AnswerRe: Newbie Question Pin
kenexcelon16-Sep-05 13:58
kenexcelon16-Sep-05 13:58 
QuestionRun Shellexecute and wait for it to return Pin
anderslundsgard16-Sep-05 9:51
anderslundsgard16-Sep-05 9:51 
AnswerRe: Run Shellexecute and wait for it to return Pin
David Crow16-Sep-05 10:09
David Crow16-Sep-05 10:09 
GeneralRe: Run Shellexecute and wait for it to return Pin
hunter1316-Sep-05 10:33
hunter1316-Sep-05 10:33 
QuestionIrregularly spaced x,y,z data to regular contours Pin
Chris Maunder16-Sep-05 9:47
cofounderChris Maunder16-Sep-05 9:47 
AnswerRe: Irregularly spaced x,y,z data to regular contours Pin
Yongki C. A. Jong17-Sep-05 6:11
Yongki C. A. Jong17-Sep-05 6:11 
AnswerRe: Irregularly spaced x,y,z data to regular contours Pin
cmk17-Sep-05 17:54
cmk17-Sep-05 17:54 
Questioncapturing window image through its handle Pin
Neo_MXP16-Sep-05 9:34
Neo_MXP16-Sep-05 9:34 
AnswerRe: capturing window image through its handle Pin
hunter1316-Sep-05 9:41
hunter1316-Sep-05 9:41 
GeneralRe: capturing window image through its handle Pin
hunter1316-Sep-05 9:50
hunter1316-Sep-05 9:50 
GeneralRe: capturing window image through its handle Pin
Anonymous16-Sep-05 9:59
Anonymous16-Sep-05 9:59 
QuestionConvert ASCII to HEX Pin
RedDragon2k16-Sep-05 9:25
RedDragon2k16-Sep-05 9:25 
AnswerRe: Convert ASCII to HEX Pin
hunter1316-Sep-05 9:35
hunter1316-Sep-05 9:35 
GeneralRe: Convert ASCII to HEX Pin
RedDragon2k16-Sep-05 10:07
RedDragon2k16-Sep-05 10:07 
GeneralRe: Convert ASCII to HEX Pin
hunter1316-Sep-05 10:24
hunter1316-Sep-05 10:24 
GeneralRe: Convert ASCII to HEX Pin
David Crow16-Sep-05 10:38
David Crow16-Sep-05 10:38 
GeneralRe: Convert ASCII to HEX Pin
gamitech16-Sep-05 10:34
gamitech16-Sep-05 10:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.