Skip to content
Snippets Groups Projects
Commit 378481e7 authored by Erik Strand's avatar Erik Strand
Browse files

Update README and namespaces

parent af85d9a5
Branches master
No related tags found
No related merge requests found
# cpp_starter # simucene
A hello world C++ application using cmake and Eigen Physical simulation experiments
## Dependencies ## Dependencies
...@@ -29,5 +29,5 @@ Tips: ...@@ -29,5 +29,5 @@ Tips:
From the build directory, From the build directory,
``` ```
cpp_starter/cpp_starter simucene/simucene
``` ```
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include "vector.h" #include "vector.h"
#include <iostream> #include <iostream>
using namespace cpp_starter; using namespace simucene;
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
int main(int const, char const**) { int main(int const, char const**) {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#include <iostream> #include <iostream>
namespace cpp_starter { namespace simucene {
//.................................................................................................. //..................................................................................................
void MyClass::hello() const { void MyClass::hello() const {
......
#ifndef CPP_STARTER_MY_CLASS_H #ifndef SIMUCENE_MY_CLASS_H
#define CPP_STARTER_MY_CLASS_H #define SIMUCENE_MY_CLASS_H
#include <string> #include <string>
namespace cpp_starter { namespace simucene {
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
class MyClass { class MyClass {
......
#ifndef CPP_STARTER_VECTOR_H #ifndef SIMUCENE_VECTOR_H
#define CPP_STARTER_VECTOR_H #define SIMUCENE_VECTOR_H
#include <Eigen/Core> #include <Eigen/Core>
namespace cpp_starter { namespace simucene {
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
template <typename T> template <typename T>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment