Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
>
C++

Posts: C++ articles

Apr 05 2013
Can I use 32-bit pointers in a 64-bit application?
Andrey Karpov
At present, the Microsoft Visual C++ and GCC compilers do not allow you to use 32-bit pointers in 64-bit software created for processors based on x86-64 architecture. You can use 64-bit registers...
...
Apr 05 2013
Working with the type size_t in the functions prinft, scanf and similar functions
Andrey Karpov
To work with size_t, ptrdiff_t, intptr_t and uintptr_t types in the functions like sscanf, printf you may use size specifiers. If you are developing a Windows-application, you may use the...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Apr 05 2013
Difference between %p and %x
Andrey Karpov
Functions belonging to the printf function family have the type specifiers "%p" and...
...
Apr 05 2013
Strange errors occurring when compiling the 64-bit version of an application, error C2664
Andrey Karpov
Sometimes you may see questions about strange errors generated by the compiler when building 64-bit...
...
Apr 05 2013
How to correctly cast a pointer to int in a 64-bit application?
Andrey Karpov
The most general answer is – in no...
...
Apr 02 2013
Re-checking the ReactOS project - a large report
Andrey Karpov
The ReactOS project is rapidly developing. One of the developers participating in this project suggested that we re-analyzed the source code, as the code base is growing fast. We were glad to...
...
Mar 29 2013
Checking OpenCV with PVS-Studio
Andrey Karpov
OpenCV is a library of computer vision algorithms, picture processing algorithms, and general-purpose numerical algorithms. The library is written in C/C++ and is free both for academic...
...
Mar 01 2013
64-bit
Andrey Karpov
In this article, I've collected a huge amount of links all of which could prove potentially useful to software developers who are getting acquainted with 64-bit world. In general, we will cover...
...
Feb 04 2013
How to correctly print a value of the types __int64, size_t, and ptrdiff_t
Andrey Karpov
When developing an application, you may often face a trouble that variables of the types __int64, size_t, or ptrdiff_t are printed incorrectly. First of all we should mention the difference...
...
Dec 17 2012
A few words about OpenSSL
Andrey Karpov
This is a small note on the results of checking the OpenSSL project with the PVS-Studio analyzer. I analyzed the openssl-0.9.8-stable-SNAP-20121208...
...
View more Pagination arrow previous
Showing: - of 649