Hidd3N
Yup
Chhabi
Yup
So can you plese send me
Hidd3N
So can you plese send me
The size of book is around 60 mb
Hidd3N
Pm me, i cant share it here
Anonymous
Well I guess that explains it. Do you know how to explicitly request it?
Anonymous
I was wondering where I can find the source code for the cpp containers, like with a bit of details, not the barebone documentation. Thanks
Anonymous
Thank you!
Anonymous
Italiano means
Anonymous
Wow cool thanks 👍
Ajay
with respect to scanf and cin, on doing sync_with_studio(true), is there any problem with using both of them together in a code?
Anonymous
Hello, I'm new to c++, I want to ask a question, what's the difference between std::cout and cout?
Anonymous
MᏫᎻᎯᎷᎷᎬᎠ
But It's prevents names clashes
MᏫᎻᎯᎷᎷᎬᎠ
So You can have two entities with the same name
Daniel
Daniel
Why this gets in the command black window hasn’t blink cursor ,it’s not running the gets function,and the bottom function it seems freaking two lines in command black window .it’s a one line code
Daniel
Need help🤦🏼‍♂️
Anonymous
So You can have two entities with the same name
So, i can name a variable cout but if I want to print a string I have to use std:: cout?
Anonymous
Thank you!
also setbuf and setvbuf to manually control the buffer of c style streams
Anonymous
So, i can name a variable cout but if I want to print a string I have to use std:: cout?
as long as you don't do something like using namespace std; using std::cout; , sure
MᏫᎻᎯᎷᎷᎬᎠ
So, i can name a variable cout but if I want to print a string I have to use std:: cout?
std::cout and cout are the same thing What differs is the scope namespaces are little bit confusing at first
MᏫᎻᎯᎷᎷᎬᎠ
Know what is a namespace is at first And then you'll figure out what std::cout is
MᏫᎻᎯᎷᎷᎬᎠ
Long the way you'll find some tips about discouragement of typing using namespace std; But I advice you to make errors and see error messages and then do it
Dima
what the heck? is it a python schoolar season
Hermann
why i get same result?
.
Photo from joshi😃
.
You are given as input an unsorted array of n distinct numbers, where n is a power of 2. Give an algorithm that identifies the second-largest number in the array, and that uses at most n +\log_2 n - 2n+log 2 n−2 comparisons. I want to ask that if i do the following would it not be n comparisons which is better than asked in the question? for(i=0;i<a.size();i++) { if(a[j]>max) { max1 = max; max = a[i]; } else if(a[i]>max1) { max1 = a[i]; } }
.
Ok thanks I got it. For 8, 1,2,3,4,5,6,7 it will be greater than n since evertime max1 is changing after first iteration. Thanks
Anonymous
Helloo
Hermann
Why strucr2=struct1 not work? If I edit struct1, struct2 change
Anonymous
Hi
Null
This is my first ever blog please go and real it once and give me the feedback. I will wait for your remarks . https://technishian20.blogspot.com/?m=1
Wisenky
guys I have a problem with vscode someone would help me ?
Wisenky
#meta
oh okay sorry
Wisenky
guys I have a problem with vscode someone would help me ?
#include <iostream> file can not open error i faced up
Mxit
Anybody understand linked list and algorithm
Francisco
#include <iostream> file can not open error i faced up
OS? Any more detailed error message? Any code to show?
Wisenky
OS? Any more detailed error message? Any code to show?
thanks a lot I solved it with removing c++ compile&run extension and installing c++ Clang command adapter extension
Null
at least it doesn’t have advertisements
Yeah, it's new and has 100% original content... BTW thank 👍
...
While(scanf("%c", &c) ==1) { // statements; }
...
While(scanf("%c", &c) ==1) { // statements; }
Guys when will the loop will terminate ?
Anmol
Guys when will the loop will terminate ?
There's a condition in the while loop. Read it.
...
There's a condition in the while loop. Read it.
But it's not terminating in the online compiler even though I'm not giving 1 input
Anonymous
You forgot Microsoft STL😔
Shubham
Graphic header file not working in code blocks.
Shubham
Please help me what i do
klimi
Send more info
#39424E
Hello. Is there anyone here who knows Qt Quick? When importing QtQuick.Controls 1.4 does not apply Material Style.
Cyberelit
strchr( ) returns _, strcmp returns _, strlen( ) returns _. * pointer to the first occurrence of char, ASCII difference of first mismatch char, length of string. Address of string, copied string, length of string first character of string, always zero, length of string no of characters in string, no of mismatch char, size of character
Cyberelit
Answer
Dima
Answer
Do you even “please”?
Cyberelit
My school test, i need a help.
Dima
#39424E
material style is from Controls 2
In the QML application I need a Calendar. It is located in QtQuick.Controls 1.4. But as soon as I import QtQuick.Controls 1.4 Material Style ceases to work. How do I use Calendar, but not lose Material Style?
#39424E
import Qt.labs.calendar 1.0
Thanks, but It is impossible to customize
Blue
Hello I have a project for automation anyone who can work upon it?
Neon
🤔🤔✌️✌️
Anonymous
Well GCC, Clang, MSVC is more used C++ compilers afaik
Anonymous
And Microsoft STL was officially open-sourced several month ago
⚛ Hz
EDG's is just c++ compiler frontend, not a complete compiler.
20BCS_2623 JATIN
hello
20BCS_2623 JATIN
pls guys solve this error
20BCS_2623 JATIN
how to solve this
20BCS_2623 JATIN
okaa
kdkdkddddddkddd
help guys!!!!!!!!!!!!
kdkdkddddddkddd
Consider the following definition of the class Covid class Covid { private: int x; static int count; public: void setX(int a); //Function to set the value of x. //Postcondition: x = a; void printX() const; //Function to output x. static void printCount(); //Function to output count. static void incrementCount(); //Function to increment count. //Postcondition: count++; myClass(int a = 0); //constructor with default parameters //Postcondition x = a; //If no value is specified for a, x = 0; }; a) Write a C++ statement that initializes the member variable count to 0. Answer: b) Write a C++ statement that increments the value of count by 1. Answer: c) Write a C++ statement that outputs the value of count. Answer: d) Write the definitions of the functions of the class Covid as described in its definition. Answer: e) Write a C++ statement that declares quarantine to be a Covid object and initializes its member variable x to 5. Answer: f) Write a C++ statement that declares lockdown to be a Covid object and initializes its member variable x to 7. Answer: g) Which of the following statements are valid? (Assume that quarantine and lockdown are as declared in Parts 5 and 6) a. quarantine.printCount(); //Line 1 b. quarantine.printX(); //Line 2 c. lockdown.printCount(); //Line 3 d. Covid.printX(); //Line 4 e. Covid::count++; //Line 5 Answer: