Subscribe to this list via RSS Blog posts tagged in C++11 Lambdas
An Overview of Elements of Functional Programming in C++ Hello everybody! This article is a brief introduction to the functional programming style when using an imperative language like C++. In particular, we will use C++Builder, a C++ development environment that can target many platforms, to show examples for how functional programming can work. I'll start with some arguments about the role of functional programming in the object-oriented paradigm. Many of the statements here are controversial, so do not forget that "in a dispute, truth is born"....
Use FireDAC to MSSQL Server in parallel(std::vector<std::thread>)[JAPAN] std::thread exists.It is in the standard from C++11. Insert data in MS-SQL Server in this way. The data is a Japanese address CSV. that is, It is in the post office in Japan web site. The data looks something like this. "0600000","北海道","札幌市 中央区","以下に掲載がない場合","HOKKAIDO","SAPPORO SHI CHUO KU","IKANIKEISAIGANAIBAAI" "0640941","北海道","札幌市 中央区","旭ケ丘","HOKKAIDO","SAPPORO SHI CHUO KU","ASAHIGAOKA" "0600041","北海道","札幌市 中央区","大通東","HOKKAIDO","SAPPORO SHI CHUO KU","ODORIHIGASHI" It is a CSV mixed...
How to set lambda to event properties. [C++Builder][JAPAN] C++Builder, lambda can be set to void* variable. //// void* test = [](TObject* Sender){}; //Build succeeded. void* test = [&](TObject* Sender){}; //Error Capture was not available. TMethod has two void* variables. //// struct DECLSPEC_DRECORD TMethod { public: void *Code; void *Data; ///...... } I wrote lambda in the "code" variable. //// TMethod l_method; l_method.Data = nullptr; l_method.Code = [](TObject* Sender){ShowMessage(L"set lambda to event properties. ")...
Учебные курсы по C++ и Delphi Летом, в самый разгар сезона отпусков, появляется замечательная возможность уделить больше времени «прокачиванию» своих умений, получению новых знаний, опробыванию незнакомых продуктов и технологий. Грех этим не воспользоваться! В период с 8 по 12 августа компания Embarcadero проводила краткий курс по работе с инструментом C++Builder 10.1 Berlin.  Курс был бесплатным, чтобы пройти его нужно было только зарегистрироваться на сайте, и затем, каждый рабочий день в течение этой недели подключа...

Posted by on in Programming
C++ Multi-Threading for Mobile and Desktop Apps During the recent CodeRage X online technical conference, I showed some C++ demo applications in the C++ track that use the System.Threading unit and the Parallel Programming Library that are included in C++Builder 10 Seattle. Leveraging the libraries and techniques will help you create responsive user experiences for your desktop and mobile applications. You can watch the demos on the EmbarcaderoTechNet YouTube channel and download the source code for the projects on EDN's CodeCentral...
Developer Skill Sprint: Delphi Anonymous Methods And C++11 Lambdas I am doing a Developer Skill Sprint this Tuesday, September 22, 2015, titled "Delphi Anonymous Methods and C++11 Lambdas: When to use them and not use them". This blog post contains some of my notes and resource links for my skill sprint. What will be covered? Delphi Anonymous Methods C++11 Lambdas Parallel Programming Library When to use them / When not to use them Advantages of Anonymous Methods and Lambdas Easy way to define and use methods Easy to parameterize using code Bindi...
  • Page :
  • 1

Check out more tips and tricks in this development video: