Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++ Subject: Re: [RapidXML] Cannot open XML files unless in main Date: Thu, 03 Nov 2011 23:03:20 +1300 Lines: 16 Message-ID: <9hf778FilbU4@mid.individual.net> References: <27743452.0.1320311057831.JavaMail.geo-discussion-forums@prgt10> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net kasTo66aMt1Gqx4gqWVyZQQeSTkEBIwkSsNI9ImOod00w4qRp8 Cancel-Lock: sha1:szQ4RP2aX73V8LOA8JxVSrcW3t4= User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: <27743452.0.1320311057831.JavaMail.geo-discussion-forums@prgt10> Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:11230 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