Skip to main content

Posts

Showing posts with the label game

How to start learning Web-development

What's the difference between comment line and code line?

Difference between Comment line and code line - Here we first discussed about comment line according to C/C++ language so lets start  Comment line - we use comment for easily explanation any source code we use it for programmer readability and for better understanding these comment are not include in our code or say not counted in our code there are two type of comment - 1. Single line comment : In single line comment we use it for one line comment and the representation of the comment is ' / single line comment/ ' . Syntax - // This is Syntax of single line comment // Here program start #include<stdio.h> int main(){ printf("hello world"); } 2. Multiline comment : It is used to comment in multiline code and the representation of the comment is    ' /* Multiline comment */ ' Syntax -   /*This is multiline comment and we use it when we explaining something in many line so we use this comment */ /*Here is the program syntax*/ #include<stdio.h>...

Encapasulation , Abstration , Polymorphism , Inheritance in c++

  Encapasulation in c++ :- It is defined as when you wrap and bind all related data together in a single form or in a single unit or you can defined as binding of data together and manipulating it are called encapasulation in C++ . For Example : If there is a three department in a company are Finance , sale , research department  finance department handle all finance related data and sales department handle sale related data if finance department needs information about any other section they need permission of head of the department to access it  this called encapasulation . this also lead data abstraction or data hiding #include   <iostream> using   namespace  std; class   container { private:     // data hidden from outside world      int   x ; public:      void   given ( int  a)     {       ...

Gaming laptop is suitable for programming language

Best gaming laptop for coding - Gaming laptop is can be usable as programming or coding because it comes with most of feature which make a laptop more powerful and a complete its work in less time - that are very efficient and this is a important thing for programming laptop and many laptop which are fast but it not valuable because it was getting old in term of graphic card and RAM and more things after some time if you buy a gaming PC it will be most valuable because we can upgrade it by installing more RAM , new generation graphic card etc any time if we have any requirement for upgrading our gaming PC so it is more efficient then gaming laptop you should  go with gaming pc by building it your own so go with gaming PC and make it efficient but there is a single issue that is it is a non portable machine which we not use as anywhere if you do not have requirement of portable machine then you can go with it . But if you want a portable machine so you dont have any choice go with ...