Ludovic 'Archivist'
Demn I was looking for something like this for a long time.. time to use dafny
Dafny is really nice, I wish the support for C++ was better
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
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?
Prof AY.
What code is best for the creation of Block Chain?
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
Rose
hello i am a beginner in programming which is the best site to begin with
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
Pippi
How long does it take you to learn the C++ windows.h library?
I m currently studying that library now and I think its best you just choose the function you want to implement and study it very well lets say the setclipboard(). Just try and understand how it works
H
Is $ used in c? What does it mean?
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?
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
星尘
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)
Jer
Add a ' , ' between the var1 and var2,that might help you.
Didn't work, I tried that before hand, but it gave the error of too many arguments when I tried to compile, is something like this not possible?
星尘
Maybe wrong type?
Jer
%s is used for string and %d is used for int.
Yes I'm aware, they use the correct 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.
星尘
Actually no, I got it to work
Using the string should include it first
星尘
and that's in c++.
星尘
😂
Jer
Using the string should include it first
Well, I have played with C++, but I'm learning C right now lol
星尘
my bad.
Jer
my bad.
All good :)
星尘
Learning both two languages always leads to some questions which is hard to find.
星尘
😿
星尘
Yeah,and will also be satisfied when find them.
Jer
Yeah,and will also be satisfied when find them.
Last time I tried to have a conversation here, they wanted me to bring the conversation to an off topic channel, want to direct message or go to the off topic channel?
星尘
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?
星尘
I've already seen it. If you want to learn the windows.h library from China, please don't.
Right, many books in China like that are always useless and boring.
Jer
Right, many books in China like that are always useless and boring.
What do you mean? :o the books just don't have helpful information?
星尘
What do you mean? :o the books just don't have helpful information?
Yeah, just imagine, if you are now a Chinese student, the book and your teacher still use old standard like c99. I'm sure you will get mad about that.
Jer
Yeah, just imagine, if you are now a Chinese student, the book and your teacher still use old standard like c99. I'm sure you will get mad about that.
My friend from China that I mentioned to you, is very intelligent.. so maybe the specific school is to blame..
星尘
Maybe.
Y
May I ask you what is your goal?
Learn windows.h library
Danya🔥
Ziky
Learn windows.h library
How would you know you are done?