Message Edited by Mert A. on 08-31-2007 02:27 PM
This is a tip that has been mentioned in a few other threads, but I wanted to post it here too:
Declare Variables Anywhere in Your Code like C++/Java and other helpful ANSI 99 features
A subset of C 99 features have been implemented in LabWindows/CVI 8.5 (which SSP customers should have already received). Even though a subset of the features in the ANSI 99 standard have been implement, CVI is not fully C 99 compliant (which is also the case for many C/C++ development environments). To learn more about available ANSI 99 features and how to enable them, read LuisG post on the following thread.
Some C 99-specific features include:
- Declaring variables in the middle of a block
- Macros with variable arguments.
- Allocating memory on the stack (alloca call).
- Support for the long long data type
Minimum Version: CVI 8.5