Tag Archives: structure

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

CPU VS GPU

CPU: Central processing unit. GPU: Graphics processing unit.

Previously GPU’s only aim was to accelerate the graphics processing but now GPU also supports calculations like CPU. The main difference we can say CPU has ability to run tasks but GPU is more specific on the tasks side, especially as we said they were created for graphical purpose. They can now support CPU but cannot be spare for CPU.

Continue reading CPU VS GPU