Commit 00569453 authored by Yushin Washio's avatar Yushin Washio
Browse files

First working version of hello-ci

parents
all: main.o
%.o: %.cpp
$(CXX) -o $@ $<
clean:
-$(RM) *.o
#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;
}
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