error: expected unqualified-id before '[' token

hi guys,
I´m getting this error:

dron_a_voice:1: error: expected unqualified-id before '<' token
dron_a_voice:1: error: expected unqualified-id before '<' token
dron_a_voice:4: error: expected constructor, destructor, or type conversion before '(' token
dron_a_voice:5: error: expected constructor, destructor, or type conversion before '(' token
dron_a_voice:6: error: expected constructor, destructor, or type conversion before '(' token
dron_a_voice:7: error: expected declaration before '}' token
expected unqualified-id before '<' token

I´m getting started using arduino as well as programing. Could you please help me?

this is the code:

String voice; int motor1 = 3; //Connect motor 1 To Pin #3 left motor int motor2 = 9; //Connect motor 2 To Pin #9 rear motor int motor3 = 11; //Connect motor 3 To Pin #11, right motor

//--------------------------Call A Function-------------------------------//

//the values after each anlogWrite commands are controlling the motor's speed, the max value is 255

//if your drone isn't in balance try to modify the values, example change 130 to 135 if your drone goes backward

void middlespeed() { analogWrite(motor1, 130); analogWrite(motor2, 130); analogWrite(motor3, 130); }

Fist of all, use code tags when you post.

And now look at the code, you you see weird html tags? html and C++ don't mix...

So if you're new, start of by the basics. Open the examples etc

I'm not sure that a voice controlled drone should be your first project, but go back to step 2 of the instructable and click on the bottom where it says "Voice_Controlled_Drone.ino". Click there to download the whole file.