Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

C++ with LINQ

Author: Shinji Chikugi

I found an interesting C++ libraly.That is “LINQ for C++”.

What’s “LINQ”?

LINQ (Integrated Language Query) is a function of C#. LINQ issues a query to the container and gets the result.

For details, please refer to MSDN.

https://docs.microsoft.com/en-us/dotnet/csharp/linq/

LINQ for C++

“LINQ for C++” is the libraly enable to use LINQ on C++.

https://archive.codeplex.com/?p=cpplinq

Usage is simple. Just include the header file published on GitHub.

https://github.com/mrange/cpplinq

Using “LINQ for C ++” in C++ Builder, first make sure to use the new Embarcadero C++ compiler with project options.

[crayon-676859a81bf68252819030/]

The sum of the even numbers extracted from the array was output.

Many libraries can be used by using the new Embarcadero C++ compiler. please try it

Exit mobile version