𝔖𝔞𝔯𝔬
and yet it's being used in large projects
Just to make a field with different names?
𝔖𝔞𝔯𝔬
I mean, u must have seen that being used in some other way
𝔖𝔞𝔯𝔬
Even if I’ll still avoid that
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
How to fix it in gcc
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
https://github.com/linuxnyasha/utempl/
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
Simple Sorcerer
Remove this bot, it's just annoying
Chat Boss
ㅤ🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈 (";(" sent a huge message, it has been re-uploaded as a file
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
#include <utempl/loopholes/counter.hpp> auto main() -> int { static_assert(utempl::loopholes::Counter<int>() == 0); static_assert(utempl::loopholes::Counter<int, void>() == 1); };
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
https://github.com/linuxnyasha/utempl/
https://github.com/linuxnyasha/utempl/blob/main/include/utempl/loopholes/counter.hpp
klimi
@K11M1
I'll forward your concern to the admin group :)
🏳️‍🌈GNU/Линуксяша-libre🏳️‍🌈
https://godbolt.org/z/rKPh7EMEf How to fix it on gcc
Chat Boss
ㅤSoprat//SvinkaPeppaForever sent a code, it has been re-uploaded as a file
Rose
User Priyanshu has 1/2 warnings; be careful! Reason: ad
Chat Boss
ㅤQadeem Niazai sent a code, it has been re-uploaded as a file
Ludovic 'Archivist'
Hardware works on digital hardware principles. Digital design is a field of hardware description with hdl languages such as verilog/vhdl so on. If you want to learn how the cpu and hardware communicate together you can buy any fpga with a cpu on the board. Let's say zynq7000 and make some code for hardware part of the system named programmable logic or the part where such companies like NVIDIA test their products
But you will miss a whole swathe of the design that I pointed out: no prefetcher, no microcode translation, no register aliasing, no pipelining... It's like studying the workings of an engine by moving a piston with your hands, you miss everything that makes the modern CPU what it is and how it works
Thomas
Any website/discord/telegram which has daily C language challenges for all levels of developers?
zawkin | 🇵🇸
Guys I am getting undefined reference to `Stack<Task>::getData()' error. How can I share the code? It saying sharing links not allowed
zawkin | 🇵🇸
when I compile main.cpp and Stack.cpp it works, but when I try to compile all files at once I am getting the error
zawkin | 🇵🇸
What command are you using to compile all files?
g++ .\src\main.cpp .\src\globals.cpp .\src\task_manager.cpp .\src\Category.cpp .\src\Stack.cpp .\src\Task.cpp -I .\include
zawkin | 🇵🇸
i have 2 folders: src and include
A. R.
A. R.
There are a couple good YT channels and other sources as well, but usually the problems are not directly C++ related, or are too abstract to be viable as a trivial exercise in the language
A. R.
Leetcode has enough exercises to keep you sufficiently occupied for a while, after that you'd want to do large personal projects
Артём
Because leetcode is too popular xD
A. R.
Numa
Hi everyone, just wanted to ask if there is a way to connect a smartwatch to a website without the need to create a mobile app?
Numa
Like direct bluetooth? Cause we need to collect health data from it then we're gonna use it on our website. So we need a more reliable way to connect it.
harmony5 🇺🇳 ⌤
Create a smartwath app that uses the sites backend api
harmony5 🇺🇳 ⌤
Numa
Thanks for the ideas everyone, really appreciate it
Rose
Purge complete.
𝔖𝔞𝔯𝔬
Guys there is an approach I’ve been using for a while but idk if I’m doing the right thing, making a a private field that can’t be changed outside of the class, And then making a public constant reference to the private field, like a read only value that can be changed only in the class scope, without the need of any get functions
𝔖𝔞𝔯𝔬
Does it have any performance issues?
𝔖𝔞𝔯𝔬
Since it’s just references
Chat Boss
ㅤKacem sent a code, it has been re-uploaded as a file
Pavel
ㅤKacem sent a code, it has been re-uploaded as a file
It looks like you're ignoring zeroes at the end + you don't invert the bits in the result So what would be 100, becomes just 1.
Dmitry
Since it’s just references
getter work like ref. but u can also use and setters.. depending on the purpose..
Devil Within
hey everyone
Devil Within
i am a college student stuyding software engginering i am curenntly making a AR game in unity it's my final project for this semester
Devil Within
i was wondering could anyone give me tips to learn C in genral like what do you recommend anything if possible
Rose
i am a college student stuyding software engginering i am curenntly making a AR game in unity it's my final project for this semester
Please check out this channel - @Resources for information on learning sources for C and C++ (books and videos) and Frequently Asked Questions.
harmony5 🇺🇳 ⌤
Isn't there an option to see spam messages for non-admins?
songs衡
嘿嘿,大家好
Pavel
嘿嘿,大家好
Please read the rules (link in the description)
Devil Within
C for Unity?
wait it's C#
Devil Within
it's not the same right ?
𝔖𝔞𝔯𝔬
Devil Within
At all
ah i see
A. R.
You'd want to go to Unreal Engine for that
A. R.
Although that only supports C++ and blueprint iirc
Devil Within
Oh
Dmitry
ah i see
You need C, C# or C++ , decide pls ?
有馬 かな
class CV_EXPORTS_W AgastFeatureDetector : public Feature2D what is CV_EXPORTS_W? shouldn't given the class name after the keyword class? why it add another words between?
mito
A similar macro is present for Tensorflow as well, TF_EXPORT. Since windows DLL can have a max limit of around 65k symbols, there are reasons to explicitly choose which symbols you want 100% present in the DLL
mito
I assume the same is also the case for OpenCV
mito
So, this is a Windows OS related macro definition, which is irrelevant to Linux actually.
mito
You can probably take a look at this article to get a better understanding. https://learn.microsoft.com/en-us/cpp/build/importing-and-exporting
Elena
it's not the same right ?
No. One of them uses a runtime with a JIT compiler while the other is a "compiled into machine language for the corresponding architecture" language
Brooklyn
C#
Use unity
Devil Within
Use unity
Yeah i do use unity
Thomas
Surely this group should be C/C#/C++ ?
矢田
Surely this group should be C/C#/C++ ?
Ewww, remove that abomination in the middle
A. R.
Surely this group should be C/C#/C++ ?
We do not claim that abomination jk, it's a decent language, though perhaps too abstract for the concepts this group is made for.
klimi
Surely this group should be C/C#/C++ ?
C and C++ are much closer to each other than C#.