Anonymous
@developer_of_persia
Anonymous
@chandradeepdey so you're a cheater
Prince Of Persia
Anonymous
So it is
So it's not
Anonymous
Read carefully
Prince Of Persia
So it's not
Yes now it's not
Anonymous
/save c++_isnt_c_with_classes
Lol he was an admin?
Prince Of Persia
Because c++ is have developed
Anonymous
@chandradeepdey so you're a cheater
;-; i tried twice, it's cleaner with the guard bot because it tags the message you reply to instead of the message with the command
Prince Of Persia
Sorry if I'm bad in English English is my 4th language😑
beluga_hz
It should be your 1st or 2nd
Anonymous
4th lang for English....
Prince Of Persia
It should be your 1st or 2nd
My 1st is my native language (Lori) 2nd is my county language (Farsi) 3rd is Arabic 4th is English😑
Anonymous
Let's not offtop, ok?
Anonymous
#ot
Engineer
Deleted it...🙈
Anonymous
Go to the offtop chat and discuss there
Engineer
In C++ a template can be used for many things? Why don't we see many templates classes then?
Engineer
Go to the offtop chat and discuss there
Did not know there was that group....
Anonymous
In C++ a template can be used for many things? Why don't we see many templates classes then?
If you don't see, it doesn't mean there's not many :)
Anonymous
It's mainly used in making generic libraries
Engineer
When you mention generic can it apply to a form of database structure?
Anonymous
Even though it doesn't seem like a lot of templates when you use it
Anonymous
It's built with them
Anonymous
Which you can see from the source code
Anonymous
Guys if I want with a pointer to point to another pointer, (for example int *a int *b), should I do a = b?
Anonymous
No
Vlad
No
Now you did
Anonymous
Ok thx, I ll go on google
Anonymous
Yes
Rαȥʋαɳ
Hello guys You can help me recommend a video where I can understand the topic with pointers ?
Roshan
https://youtu.be/DTxHyVn0ODg
Anonymous
#include <iostream> int main(){ using namespace std; int n[10]; /* declaring n as an array of 10 integers */ int i,j; /* initializing elements of array n */ for ( i = 0; i<10; i++ ) { cout << "Enter value of n[" << i << "]"<< endl; cin >> n[i]; } /* printing the values of elements of array */ for (j = 0; j < 10; j++ ) { cout << "n[" << j << "] = " << n[j] << endl; } return 0; } All Possible Error in this Code
Anonymous
No errors but keep namespace global
he has just only one function (main function).Therefore, scope is no problem .
Roshan
he has just only one function (main function).Therefore, scope is no problem .
Yes. But if it's a good practice to keep it global.
Roshan
At least I do...
Anonymous
yeah
Igor🇺🇦
Yes. But if it's a good practice to keep it global.
Why is it a good practice to keep namespace global? IMHO it's the other way around. That's like declaring variables close to wherever they are used.
Atropos
Hello guys You can help me recommend a video where I can understand the topic with pointers ?
https://www.youtube.com/playlist?list=PLBlnK6fEyqRhX6r2uhhlubuF5QextdCSM
Atropos
I was stressing on std
"good practice" could be misleading for other usecases I Prefer std::
Rohit Kumar
Hi Guys
Rohit Kumar
I am stuck at a spoj problem
Rohit Kumar
it's fast multiplication
Rohit Kumar
Can anybody help?
Rohit Kumar
question is to multiply two numbers
Rohit Kumar
but numbers can extend upto 10000 decimal places
Rohit Kumar
I am getting wrong answer with boost library
Anonymous
Make more space for an integer
Rohit Kumar
used 1024 bits.
Anonymous
Make more
Anonymous
used 1024 bits.
/warn PMing
Buga
any recomandable c++ learning program for begginers?
Buga
thank you so much 🙏🏻
ברני
Hey..trying to do a new easy code on C...need to find the biggest number in a long numbers from user and compare them to a single num he wrote...
ברני
https://onlinegdb.com/ryK0PA2iP
ברני
thats what I did but it dosn't give me all the aboves..
Karan
/warn
Roshan
https://onlinegdb.com/ryK0PA2iP
What is the counter doing?
Adex
Hi
ברני
What is the counter doing?
It suppose to count all the numbers above the digit
Roshan
It suppose to count all the numbers above the digit
❓ What are you trying to get? The biggest digit in a number?
Roshan
It suppose to count all the numbers above the digit
First of all, the loop iterates num times. Is that what you want?
ברני
❓ What are you trying to get? The biggest digit in a number?
I need to get all the numbers he wrote at first that higher then the single digit he wrote,
ברני
First of all, the loop iterates num times. Is that what you want?
I'm trying to work with for loops maybe I did it wrong as well..
Roshan
I'm trying to work with for loops maybe I did it wrong as well..
Just limit the variables you use and use for loops for simplicity as "i" will be inside ()
Junaid
how to enhance logic building