Viewing 1 to 5 of 5 items
Tag Archives: terminal

C++ Input and Output ( cin, cout )

In our previous tutorial, we learned about the C++ String datatype. Until know, our C++ programs haven’t been that interactive. In this tutorial we are going to fix that. We are going to talk a little more in depth about gathering input from the user and displaying the output to the terminal. C++ Standard Output  Full Article…

2

How to add Open in Terminal support To Nautilus in Ubuntu

Wouldn’t it be great to open up Nautlius (equivalent to Windows-Explorer in Ubuntu) and be able to open up your terminal in that specific folder by simply right clicking and choosing an Open in Terminal option? Unfortunately this option isn’t set by default. Luckily there are two ways to install this option. Installing through the  Full Article…

1

Command Line Arguments

Command Line Arguments allow the user to run the program thruogh the terminal as well as pass in arguments into your program in one line. Most common use of command line arguments, are to pass in “strings” that represent file names from which you are going to read data from. Format of Command Line Arguments  Full Article…

0

Basic Linux Terminal Commands

If you are new to Linux and it’s terminal, you might be wondering how to move around? I’ll show you how with some basic terminal commands. Below I’ll list a few examples with comments denoted by #

1

How to write and compile C++ program in Linux

Here is a step by step detailed guide on showing you how to write and compile a C++ program in Linux. For demonstration purposes, I’ll show you how to write and compile Hello World which is typically the first program that many students learn when introduced to programming. How to write and compile Hello World  Full Article…