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
Anonymous
H
Good night
Nehal
Which is a good IDE to begin programming? Please give info about IDEs.
Nameful
Dima
Nameful
Notepad
that doesn't give them a compiler or build system
Nehal
With compiler?
Nehal
I am new to programming
klimi
Nameful
And
klimi
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
Anonymous
klimi
It's bad
If you say so, in my opinion I dont like msvc
Anonymous
Dima
Nehal
Anonymous
Anonymous
Sorry I deleted everything😂
Nehal
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
Not knowing the rules doesn't free you from penalties
Abhishek Barai_Civil
Abhishek Barai_Civil
Abhishek Barai_Civil
Good
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 🤣🤣🤣
Dima
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 :')
klimi
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
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?
klimi
JCV