Kenny
I'll try
Kenny
If someone want to say something more, u are welcome
Anonymous
Anonymous
That, ll get u worked up
Anonymous
Where Can I Learn Data Structures In C ?? For Free And Complete Understanding
Anonymous
Anonymous
Anonymous
Anonymous
/programming
Anonymous
/programming
kodes
Is digital electronics an important subject for placement purpose in computer science branch??
kodes
And computer organisation also
Nicolas
Aman
int recursiveSum(int N)
{
if(N==0){
return 1;
}
return N+recursiveSum(N);
//Your code here
//Recursively sum from 1 to N and return
}
Aman
I am getting segmentation error in above program cann anyone tell me why?
Alex
what is your N?
Alex
how do you call function? maybe this is stack overflow
Alex
I see the problem. change return N+recursiveSum(N) to return N+recurseiveSum(N-1)
Vlad
Vlad
Aman
@kasha131 @VoiDDoc0x0TheOriginal thank u for pointing out error i was stuck with this problem for several time thank u
Aman
once agin
Anonymous
/warn non English, request for pirating, offtop
labyrinth
how to understand the use of overloading operator () in a class? i can understand overloading ==, +=, & and other operators, but don't quite understand the () operator
再见莫妮卡
Vlad
Liam
Kenny
Kenny
Around 4-5 months
Raven49
Raven49
Someone solve question 3 and 4 using C language only
𝐀𝐥𝐞𝐞𝐮🪐💰🕊️
Hi
Furkan
Furkan
Furkan
Raven49
Why ? What happened ?
Furkan
Hi everyone I have a question about memoization. I have used fibonacci calc with memoization and in main.cpp, I use it twice so I declared a static int array, but when I called it function for the first time, second called same function's performance are affected by the first one although array value is static. Anyone to help, appreciated! In output page , please only look at recursive with memoization and see the difference. When I call F[40] first, F[10] done in 1 step because it uses same unchanged array although it is static. You can contact me too i would be appreciated.
Furkan
Raven49
I don't understand .
Raven49
What are you trying to say ? @waldo336
Raven49
What kind of language you people use !
Raven49
I was just asking for help
Raven49
It's ok if you guys are super intelligent or something but in order to learn I am asking a question and you guys are flagging pinned remarks
Raven49
You don't tell me what to do and what not to do .
m
Raven49
And I hope someone insults you exactly in the same way as you insult some stranger who is asking for help
Raven49
m
Its ok
If you've written code, and its not working, send the pic of that here. We can point out what's wrong and suggest. Don't get mad. Also do read the rules
Raven49
m
Pavel
Is it a good idea to use std::list with elements and std::map to associate keys to iterators from the list if I need a FIFO queue with ability to find any element from the queue (to remove from it, for example)?
E.g.
std::list<Element> queue;
std::map<KeyType, std::list<Element>::iterator> searchMap;
Anonymous
Pavel
Anonymous
Anonymous
Alex
Alex
Alex
+overloading of operator==
Pavel
Thanks guys, will look closer at the suggestions
Alex
ok, I am not sure about operator==, I don`t know what is your FIFO criteria and key
Alex
but you can find element using map.find and compare key by your own
Anonymous
https://i.imgur.com/J5oEfbt.png Bye! visual studio
Dima
Anonymous
My install fcked itself up, It fails to find the windows 10 sdk version....
Dima
what’s your next Ide?
Anonymous
I can't build anything it always failes
Anonymous
Just reinstalling VS
Anonymous
https://i.imgur.com/8pgTNvs.png I kept getting errors like this
Anonymous
https://i.imgur.com/KN1bWFG.png
Anonymous
That SDK version even was installed...
Anonymous
I might just go for 2019 VS
V01D
Anonymous
For servers
Anonymous
For desktop windows