expected initializer before lcd

here is my code
plz help

void setup() {
// set up the LCD's number of columns and rows:
int lcd
lcd.begin(16, 2);
// Print a message to the LCD.

void loop() {
// set the cursor to column 0, line 1
// (note: line 1 is the second row, since counting begins with 0):
lcd.setCursor(0, 1);
// print the number of seconds since reset:

expected initializer before lcd

you forgot a semicolon, just before the error. It's a common symptom. But I don't see you create any lcd object, which you have to do. After that, I don't think you can create an int with the same name.

Consult the documentation and examples that came with your lcd library. You will also have to include the library with an #include directive.

yes just look at the " hello world" example