❤1
👉learn C , C++, JAVA Python ,CSS, HTML, js
as a beginner with full guidance 🫴
as a beginner with full guidance 🫴
👍1
⚠️ I stating DSA in C++ language from today
what we do in First 2 months —
➡️ 1.Start Learning C++ with basic
➡️ 2.Clear all concept of basic loops Arrays.
➡️ 3.Question practice
➡️ 4.Build Logic for solving leetcode problem.
what we do in First 2 months —
➡️ 1.Start Learning C++ with basic
➡️ 2.Clear all concept of basic loops Arrays.
➡️ 3.Question practice
➡️ 4.Build Logic for solving leetcode problem.
C++ Language – Day 1
C++ kya hai?
C++ ek programming language hai jo
C se advance hai aur OOP support karti hai.
Use cases:
• Competitive programming
• Game development
• Software development
Simple Code:
#include <iostream>
using namespace std;
int main() {
cout << "Start Coding";
return 0;
}
C++ kya hai?
C++ ek programming language hai jo
C se advance hai aur OOP support karti hai.
Use cases:
• Competitive programming
• Game development
• Software development
Simple Code:
#include <iostream>
using namespace std;
int main() {
cout << "Start Coding";
return 0;
}
👍1
Variables & Data Types
C++ Variables & Data Types
int → when your input or output number a integer
float →when your input or output number a decimal
char → when your input or output is a single character
string →when your input or output number text
Example:
int a = 10;
float b = 2.5;
char c = 'A';
cout << a << b << c;
C++ Variables & Data Types
int → when your input or output number a integer
float →when your input or output number a decimal
char → when your input or output is a single character
string →when your input or output number text
Example:
int a = 10;
float b = 2.5;
char c = 'A';
cout << a << b << c;
C++ Input / Output
Output:
cout << "Hello World";
Input:
int x;
cin >> x;
Example:
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
cout << x;
return 0;
}
Output:
cout << "Hello World";
Input:
int x;
cin >> x;
Example:
#include <iostream>
using namespace std;
int main() {
int x;
cin >> x;
cout << x;
return 0;
}