Click here to Skip to main content
15,901,426 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to invert bitmap in .bmp file thro 180 degree Pin
Neo Andreson27-Nov-06 22:04
Neo Andreson27-Nov-06 22:04 
AnswerRe: How to invert bitmap in .bmp file thro 180 degree Pin
Rajesh R Subramanian27-Nov-06 23:05
professionalRajesh R Subramanian27-Nov-06 23:05 
GeneralRe: How to invert bitmap in .bmp file thro 180 degree Pin
Neo Andreson28-Nov-06 1:44
Neo Andreson28-Nov-06 1:44 
QuestionCan this code be better? Peer code review. Pin
Stick^27-Nov-06 22:02
Stick^27-Nov-06 22:02 
AnswerRe: Can this code be better? Peer code review. [modified] Pin
Viorel.27-Nov-06 23:10
Viorel.27-Nov-06 23:10 
GeneralRe: Can this code be better? Peer code review. Pin
Stick^28-Nov-06 2:19
Stick^28-Nov-06 2:19 
GeneralRe: Can this code be better? Peer code review. Pin
Viorel.28-Nov-06 3:53
Viorel.28-Nov-06 3:53 
QuestionRe: Can this code be better? Peer code review. Pin
David Crow28-Nov-06 2:50
David Crow28-Nov-06 2:50 
Stick^ wrote:
for (int i=0; i<4; i++)
{
// Check each digit is octal
if (code[i] < 0x30 || code[i] > 0x37)
{
return false; // Code digits must be 0 - 7
}
}


Have you considered wcstol(code, ..., 8)?




"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: Can this code be better? Peer code review. Pin
Stick^28-Nov-06 3:47
Stick^28-Nov-06 3:47 
GeneralRe: Can this code be better? Peer code review. Pin
David Crow28-Nov-06 4:26
David Crow28-Nov-06 4:26 
QuestionHow to use UpdateResource() with RT_ICON Pin
Atom27-Nov-06 22:02
Atom27-Nov-06 22:02 
AnswerRe: How to use UpdateResource() with RT_ICON Pin
Nibu babu thomas27-Nov-06 22:35
Nibu babu thomas27-Nov-06 22:35 
QuestionAny method to detect the PC wake up from "stand-by" situation? Pin
StarMeteor27-Nov-06 21:42
StarMeteor27-Nov-06 21:42 
AnswerRe: Any method to detect the PC wake up from "stand-by" situation? Pin
Nibu babu thomas27-Nov-06 21:54
Nibu babu thomas27-Nov-06 21:54 
QuestionIs it possible to set hook for Joystick? Pin
LaHaHa27-Nov-06 21:15
LaHaHa27-Nov-06 21:15 
QuestionError when using CSocket with Threading Pin
Girish60127-Nov-06 21:00
Girish60127-Nov-06 21:00 
GeneralRe: Error when using CSocket with Threading Pin
Mila02527-Nov-06 21:09
Mila02527-Nov-06 21:09 
GeneralRe: Error when using CSocket with Threading Pin
spielehelfer27-Nov-06 21:28
spielehelfer27-Nov-06 21:28 
GeneralRe: Error when using CSocket with Threading Pin
Mark Salsbery28-Nov-06 6:16
Mark Salsbery28-Nov-06 6:16 
AnswerRe: Error when using CSocket with Threading Pin
Mark Salsbery28-Nov-06 6:17
Mark Salsbery28-Nov-06 6:17 
Questioncircuit solving Pin
echeshari27-Nov-06 20:38
echeshari27-Nov-06 20:38 
AnswerRe: circuit solving Pin
Rajesh R Subramanian27-Nov-06 21:21
professionalRajesh R Subramanian27-Nov-06 21:21 
GeneralRe: circuit solving Pin
toxcct27-Nov-06 22:37
toxcct27-Nov-06 22:37 
AnswerRe: circuit solving Pin
vijay_aroli28-Nov-06 1:53
vijay_aroli28-Nov-06 1:53 
GeneralRe: circuit solving Pin
toxcct28-Nov-06 2:31
toxcct28-Nov-06 2:31 

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.