Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F25856371
simple.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Size
613 B
Referenced Files
None
Subscribers
None
simple.cpp
View Options
/*******************************************************************************
*
* File: simple.cpp
*
* Contents: A very simple example to use RoSA Core library.
*
* Copyright 2017
*
* Author: David Juhasz (david.juhasz@tuwien.ac.at)
*
******************************************************************************/
#include
"rosa/config/version.h"
#include
"rosa/core/Unit.h"
#include
<iostream>
using
namespace
rosa
;
int
main
(
void
)
{
std
::
cout
<<
library_string
()
<<
" -- simple example"
<<
std
::
endl
;
Unit
unit1
,
unit2
(
"Second"
),
unit3
;
std
::
cout
<<
unit2
<<
std
::
endl
;
return
0
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sat, Aug 29, 2:16 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
377299
Default Alt Text
simple.cpp (613 B)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment