Tags: #quiz #c
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6#.7n9kofshw
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6#.7n9kofshw
Hackernoon
So you think you know C? | HackerNoon
A lot of programmers claim they know C. Well, it has the most famous syntax, it has been there for 44 years, and it’s not cluttered with obscure features. It’s easy!
Tags: #cuda8 #nvidia
CUDA 8 is one of the most significant updates in the history of the CUDA platform.
https://devblogs.nvidia.com/parallelforall/new-compiler-features-cuda-8/
CUDA 8 is one of the most significant updates in the history of the CUDA platform.
https://devblogs.nvidia.com/parallelforall/new-compiler-features-cuda-8/
Parallel Forall
New Compiler Features in CUDA 8
A tour of the many new and improved features in CUDA C++ and the NVCC compiler, including host-device lambdas, improved Runtime Compilation, and more.
Tags: #sizeof #expectedresults
The size and layout of C++ objects are not alway intuitive.
https://cppisland.com/?p=369
The size and layout of C++ objects are not alway intuitive.
https://cppisland.com/?p=369
C++ Island
sizeof: When The Whole is Greater Than The Sum Of Its Parts
Running the program: Generates this output: The structure A occupies 6 bytes more than the sum of its members. the mystery thickens when we check the output for structure B having the same elemen…
Tags: #terminators #diagram #flows
A GraphViz diagram that shows both normal and unexpected program termination flows in C++.
https://github.com/adishavit/Terminators
A GraphViz diagram that shows both normal and unexpected program termination flows in C++.
https://github.com/adishavit/Terminators
GitHub
adishavit/Terminators
Hasta la vista, baby! Contribute to adishavit/Terminators development by creating an account on GitHub.
Tags: #inline
Thanks to inline the compiler can replace the function call by the function body. There are two reasons to use inline functions: performance and safety.
https://www.modernescpp.com/index.php/inline
Thanks to inline the compiler can replace the function call by the function body. There are two reasons to use inline functions: performance and safety.
https://www.modernescpp.com/index.php/inline
Modernescpp
inline - ModernesCpp.com
Tags: #stackoverflow
https://stackoverflow.com/questions/40481286/why-does-the-size-of-this-stdstring-change-when-characters-are-changed
https://stackoverflow.com/questions/40481286/why-does-the-size-of-this-stdstring-change-when-characters-are-changed
Stackoverflow
Why does the size of this std::string change, when characters are changed?
I have an issue in which the size of the string is effected with the presence of a '\0' character. I searched all over in SO and could not get the answer still.
Here is the snippet.
int main()
{
...
Here is the snippet.
int main()
{
...
Tags: #azure #linux #docker #visualstudio
https://blogs.msdn.microsoft.com/vcblog/2016/11/08/developing-linux-c-applications-with-azure-docker-containers/
https://blogs.msdn.microsoft.com/vcblog/2016/11/08/developing-linux-c-applications-with-azure-docker-containers/
Microsoft
Developing Linux C++ applications with Azure Docker containers
C++ tutorials, C and C++ news, and information about the C++ IDE Visual Studio from the Microsoft C++ team.
Tags: #cpp16 #bjarne #stroustrup #evolution #pastpresentfuture
https://channel9.msdn.com/Events/CPP/CppCon-2016/CppCon-2016-Bjarne-Stroustrup-The-Evolution-of-C-Past-Present-and-Future
https://channel9.msdn.com/Events/CPP/CppCon-2016/CppCon-2016-Bjarne-Stroustrup-The-Evolution-of-C-Past-Present-and-Future
Channel 9
CppCon 2016: Bjarne Stroustrup "The Evolution of C++ Past, Present and Future" (Channel 9)
https://CppCon.org Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/cppcon/cppcon2016 This is a philosophical talk. It deals with ideals, aims,
Tags: #stackoverflow #string
https://stackoverflow.com/questions/40592298/why-would-you-compare-a-with-0x41
https://stackoverflow.com/questions/40592298/why-would-you-compare-a-with-0x41
Stackoverflow
Why would you compare 'A' with 0x41?
I was looking at some C++ code and found the following construct:
if('A' == 0x41) {
// ...
} else if('A' == 0xc1) {
// ...
} else {
// ...
}
I get a Visual Studio warning saying:
Warning...
if('A' == 0x41) {
// ...
} else if('A' == 0xc1) {
// ...
} else {
// ...
}
I get a Visual Studio warning saying:
Warning...
Tags: #minimizing #code #declarative #vs #imperative
The idea of good code varies from person to person, from language to language, and also varies between problem domains.
https://blog.demofox.org/2016/11/13/minimizing-code-complexity-by-programming-declaratively/
The idea of good code varies from person to person, from language to language, and also varies between problem domains.
https://blog.demofox.org/2016/11/13/minimizing-code-complexity-by-programming-declaratively/
The blog at the bottom of the sea
Minimizing Code Complexity by Programming Declaratively
Writing good code is something all programmers aspire to, but the definition of what actually makes good code can be a bit tricky to pin down. The idea of good code varies from person to person, fr…
Tags: #compiler #support #new #features
The following table presents compiler support for new C++ features. These include C++11, C++14, C++17 and various technical specifications.
https://en.cppreference.com/w/cpp/compiler_support
The following table presents compiler support for new C++ features. These include C++11, C++14, C++17 and various technical specifications.
https://en.cppreference.com/w/cpp/compiler_support
Tags: #expert #engineering #list
https://stephaniehurlburt.com/blog/2016/11/14/list-of-engineers-willing-to-mentor-you
https://stephaniehurlburt.com/blog/2016/11/14/list-of-engineers-willing-to-mentor-you
Stephanie Hurlburt
List of Engineers Willing to Mentor You — Stephanie Hurlburt
Look, even more mentors outside this list! I highly encourage you to message folks on these additional lists, there are much more people on them and they tend to be more free. More mentors: https://ishansharma.github.io/twitter-mentors/ More…
Tags: #variadic #templates
Today I will talk about some more features that have or will be added in that area in C++11, 14 and 17.
https://arne-mertz.de/2016/11/more-variadic-templates/
Today I will talk about some more features that have or will be added in that area in C++11, 14 and 17.
https://arne-mertz.de/2016/11/more-variadic-templates/
Simplify C++!
More About Variadic Templates - Simplify C++!
Today I will write about some more features that have or will be added in the area of variadic templates in C++11, 14 and 17.