It's interesting that C23 has adopted 'constexpr' as well although at this juncture `constexpr` is primarily intended for constant expressions and variables, rather than functions.
@@MikeShah In the meantime, I've been having fun using '' (C++20) and '' (C++23). Looking forward to the implementation of modules as in 'import std;' in C++26. The classic C++ "hello world" program will be forever changed: import std; auto main()-> int { std::println("Hello, World!"); }
@@GaryChike Indeed, will finally catch up with the times. I've been briefly playing around with modules, looking forward to the day of getting rid of header files 🤣
You can run make from vim with :make, or otherwise run any shell command when in command mode with "!some_command". VIM probably has other plugins to do something similar to Visual Studio, but VIM is by default a text editor. Visual Studio uses its own build system behind the GUI.
@@MikeShah I’m having a strange error. I used ChatGPT to set up my Makefile (Because I don’t know how to) , and everything works fine when I include in my project. However, as soon as I call glfwInit() or any other GLFW function in my project, I get an error. After error, I experimented a bit and tried using the full path, relative path, and even asked ChatGPT for help, which then rewrite my Makefile. However, nothing seems to be working still ...
Thank you so much! I keep confusing the two, I think this helped me one step further
Cheers!
Very nice tutorial 🧊 🎉🎉🎉
Cheers!
It's interesting that C23 has adopted 'constexpr' as well although at this juncture `constexpr` is primarily intended for constant expressions and variables, rather than functions.
I suspect C29 'might' add the ability to work with functions after they see adoption, but C is known to evolve quite slowly :)
@@MikeShah In the meantime, I've been having fun using '' (C++20) and '' (C++23). Looking forward to the implementation of modules as in 'import std;' in C++26.
The classic C++ "hello world" program will be forever changed:
import std;
auto main()-> int {
std::println("Hello, World!");
}
@@GaryChike Indeed, will finally catch up with the times. I've been briefly playing around with modules, looking forward to the day of getting rid of header files 🤣
Thank you so much, this subject is totally hot 🔥🔥🔥
Cheers!
@MikeShah 干杯
can do a first impression video on the Ring programming language ?
Hey how can i link libraries when using vim? i always used visual studio and and was very easy from project properties...
You can run make from vim with :make, or otherwise run any shell command when in command mode with "!some_command". VIM probably has other plugins to do something similar to Visual Studio, but VIM is by default a text editor. Visual Studio uses its own build system behind the GUI.
@@MikeShah I’m having a strange error. I used ChatGPT to set up my Makefile (Because I don’t know how to) , and everything works fine when I include in my project. However, as soon as I call glfwInit() or any other GLFW function in my project, I get an error. After error, I experimented a bit and tried using the full path, relative path, and even asked ChatGPT for help, which then rewrite my Makefile. However, nothing seems to be working still ...
Modern C++ become more and more similar to the brainfuck language and it will share the same future 🤣
Reproduction of brain babies?
C++ is a large language with a lot to keep track of 😅