Click here to Skip to main content
14,742,808 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
Questioni need ocr code in c++ Pin
Member 119511281-Sep-15 7:20
MemberMember 119511281-Sep-15 7:20 
QuestionFloating view in Visual Studio Style Project Pin
Member 85340351-Sep-15 7:15
MemberMember 85340351-Sep-15 7:15 
QuestionCOMPILER DESIGN Pin
Member 1194299628-Aug-15 6:32
MemberMember 1194299628-Aug-15 6:32 
AnswerRe: COMPILER DESIGN Pin
Afzaal Ahmad Zeeshan28-Aug-15 6:44
mveAfzaal Ahmad Zeeshan28-Aug-15 6:44 
QuestionRe: COMPILER DESIGN Pin
David Crow28-Aug-15 10:24
MemberDavid Crow28-Aug-15 10:24 
QuestionCan somebody help me determining what is the preferred data structures for CPU scheduling algorithms or Rate monolithic algorithms and why? Pin
anup7226-Aug-15 21:00
Memberanup7226-Aug-15 21:00 
QuestionColor difference between old and new application Pin
gopi_cpp25-Aug-15 20:04
Membergopi_cpp25-Aug-15 20:04 
AnswerRe: Color difference between old and new application Pin
enhzflep25-Aug-15 22:02
Memberenhzflep25-Aug-15 22:02 
Howdy, I'm not so sure I understand your question.

rgb(198,93,82) looks like This , while rgb(120,27,20) looks like This

Obviously, these 2 colours are not only very different in terms of their RGB values and their HSL values for that matter, but they also appear very different to anyone not unfortunate enough to be hit with R-G colour blindness. Aren't you actually telling us yourself that the colours appear differently?

Their pantone numbers are also very different, 180 U vs 1815 C

I can't help but wondering 3 things:

1) What is the format of the input in the text-file and the exact input that produces these colours?
2) How is this being transformed into a colour by your application?
3) What difference did you find when you stepped through the conversion process in your debugger in each of the versions of the application?

I'm not familiar with the conversion process between rgb <--> pantone to know if a small difference in precision could produce such a wildly different result, or if it's an integer-only process that could suffer from a signed/unsigned error. Showing the input and the way it results in a final colour could well help, though it may not.
"When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down 'happy'. They told me I didn't understand the assignment, and I told them they didn't understand life." - John Lennon

GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 0:08
Membergopi_cpp26-Aug-15 0:08 
GeneralRe: Color difference between old and new application Pin
enhzflep26-Aug-15 2:28
Memberenhzflep26-Aug-15 2:28 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 3:11
Membergopi_cpp26-Aug-15 3:11 
GeneralRe: Color difference between old and new application Pin
enhzflep26-Aug-15 4:59
Memberenhzflep26-Aug-15 4:59 
AnswerRe: Color difference between old and new application Pin
Richard MacCutchan25-Aug-15 22:19
mveRichard MacCutchan25-Aug-15 22:19 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 0:12
Membergopi_cpp26-Aug-15 0:12 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 0:23
mveRichard MacCutchan26-Aug-15 0:23 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 1:45
Membergopi_cpp26-Aug-15 1:45 
SuggestionRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 1:53
mveRichard MacCutchan26-Aug-15 1:53 
GeneralRe: Color difference between old and new application Pin
gopi_cpp26-Aug-15 2:00
Membergopi_cpp26-Aug-15 2:00 
GeneralRe: Color difference between old and new application Pin
Richard MacCutchan26-Aug-15 2:02
mveRichard MacCutchan26-Aug-15 2:02 
AnswerRe: Color difference between old and new application Pin
basementman4-Sep-15 5:21
Memberbasementman4-Sep-15 5:21 
QuestionMDI Application How to change Views Title Pin
Member 853403525-Aug-15 4:36
MemberMember 853403525-Aug-15 4:36 
QuestionRe: MDI Application How to change Views Title Pin
David Crow25-Aug-15 5:05
MemberDavid Crow25-Aug-15 5:05 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 5:28
MemberMember 853403525-Aug-15 5:28 
AnswerRe: MDI Application How to change Views Title Pin
Member 853403525-Aug-15 5:47
MemberMember 853403525-Aug-15 5:47 
QuestionSystem-Restore programatically Pin
Krishnakumartg24-Aug-15 2:19
MemberKrishnakumartg24-Aug-15 2:19 

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.