Bala
I need to c++ job support Is their any one pls ping me personally
A. R.
If you don't know how a computer works, someone like me will likely need to clean after you and bankrupt your company in the process like a grim reaper of shitty implementations
Couldn't have said it better myself 😄 C/C++ are powerful tools, and with great power, comes great responsibility 😁 Jokes aside, it's honestly for the best, cause somebody's gotta do it as it WILL come back to bite you in the ass later on. I'm all for getting things working and establishing a functioning system ASAP myself, but even that in moderation. If it'll come at the cost of having to refractor half the codebase which relies on a truckload of interconnected modules/components later on, I'm not gonna make the stupid decision of doing before I think.
Rose
To share code or error tracebacks, use an online pasting service like: - https://hastebin.com - https://pastebin.com - https://dpaste.org - https://wandbox.org - https://godbolt.org
Rose
User Siddhanth has 1/2 warnings; be careful! Reason: yt channel ad
Doraemon
what will happen, if you click the button but missing the update method loop?
Doraemon
in everyframe, your system will update every physics in an Update Method, which is called everyframe. what will happend if your input timming missing that Update Method?
Rose
User Algorithm has 1/2 warnings; be careful! Reason: no personal ad
Rose
nothing
User Wricoder has 1/2 warnings; be careful! Reason: well then it's offtop
Doraemon
well..
A. R.
what will happen, if you click the button but missing the update method loop?
Provide better context please What framework or lib or whatever are you talking about? What exactly do you want to know? If you're talking about GUI event handlers, it depends on implementation Some throw exceptions, some just ignore undefined events, etc.
Doraemon
OK
A. R.
I'm not even sure I understood your question properly
Doraemon
let me reconstruct my words..
Doraemon
emm
Doraemon
you konw, every graphic system and any physics system are running in a loop right? normally 30frames or 60frames every seconds
Doraemon
well, with in one single frame
Doraemon
there are always a method called like Update to deal with all the input that happened in the frame
Doraemon
and after the Update Method, normally in this kind of life cycle, there should be more method like LateUpdate excute after Update, which the LateUpdate is not used to deal with the input action
Doraemon
my qeustion is
Doraemon
what if , when you give an input action to the system, like you click the button of your mouse, but the timming is missing the Update Method excution. what will system do to deal with this input?
Learning
next cpu time slice will capture it
A. R.
you konw, every graphic system and any physics system are running in a loop right? normally 30frames or 60frames every seconds
Sure, the render cycle I got what you mean If the events are handled properly, the inputs will be buffered and in the next execution cycle the frame will be updated
A. R.
this aint unity engine
I don't think they're talking in context of that
Anonymous
thank you
Ludovic 'Archivist'
And learning how computer works will bring us to learn assembly language, right ?
It depends on how deep you want to go in that rabbit hole. Assembly is definitely not as deep as it goes
Jsk
Please i want help me c++
Jsk
Can you help me write C++ code for these requirements 🙏🏻
Chat Boss
Can you help me write C++ code for these requirements 🙏🏻
ㅤJsk sent a huge message, it has been re-uploaded as a file
вадим
It depends on how deep you want to go in that rabbit hole. Assembly is definitely not as deep as it goes
Alright, and what can be deeper than Assembly to know how computer works ?
harmony5 🇺🇳 ⌤
Machine code?
harmony5 🇺🇳 ⌤
Logic gates, too
вадим
Logic gates, too
It's useful for a programmer to know that ?
Ludovic 'Archivist'
Alright, and what can be deeper than Assembly to know how computer works ?
Microcode rewriting, prefetcher internals, register aliasing, pipelining, interweaving...
A. R.
It's useful for a programmer to know that ?
If you're an embedded programmer for example, perhaps.
Ludovic 'Archivist'
𝔖𝔞𝔯𝔬
Microcode rewriting, prefetcher internals, register aliasing, pipelining, interweaving...
I hear a lot u can became a programmer or a software developer by yourself without schools or degrees Is learning this stuff by yourself realistic?
𝔖𝔞𝔯𝔬
Without universities or courses
𝔖𝔞𝔯𝔬
Is “self thaught developer” still a thing?
Ludovic 'Archivist'
I hear a lot u can became a programmer or a software developer by yourself without schools or degrees Is learning this stuff by yourself realistic?
It very much is, no need to rush it and take your time. You can't learn any craft in hours so it may take a year to learn the basics, then 3 more to learn the details, then 5 more to get more in depth, and 10 years after you will still be learning new things. Invest in yourself and learn a thing. Find something you want to make, make it, and then look back at what you learned
Ludovic 'Archivist'
I have never been taught C++ and practiced it for 10 years now, I still learn new things every other day
𝔖𝔞𝔯𝔬
How will it take to be profitable with programming 😭
𝔖𝔞𝔯𝔬
In this huge lernaing process in what point u can start thinking about developing as a job
Ludovic 'Archivist'
In this huge lernaing process in what point u can start thinking about developing as a job
Programming is a tool, not an end goal. Work your way up in deeper tech positions. If you are self taught, you may want to start with customer support or QA work, improve your skills and work your way up to developer. Try to stay at a position that you find enjoyable and in which you feel competent, there is no use getting up to manager to be a shitty manager from being an amazing dev
Ludovic 'Archivist'
Do programming at home on the side for fun or to automate boring parts of your job. Use the languages that fit your goal best. A lot of programmers started with a book called "Automate the boring stuff with Python" which is an amazing entrance door to programming. Maybe come back to the harder languages and system after that if C++ feels overwhelming
Anonymous
ernaing process in what point u can start thinking
Viacheslav
Alright, and what can be deeper than Assembly to know how computer works ?
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
Viacheslav
Alright, and what can be deeper than Assembly to know how computer works ?
Ofc, if you want the lowest of the lowest of the lowest part you can learn how the transistors work. To learn the transistor you definitely need to learn electricity, resistors, capacity so on, this is the lowest of the lowest by the way
𝔖𝔞𝔯𝔬
From there u go on electrons and atomic bonds 😎
27Onion
From there u go on electrons and atomic bonds 😎
and then all the way down to the quantum physics
Simple Sorcerer
how to extend define in an expression ( struct ) ? #define ABC asd struct a{ int asd; }; .... a b; b.(ABC) = 10; // b.asd = 10
Simple Sorcerer
It doesn't make a lot of sense here, but I need to know how to pull it off.
klimi
It doesn't make a lot of sense here, but I need to know how to pull it off.
what do you mean to "extend the define"? To define it as something else?
Simple Sorcerer
what do you mean to "extend the define"? To define it as something else?
no. use define instead of the variable itself ( I gave an example, it doesn't work )
Simple Sorcerer
No more problems. you can use define as a normal variable.
klimi
#define ABC asd struct a{ int asd; }; int main() { struct a b; b.ABC = 10; // b.asd = 10 } Works fine for me... just not use .(ABC) but .ABC, it's just string match
Simple Sorcerer
he's very annoying.
Simple Sorcerer
he's very annoying.
I didn't even put the code in the code box because of this :)
Simple Sorcerer
This looks dangerous
and yet it's being used in large projects
Simple Sorcerer
This looks dangerous
I saw it for the first time today.
Simple Sorcerer
Is there an off-topic here?
𝔖𝔞𝔯𝔬
Is there an off-topic here?
Yes but we play Minecraft in there
Rose
Is there an off-topic here?
Offtopic discussions should be done in the C/C++ Offtopic group. Please take your discussion/questions there.