Latest Compiler and Pre-Compiler Articles - Page 2

Cygwin: Free C++ for Windows

Windows users who want to learn C++ often ask if there is a free C++ compiler. Linux users don't have this problem because they have the GNU tools. But, in fact, the exact same tools are available free from Cygwin, and if you learn to use them, your skills will be extremely portable. Learn to install and use the tools, compile a simple program, and write a simple makefile.

Running Code Before and After Main

There is a partially documented feature in the Microsoft C/C++ runtime libraries that allows you to run code before the main function (main, WinMain or DllMain) is called, and after it returns.

Maximum Munch Principle

Because of the Maximum Munch Tokenization Principle, or simply Maximum Munch Principle, C++ implementations have to consider as many characters as possible when tokenizing a listing during compilation. Because of this principle, there are times when you will need to use white space between operators to avoid errors.

Latest Developer Videos

More...

Latest CodeGuru Developer Columns

MFC Integration with the Windows Transactional File System (TxF)

The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.

Using Lists and Stacks in .NET

Did you ever stop to thoroughly explore some of the more esoteric types, Lists and Stacks, that are available in the .NET collections namespace?

Top White Papers and Webcasts

  • Live Event Date: September 17, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Another day, another end-of-support deadline. You've heard enough about the hazards of not migrating to Windows Server 2008 or 2012. What you may not know is that there's plenty in it for you and your business, like increased automation and performance, time-saving technical features, and a lower total cost of ownership. Check out this upcoming eSeminar and join Rich Holmes, Pomeroy's practice director of virtualization, as he discusses the …

  • Live Event Date: September 10, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild". This loop of continuous delivery and continuous feedback is …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds