Error messages/library question

I'm building the Carduino project from the instructables site and I'm having trouble with the library. The zip file has a .h file, a .cpp file and a bunch of example .ino files. I have no idea what I'm doing. I import the library and it just says #include <Carduino.h>
When I drag and drop the .cpp file, it imports but when verifying it gives this error message:

core.a(main.cpp.o): In function main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'

The code for the .cpp file is as such:

#include <Carduino.h>

#include "Arduino.h"
#include "Carduino.h"

void Carduino::begin()
{
pinMode(12, OUTPUT);
pinMode(9, OUTPUT);

pinMode(13, OUTPUT);
pinMode(8, OUTPUT);
}

void Carduino::goforward(float seconds, int speed)
{
digitalWrite(12, HIGH);
digitalWrite(9, LOW);
analogWrite(3, speed);

digitalWrite(13, HIGH);
digitalWrite(8, LOW);
analogWrite(11, speed);

delay(seconds*1000);

digitalWrite(9, HIGH);
digitalWrite(8, HIGH);
}

void Carduino::goback(float seconds, int speed)
{
digitalWrite(12, LOW);
digitalWrite(9, LOW);
analogWrite(3, speed);

digitalWrite(13, LOW);
digitalWrite(8, LOW);
analogWrite(11, speed);

delay(seconds*1000);

digitalWrite(9, HIGH);
digitalWrite(8, HIGH);
}

void Carduino::turnright(int time)
{
digitalWrite(12, LOW);
digitalWrite(9, LOW);
analogWrite(3, 1023);

digitalWrite(13, HIGH);
digitalWrite(8, LOW);
analogWrite(11, 1023);

delay(time);

digitalWrite(9, HIGH);
digitalWrite(8, HIGH);
}

void Carduino::turnleft(int time)
{
digitalWrite(12, HIGH);
digitalWrite(8, LOW);
analogWrite(3, 1023);

digitalWrite(13, LOW);
digitalWrite(9, LOW);
analogWrite(11, 1023);

delay(time);

digitalWrite(9, HIGH);
digitalWrite(8, HIGH);
}

int Carduino::proximity()
{
int reading = analogRead(2);
float volts = reading0.0048828125;
float distance = 65
pow(volts, -1.10);
return distance;
}

My question is basically what am I supposed to import? All the files? What's with the error message? What am I even doing? I included the zip file to this post so maybe someone can look at it and tell me what I'm supposed to do?

F4IJ6J1H27LSA96.zip (3.38 KB)

This Carduino ?

When importing a libary, you can load the zip file into the Arduino IDE. And yes, it imports all the files. After that you can select the examples file from the menu.

Importing the library just shows the .h file, not any of the others though?

And yeah that's the right project

Perhaps the zip file is not according to an Arduino library.

Do you know the location of the project folders ?
That is the "Sketchbook location" in preferences. In the menu "File", click "Preferences".

Go to that location, and you see the folders for your projects.
One of those folders is "libraries".
In that folder are the libraries that you have imported.

There should be a folder "Carduino" in the "libraries" folder.
In the "Carduino" folder should be the "Carduino.cpp" and the "Carduino.h" and the folder "examples" with the examples.

The .cpp file isn't showing up in the libraries, just the .h and the example files. Do I upload them separately or do they all go in one sketch?

Just verifying the .h file when importing from libraries says:

core.a(main.cpp.o): In function main': C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:14: undefined reference to `loop'

The example files all show up in the sketchbook but they all open up into different windows and they verify individually but not if I copy/paste them all together? Am I even supposed to do that? And I can't find the .cpp file at all