Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > [RapidXML] Cannot open XML files unless in main

Reply
Thread Tools

[RapidXML] Cannot open XML files unless in main

 
 
Alec Taylor
Guest
Posts: n/a
 
      11-03-2011
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
 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      11-03-2011
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
 
Reply With Quote
 
 
 
 
Alec Taylor
Guest
Posts: n/a
 
      11-03-2011
Figured it out. Added a ctor-intialiser.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot log onto Windows unless I unplug my Wireless Adapter =?Utf-8?B?V29vbGx5Y2h1bQ==?= Wireless Networking 2 11-26-2005 12:10 PM
Unless unless Gábor SEBESTYÉN Ruby 3 06-17-2005 08:54 AM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
int main(int argc, char *argv[] ) vs int main(int argc, char **argv ) Hal Styli C Programming 14 01-20-2004 10:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57