Startertutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.
Home ยป Page 33

CPP program to illustrate inline functions

Suryateja Pericherla Categories: Functions. No Comments on CPP program to illustrate inline functions

In this article we will learn to implement a CPP program to illustrate inline functions. A C++ program is provided below for demonstrating inline functions.   Program is as follows: #include <iostream> using namespace std; inline void swap(int &x, int &y) { int temp = x; x = y; y = temp; } int main() […]

Read the rest of this entry »

CPP program to illustrate enumerations

Suryateja Pericherla Categories: Others. No Comments on CPP program to illustrate enumerations

In this article we will learn to implement a CPP program to illustrate enumerations. A C++ program is provided below to demonstrate enumerations.   Program is as follows: #include <iostream> using namespace std; int main() { enum direction{left='l', right='r'}; char ch; cout<<"Enter direction (as character): "; cin>>ch; direction d = (direction) ch; switch(d) { case […]

Read the rest of this entry »

CPP program to illustrate scope resolution operator

Suryateja Pericherla Categories: Others. 2 Comments on CPP program to illustrate scope resolution operator

In this article we will learn to implement a CPP program to illustrate scope resolution new and delete operators. A C++ program is given below to demonstrate scope resolution operator, new operator and delete operators.   Program is as follows: #include <iostream> using namespace std; int x = 20; int main() { int x = […]

Read the rest of this entry »

Call By Value and Call By Reference Program in C++

Suryateja Pericherla Categories: Functions. No Comments on Call By Value and Call By Reference Program in C++

In this article we will learn how to implement call by value and call by reference program in C++. A program in C++ is provided to implement call by value and call by reference using reference variable. Program is as follows: #include <iostream> using namespace std; void swapval(int x, int y) { int temp; temp […]

Read the rest of this entry »

CPP program to calculate the fare for the passengers travelling in a bus

Suryateja Pericherla Categories: Others. No Comments on CPP program to calculate the fare for the passengers travelling in a bus

In this article we will learn to implement a CPP program to calculate the fare for the passengers travelling in a bus. We will write a C++ Program to calculate the fare for the passengers travelling in a bus.   When a Passenger enters the bus, the conductor asks “What distance will you travel?” On […]

Read the rest of this entry »

CPP program to calculate simple interest and compound interest

Suryateja Pericherla Categories: Others. No Comments on CPP program to calculate simple interest and compound interest

In this article we will learn to implement a CPP program to calculate simple interest and compound interest.   A program that computes the simple interest and compound interest payable on principal amount(in Rs.) of loan borrowed by the customer from a bank for a given period of time (in years) at specific rate of […]

Read the rest of this entry »

Microsoft Bot Framework on Ubuntu

Suryateja Pericherla Categories: Technology. 12 Comments on Microsoft Bot Framework on Ubuntu

In this article we will learn to implement Microsoft Bot Framework on Ubuntu. First we will learn to setup the Bot Framework and see a working example.   To run your first chat bot using Microsoft’s Bot Framework, we need to install the following: Node JS Bot Framework Emulator   Installing and Testing Node JS […]

Read the rest of this entry »
Facebook
Twitter
Pinterest
Youtube
Instagram
Blogarama - Blog Directory