Browse Source

initial commit

master
commit
b1b8426ea2
3 changed files with 17 additions and 0 deletions
  1. +4
    -0
      Readme.md
  2. +6
    -0
      hello-world.c
  3. +7
    -0
      hello-world.cpp

+ 4
- 0
Readme.md View File

@ -0,0 +1,4 @@
# Lecture 4: An overview of C and C++
A long this lecture let us test two basic Hello World scripts on C and C++, respectively. The idea is to remember the compilation chain process to obtain an executable application.
## C-code

+ 6
- 0
hello-world.c View File

@ -0,0 +1,6 @@
//Gerardo Marx 24/04/2021
#include <stdio.h>
int main(int argc, char *argv[]){
printf("Hello World from BeagleBoard!!\n");
return 0;
}

+ 7
- 0
hello-world.cpp View File

@ -0,0 +1,7 @@
// Gerardo Marx 24/04/2021
// A C++ example
#include<iostream>
int main(int argc, char *argv[]){
std::cout << "Hello world from beagleboard on c++!!" << std::endl;
return 0;
}

Loading…
Cancel
Save