silver
Guys I have a question how well does orbot vpn mode work
Anonymous
Yeah
Anonymous
Go on.....
Diana
Hi guys! Can you recommend a good book with examples of solving?
Diana
Solving of what?
C++ issues, the difficult ones
Anonymous
Diana
Well, in general. I am a student (Computer science) and I want to improve my computer skills. Maybe some general methods of solving.
Anonymous
Both)
https://github.com/ossu/computer-science
Diana
Thanks a lot
V01D
Thats really cool, thanks for sharing.
Deleted Account
What do you usually do with multilingual fit?
Deleted Account
Windows platform
Anonymous
What?
Deleted Account
Save to a resource file or use a stand-alone file?
Anonymous
What is multilingual fit?
Deleted Account
multilingual support
Vlad
You mean localization?
Deleted Account
yes
أسامة
Windows platform
it depends on platform, rc files are good on windows, also there is several frameworks for l10n such as gettext
Deleted Account
Yes, I don't know what to do if I use rc files.
Anonymous
Have you tried googling?
Deleted Account
yes
Deleted Account
I want to include localization in a exe file, but google methods are multiple dlls. e.g. zh-CN.dll ...
Deleted Account
https://docs.microsoft.com/en-us/previous-versions/cc194810(v=msdn.10)?redirectedfrom=MSDN
Anonymous
C++ tutorial
Vlad
hmmmm
You're gonna recompile it everytime new localization is needed?
Deleted Account
yes
Anonymous
C++ tutorial
/warn warn tutorial
Deleted Account
https://docs.microsoft.com/en-us/cpp/mfc/tn057-localization-of-mfc-components?view=vs-2019
Deleted Account
https://docs.microsoft.com/en-us/previous-versions/cc194810(v=msdn.10)?redirectedfrom=MSDN
Deleted Account
It seems that Microsoft recommends using multiple DLL files for localization use.
Anonymous
Hi i'm C++ developer but it's hard to me to find a job i don't know which topic to start i know basics like algorithm and OOP. I don't have any goal or etc
Pavel
Hi i'm C++ developer but it's hard to me to find a job i don't know which topic to start i know basics like algorithm and OOP. I don't have any goal or etc
Try to write some very simple app (in the field that you interested in). E.g. when I was learning C++ I was interested in making games (planned to find a job in game dev), so I started writing a small 2d game, learning algorithms and techniques related to this task. That payed off when I actually started applying for job openings (ok, in my case I was lucky because most of the test tasks I encountered was about writing very simple 2d games)
Anonymous
https://gist.github.com/i6o6i/4d588435cd25c1a47fcea1eab796f807
Anonymous
anyone know why compilation is failed here?
Jayesh
/get cbook
olli
https://gist.github.com/i6o6i/4d588435cd25c1a47fcea1eab796f807
what are you trying to do here? std::promise<std::result_of<F(Args...)>> p; queue.push_back(bind(p,f,args...)); cv_jobsadd.notify_one(); return p.get_future(); Your call to std::bind doesn't seem right, the first parameter is the callable object and all the following parameters are the parameters passed to the callable. Does this (requires c++17) do what you want? Create a std::function<void()> that calls the passed callable with the required args and after this callable returns sets the value of the promise. template<class F, class ...Args> std::future< typename std::result_of<F(Args...)>::type > ThreadPool::emplace_back( F&& f, Args&&... args) { using RetType = typename std::result_of<F(Args...)>::type; std::promise<RetType> p; queue.push_back([&](){ if constexpr (std::is_same<void, RetType>::value) { std::forward<F>(f)(std::forward<Args>(args)...); p.set_value(); } else { p.set_value(std::forward<F>(f)(std::forward<Args>(args)...)); } }); cv_jobsadd.notify_one(); return p.get_future(); }
Anonymous
Best book for c++
V01D
Best book for c++
Read the rules
Anonymous
Okay
Anonymous
How to use extern
V01D
extern type identifier;
Anonymous
Is used for globalise a variable
Anonymous
Type identifier ?
Nils
Type identifier ?
int, char, void, etc
V01D
type = int, char, float, etc. identifier = variable name
V01D
Is used for globalise a variable
Idk about it's usage in C or C++ - I only used it to share functions from C to assembly
Anonymous
Confused ?
Anonymous
I thought extern static for variable initialisation and its availability
V01D
In that case it would be something like: //file.h extern void doStuff(); ;file.asm global doStuff ; Labels in asm are basically functions some_label: call doStuff
V01D
That's the only time I used the extern keyword.
Anonymous
🙏 Thanks Rose
Vlad
Is used for globalise a variable
extern means external linkage
Vlad
With extern symbols being available outside of the TU they were declared in
Anonymous
What is your skill level? 🤔
am i allowed to share my github link?
Renan
am i allowed to share my github link?
See rules. And quote it, because I lost it. 😅 👍
Renan
## 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 to solve an assignment/test/whatever without trying it first yourself will get you a warn or will get you BANNED. We won’t write a code for you, but we can push you forward and suggest something. * Before posting a long code snippet think twice and read the Resources section below. * No “best book” or “best youtube channel” requests, use /get cbook and /get cppbookguide chat commands. * No “best ide” requests, use /get ide chat command to see the suggestions. * 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 and will get you BANNED. * 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 dev C++ or turbo C/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. * If you want to post a link or some article in this chat you will need an admin approval first ## Resources C/C++ group India: http://t.me/c_cpp_india 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.
Just found it. 👍
Anonymous
i read it but i don't know it could be count as advertising
Anonymous
What have you build, C++ developer?
I did a tic tac teo with c++, MySQL Let Go and algorithm implementations
Vlad
MySQL for tic tac toe? wut?
Anonymous
Nope edited different project
Anonymous
Sorry bout that
Anonymous
/unmute @foxeri
Renan
MySQL for tic tac toe? wut?
Next level, do it for checkers. 🙂
Anonymous
Lol
Anonymous
I actualy put an SQL in tic tac teo to hold players move
Vlad
Make a tic tac toe via SQL queries interface :P