Commit 347dded7 authored by Emil's avatar Emil
Browse files

Week2 exercises posted

parent 4152dc6f
cmake_minimum_required(VERSION 2.6)
project(hello-exercise)
add_executable(main main.cc)
/* -------------------------------------------------------------------------- */
#include <cstdlib>
#include <cmath>
#include <iostream>
/* -------------------------------------------------------------------------- */
void exo1(){
}
/* -------------------------------------------------------------------------- */
void exo2(){
}
/* -------------------------------------------------------------------------- */
void exo3(){
}
/* -------------------------------------------------------------------------- */
int main(int argc, char ** argv){
exo1();
exo2();
exo3();
return EXIT_SUCCESS;
}
cmake_minimum_required(VERSION 2.6)
project(hello-exercise)
add_executable(hello hello.cc)
#include <string>
#include <iostream>
#include "series.hh"
/* -------------------------------------------------------------------------- */
int main(int argc, char ** argv){
// write your code here
return EXIT_SUCCESS;
}
#include "series.hh"
int computeSeries(int Niteratrions){
//...
}
#ifndef SERIES_HH
#define SERIES_HH
int computeSeries(int Niterations);
#endif
cmake_minimum_required(VERSION 2.6)
project(hello-exercise)
add_executable(main main.cc)
/* -------------------------------------------------------------------------- */
#include <cstdlib>
#include <cmath>
#include <iostream>
#include <iomanip>
/* -------------------------------------------------------------------------- */
int main(int argc, char ** argv){
// your code here
return EXIT_SUCCESS;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment