Posts

Thank you, next! Linked List in C++; Lesson 1

Image
Couldn't let this opportunity just slide away! Lets talk about Linked List.  Linked list is basically a linear data structure which doesn't require consecutive memory location unlike array, rather it use pointers to point at next node. So you could say its can be used as alternative to array. To understand the concept, lets consider a linked list with three nodes,including the head node,something like the figure bellow: Here, each node consists of two parts, a part to store data and a part to store address of the next node, further we observe that there is a pointer that points to head node , this pointer is, you can say, the most important part of linked list as you can use this pointer to get to any node you want, also there is a pointer that points the last node ,this pointer too, plays very important role. Other than taking you directly to last node, it helps in adding new nodes. It may sound a bit overwhelming for now but trust me! Its very interestin...

Introduction to C#; Lesson 2

Image
Hope you are following us from our first post, if so! lets continue printing in c# lesson (windows form), if not, don't worry, you can start form the beginning, here is a link for you to review our first lesson: Introduction to C#; Lesson 1 Alright! lets begin our second lesson. As we learnt about printing in textbox, we decided to continue "printing" but in tools other than textbox, like message box and label. So basically today, we'll be introducing a c# tool known as label . Label: Lets give a quick introduction to label first, basically it can be used to Display text. Display text which can't be edited on run time by user like textbox i.e you can't just type your way to change it, rather you'll be required to take input in (say) textbox and then assigning it to label.        So yup! its mostly used to just print statement unless asked, e.g the text such as First Number, Second Number in figure bellow is displayed by using label, but do...

Introduction to C#; Lesson 1

Image
In this post, you'll be learning basic c# code which will probably help you with your c# assignments. Well lets be honest, printing "hello world" got to be the extreme basic of every programing language, so we'll also start with this along with the concept of taking input as well. So basically, our first lesson will be: Taking "input" from user and "printing" it. First of all, I assume you all are well familiar with visual studio. If not, then here is a link to download visual studio: Microsoft Visual Studio   Don't worry! Its free of cost for students. It may have less functionalities as compared to professional or enterprise version, but trust me! It has everything a student or a beginner needs. All you need to do is, click on circled link. Download the exe file, and select needed language, say c++ or c# etc and start coding! Now after installing and all, lets jump to how to create a file, design a form and finally coding ...