Tag Archives: Book

TEA BREAK WITH C++: BASIC INPUT / OUTPUT

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

As we have seen in the previous section, library we are using for basic input / output operations is the iostream library. That is why we need to include that at the beginning. 

Continue reading TEA BREAK WITH C++: BASIC INPUT / OUTPUT

TEA BREAK WITH C++: MY FIRST C++ PROGRAM

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

  1. //my first c++ program
  2. #include <iostream>
  3. using namespace std; 
  4. int main(){
  5. cout<<“hello world!”;
  6. return 0;
  7. system(“pause”);
  8. }
  9. /* This ends 
  10. the file */
Continue reading TEA BREAK WITH C++: MY FIRST C++ PROGRAM

TEA BREAK WITH C++: Paragraph Comments (Multiple Line Comment)

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

Another type of comment is paragraph comment (or multiple line comment) where you start commenting with “*/” and end with “/*”

Continue reading TEA BREAK WITH C++: Paragraph Comments (Multiple Line Comment)

TEA BREAK WITH C++: Line Comments

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

The “//” sign means you are adding a comment. This is called line comment. The things you write after these “//” will not be taken as a command (means these things will not be compiled). It is always a good approach to write down the properties of the code at the beginning like author, for which aim this code is written etc. 

Continue reading TEA BREAK WITH C++: Line Comments

TEA BREAK WITH C++: Opening a New File and printing famous “HELLO WORLD”

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

You can start a new file by selecting; 

File > New > Source File OR pression Ctrl + N on your keyboard; 

Continue reading TEA BREAK WITH C++: Opening a New File and printing famous “HELLO WORLD”

TEA BREAK WITH C++: INSTALLING IDE

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

Installing IDE

For all the programming languages the beginning is the printing “Hello World” sentence. So, this is some kind of tradition. But before doing that we need to have the C++ IDE. IDE stands for Integrated Development Environment. So basically, the place where you will communicate with the PC. So, the “language” is coming here. So, for different programming languages there are different environments so that you can talk to your PC and instruct it. 

Continue reading TEA BREAK WITH C++: INSTALLING IDE

TEA BREAK WITH C++ EASILY WITH THIS EASY BOOK

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

With this EASY book, I aimed to give the basic programming info as fast as possible without giving so much detail and making you feel bored. Comparing to the other programming books, in this book you will get the essence of the subject, without entering into lots of “unnecessary” details which you may not need to learn at the beginning of learning this language. Especially simple examples are used to show the functions of the codes introduced. I intentionally, tried to keep the text as short as possible so that you can start programming with C++ faster and have time to try it yourself. So this is a great book who wants to start programming as soon as possible and get the idea easily without diving into details. 

Continue reading TEA BREAK WITH C++ EASILY WITH THIS EASY BOOK

EE01 – 0,4KV SYSTEMS CABLE CROSS SECTION ESTIMATOR

Just enter distance and power to get cross sectional area and amperage estimation

Continue reading EE01 – 0,4KV SYSTEMS CABLE CROSS SECTION ESTIMATOR

HOW TO SELECT A LIGHT BULB

To select a light bulb very first step is defining the need for lighting. The lighting is categorised into two sections which are ambient lighting and task lighting.

Continue reading HOW TO SELECT A LIGHT BULB