Anonymous
Thinks you
Onur
call of overloaded ‘partition(__gnu_cxx::__normal_iterator<int*, std::vector<int> >&, __gnu_cxx::__normal_iterator<int*, std::vector<int> >&, std::less<int>&)’ is ambiguous Why I see this error? I don't use using namespace std; tag
Onur
I can solve this issue by just renaming but I need to know why it sees std function even though I don't use global using std namespace tag
Bonveeee
Thanks
Was removed
Thanks
Buda🤜
Bonveeee
👍
°_°
What had you write?
°_°
Can you suggest me something in pm to how be a good mathematician?
Saurabh
Sure
Ariana
Can you suggest me something in pm to how be a good mathematician?
There aren't really any magic solution other than to work hard and not give up midway
Onur
Mh
I was trying to write stl compatible quick sort algorithm and I have defined my own partition function which takes exact same parameters that inside the algorithm header. However I didn't write std::partition so I don't get why it didn't compiled
Onur
Are you sure that you typed correctly the same parameters?
It just worked after I renamed so I think yes
Onur
the problem only happens when I name the function "partition"
Anonymous
Hello. I want to make dll from my class.my class has ini and need to run only one time when the dll load.i need to use data from init for later call.please advice me best way to do it.
Anonymous
The more I research, the more I realize I hate functional programming. Procedural and OO for the win.
okk
https://www.youtube.com/watch?v=dkXA2mOWrLM
Anonymous
https://www.youtube.com/watch?v=dkXA2mOWrLM
It's fine if your forward stuff from your channel but atleast they should be on topic 😂
Anonymous
What is the technique for bubble sorting string?
sAntHoshH
Which IDE are you using?
Anonymous
Which IDE are you using?
I guess its an online one
Anonymous
You mean the algo?
i know bubble sorting for number, is there any changes for strings
sAntHoshH
#ide
Anonymous
What is the technique for bubble sorting string?
Depends on how you're sorting it. Do you have any examples?
Anonymous
Depends on how you're sorting it. Do you have any examples?
I am sorting names of people in an array, from a to z
Anonymous
i know bubble sorting for number, is there any changes for strings
https://www.geeksforgeeks.org/sorting-strings-using-bubble-sort-2/
Anonymous
https://www.geeksforgeeks.org/sorting-strings-using-bubble-sort-2/
What does compareTo do? Can i replace it with normal a[ j+1]>a[j]
Anonymous
I am sorting names of people in an array, from a to z
Can convert the characters into ASCII and sort.
Kelvin
Compilation
What do i need to learn in order to create an augmented reality app in c++ or c# Creating something like a simple interactive educational physics book Such as that in the video And any suggested course links? Thanks https://m.youtube.com/watch?v=Qw7HJPol8ZQ
It's easier without the variable "len"
Abel
hello programmers
Abel
who has code blocks plz
Anonymous
who has code blocks plz
Download from the internet
Abel
thanks i have tried all the setups but my pc tells me cant find gnugcc compiler <Environmental error >
Anonymous
thanks i have tried all the setups but my pc tells me cant find gnugcc compiler <Environmental error >
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Compiler-neutral_setup_steps
correctmaninwrongplace
thank you Good people
That should work
Anonymous
Thanks. Hi, everybody.
Anonymous
hi you
Сардорбек
Ни
Anonymous
when joining the channel , at first i have seen a lot of recent chat history. your chat is so kind.
Anonymous
Haha
Anonymous
How to write program for bootloader
Onur
can we use typename in template arguments?
Dima
depends
Dima
yes
Anonymous
How to write program for bootloader
FOR the bootloader, or to write THE bootloader?
Gaurav
Hey there
Anonymous
Anyone have C# course?
Anonymous
What
Anonymous
What
Marie is a bot.
Anonymous
Anonymous
C#
Anonymous
Ah xd
Anonymous
Java
Anonymous
Python
Anonymous
Doesn't trigger on any others
Anonymous
Okay, I'm working on this little project, and I've tried looking everywhere, and it seems like the linker is where the issue is happening. Though, because the linker is giving the errors, it's not very descriptive, and I've double-checked my code like 3 times. Maybe some fresh eyes can tell me what's going wrong? https://pastebin.com/psCga7cP Thanks in advance.
Anonymous
I'm not getting anything specific. GCC just says that I'm referencing something that's undefined, although everything appears fine.
Igor🇺🇦
Can't you copy paste it here?
Anonymous
It's recommended against. Plus I figured Pastebin would be a better place to store the code, instead of it getting lost in the chat history and whatnot.
Achilles
Hi to all buddies
Anonymous
But how can someone know your error if you don;t paste it ?
Oh. You want the error. I thought you were meaning the source code. Yes, I'll post the error.
Anonymous
driver.cpp:(.text+0x20): undefined reference to `MyVector<char>::MyVector()' driver.cpp:(.text+0x46): undefined reference to `MyVector<char>::push_back(char const&)' driver.cpp:(.text+0x58): undefined reference to `MyVector<char>::pop_back()' driver.cpp:(.text+0x6e): undefined reference to `MyVector<char>::push_back(char const&)' driver.cpp:(.text+0x7e): undefined reference to `MyVector<char>::MyVector(MyVector<char>&)' driver.cpp:(.text+0xa0): undefined reference to `MyVector<char>::size() const' driver.cpp:(.text+0xc0): undefined reference to `MyVector<char>::operator[](int)' driver.cpp:(.text+0x10a): undefined reference to `MyVector<char>::last() const' driver.cpp:(.text+0x13e): undefined reference to `MyVector<char>::~MyVector()' driver.cpp:(.text+0x148): undefined reference to `MyVector<char>::~MyVector()' driver.cpp:(.text+0x168): undefined reference to `MyVector<char>::~MyVector()' driver.cpp:(.text+0x174): undefined reference to `MyVector<char>::~MyVector()' collect2: error: ld returned 1 exit status
Anonymous
As if it doesn't even know that the definitions exist.