Tag: c/c++ programming tips Page-1

Code Profiling Using Valgrind.

Learn Valgrind – The Best Code Profiling Tool for C/C++ Programmers

Welcome friends. In this Linux tutorial, we’ll teach you about a special technique known as¬†code profiling¬†and discuss Valgrind which is the best-known code profiling tool available on Linux platforms. Code profiling helps you improve the space and time complexity of a program. It lets you isolate the bottlenecks in your code. As you know, in C/C++ programming world, performance is …
C Programming Tips and Tricks.

C Programming Tips and Tricks for Beginners – Top 15

We’ve assembled 15 cool C Programming tips and Tricks in this article. If you are a “C” learning student or a “C” programmer, then these tips are for you and¬†can come quite handy in your¬†work assignments. We discovered some of these ideas after lots of reading and some while working. And all of our tips are based on real time …
GDB Tutorial - Advanced Debugging Tips

GDB Tutorial: Some Cool Tips to Debug C/C++ Code

Ask from any core C/C++ programmer or a white box tester, what tool they like to use for debugging the code? Most of them would vote for GDB debugger or the GNU debugger. So here we bring a GDB tutorial that lists essential GDB commands and some exclusive tips to boost your debugging skills. The full form of GDB is …
C++ Class Implementation class using C Programming Language

Learn to Implement C++ Class in C Programming

In this post, we are going to tell you about the¬†techniques to¬†implement a C++ class using C. But before we¬†get¬†on with the techniques, let’s understand how close we can design a C structure to imitate like¬†a C++ class. The answer¬†varies depending on the kind of object-oriented features you would like to have. Today, I’ll demonstrate adding three¬†of the most commonly …