This website works better with JavaScript.
Home
Explore
Help
Sign In
Mobile-Devices-ITM
/
L4-CAndCpp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
initial commit
master
Gerardo Marx Chávez-Campos
3 years ago
commit
b1b8426ea2
3 changed files
with
17 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
Readme.md
+6
-0
hello-world.c
+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
;
}
Write
Preview
Loading…
Cancel
Save