Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: std::vector destructor throwing exception Pin
Nemanja Trifunovic10-Nov-07 10:57
Nemanja Trifunovic10-Nov-07 10:57 
GeneralRe: std::vector destructor throwing exception [modified] Pin
Fernando A. Gomez F.10-Nov-07 19:13
Fernando A. Gomez F.10-Nov-07 19:13 
QuestionRe: std::vector destructor throwing exception Pin
David Crow10-Nov-07 15:36
David Crow10-Nov-07 15:36 
AnswerRe: std::vector destructor throwing exception Pin
Fernando A. Gomez F.10-Nov-07 19:09
Fernando A. Gomez F.10-Nov-07 19:09 
Questionconnecting 2 combo boxes Pin
Miss_F10-Nov-07 6:09
Miss_F10-Nov-07 6:09 
AnswerRe: connecting 2 combo boxes Pin
Rajasekharan Vengalil10-Nov-07 6:36
Rajasekharan Vengalil10-Nov-07 6:36 
GeneralRe: connecting 2 combo boxes Pin
Miss_F11-Nov-07 17:50
Miss_F11-Nov-07 17:50 
QuestionSome value (ascii I suppose) instead of the character Pin
shpid3r10-Nov-07 2:15
shpid3r10-Nov-07 2:15 
Hello guys!

I`m working with a file from which i read data. I don`t know its encoding (to be honest I`m not sure I know exactly what`s the difference between encodings), all I know it`s a simple .xml another application gets data from.
Its structure is like:
< var> value < /var>

each var on a line
Some vars have filepaths stored in them, like:
< path> filepath < /path>


I read this file line by line and process the data, copying into another .txt file only those filepaths.
I`ve seen that in the .xml I have HTML character sequences for some characters, and by this I mean that all & characters (from the physical path) are replaced with & # x 2 6 ; (without the spaces - the same thing happens in this field where I write this question)


The question is ... is there any simpler solution to translate these sequences into characters rather than write a function that searches for them and replaces them with the right special character (that is, some specification for when I read the file so that my string gets only the character and not all the characters composing the special character)
Specifically: gets only & rather than 6 characters compsosing it: &,#,x,2,6,;

Thanks for your time!
Shpid3r
AnswerRe: Some value (ascii I suppose) instead of the character Pin
Rajasekharan Vengalil10-Nov-07 6:38
Rajasekharan Vengalil10-Nov-07 6:38 
AnswerRe: Some value (ascii I suppose) instead of the character Pin
Peter Weyzen10-Nov-07 10:30
Peter Weyzen10-Nov-07 10:30 
AnswerRe: Some value (ascii I suppose) instead of the character Pin
shpid3r10-Nov-07 12:41
shpid3r10-Nov-07 12:41 
GeneralRe: Some value (ascii I suppose) instead of the character Pin
Bram van Kampen10-Nov-07 14:01
Bram van Kampen10-Nov-07 14:01 
AnswerRe: Some value (ascii I suppose) instead of the character Pin
bob1697210-Nov-07 18:46
bob1697210-Nov-07 18:46 
QuestionON_COMMAND_RANGE() Pin
thes3cr3t110-Nov-07 1:39
thes3cr3t110-Nov-07 1:39 
AnswerRe: ON_COMMAND_RANGE() Pin
chandu00410-Nov-07 1:45
chandu00410-Nov-07 1:45 
GeneralRe: ON_COMMAND_RANGE() Pin
thes3cr3t110-Nov-07 2:14
thes3cr3t110-Nov-07 2:14 
AnswerRe: ON_COMMAND_RANGE() Pin
Mark Salsbery10-Nov-07 5:41
Mark Salsbery10-Nov-07 5:41 
QuestionEqual compare Pin
George_George10-Nov-07 0:23
George_George10-Nov-07 0:23 
AnswerRe: Equal compare Pin
Bram van Kampen10-Nov-07 13:49
Bram van Kampen10-Nov-07 13:49 
GeneralRe: Equal compare Pin
George_George10-Nov-07 23:41
George_George10-Nov-07 23:41 
GeneralRe: Equal compare Pin
Bram van Kampen12-Nov-07 16:33
Bram van Kampen12-Nov-07 16:33 
GeneralRe: Equal compare Pin
George_George12-Nov-07 19:54
George_George12-Nov-07 19:54 
GeneralRe: Equal compare Pin
JudyL_MD13-Nov-07 2:00
JudyL_MD13-Nov-07 2:00 
GeneralRe: Equal compare Pin
George_George14-Nov-07 1:01
George_George14-Nov-07 1:01 
GeneralRe: Equal compare Pin
JudyL_MD14-Nov-07 3:32
JudyL_MD14-Nov-07 3:32 

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.