MᏫᎻᎯᎷᎷᎬᎠ
Oh
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
Ilya
Is it true?
This was a pice of shit, not a program
Rounak
This was a pice of shit, not a program
Y what happened in this program... I applied the correct logic only and output is also coming correct
Ilya
Is it true?
If it comes then only because of GCC extensions.
Ilya
Is it true?
Mo I'll recheck
Rounak
Even The logic itself is completely wrong
Can u give one example where the output will be coming wrong...
Ilya
Can u give one example where the output will be coming wrong...
No I was wrong the logic is not completely wrong.
Ilya
Can u give one example where the output will be coming wrong...
This can't compile, how can it get output?
Rounak
This can't compile, how can it get output?
In every compiler output is getting generated... I request u pls check it and say...
Ilya
Can u give one example where the output will be coming wrong...
The task was saying to print same numbers from both areas. This is not what your program does
Anonymous
Can u give one example where the output will be coming wrong...
Array1- 1 2 3 4 5 1 2 Array 2- 7 8 1 4 2 6 7 Redundant output will appear when the array elements are not distinct I guess.
Bojan_Krdemn
Hey guys, given that i have a map of the view map(Queue<string>, vector<string>) which method from the https://web.stanford.edu/class/archive/cs/cs106b/cs106b.1126/materials/cppdoc/Map-class.html#Macro:foreach should i choose to transform queue to string, find that string in the file, find a single following word add that word to the vector mapall() or foreach()
Rounak
Remove VLA s first.
u mean u r saying to declare a array in static size...like a[100] and b[100]
Rounak
r8?
Rounak
and apart from this rest of the code is ok?
Anonymous
and apart from this rest of the code is ok?
Yes It should work fine after removing duplicates.
Rounak
Yes
Is there any way in the internet where i can check the program with the test cases
Anonymous
Rounak
I want to verify this code where my program will go through with all the test cases ,so i can get an idea that program will be executed like in hacker rank
Anonymous
Have anyone developed an Android Application using the NDK which comes with Visual Studio 2019?
Anonymous
sorry guys
Anonymous
I've to accept an integer value from user and have to declare an array of object based on that size. How i can do that?
Rounak
Is there any way to find distinct elements in the array apart similar like sets in python...its very easy..and its not time consuming....Similary how we can implement it in C language
Ilya
u mean u r saying to declare a array in static size...like a[100] and b[100]
The next step is to correctly use array index. (Corrected)
Anonymous
assume 'student' is a class, int n; cout<<"no. of students : "; cin>>n; student ob[n];
Anonymous
Is there any sources for implementing data structures in c++ ? Please don't say to Google it. I had tried that
Anonymous
https://www.geeksforgeeks.org/data-structures/
Checked it. But in this it's available in C mostly.. Want some codes which are implemented using OOPs
Talula
Checked it. But in this it's available in C mostly.. Want some codes which are implemented using OOPs
It's same... there isn't much difference between C++ Structure and C Structure.
MᏫᎻᎯᎷᎷᎬᎠ
C++ Creator Bjarne Stroustrup Answers Our Top Five C++ Questions https://stackoverflow.blog/2019/10/11/c-creator-bjarne-stroustrup-answers-our-top-five-c-questions/ https://redd.it/diat22 @r_cpp
MᏫᎻᎯᎷᎷᎬᎠ
Really?!! Interview dumb questions with the greatest of all time?! That's all they got out with?!
Bojan_Krdemn
Is there any sources for implementing data structures in c++ ? Please don't say to Google it. I had tried that
https://www.amazon.com/Data-Abstraction-Problem-Solving-Mirrors/dp/0134463978/ref=sr_1_1?keywords=data+structures+c%2B%2B+walls&qid=1571165661&sr=8-1 OR Eric Roberts' programming abstractions in c++ - late chapters
Anonymous
https://pastebin.com/NTyAD6ew
Anonymous
this is a program i wrote that can find the average of the numbers you write in command line
Anonymous
it has a command line option -m that takes two arguments Float or Int, which will set the program to int or float mode, and you follow that option with the numbers you want to find the average of
Anonymous
compile and works fine, just posting to see others thoughts
Mat
https://pastebin.com/NTyAD6ew
Use multiline comments
Anonymous
sure
SenpaiSec
How to creat logo with c++?
SenpaiSec
Please help me
I_Interface
How to creat logo with c++?
Probably this lib will help you. Didn't work with graphics, so go on. http://www.imagemagick.org/Magick++/
Javi
What is the question?
Anonymous
Pastebin.com/m7x6CAV How can I output every answer of the postfix eval.? 1+2-3*4/5 12+ = 3 3 3 4* = 3 12 3 12 5/- = 3 2.4 - Final 0.6
Dima
well it looks pretty good
Dima
talking about contest
Laxmikant
Ok
Laxmikant
Please help me 🤚 Reverse digit of a number using a recursive function..
MilkBeforeCereal
lol
n1coc4cola
Hello, I'm making an app that loads some libraries. The app look for a C function that returns a C++ constructor to draw widgets, it makes like some plug-ins. I develop under Linux with Qt and Deepin's Qt5 components. When I build 'Modes', the library is successfully builded but when I run it trough my app, without calling any constructor or includes to it, it says that I have a mistake of linking and names, it can't resolve 'MonitoringWidget' with some letters and numbers but it's a name mistake I think because it starts by 'ZN16MonitoringWidget...' can you help me?
n1coc4cola
At: https://github.com/N1coc4colA/cascade-default-plugins/blob/master/monitoringwidget.cpp
n1coc4cola
And https://github.com/N1coc4colA/cascade-default-plugins/blob/master/monitoringwidget.h
n1coc4cola
I don't see the problem
n1coc4cola
... Can you help me?
Ilya
assume 'student' is a class, int n; cout<<"no. of students : "; cin>>n; student ob[n];
This is not valid code . An Array cannot have runtime-defined size. Use std::vector for it