Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121815667
main.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jul 14, 02:58
Size
544 B
Mime Type
text/x-c
Expires
Wed, Jul 16, 02:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27356571
Attached To
R7040 TinyXML2 application examples
main.cpp
View Options
/*
* main.cpp
*
* Created on: Jun 26, 2018
* Author: vachoux
*/
#include "xml_utils.h"
#include "global.h"
#include "Book.h"
#include "Library.h"
#include <string>
using
namespace
std
;
int
main
()
{
const
string
XML_FILE
=
"bookstore2.xml"
;
Library
*
my_library
;
try
{
// dump_xml(XML_FILE);
my_library
=
new
Library
(
XML_FILE
);
}
catch
(
string
&
msg
)
{
err_msg
(
msg
);
exit
(
EXIT_FAILURE
);
}
my_library
->
print
();
info_msg
(
"End"
);
return
0
;
}
Event Timeline
Log In to Comment