Posts

Showing posts from February, 2024

Comments in CPP

⋮ Mindvault360 C++ Introduction Variables Comments in CPP OOP(Object-oriented programming) Basic input and output operations Tokens & Manipulators in CPP Control Structures in CPP Looping Statements Arrays in CPP Pointers in CPP File Operations in CPP Functions in C++ C++ String C++ math C++ Boolean Basic Syntax and Structure of C++ Dynamic memory Scope of Variable C++ Comments : Comments are essential components of C++ code that act as developer annotations. They are components of the codebase that are not executable, which means the compiler will not even look at them and they will not affect how the program runs. When the original developer revisits the code later, comments help to clarify the reasoning behind the code, making it easier to understand and maintain for everyone. Single-line comments:   To produce a single-line comment, use tw...

C++ Introduction

⋮ Mindvault360 C++ Introduction Variables Comments in CPP OOP(Object-oriented programming) Basic input and output operations Tokens & Manipulators in CPP Control Structures in CPP Looping Statements Arrays in CPP Pointers in CPP File Operations in CPP Functions in C++ C++ String C++ math C++ Boolean Basic Syntax and Structure of C++ Dynamic memory Scope of Variable C++ What is C++?  C++ is a general-purpose object-oriented programming (OOP) language, developed by Bjarne Stroustrup  It is an extension of the C language Initially, the language was called "C with classes" as it had all the properties of the C language with an additional concept of "classes." However, it was renamed C++ in 1983. Key Features of C++: Object-Oriented Programming (OOP): C++ supports object-oriented programming concepts such as classes, objects, encapsul...

Java Datatypes

⋮ Mindvault360 Introduction to Java FEATURES OF JAVA OOPS Concepts Java Tokens Java statements Java Datatypes Type Casting Operators Expression, Scanner Class and Control Structures Control Statements in Java Loops in Java Functions in Java Arrays in Java Java String Java Regex Java Methods Java Constructor Java Modifiers Java Inheritance Java Abstraction Java Encapsulation Java Polymorphism Java Interface Java Recursion Java Final Class Java Keywords Java Inner Class Java Singleton Class Java Object Class Java Garbage Collection and Finalize Class Java Enumeration Multithreading Life cycle of a thread Thread Priority Thread Scheduler Thread.sleep() in Java Java join() method Daemon Thread in Java Java Thread Pool ThreadGroup in Java Java Shutdown Hook Java Runtime class Synchronization in Java Deadlock in Java Inter-thread Communication in Java Exception in Java Date and time class in Java Java FileStream Seria...

Variables

Image
⋮ Mindvault360 C++ Introduction Variables Comments in CPP OOP(Object-oriented programming) Basic input and output operations Tokens & Manipulators in CPP Control Structures in CPP Looping Statements Arrays in CPP Pointers in CPP File Operations in CPP Functions in C++ C++ String C++ math C++ Boolean Basic Syntax and Structure of C++ Dynamic memory Scope of Variable C++   Variables In programming, data that can be used and altered throughout a program is stored in variables. These are designated memory areas where you can put variables that vary while the program executes.  Variables in C++ require declaration before they can be utilized; this declaration must include the variable name and data type. ❑       The following  rules must be followed for identifiers: ⮚      The first character mu...

Introduction to Programming

Image
  What is programming? The practice of giving computer instructions in a language it can understand to carry out particular tasks is known as programming. These languages allow users to construct different kinds of software, systems, and applications by allowing them to interface with the hardware and software components of the computer. Software Evolution  Programming languages have gone through several stages of development, each addressing distinct requirements and technological advancements: Machine Language (1s and 0s): Machine language is made up of binary digits (1s and 0s) that directly represent instructions carried out by the computer's central processing unit (CPU).  It is the lowest-level programming language that is unique to the computer's hardware design. Programming in machine language is exceedingly tedious and error-prone since instructions must be written in binary form.  Assembly language (close to zeros and ones): Assembly language is a low-le...

Java statements

⋮ Mindvault360 Introduction to Java FEATURES OF JAVA OOPS Concepts Java Tokens Java statements Java Datatypes Type Casting Operators Expression, Scanner Class and Control Structures Control Statements in Java Loops in Java Functions in Java Arrays in Java Java String Java Regex Java Methods Java Constructor Java Modifiers Java Inheritance Java Abstraction Java Encapsulation Java Polymorphism Java Interface Java Recursion Java Final Class Java Keywords Java Inner Class Java Singleton Class Java Object Class Java Garbage Collection and Finalize Class Java Enumeration Multithreading Life cycle of a thread Thread Priority Thread Scheduler Thread.sleep() in Java Java join() method Daemon Thread in Java Java Thread Pool ThreadGroup in Java Java Shutdown Hook Java Runtime class Synchronization in Java Deadlock in Java Inter-thread Communication in Java Exception in Java Date and time class in Java Java FileStream Seria...