Search Projects

Wednesday, April 1, 2015

Singly Linked List Computer Graphics Program

C is a general-purpose, imperative computer programming language. C Programming is vast with so many concept behind it (operators, loops, functions, single and double dimensional arrays, performing operations on strings, files, pointers etc.). One of the key concept which we learn is about Linked List.

Linked list in c the concept which not many of us grab properly. It is very important programming concept in C. There are many Operation in the Linked list, before going to learn about them, I want to tell you we are not giving concept of Linked list in c, but Computer Graphics Program.  Yes we are using the C langiuage as the primary language to write the programm but here we deal with graphics programming and not c programming. You must know about the Linked List in C which is pre-assumed here.  The programm uses the OpenGL API to render graphics. Hence it is basically a C or C++ Computer Graphics Program using OpenGL.

Various operations on Singly Linked list in C

Singly Linked list is a linear data structre with many operations can be done on the nodes unlike the array in C. Various operations that can be done are listed below -
  1. Creation
  2. Insert at starting
  3. Insert at position(user's choice)
  4. Insert at end
  5. Delete 1st node
  6. Delete last node
  7. Delete at position(user's choice)
  8. Display 
The source code of the C program to illustrate the operations of singly linked list. Try to learn it firt in C then go for graphics program.

This Computer Graphics Program is operated via two windows as seen in the image. With one we insert the data while graphics is shown in other window. There is some problem in the programm so we need to keep patience in input the data to program. Everything is working perfect if done calmly, while in some PC with less graphics, it may stop working.


  1. sir plz send me 3d robot source code my mail

  2. my mail another mail is

  3. sir plz send me soon

  4. hello sir,.. can u share this 3d robot source code with me. this my email

  5. plz sir share source code of 3d robot @Nouman Khattak

  6. Gabriel MagalhãesJune 15, 2015 at 7:21 PM

    how to compile this code ?

  7. Use Visual Studio To compile the code

  8. Don't forget to rate our new app For Android -