Daulet
Yes like the docs of rust
Official docs not exists. Only official thing about C++ is ISO specification.
Daulet
Show me
https://isocpp.org/std/the-standard
Anonymous
So how am I going to learn without docs
Anonymous
MP4 is a container that can support several codecs. Some codecs are proprietary. Most of them have been at least reverse engineered, but all of them are convoluted and complicated messes
I agree with you they are containers... I did not make myself really clear... MP4 files and the rest of believe are internationally accepted standards of storing bytes in files... Like these extensions are like tags...which when the operating system sees...it knows how to process... I used an MP4 file because it is related to the graphics card...and there are different parameters which the graphics requires to display the contents in the file...
Anonymous
Hello please does anyone know how to get started with hardware
Anonymous
Telling me something about mutual contact..
Anonymous
Your graphic card can't decode a video file without being provided with the correct codec and instructions. Instructions you will need to write
Having switched the os from r to p mode... How do I give the graphics card the instructions and codec to process files??
Anonymous
This is where I'm basically stuck...
Daulet
Having switched the os from r to p mode... How do I give the graphics card the instructions and codec to process files??
https://docs.nvidia.com/video-technologies/video-codec-sdk/nvenc-video-encoder-api-prog-guide/
Anonymous
Your graphic card can't decode a video file without being provided with the correct codec and instructions. Instructions you will need to write
Why I'm basically asking is because I've seen books that writes directly to the graphics cards with ints.... But reading a file from disk and writing directly to the graphics cards i haven't seen...
Daulet
Drivers, Libraries provide API
Anonymous
PCI express?
I dont understand...
Dima
lol
Daulet
Having switched the os from r to p mode... How do I give the graphics card the instructions and codec to process files??
It depends on hardware. Nvidia open sourced drivers. First you need to read specifications of graphic hardware
Dima
its funny seeing tons of pull requests in nvidia repo just to fix comment typos
Anonymous
It's all clear now...
Anonymous
Can you message me privately please...
Anonymous
Good way to become contributer =)
I'm really finding it hard to use telegram...not familiar...
Sleeves
please how do i debug an interactive program ?
Sleeves
a program that requires input from users like a calculator
Sleeves
how can i debug that in vs code
Dima
what
Инна
how can i debug that in vs code
You can put red dots on the left in the code
Sleeves
Anonymous
what
In your profile is the picture of the bot in the other group
Sleeves
You can put red dots on the left in the code
thats setting a break point , is it not
Инна
it requires input from users
These dots launch a debug in the process of execution that line of code where there is a dot
Sleeves
ok thanks, im assuming i set that at the points that take in input , like getchar () = EOF
Инна
If you need to check what's going on in the input, then yes. Then, by necessity, in the lines where these inputs change (so, why else we need debag)
Ludovic 'Archivist'
Anonymous
I don't think I did, but some admin may have
Is there a way to /warn people in here ?
Dima
yesss
Dima
you better move to
Anonymous
Can you check whether anyone warned me ?
Dima
#ot
Anonymous
Oh ok, I just got banned from rust and I thought it is this channel
Dima
oh, yes, we forgot to ban you, bye
Anonymous
/warns
Thanks
Dima
jk
Anonymous
jk
You seem to be very competent
Anonymous
Where would you start with programming
Ahmed
When should we use volatile keyword before pointers considering embedded C and C? (examples on the web are not well explained)
Anupam2.7
https://pastebin.com/JkfAYaK8 What is the use of line 13-16 as it does not affect on the output? I found this source code on GfG's Static variable article(https://www.geeksforgeeks.org/static-keyword-cpp/)
Ludovic 'Archivist'
https://pastebin.com/JkfAYaK8 What is the use of line 13-16 as it does not affect on the output? I found this source code on GfG's Static variable article(https://www.geeksforgeeks.org/static-keyword-cpp/)
It is the definition of a constructor. It is indeed useless in this context and you should not write an empty constructor. You should at the very worst define it as default class MyClass { public: MyClass() = default; };
Anonymous
Is c++ a trend language?
Ludovic 'Archivist'
Is c++ a trend language?
No, unless you acknowledge trends spanning a few decades
Ludovic 'Archivist'
C++ is unlikely to go anywhere in the near future
Ludovic 'Archivist'
Trends come and go, industry stays
Anonymous
C++ is unlikely to go anywhere in the near future
Why is it the fourth best programming language in views of public
Anonymous
Says statista
Daulet
Is c++ a trend language?
V8, tenserflow, skia. A lot of projects use C++.
Ludovic 'Archivist'
Why is it the fourth best programming language in views of public
Because it is an industry standard, not a trend
Anonymous
Because it is an industry standard, not a trend
So you have to work together with others on C++ or you can do nothing alone?
Anonymous
Choosing a programming language is harder than choosing an os 😂
Ludovic 'Archivist'
When should we use volatile keyword before pointers considering embedded C and C? (examples on the web are not well explained)
Volatile should be used when you want a read and a write to memory (which may be a memory mapped device) to happen absolutely. It should not be used for synchronized code as it gives you no guarantee if several threads do exist. For that use atomics. Volatile is not aware of memory cache and two concurrent writes to different variables are not isolated
Ludovic 'Archivist'
So you have to work together with others on C++ or you can do nothing alone?
Working alone with C++ is absolutely doable, as any indie Unreal Engine game developer will attest. C++ is very very good for abstraction of complex systems
Ludovic 'Archivist'
It's for games ??
c++ is the lingua franca of gamedev, particularly for game engines and parts of games that are performance critical
Anonymous
It is like working for nothing xD