Liquid Crystal Display Error Message

Im new to C programming and to using an Arduino. Attached my LCD to the arduino and tried to see if it would by using the LCD example library that comes pre installed, but all of them cannot compile. It comes up with several error messages.

HelloWorld:42: error: 'LiquidCrystal' does not name a type
HelloWorld.ino: In function 'void setup()':
HelloWorld:46: error: 'lcd' was not declared in this scope
HelloWorld.ino: In function 'void loop()':
HelloWorld:54: error: 'lcd' was not declared in this scope

I havnt done any changes to the code, this is the default example that came pre installed, is anyone able to recommend a fix, as I would need it to do any further programming for the LCD. Thanks.

Those error could indicate that the lcd library is not correctly installed. In the IDE go to Sketch, Import Library. Does the library show up in the list. The library should be installed in a folder called Libraries in your sketch folder (in my documents for windows).

The library does show up

post full code

Do the library names match? I mean is the .h file included in your code the same as the .h ( and .cpp) file in the lcd library folder? Please show your code. Sometimes multiple files from the library must be included in the case of lcd's. What type lcd is it? Is it I2C, 4 bit , 8bit, shift register?