Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Andrea Rachetta
hello-ci-lite
Commits
00569453
Commit
00569453
authored
Apr 15, 2016
by
Yushin Washio
Browse files
First working version of hello-ci
parents
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
0 → 100644
View file @
00569453
all
:
main.o
%.o
:
%.cpp
$(CXX)
-o
$@
$<
clean
:
-
$(RM)
*
.o
main.cpp
0 → 100644
View file @
00569453
#include
<iostream>
#include
<string>
using
namespace
std
;
class
Person
{
public:
string
hello
()
{
return
"Hi, how are you?"
;
}
};
int
main
(
int
argc
,
char
*
argv
[])
{
Person
drone
;
cout
<<
"Greeting drone..."
<<
endl
;
cout
<<
"drone: "
<<
drone
.
hello
()
<<
endl
;
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment