Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #11229 > unrolled thread

[RapidXML] Cannot open XML files unless in main

Started byAlec Taylor <alec.taylor6@gmail.com>
First post2011-11-03 02:04 -0700
Last post2011-11-03 04:14 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.c++


Contents

  [RapidXML] Cannot open XML files unless in main Alec Taylor <alec.taylor6@gmail.com> - 2011-11-03 02:04 -0700
    Re: [RapidXML] Cannot open XML files unless in main Ian Collins <ian-news@hotmail.com> - 2011-11-03 23:03 +1300
      Re: [RapidXML] Cannot open XML files unless in main Alec Taylor <alec.taylor6@gmail.com> - 2011-11-03 04:14 -0700

#11229 — [RapidXML] Cannot open XML files unless in main

FromAlec Taylor <alec.taylor6@gmail.com>
Date2011-11-03 02:04 -0700
Subject[RapidXML] Cannot open XML files unless in main
Message-ID<27743452.0.1320311057831.JavaMail.geo-discussion-forums@prgt10>
Good afternoon,

Unfortunately only my 10 lines [main only]: http://ideone.com/WOmcphowever works, whilst my 20 lines [OO with functions] doesn't: http://ideone.com/R7mir

How can I get this to work?

Thanks for all suggestions,

Alec Taylor

[toc] | [next] | [standalone]


#11230

FromIan Collins <ian-news@hotmail.com>
Date2011-11-03 23:03 +1300
Message-ID<9hf778FilbU4@mid.individual.net>
In reply to#11229
On 11/ 3/11 10:04 PM, Alec Taylor wrote:
> Good afternoon,
>
> Unfortunately only my 10 lines [main only]: http://ideone.com/WOmcphowever works,whilst my 20 lines [OO with functions] doesn't: http://ideone.com/R7mir

For such short bits of code, you should include them in your post.

> How can I get this to work?

Looking at your code, from my dabbling with RapidXML, it looks OK (apart 
form the use of capitals in the header name).

I can't comment on the code as it isn't here!

-- 
Ian Collins

[toc] | [prev] | [next] | [standalone]


#11231

FromAlec Taylor <alec.taylor6@gmail.com>
Date2011-11-03 04:14 -0700
Message-ID<15615556.805.1320318854203.JavaMail.geo-discussion-forums@pref15>
In reply to#11230
Figured it out. Added a ctor-intialiser.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web