This user has contributed 1 articles, 4 code samples and posted 0 messages in our discussion forums.
Articles & Tutorials
-
-> VC++ 6 - MFC App
-> CFile is the base class for Microsoft Foundation file classes. You can use it to manipulate files, like : create/open/read_write/delete/obtain informations/… , similar to the way that you work with ‘fstream’.. 
Code Samples
-
-> VSC++ 2005 - Win32 Console App
-> User input a number in binary form, we will print that in octal base. (It's a simple conversion between number bases and will inform you about some helpful C++ standard functions. You can see more infos about the functions in MSDN.). 
-
-> VSC++ 2005 - Win32 Console App
-> Test to see is a number prime ?
It uses a simple mathematical algorithm :
"a non-prime number has at least a prime denominator, that is less than or equal to the square root of the number", and as an enhance : all even numbers except 2, aren't prime.. 
-
-> VSC++ 2005 - Win32 Console App
-> When you have a static pointer variable (like: static char* st_ptr) in your class, that you want to allocate some memory to that (during runtime with operator 'new'), then how you want to delete that ? in the main function ? but what about Encapsulation and Data Hiding ? This code has an approach to reach those specifications.. 
-
-> C++ - Win32 Console App
-> It's a program that asks some multiplication questions(answers are from one and the largest number is 10 * 10).
-> Also a good representation for some aspects of files, strings and arrays.
. 