Posts

Showing posts from June, 2021

4 Steps From Beginner To Advanced Level Of Mastering C/C++

Image
C and C++ Logo If you are just a newbie programmer, before you can jump and build a real application using C, you don't know how to get started or you just know very little about the syntax, the flow, the technique on how to do real programming in C. You can just begin your programming journey by learning some simple C code or to create small for just fun projects. Here is my experience doing some coding from scratch in C, level after level, from the easy to hard that I did. 1. Learning Pointer Manipulation In C Pointer is not an array, but a pointer behaves similar to an array. The difference is that an Array has an index while a pointer has an address to manipulate the value or the data in that specific address. A simple comparison diagram of Array and Pointer with respect to index and address can be seen in this diagram. You can learn more about pointers and with example codes from C programming pointers from programbiz.com here https://www.programiz.com/c-programming/c-pointers

Linked List Data Structure Implementation In C Language

Image
Linked list is a data structure, a collection of data that each node in the list has reference to the next node and in a double linked list it can have a previous node. Linked lists are preferred to be used because of the efficiency in the insertion and deletion. Linked lists also can be used to implement other abstract data types  like stacks, queues, etc. The basic idea of linked list is that it has a head Node that we can iterate the next node until we find the very last node or the tail node to find specific data, usually given an index or the position of the data. In this post I created a simple reusable implementation of singly linked list in C, which probably is not very efficient in terms of speed and performance, but for me I feel like it’s much more human readable. Run Linked List Demo This implementation of linked list has features  that I will describe in a quick explanation below. - List_init To initialize the first node, or the head node if the linked list is empty or

How To Start Web Development Using Javascript NodeJs

Image
Web programming using Javascript Javascript is no doubt the easiest programming language, and that’s probably the reason why it is such a popular and very widely used programming language. Right now maybe you can only build website stuff, but actually it is general purpose that maybe in the future it will support programs in Javascript not just for website stuff. Doing web programming using JS is as simple as installing Node js and creating package.json and one file that will be used as the main file to handle HTTP requests and return the response to the user. If you are interested in learning programming, you can follow this tutorial on how to start building a website using Javascript, follow this instruction below. 1. Install Nodejs You can find the installer here https://nodejs.org/en/download/ , select base on the OS you are using such as Windows, Linux or Mac OS 2. Open your favorite text editor or IDE For example VS code, Sublime text or whatever IDE you preferred to use. 3. Crea

Popular posts from this blog

ASUS Battery Health Charging Software To Make Your Battery Life Longer

How To Uninstall Angular CLI, The Angular Framework

How To Create Flutter Card With Example Code

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

Flutter Button With Left Align Text and Icon