How to Program C++/CX Room metro Tokyo #3 2014/1/18 Sat Sao Haruka.

Slides:



Advertisements
Similar presentations
Lecture Computer Science I - Martin Hardwick Strings #include using namespace std; int main () { string word; cout
Advertisements

Źródło:
Whats expected in CRM 2013…. New UI & navigation in CRM 2013.
Microsoft Confidential. An incubation effort to: Support client -> server communication in native code with a modern C++ API design Support writing Azure-based.
22 мая 2013, Киев Построение Windows 8 приложений для доступа к SharePoint 2013 Бельский Сергей.
Building RADNUG8 – the windows 8 app Part 1 Matt
New Adventures in C++ with Cinder and More oct 2013 | nwcpp.org ale contenti | visual c++ dev mgr And a small pitch for VS 2013.
Mobile Applications Development. Your next job: Mobile app developer? pp_developer_?taxonomyId=11&pageNumber=1.
Saurabh Bhatia Program Manager Microsoft Corporation Andrew Whitechapel Senior PM Microsoft Corporation TL01.
CPSC 441 TUTORIAL – JANUARY 16, 2012 TA: MARYAM ELAHI INTRODUCTION TO C.
Brown Bag #2 Advanced C++. Topics  Templates  Standard Template Library (STL)  Pointers and Smart Pointers  Exceptions  Lambda Expressions  Tips.
Interest in the Windows Phone 7 platform is growing quickly and the need for apps is increasing faster still. However, not everything related to a consumer's.
Twenty C# Questions Explained Gerry O’Brien Content Development Manager Paul Pardi Senior Content Pub Manager.
By Hector Luciano Jr.  About BlumShapiro  Introduction  Today’s Cross Platform Mobile Dev Landscape  Intro into Xamarin  Demo C# IPhone App SharePoint/Office.
.NET Core Libraries Common Language Runtime CodeGen Garbage Collector Security Model Exception Handling Loader & Binder Profiling & Debugging APIs Entity.
Introduction to the Windows Runtime (WinRT) Ben Dewey Tallan, Inc.
Windows Windows Phone Azure … and WakeUpAndCode.com.
Vectors, lists and queues
Or: The Ampersand Recovery && Reinvestment Act of 2010 Stephan T. Lavavej Visual C++ Libraries Developer 1Version April 28, 2009.
What's new in Microsoft Visual C Preview
Part 2: Manage app lifecycle and state (Windows Store apps using C#/VB and XAML) us/library/windows/apps/hh aspx
Make People Productive Anywhere Manage Risks through Enhancing Security and Control Manage Risks through Enhancing Security and Control Reduce Application.
Welcome to C++ Programming Workshop at The University of Texas at Dallas Presented by John Cole July 8-12, 2013.
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
 Jesse Kaplan Program Manager Microsoft Corporation TL34.
Chalermvong Vijitpiyakul Microsoft MVP - Client App. Dev. GF 28 Sep 2008.
Command line arguments. – main can take two arguments conventionally called argc and argv. – Information regarding command line arguments are passed to.

Building Metro style UIs Paul Gusmorino Lead Program Manager Microsoft Corporation DEV354.
Building Metro style apps with HTML and JavaScript Paul Gusmorino Lead Program Manager Microsoft Corporation.
App structure options Select feature levels to support D3D_FEATURE_LEVEL featureLevels[] = { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0,
Integration of SnapPea, K2K and bTd using JAVA interface by M. Ochiai Topology and Computer Akita University September 5~7, 2007.
ITEC 320 C++ Examples.
Understanding Xamarin Development Matt
Windows Runtime Deep Dive Brendan Forster Senior Developer, ASP.NET/IIS DEV317.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Command Line Arguments.
ITF11012.NET Demo. Hello HiOf Hello Windows 8 App Samples / Links.
“The New Sequencer”. Application Virtualization » Encapsulate App, not entire OS » Solves conflict between apps » Solves conflict between users and apps.
UI: MFC, GDI UI: DirectX still need to rethink user experience ISO C++ VC++ Runtime (CRT, PPL, …) C++/CLI OS / Win32 WinRT + Win32 subset COM.
Innovation Any app, any platform Openness.NET Core ASP.NET 5.
Java and C++ Transitioning. A simple example public class HelloWorldApp { public static void main(String[] args) { //Display the string. System.out.println("Hello.
Windows Phone 7 Mobile Code Camp The Why Why develop for Windows Phone 7 versus Droid or iPhone? It’s all relative to total app users. SDK and Environment.
DEV394.NET Framework: Migrating To Managed Code Adam Nathan QA Lead Richard Lander Program Manager Microsoft Corporation.
Cross Platform XAML & MVVM Nigel Sampson M347.
What web developers need to know when building Metro style apps Scott Dickens Principal Program Manager Lead Microsoft Corporation DEV352.
Generic Programming and Library Design Brian Bartman
Agenda Steps of App Building The Runtime Environment Managing App Data Debug and Test an App Validate an App Publish an App to a Store Packaging Apps.
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Building Metro style apps with XAML with.NET Tim Heuer Program Manager Microsoft Corporation DEV353.
Operating System Simulator
11/12/ :06 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
12/29/2017 2:33 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Command Line Arguments
Command line arguments
Building a great Metro style device app for your printer
typedef typedef int Index; typedef char Letter; Index i; i = 17;
Using the Windows Runtime from C# and Visual Basic
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
C++ Functions, Classes, and Templates
C Stuff CS 2308.
Code::Block vs Visual C++
1/2/2019 9:19 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Build /23/2019 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Office 4/3/2019 Deep Dive into native Universal App development with the Office 365 APIs Speaker name Title Microsoft Corporation © 2012 Microsoft.
4/20/2019 Share © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
//Build 다시보기 나 발머 김영욱 부장 Microsoft Korea
Programming Strings.
Microsoft Consumer Channels and Central Marketing Group
Bringing existing managed code into Metro style apps
Presentation transcript:

How to Program C++/CX Room metro Tokyo #3 2014/1/18 Sat Sao Haruka

@hr_sao Community – Osaka Japan Room metro Reading Community - C++ Templates: The Complete Guide Microsoft MVP for Client Development [(Jan,2010 -)Jan, Dec,2014] About me

How to program? Windows Store Apps for C++/CX

OS process Dev Env WindowsStoreApps(UI XAML) Windows Kernel Services Windows RuntimeWin32 and COM CRT STLPPL App container ( package manifest ) UI controls ( XAML ) App-defined ref classes for cross- language interop Implimentation class (C++ native) VS Project Template C++/CX Do not mix. Hazardous.

Use lambda expression #include "stdafx.h" #include int _tmain(int argc, _TCHAR* argv[]) { [ ]( std::string const &str ) // argument { std::cout << str << std::endl; } // define function ( “Hello World!“ ); // call function return 0; } []: lambda-capture (): argument {}: function - source code (): call function Use lambda to PPL task, STL and so on

Use smart pointers 変数名 Windows Runtime variable ^ (hat) COM cariable Microsoft::WRL::ComPtr the others std::shared_ptr / std::unique_ptr

Automatic type deduction Use return value auto decoder = make_shared (nullptr); And Use data collection for (auto file : files) { auto photo = ref new Photo(file, ……); }

Be aware of overhead for type conversion ref class via Platform/Windows namespace For exsample You use as a Windows::Foundation::Collections::Vector^ std::vector vector vec_a; b = ref new Vector (std::move( vec_a )); for move semantics

to understand your app's.winmd output ref class -> on the premise of public ->.winmd that contains metadata for all the public ref types -> beyond the ABI permeter! Don’t expose to unnecessary class To use the ref class for cross-language interop

and so on…

Add C++11 Add C++14 Add C++17(?) WinVista/7/8/8.1 Visual C++ CompilerNovember 2013 CTP

Take care Let’s C++/CX Life