Posts

Showing posts from March, 2025

C++ Program BASICS Revision

✅ First C++ Program #include <iostream> // Standard I/O library using namespace std; int main() { // Main function cout << "Hello, World!"; // Output statement return 0; // Return statement } 🔹 Explanation: #include <iostream> → Header file for input/output. using namespace std; → Allows using standard namespace (removes need for std:: prefix). cout → Prints output to console. return 0; → Indicates successful execution. ✅ Tokens in C++ Tokens are the smallest units in a C++ program. 🔹 Types of Tokens: Keywords → Reserved words (e.g., int, return, if, else, while ) Identifiers → Names for variables, functions, classes (e.g., main, age, total ) Constants → Fixed values ( 5, 3.14, 'A' ) Operators → Symbols for operations ( + , - , * , / ) Special Symbols → { } , ; ( ) [ ] Strings → Text enclosed in "" (e.g., "Hello" ) ✅ Functions in C++ A function is a block of co...

C Program BASICS Revision

  ✅ First C Program Structure of a C Program ----------------------- #include <stdio.h>  // Preprocessor directive int main() {        // Main function     printf("Hello, World!");  // Output statement     return 0;       // Return statement } -------------------------- ✅ Tokens in C Tokens are the smallest individual units in a C program. Types of Tokens: Keywords → Predefined words (e.g., int, return, if, else, break ) Identifiers → Names given to variables, functions (e.g., main, sum, total ) Constants → Fixed values (e.g., 5, 10.5, 'A' ) Operators → Symbols for operations (e.g., + , - , * , / ) Special Symbols → (e.g., { } , ; ( ) [ ] ) Strings → Sequence of characters in double quotes (e.g., "Hello" ) ✅ Functions in C Function is a block of code that performs a specific task. Syntax: #include <stdio.h> void greet() { // Function without return type print...

New Vocabularies from articles

1. Conciliatory – Trying to make peace or calm a situation. Example: She spoke in a conciliatory tone to avoid further arguments. 2. Ruptured – Broken or torn apart suddenly. Example: The pipe ruptured, causing water to flood the house. 3. Incursion – A sudden attack or invasion. Example: The enemy’s incursion into the village was unexpected. 4. Skirmish – A small fight or conflict, usually not very serious. Example: The two rival groups had a brief skirmish before the police arrived. 5. Halting – Stopping or hesitating, often in an unsteady way. Example: His speech was halting because he was nervous. 6. Bilateral, Bilateral Trade – Involving two sides or two countries. Example: The two nations signed a bilateral agreement to promote trade. Example: Bilateral trade between the countries increased after the new deal. 7. Nominally – In name only, but not in reality. Example: He is nominally the leader, but others make the real decisions. 8. Presage – A sign or warning of something to com...

Worldly VS Spiritual blessings

1 John 2:17 "The world and its desires pass away , but whoever does the will of God lives forever ." 1 Timothy 6:10 "For the love of money is a root of all kinds of evil. Some people, eager for money, have wandered from the faith and pierced themselves with many griefs." #LOVE OF THE WORLD MAKES YOU DRAW AWAY FROM GOD! John 4:13 "Jesus answered, 'Everyone who drinks this water will be thirsty again,'" #THE WORLD NEVER SATISFIES YOU! Matthew 6:19-21 "Do not store up for yourselves treasures on earth, where moths and vermin destroy, and where thieves break in and steal. But store up for yourselves treasures in heaven, where moths and vermin do not destroy, and where thieves do not break in and steal. For where your treasure is, there your heart will be also." Ecclesiastes 2:11 "Yet when I surveyed all that my hands had done and what I had toiled to achieve, everything was meaningless, a chasing after the wind ; nothing was gained und...