Click here to Skip to main content
15,912,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WinHelp2000 Pin
Blake Miller10-Jan-06 6:49
Blake Miller10-Jan-06 6:49 
GeneralRe: WinHelp2000 Pin
GayathriNaveen10-Jan-06 16:28
GayathriNaveen10-Jan-06 16:28 
GeneralRe: WinHelp2000 Pin
Blake Miller11-Jan-06 4:46
Blake Miller11-Jan-06 4:46 
QuestionSecurely distributing .pdb files Pin
dogby9-Jan-06 14:02
dogby9-Jan-06 14:02 
AnswerRe: Securely distributing .pdb files Pin
kakan9-Jan-06 19:17
professionalkakan9-Jan-06 19:17 
AnswerRe: Securely distributing .pdb files Pin
Blake Miller10-Jan-06 6:51
Blake Miller10-Jan-06 6:51 
AnswerRe: Securely distributing .pdb files Pin
Stephen Hewitt12-Jan-06 19:25
Stephen Hewitt12-Jan-06 19:25 
QuestionSearch in RTF / RTF 2 TXT Pin
Maciej Lisiewski9-Jan-06 13:08
Maciej Lisiewski9-Jan-06 13:08 
AnswerRe: Search in RTF / RTF 2 TXT Pin
KellyR9-Jan-06 17:58
KellyR9-Jan-06 17:58 
GeneralRe: Search in RTF / RTF 2 TXT Pin
Maciej Lisiewski9-Jan-06 22:14
Maciej Lisiewski9-Jan-06 22:14 
GeneralRe: Search in RTF / RTF 2 TXT Pin
KellyR10-Jan-06 3:57
KellyR10-Jan-06 3:57 
GeneralRe: Search in RTF / RTF 2 TXT Pin
Maciej Lisiewski10-Jan-06 4:36
Maciej Lisiewski10-Jan-06 4:36 
Questiona wrapper for winsock? Pin
Mithra40969-Jan-06 12:14
Mithra40969-Jan-06 12:14 
AnswerRe: a wrapper for winsock? Pin
Blake Miller9-Jan-06 13:39
Blake Miller9-Jan-06 13:39 
GeneralRe: a wrapper for winsock? Pin
Mithra40969-Jan-06 16:11
Mithra40969-Jan-06 16:11 
QuestionStack overflow in IE6.0 with SP1? Pin
thelearnervc9-Jan-06 11:43
thelearnervc9-Jan-06 11:43 
AnswerRe: Stack overflow in IE6.0 with SP1? Pin
Prakash Nadar9-Jan-06 18:52
Prakash Nadar9-Jan-06 18:52 
Questiondividing image into blocks Pin
Mareo_4219-Jan-06 10:24
Mareo_4219-Jan-06 10:24 
AnswerRe: dividing image into blocks Pin
Christian Graus9-Jan-06 11:57
protectorChristian Graus9-Jan-06 11:57 
GeneralRe: dividing image into blocks Pin
Mareo_4219-Jan-06 12:50
Mareo_4219-Jan-06 12:50 
GeneralRe: dividing image into blocks Pin
Christian Graus9-Jan-06 12:55
protectorChristian Graus9-Jan-06 12:55 
AnswerRe: dividing image into blocks Pin
__yb10-Jan-06 19:41
__yb10-Jan-06 19:41 
this should be no problem if u know it's data format.
I don't know what format u are reffering to, so lets assume the pixels are arranged in lines and are 4 bytes.
Now u can just read the blocks in a double loop:
int bx = block_x*block_width;
int by = block_y*block_height;
for(int x=0; x<16; x++) {
    for(int y=0; y<16; y++) {
        int pixel = data[(y+by)*img_width+(x+bx)];
    }
}

HTH,
Smile | :)
Questionprogram wont enter main()-function until character input is given Pin
maladuk9-Jan-06 10:22
maladuk9-Jan-06 10:22 
QuestionRe: program wont enter main()-function until character input is given Pin
David Crow9-Jan-06 10:30
David Crow9-Jan-06 10:30 
AnswerRe: program wont enter main()-function until character input is given Pin
maladuk10-Jan-06 10:21
maladuk10-Jan-06 10:21 

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.