Serial communication

this is my current code

//Transmitter code

void setup()

There isn't even a loop() function, or a body to the setup() function.

What have you connected on one Arduino to what on the other Arduino?