klimi
Chernykh
Joan
So why not to send opengl also written on C. It also use to write games
I cannot send code using all existing libraries. You can send if you want.
Anonymous
sharing his work ig
https://t.me/programminginc/254914
klimi
yes?
Anonymous
I thought you want me to share his code for you😂
Chernykh
https://github.com/SFTtech/openage
Chernykh
i would like that actually
Check link above. It's not opengl but too good
Joan
Too complicated for newbies
Chernykh
And also if u want to learn how to write effective code (actually not beautiful) u cat look though Google chrome code
Chernykh
Too complicated for newbies
There are more tricks and best practices and everyone here has unlimited network connection
Joan
?
Chernykh
U don't understand what happens -> Google it
Kenny
Some good book to learn algorithm and its techniques?
Kenny
Like greedy algorithms
Kenny
Etc
I_Interface
tox
ebalo
Kenny
Hahahaha, I found too many
Anonymous
Pls,what framework is best for c++ in software development..
Dima
lol
klimi
ebalo
Trivago
Dima
if you can’t decide which framework to use you shouldn’t be lookin’ at c++
I_Interface
Trivago
Tak tak
klimi
Pls,what framework is best for c++ in software development..
I would suggest you try out the programming language called "scratch"
Anonymous
Qt is what I use...
But was asking if someone is using a better one...
klimi
But was asking if someone is using a better one...
Well you havent specified for what, eg at wouldnt be the best for doing terminal graphics .... Ncurses would be superior in this
Dmytro
Does somebody know if there is a data structure like Key-Value pairs? unordered_map does not fit because this data structure does not need to be hashed and the "map" is not an appropriate structure because it does not need to be ordered. I have already googled this problem but have found out nothing. Help, please)
klimi
User activity check @Bigconfig : Please write something to confirm that you are a legit member of this c/c++ group.
Anonymous
Hi
Anonymous
try block in while in try block
all variable... datas gets cleaned up how can i prevent it ?
Igor🇺🇦
@ff_0x1d3
Exception should be thrown when you have exceptional error and needs to jump over other methods in try block to error handling in catch block. Why would you want to return? What problem do you have that requires this?
Deleted Account
This change fixes a bug where the compiler may sometimes incorrectly remove an instruction in a C++ coroutine.
Deleted Account
wtf bug in vs2019...
YK Y
How to implement tree using STL?
YK Y
I've learnt to implement a tree using linked list
Igor🇺🇦
How to implement tree using STL?
std::set<int> your_tree;
YK Y
std::set<int> your_tree;
Why you are using set?
András
Why you are using set?
Set is red-black tree
YK Y
Set is red-black tree
I didn't get you
YK Y
Set is for repeated elements!
András
I didn't get you
In stl, set is realized as red-black tree
YK Y
In stl, set is realized as red-black tree
Ohh, how can we implement tree?
YK Y
Google it
It's showing linked list
YK Y
Implementation
András
It shows tree
András
It would show linked list if you'll google "c++ linked list"
Chernykh
Guys, I'm rarely use vs2019 and idk right cause of this problem. Sometimes helps regenerate cmake cache and rebuild project, but that take a while
Dmytro
If you don't need hash and order what do you need from that data structure? Vector of pairs has key value pair and does not have hash or order.
Yeah, you are right. I think that it is what I need, but I also think that the adding of an element to the such structure is faster then adding to vector.
klimi
Do you have ninja installed?
András
Wow....do u even know what I'm asking?
Or How to implement tree Or Which container is realized using tree
klimi
Obviously
And all the deps?
Chernykh
Yep
Chernykh
Repeat: > Clearing project and rebuilding helps
klimi
Well then some of the build procedure is not corect
Chernykh
(clion works perfectly)
klimi
And you're making buildfiles for ninja from cmake in vs?
Igor🇺🇦
Yeah, you are right. I think that it is what I need, but I also think that the adding of an element to the such structure is faster then adding to vector.
If you don't care about order and hash and don't know the size prior to running your code I don't think there can be anything generic faster than ::emplace_back(key, value) in vector of pairs