Liam
Any benefits to use this?
It's just another implementation of STL.
Dima
from Micro$osft, bruh
Liam
from Micro$osft, bruh
lol, which could be shortened as M$.
Anonymous
I don't understand What are non-referenceable types? https://github.com/microsoft/STL/blob/7f65140761947af4ed7f9dfc11adee8c86c9e4c2/stl/inc/type_traits#L200
Liam
from C++ standard
Anonymous
Thanks so much!
Lionel
1. void (*funcptr[10] ) (int, int) - _an array of integer pointers to a function_ 2. void ((*funcptr)[10]) (int, int) - _a pointer to array of integers pointing to a function_ Does the second one exist?
Shubham
Does anybody tell me what are the best online certification courses for c/c++?
Dima
Gosh
H̲i̲L̲e̲v̲e̲l̲
hsoG
C.
Means?
No certification is better than showing your skills with a program you made.
Shubham
No certification is better than showing your skills with a program you made.
Yaah that's true. But in my college it's compulsory to get certified from any online/offline course. Thats the problem
C.
Yaah that's true. But in my college it's compulsory to get certified from any online/offline course. Thats the problem
Lol wtf Then get a certificate in Coursera, Udemy or something. It'll not matter that much, people from all types of skill levels can get them.
Shubham
What are some tips or suggestions to learn c/c++ in good way?
C.
1. Read a lot. 2. Always Google things first. Probably someone already asked the same thing as you and got answered. And it's always important to know how to ask. 3. Study Algorithms and try to learn some pseudo coding (the latter is not necessary) 4. Start by the basics. Make a calculator in the terminal, some fibonacci solver... Simple things.
Anurag
/ban
Dhileep
Hii
Dhileep
Hii guys
C.
yw
Lionel
I've pinged u in dm
Shubham
Anonymous
Guys need help! C language I have array of 52 letters (uppercase and lowercase) I need generate all possible values of this letters in 1, 2, 3, 4, 5 spots, like this: a, zabSs, aB, ZAk, soS, Kkac and so on. I done for 1 spot using for loop, but can't figure out for 2,3,4,5 spots. Can someone help me with it?
Anonymous
but 52!*5 will be total combination.. too much..
C.
but 52!*5 will be total combination.. too much..
for loops are better in this case.
C.
You could: a) Run 5 different For loops with each one detecting one of the inputs (simplest but too low on efficiency) b) Run 5 nested loops starting at a value that won't be used (like '0') in the first 4, and then you count each possibility
Anonymous
Can I PM you?
Anonymous
53!53!53!53!52! Probably this ^
53*53*53*53*52 Probably this^
C.
53!53!53!53!52! Probably this ^
But recursively, it would go with this many iterations
Anonymous
Okay, I thought that's the total combinations.
Anonymous
But recursively, it would go with this many iterations
stack will be at 5-10 functions and will be cleared as you go on printing the combination
C.
stack will be at 5-10 functions and will be cleared as you go on printing the combination
You want to count the number of combinations, not print them.
Anonymous
C.
N!/(N-P)! ?
Yury
hi guys. i’m trying to write simple web-server on C. here is my includes #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <arpa/inet.h> #include <string.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/sendfile.h> in code I have sendfile(fd_client, fdimg, NULL, 90000); function. but compiler say there are should be 6 arguments instead of 4. I run my code on mac, but seems like on linux everything it’s fine …
C.
.. see its about outputting combinations
Oooh, well, he showed me the code on DM. It's string comparing.
Promild
## Rules #pinned * You are not entitled to an answer, getting angry about not answered questions will get you warned. * Not checking your problem in google (or any other search engine) first will get you a warn. * Asking for something that is in the pinned message right after joining WILL GET YOU BANNED. * C/C++ discussion preffered (assembly also allowed), asking about other languages (or groups for other languages) right after joining will get you BANNED. * Reverse enginnering, hacking and related topics are allowed, but asking to hack facebook, instagram, etc. is NOT allowed. Also if you ask "how to become a hacker" and obviously have zero knowledge on anything related to that you may get warned or banned. * Legitimate requests for help on code and programming questions are welcome. A request is considered legitimate if it describes your problem, what you've done so far and what went wrong. Requests such as "write my program" or "do my homework" are never considered legitimate. Asking not legitimate questions will result in a warn or ban. See https://stackoverflow.com/help/mcve on how to write good questions. * Asking for book recommendations is ok, but "pls give pdf book" is not allowed, find books by yourself. Posting illegally copied books (or links to those books) is also not allowed. * Only English language is allowed, if you speak shitty English or don't understand anything in English YOU WILL BE BANNED. * A little bit of programming related memes, jokes, shitposting are allowed. * NSFW content (porn, nudity, etc.) is not allowed. * Spamming/advertising (job posts are also ads, so ask an admin before posting) will grant you a warning or an immediate ban if you do it right after joining. * Religion, politics and ideological topics are forbidden. * Long code snippets must be posted via a snippet website(links below), posting pictures of code and posting long snippets in the group is not allowed. * If you encounter a problem, while using turbo C++, you will not be helped, use another more modern IDE. * Don't post compiled executables, that is obviously a security risk. * Personal messages without asking beforehand are not allowed. ## Resources About asking good questions: * [English](http://www.catb.org/esr/faqs/smart-questions.html) * [Translations](http://www.catb.org/esr/faqs/smart-questions.html#translations) For posting long code snippets: * [GitHub Gist](https://gist.github.com) * [Ubuntu Paste](https://paste.ubuntu.com/) * [Pastebin](https://pastebin.com) ## Reports If you notice any forbidden content, please use the /report command while responding to the offending post to report it to the admins.
Ll
Yury
Look at the sendfile()'s documentation.
i’m pretty new in C. i can’t find docs😁. can u help?
C.
Probably you'll get to the site cpp reference.
Anonymous
I got some. Where to send??
Let the person learn how to google
Anonymous
https://pastebin.com/ynGJED9P there is my code
klimi
i cant find this function on devdocs(dot)io and here docs.microsoft(dot)com
Yury
I found some on web tutorialspoint.com/unix_system_calls/sendfile.htm http://man7.org/linux/man-pages/man2/sendfile.2.html also here it is
Yury
but compiler asks for 6 args, on macos.
Ms
How to uppercase letter conver into lower case in string without use upper or lower case use?
Ms
How
Yury
guys, this is my function signature↓ sendfile(int fd, int s, off_t offset, off_t *len, struct sf_hdtr *hdtr, int flags); here it is also in Linux↓ sendfile(int out_fd, int in_fd, off_t *offset, size_t count); can you help me to add 2 args safely to keep compatible?
Yury
I have working function but with Linux signature
Falcon13
Does anyone know good tutorial for cpp ?
Falcon13
Please suggest good course or book for beginner level
Anonymous
#googleit
Udemy.....
Anonymous
Best h
Anonymous
Udemy.....
No it's not
Anonymous
Best tutorials are in the books
Anonymous
Don't want spam today but.. last question: how can I add 2 characters "a" and "b" to get "ab" in C? The most important thing "a" and "b" stored in array and looks like: letters[0] and letters[1]. So, letters[0] + letters[1] should give me variable which will equal "ab".