Categories
Programming

Progam Writing and Coding Style and Commenting Code

Your Coding Style should contain Comments /* comment */ /********************************************************************* * Program Name: description * * Author: Name Surname * * Purpose: Reason for program * * Usage: What to Expect * *********************************************************************/ Commenting: Commenting in HTML Commenting in Bourne Shell(unix, Shell, perl, Python, Ruby) # comment Commenting in Java, C, C#, C++, PHP /* […]

Categories
Server

BasH: Command Not Found

It is not part of the path echo $PATH to run a program in your working directory run: ./prog_name Explanation: Since you’re running an executable in the current working directory, you should prefix it with ./. So for your program run it as ./a.out Explanation The terminal searches for executables in $PATH. This is a […]

Categories
C Programming

Basics of Writing Computer Programs

Overview Writing Computer Programs: Programs start as a set of instructions written by humans. They start as an idea, which are put into text as a source file, containing source code. The source file is transformed into an object file by the compiler. Then a program called a linker takes the object file and combines […]

Categories
C Programming

What is C?

C is a programming language, it is a method of communicating with a computer. C is a particularly flexible language and has been used for micro-controllers, operating systems, applications and graphics programming. An improved C language called C++ has been invented and it does lots of things you don’t know about like calling constructors and […]

Categories
Server

SSH: What is SSH (Secure Shell)?

SSH Background SSH, secure shell, is a software based approach to network security. All data sent and received using SSH is encrypted and later decrypted. It has a client-server architecture, so you will need an ssh client on your local computer and an ssh on the remote computer (the computer you want to connect to). […]