Ludovic 'Archivist'
Ludovic 'Archivist'
If there is a genie in this chat that IS a wish
Ludovic 'Archivist'
Rose
User Mohammad has 1/2 warnings; be careful!
Reason:
don't click every blue text you see 😐
Rose
Not enough arguments!
Pavel
Is it possible having a variadic template make it generate a tuple which contains a subset of the variadic arguments based on some condition?
E.g. if I want to have a function that gets an argument pack and returns a tuple of default-constructed values of that argument pack, except those types that pass std::is_empty_v<T> check.
Some example code to demonstrate what I want:
https://wandbox.org/permlink/gz2PcwAkuzS0kTeA
Pavel
zahra
Friends, you worked with cgal to implement 3D data?
Mr.
Why the intelligence failed to work in my VS Code, the workspace is connected to a remote (redhat).
Mr.
part of the code in comment block is highlighted
Mr.
Every time I reconnected the remote, everything went fine. But a a latter, the issues went out again
Rose
Friends, you worked with cgal to implement 3D data?
Don't ask meta questions. In other words, don't ask to ask. Questions like "Does anyone know XYZ?", "Has anyone used XYZ?" or "Can someone help me?" are all considered meta questions because they don't specify what your actual problem is.
These questions give the impression that you want people to approach you and offer their help as if they don't have any other work to do. Now doesn't that expectation make you look like an idiot?
If you have a question ask it directly. You are more likely to get a response that way.
Y
How long does it take you to learn the C++ windows.h library?
klimi
Prof AY.
What code is best for the creation of Block Chain?
klimi
mito
Rose
User borealis has 1/2 warnings; be careful!
Reason:
don't click every blue text you see 😐
borealis
thanks
Prof AY.
markoz
hello i am a beginner in programming which is the best site to begin with
H
Is $ used in c? What does it mean?
Ivan
2718
maybe also Inline assembly with AT&T syntax
zahra
How can I send the code and its errors so that you can help me?
zahra
https://dpaste.org/
zahra
https://dpaste.org/
my_namespace::MultiLineString3<double> mls;
This part of the error code takes how to solve?
\Device\NUL
\Device\NUL
It depends actually how long you learn it but it's better than POSIX
imminent
what
Jer
Yo guys I got another question, this time with C, not C++
#include <stdio.h>
int main() {
int age = 25;
//printf("c-programming");
printf("%d", age);
return 0;
}
What is the "%d" in the printf function?
Mr
Jer
https://www.geeksforgeeks.org/d-in-c/
Look over this topic
So is it also a placeholder for where the output information will go, like if there is a string
var = string "dog";
printf("I'm going to walk the", "%s", var)
And because %s is at the end of the string, it will appear there?
Like will this put it at the front?
var = string "dog";
printf("%s","I'm going to walk the", var)
Jer
Because I get that it specifies the type of data, but I'm just wondering if there was more functionality to it
Jer
星尘
For example,if there is a float.
You can add things like ".5" after the "%".It means leave five decimal places.
(poor at English,misunderstanding maybe)
星尘
Jer
like "%.5f"
This is good information and thank you, but this was not my question 🤣 but thank you I'll remember this, it will probably help me later :)
星尘
thx.
星尘
😊
Jer
My question right now is, if I want to put multiple datatypes inside a "printf" function, how would I do this?
printf("%s %d", var1 var2);
Doesn't work, (yes the variables are defined)
星尘
星尘
Maybe wrong type?
星尘
星尘
Or may I take a look at the error
Jer
Actually no, I got it to work
Jer
#include <stdio.h>
int main() {
int age = 25;
char hello[12] = "hello world";
//printf("c-programming");
printf("%s %d", hello, age);
return 0;
}
Cool
星尘
Oh,I almost forget that.
星尘
and that's in c++.
星尘
😂
星尘
my bad.
Jer
星尘
Learning both two languages always leads to some questions which is hard to find.
星尘
😿
Jer
星尘
Yeah,and will also be satisfied when find them.
星尘
both OK.
Anonymous
y
Rose
Purge complete.
Chat Boss
Y MDL sent a code, it has been re-uploaded as a file
Y
I was so bored that I sent a piece of code that even a kid could write.
Y
windows循序渐进It's a very bad book
Y
I've already seen it.
If you want to learn the windows.h library from China, please don't.
Ziky
May I ask you what is your goal?
星尘
Jer
Jer
星尘
Maybe.
Y
Danya🔥