Advanced App Dev With C

Posted on  by
-->

The aim of this Get Started series is to teach you how to write a desktop program in C++ using Win32 and COM APIs.

Microsoft App Dev Portal

In the first module, you'll learn step-by-step how to create and show a window. Later modules will introduce the Component Object Model (COM), graphics and text, and user input.

Advanced APS Ltd. Specializing in the Fixed Operations, growing your Parts and Service Sales and Customer Retention. Nov 23, 2013  Advanced Windows Store App Development using C# Refresh. 7 episodes Last episode: Nov 23, 2013 at 11:51AM Developers, take this Jump Start.

For this series, it is assumed that you have a good working knowledge of C++ programming. No previous experience with Windows programming is assumed. If you are new to C++, you can find learning material at the Visual C++ Developer Center. (This resource may not be available in some languages and countries.)

In this section

TopicDescription
Introduction to Windows Programming in C++
This section describes some of the basic terminology and coding conventions used in Windows programming.
Module 1. Your First Windows Program
In this module, you will create a simple Windows program that shows a blank window.
Module 2. Using COM in Your Windows Program
This module introduces the Component Object Model (COM), which underlies many of the modern Windows APIs.
Module 3. Windows Graphics
This module introduces the Windows graphics architecture, with a focus on Direct2D.
Module 4. User Input
This module describes mouse and keyboard input.
Sample Code
Contains links to download the sample code for this series.
-->

Advanced App Dev With C 3

You can build native C++ apps for iOS, Android, and Windows devices by using the cross-platform tools available in Visual Studio. Mobile development with C++ is a workload available in the Visual Studio installer. It installs the SDKs and tools you need for cross-platform development of shared libraries and native apps. When it's installed, you can use C++ to create code that runs on iOS and Android devices and platforms, Windows, Windows Store, and Xbox.

Writing code for multiple platforms is often frustrating. The primary development languages and tools for iOS, Android, and Windows are different on each platform. However, all platforms support writing code in C++. It's the common denominator that can enable reuse of core code across platforms. Native code written in C++ can be both more performant and resistant to reverse engineering. Code reuse can save both time and effort when creating apps for multiple platforms.

Development using C++ for cross-platform mobile development has several advantages:

  • Easy installation. The Visual Studio installer acquires and installs the required third-party tools and SDKs you need to build apps or libraries for Android and iOS. Configuration and setup are simple and mostly automatic.

  • A powerful and familiar build environment. Create sharable cross-platform solutions and projects easily with Visual Studio templates. Manage properties for all projects using one common interface. Edit all your code in the Visual Studio editor, and take advantage of the built-in cross-platform IntelliSense for code completion and error highlighting.

  • A unified debugging experience. Use the world-class debugging tools in Visual Studio to watch and step through C++ code on all platforms: Android devices and emulators, iOS simulators and devices, and Windows or Windows Store devices and emulators.

Free

Get the tools

Mobile development with C++ is an installable workload that comes with Visual Studio. For prerequisites and installation instructions, see Install cross-platform mobile development with C++. To build code for iOS, you also need a Mac computer and an Apple iOS Developer Account. For more information, see Install and configure tools to build using iOS.

Come up to speed

If you're coming from Android or iOS development, we have some great material on how to get started. Visual Studio is an expressive and capable development environment. To learn how to use it, try Get started for Android developers or Get started for iOS developers. These articles introduce you to Visual Studio, and to the concepts you'll need to develop cross-platform apps for Windows and Windows Store. To get started writing your first cross-platform app for iOS and Android, see Build an OpenGL ES application on Android and iOS.

Advanced App Dev With C

Dev App Free

The Mobile development with C++ workload includes several templates to help you get started on your apps:

  • Native-Activity Application (Android)

    Creates a complete C++ OpenGL app as an Android Native Activity project.

  • OpenGLES Application (Android, iOS)

    Creates a solution with a set of projects to build both an Android Native Activity app and an iOS app. These apps use platform-specific libraries created by using common C++ OpenGL ES code to draw the same spinning cube in each app.

  • Shared Library (Android, iOS)

    Creates a solution with projects to create an Android dynamic library (.so) file and an iOS static library (.a) file by using common C++ code in a shared project.

  • Basic Application (Android, Ant)

    Creates an Android 'Hello, World' app project that uses only Java source code and the Ant build system.

  • Basic Application (Android, Gradle)

    Creates an Android 'Hello, World' app project that uses only Java source code and the Gradle build system.

  • Basic Library (Android, Ant)

    Creates an Android 'Hello, World' library project that uses only Java source code and the Ant build system.

  • Basic Library (Android, Gradle)

    Creates an Android 'Hello, World' library project that uses only Java source code and the Gradle build system.

  • Dynamic Shared Library (Android)

    Creates an Android dynamic library (.so) file by using C++ code.

  • C++ dev gdi. OpenGLES 2 Application (iOS)

    Creates a solution with a set of projects to build an OpenGL ES 2 iOS app. The app uses a library of C++ OpenGL ES code to draw the spinning cube in an iOS app. This app can be a good starting point for seeing how to import C++ libraries into your iOS app.

  • Static Library (Android)

    Creates a project to build a static library for Android. You can only link one dynamic library in an Android app, but you can link any number of static libraries.

  • Static Library (iOS)

    Creates a project to build a static library for iOS.

  • Makefile Project (Android)

    Creates a project wrapper for your own Android makefile projects.

Advanced App Dev With Computer

Try out sample code

Advanced App Dev With C 1

Download samples that show how to create shared code libraries you can use in Windows, Android, and iOS apps. And, see examples of how to create complete Native Activity apps for Android. To get started, see Cross-platform mobile development examples.

Appdev Training

See also

Install cross-platform mobile development with C++
Install and configure tools to build using iOS
Create an Android native activity app
Build an OpenGL ES application on Android and iOS
Cross-platform mobile development examples