Posts

Showing posts with the label cpp

Basics Of recursion||recursion||recursion in C++||recursion explained||checking prime numbers using recursion||factorial using recursion||fibonacci series using recursion||GCD using recursion||LCM using recursion||Star pyramid pattern||Star pattern using recursion||String concatenation in C++||Advantages of recursion||Disadvantages of recursion||

Image
👉  Basics Of Recursion  ðŸ‘ˆ                     - by Aaditya Nayak In this blog I am going to explain about basics of recursion. I will be covering meaning of recursion, some basic programs using recursion, advantages of recursion. This blog will be very useful for beginners since recursion is a topic that is considered to be confusing and tricky at the beginners stage and for experienced its always good to brush up your concepts. What is Recursion? Recursion is defined as repeated application of procedure or definition. In programming, as you know that functions are the set of instructions which can be defined once and can be called anywhere needed.  While the recursion is the condition when a function calls itself inside the its own function definition. In short you can remember that, in function definition if we are returning a function call of that function itself, this condition is known as recursion. Or you can say w...

[solved] gcc is not recognized error || Windows solution || Fix compiler not found error || How to set environment variables || How to set path in windows

Image
[Error Solved] gcc is not recognized as internal or external command, operable program or batch file / minGW not found By- Yashvardhan Singh Since many of you may face this issue here is a separate blog on it. This error is encountered when the system is not able to access GCC command as it is not mentioned in the environment variables which means that your system is simply not aware of that any such thing can be accessed or not from outside that directory (the bin folder). Solution: Navigate inside your ' MinGW ' folder and navigate to the ' bin ' directory. Tap to enlarge Copy this path and open Environment Variables (either search it in the windows start menu or find it in Control Panel -> System -> Advanced System Setting ). Click edit path (from the system variables tab) then in the new window click new . ...

Basics Of Operators||Basics of operators in C++||Basics of operators in cpp||Types of operators in C++||Arithmetic Operators||Comparision Operators||Binary Operators||Logical Operators||Bitwise Operators||Assignment Operators||Miscellaneous Operators||Bitwise Explained||Operators Precedence||

Image
👉  Basics Of OPERATORS IN C++  ðŸ‘ˆ -by Aaditya Nayak In this blog I am going to describe operators in C++ from scratch, their use ,applications, examples etc. This blog will be very useful for beginners and for experienced its always good to brush up your concepts. What is an operator?  • An Operator gives the instruction perform particular operation. Ex: A person which is operating a machine, keyboard of computer, mouse of computer etc.   • Mathematically operators are symbols which denotes particular operation to be performed on a expression or on some numbers. Ex: +, -, /, *, d/dx, ∑, ∏ etc.   • In programming an operator is a symbol that tells the compiler to perform specific mathematical or logical functions. C++ language is rich in built-in operators and provides the following types of operators − Arithmetic Operators. Relational Operators. Logical Operators. Ex: &&, ||, &, | etc. Operators in C++ Basic meaning of operators in C++ are sam...