Index of /examples/cpp/boost

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]ex1 2019-03-02 11:56 42K 
[TXT]ex1.cpp 2019-03-02 11:55 270  
[   ]ex2 2019-03-02 13:45 25K 
[TXT]ex2.cpp 2019-03-02 13:44 209  
[   ]ex3 2019-03-02 13:48 199K 
[TXT]ex3.cpp 2019-03-02 13:47 308  

Boost libraries on the SCC

This directory contains a simple ex1.cpp C++ file that uses boost libraries

Compilation:

scc1% module load boost
scc1% c++ ex1.cpp -o ex1

Execution:

scc1% echo '1 3 5' > ./ex1


To compile and execute example 3 (ex3.cpp), a newer gcc compiler (supporting -std=c++11) is needed: scc1% module load gcc
scc1% module load boost
scc1% c++ ex3.cpp -o ex3

Helpful Links:

The Boost C++ libraries