Skip to main content

Posts

Showing posts with the label Computer programming

How to start learning Web-development

Why we learn REACT JS in web development

 REACT JS in web development - why we use it ? we learn REACT JS in web development because it help us to write less code and make more efficient  website because it divide code into many component which was which help us to to write less code and make more efficient work in less time you can say it is time saver if you don't want to write code from base or say scratch react js is reliable for us and very efficient for web development . What is Component means ? The meaning of component is you say in simple language is react divide the code of website let say if we want to make a website and we want to use a code repeatly so we have to write the again and again but if you was use component you have to write code at ones and use it by import it again and again you can work very efficiently and fast  What we have to do in react  In react we have to convert html form language into JSX form language and if you think how we can do this so their is many option are availabl...

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>...

Is C or C++ language is important to learn for starting programming

Learn first C language and then learn C++ language  Every 1 st  year student have a question is what we have to learn in programming language first. “C” language or “C++” language ?? so the answer is first you have to learn “c” language this is  basic of programming language so you learn the machine language  and practice the basic program. You have not to learn the program you practice the program and almost you want to practice 150 – 200 question between learning programming so you get perfect in thinking about how you approach the programming & you also keep in mind   “practice makes man perfect” . After many practices you can go for C++ language and this is the advanced version of “C language” and this language was come in 1983 and this language was create by “Bjarne Stroustrup” he was the founder of C++ language. After c++ language you can read for learn more language and language are like JAVA ,PYTHAN,C#.NET etc many more languages .if you like th...

Write a program for Adding , Subtracting , Multiplying , Dividing two number in C++ language?

   Writing a programs in C++ languages  Here in this blog you will see the basic program of  C++ programming languages in below so follow your blogger website and see more interesting topics  1. Adding of two number in c++ programming language  In this program we give you knowledge about basic program of addition of two number in C++ languages and how to write a program in Ide like VS code etc  //Adding two number #include<iostream> using namespace std; int main() { int a,b,c; cout<<"Enter the value of a ="; cin>>a; cout<<"Enter the value of b ="; cin>>b; cout<<"Addition of Two Number"<<"\n"; c=a+b; cout<<c; return 0; } output - Enter the value of a =12 Enter the value of b =12 Addition of Two Number Addition = 24 2. Subtraction of two number in c++ programming language  In this program we give you knowledge about basic program of Subtraction of two number in ...

Explaining Inheritance in c++ language

   Inheritance in c++ programming language :  Inheritance in C++ programming language ->     Inheritance help us to derive characteristic from another class and us it is the one of the most important feature of object oriented programming     we called      Existing = old class = parent class = base class     New class = child class = Derived class     ##Syntax - ##     class base_class{         ..     };     //  Visiblity_Mode - Private , Public ,Protected     class derived_class:Visiblity_Mode base_class     {         ..     }; Type of inheritance -  1.Single  2.Multilevel  3.Multiple 4.Hierarchical 5.Hybrid 1.Single - single inheritance means there are one parent class and one in child class by using inheritance syntax . Example -  Let take there is a two class one is class A and one is...