Francisco
I think it is a quite convoluted proof to just say that C++ template machinery is turing complete
I think that from the fact that template metaprogramming is turing complete, we can deduce the grammar is undecidable
Francisco
For example, craft a template function to calculate the first ternary tuple of natural numbers such that x^3 + y^3 = z^3
Francisco
As template metaprogramming is turing complete, we can definetely write that program, but we now from a very famous result in number theory that such program won't end, because such ternary tuple doesn't actually exist
Francisco
I'm not sure if it's truly rigurous, but kind of makes the point
Joo
Whats the difference between pointer to an array and an array of pointers?
@Chhotu
Hii
klimi
Hii
hi, what do you need
Anonymous
H Good night
Nehal
Which is a good IDE to begin programming? Please give info about IDEs.
Nameful
Notepad
that doesn't give them a compiler or build system
Nehal
With compiler?
Nehal
I am new to programming
Nameful
(Thats the point)
I had a feeling I'd get this answer
Nameful
And
Nameful
Fair point
Nameful
With compiler?
you could just download gcc for Windows (assuming you use that) and then have a go with Notepad
klimi
Mingw
Nameful
yes
Anonymous
Mingw
It's bad
Nameful
It's bad
Why is it bad?
klimi
It's bad
If you say so, in my opinion I dont like msvc
Anonymous
Why is it bad?
Buggy and doesn't support C++17 fully
Nameful
Buggy and doesn't support C++17 fully
Is that a mingw-exclusive thing? gcc hasn't been buggy at all for me
Anonymous
Sorry I deleted everything😂
Anonymous
Please stop deleting your message, Mα∂ɦµ 😁
Anonymous
Message from Mα∂ɦµ: Abhishek, for people to help you, you have to show what you did and what you are having problems with. Just posting photos of your school assignment is not going to get you anywhere. No one is going to do your homework. As regards your question, search for printf documentation on google and see what it returns. And use that to find the answer.
Abhishek Barai_Civil
Thanks madhu
Abhishek Barai_Civil
I was not knowing the rules👍
Anonymous
I was not knowing the rules👍
You have to read them after just joining lol
Anonymous
Not knowing the rules doesn't free you from penalties
Abhishek Barai_Civil
Good
Anonymous
Ohhh is it so...
That's how the law is working
Abhishek Barai_Civil
👍
Abhishek Barai_Civil
I got it don't need an explanation lol
Abhishek Barai_Civil
That's how the law is working 🤣
Abhishek Barai_Civil
Danya 🤣🤣🤣
klimi
Danya 🤣🤣🤣
Dont spam, thanks
Dima
Ot *
Nameful
Didn't expect to see Vim so high up
klimi
Vim ftw
Dima
Vim hipsters
Nameful
Vim ftw
Never thought I'd hear an Emacs user say this :')
Anonymous
punchcards ftw
klimi
Anonymous
vscode anyone?
Anonymous
i added my terminal to the settings.json file but it still doesnt work
Anonymous
overload resolution happens at function call site. function <void(int, int)> fun = calc; doesn't call calc. so no overload resolution happens.
MᏫᎻᎯᎷᎷᎬᎠ
Maaah Not knowing these things gives you a bad feeling
MᏫᎻᎯᎷᎷᎬᎠ
So what is unresolved overloaded function type anyway
Anonymous
1
Dima
offtopic
Renan
You are not allowed to use this button. 🤔
Dima
MᏫᎻᎯᎷᎷᎬᎠ
because it’s not you, dummy
Can we report spammers coming in the pm to non-admin users?
Diego
Hello everyone. Was wondering if anyone has a well done function where the Serial port is read. And decoded.
Dima
yeah same
Anonymous
Thanks sir
Anonymous
oh
Nils
int main() { char arr[] = {'h', 0, 'a', 0, 'l', 0, 'l', 0, 'o', 0}; char *arrdec[sizeof(arr) / 2]; for (int it = 0; it < sizeof(arr) + 1; it += 2) { arrdec[it / 2] = &arr[it]; } printf("%s\n", *arrdec); } Hi, any idea why this prints nothing?
Nils
Solved, it simply does not work like that 😅
Nils
Yeah. Just figured that out 😅
JCV
hi team! will be correct this ... #include <QApplication> #include <QDebug> #include <QDir> #include <QLocale> #include <QMessageBox> #include <QSettings> #include <QStandardPaths> #include <QTranslator> #ifdef Q_OS_MAC #include <CoreFoundation/CoreFoundation.h> #include <corefoundation/CFBundle.h> #endif if i need to include all above headers in other OS and just add the two latest just if MacOS detected?
Dima
hey, yes
JCV
hey, yes
that's a reply to my question?
JCV
Hey, yes
thanks both!