Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29395 Discussions

Array Visualizer Dataset.WriteData() method with C++ strings

ids-removed295
Beginner
1,189 Views
0 Kudos
3 Replies
Intel_C_Intel
Employee
1,189 Views
Most C++ clients will likely just get a pointer to the dataset memory and do a write. WriteData is designed for scripting clients (e.g. JavaScript) who don't have direct memory access, but of course anything you can in script you can do in C++ (just more verbosely).
I've attached a C++ program that uses WriteData.
John
0 Kudos
Intel_C_Intel
Employee
1,189 Views
Would there be array visualizer example programs (C/C++) available that are more than what shipped with version 8.0?
0 Kudos
Intel_C_Intel
Employee
1,189 Views
No, not really, though I think thereweresome additions for the 8.1 kit. Samples in Samples/C directory use just the avcrt library. While samples under Samples/ATL use the ATL library and the AV object model. Samples/ATL also includes a sampel File Loader plug-in.
It would be great to have more sample programs, but it's hard to find the time to work on them. Is there a particular feature or technique you are curious about?
It's not exactly C++, but take a look at the JavaScript samples. Most JavaScript sample should translate to a C++ program in a fairly straight-forward way. One thing I like about JavaScript, is that all the COM boilerplate code you need for C++ doesn't get in the way of what you are trying to illustrate.
John
0 Kudos
Reply