All posts by Book Of Engineering

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”

BRIEF HISTORY OF THE ENGINEERING

When does the engineering started? It is a very complex question. Because, people started to construct simple machines before engineering profession is defined. According to that concept we may say ancient times. Because people started to produce simple machines like pulleys, lever and wheels at that time. Some people also started to build tools very long long time ago. These are all before 5000 BC. Except those we may check the written sources to track.

Continue reading BRIEF HISTORY OF THE ENGINEERING

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

RULERS OF OLD GOOD TIMES

Rulers were the most important part of engineering. Before we had cad software, we were drafting using t-squares and set squares. If you had that manual drafting course you will get what it was like and be thankful to AutoCAD. But on the other hand it was real art to draw that drawings by hand. If you are really good at you may draft as fast as you can do at CAD but the main disadvantage with hand drafting is that you can’t do the revisions easily as you do in cad.

Continue reading RULERS OF OLD GOOD TIMES

LEARNING GITHUB

Github is a place where people collaborate to code. You can add people to projects. You can “fork” from other people’s work. You can collaborate with anyone around the world. Version controlling lets you differentiate between different versions. Do you remember giving your code file that you give names like final.cpp, finalfinal.cpp, final2.cpp, thisislast.cpp and goes on. This is the same thing, online.

Continue reading LEARNING GITHUB