To be a bit blunt: display lists are deprecated for a reason. If you’re new to OpenGL and have yet to write all the code that will make OpenGL calls, it’s best to avoid anything that is deprecated…
To learn about how to use vertex arrays, vertex buffer objects, look here: