Object-oriented Programming for Automation & Robotics Carsten Gutwenger LS 11 Algorithm Engineering



Similar documents
Visual C Tutorial

Creating a Simple Visual C++ Program

Visual Studio 2008 Express Editions

Appendix M: Introduction to Microsoft Visual C Express Edition

Developing, Deploying, and Debugging Applications on Windows Embedded Standard 7

Microsoft Visual Studio 2010 Instructions For C Programs

Shellfire L2TP-IPSec Setup Windows XP

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)

William Paterson University Department of Computer Science. Microsoft Visual C++.NET Tutorial Spring 2006 Release 1.0

How To Set Up Dataprotect

MS Visual C++ Introduction. Quick Introduction. A1 Visual C++

Backing up with Windows 7

Introduction to the use of the environment of Microsoft Visual Studio 2008

ProSystem fx Document

How to setup Backup Anywhere on your local PC

1. The First Visual C++ Program

Wordware Family Website Instructions

Using Microsoft Expression Web to Upload Your Site

to Alfresco Folder

Paytelligence Quick Start Guide

Technology Manager Non-Seller Admin Guide Creating and Managing Fannie Mae User IDs

Installing SmartGate Remote Backup (Ahsay) Software

Lab: Data Backup and Recovery in Windows XP

Disabling Microsoft SharePoint in order to install the OneDrive for Business Client

Secure Messaging Server Console... 2

Trend Micro TM Worry-Free Business Security Services Integration with LabTech

CROWNPEAK C# API SYSTEM CONFIGURATION GUIDE VERSION 3.0.1

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

GDP11 Student Registration Guide

Maintaining Windows Server 2008 File Services

How to Add Users 1. 2.

Install the Production Treasury Root Certificate (Vista / Win 7)

Lab - Data Backup and Recovery in Windows XP

DEPLOYING A VISUAL BASIC.NET APPLICATION

Global UGRAD Program

Optional Lab: Data Backup and Recovery in Windows 7

Xopero Backup Build your private cloud backup environment. Getting started

Installing the VPN Client for Microsoft Windows OS

White Paper. Fabasoft Folio Thin Client Support. Fabasoft Folio 2015 Update Rollup 2

Team Foundation Server 2012 Installation Guide

HOW TO USE OIT VIA THE WEB

Administrative Features

Managing FactoryTalk Security for Multiple FactoryTalk View Studio Applications

ArcGIS Business Analyst Premium* ~ Help Guide ~ Revised October 3, 2012

INTERNAL USE ONLY (Set it to white if you do not need it)

Active Directory Authentication Integration

QUANTIFY INSTALLATION GUIDE

Active Directory integration with CloudByte ElastiStor

CP Lab 2: Writing programs for simple arithmetic problems

Generating Visual Studio Project Files

Appendix K Introduction to Microsoft Visual C++ 6.0

HowTo. Planning table online

Lab - Data Backup and Recovery in Windows 7

QAD Enterprise Applications. Training Guide Demand Management 6.1 Technical Training

Deitel Dive-Into Series: Dive Into Microsoft Visual C++ 6

FireBLAST Marketing Solution v2

DSHS Secure FTP Instructions

Using Visual C++ and Pelles C

Creating OpenGL applications that use GLUT

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Selector, Multi Selector, and Item Display

Installing CaseMap Server User Guide

Frequently Asked Questions

Quick start guide to using Attendant

Sage 200 Web Time & Expenses Guide

Setting up an account and logging in using Design & Print Online. Opening a saved project

Binding an OS X computer to Active Directory at NEIU (Existing User)

ecstudent-ts Terminal Server How to Use

Continuing and Professional Education Registration

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

ecfshome-ts Terminal Server How to Use

Add a Class. With PeopleSoft Student Center

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

Active Directory Validation - User Guide

Setup Guide for Magento and BlueSnap

Cisco QuickVPN Installation Tips for Windows Operating Systems

Secunia CSI integrated with WSUS (SCCM)

What Is Ad-Aware Update Server?

Windows Clients and GoPrint Print Queues

VMware User Environment Manager

Microsoft SQL Server Express 2005 Install Guide

(You will use the login ID and password below to login through the first two websites.)

SHAREPOINT 2013 IN INFRASTRUCTURE AS A SERVICE

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Quick guide steps you need to take

Snow Active Directory Discovery

Registering the Digital Signature Certificate for Bank Officials

Moving the TRITON Reporting Databases

WINSACADEMY. 1. WINS Academy Certification Programme Sign-up Accessing the WINS Academy e-learning Courses How to Book an Exam...

netduino Getting Started

Universal Management Service 2015

SELF SERVICE RESET PASSWORD MANAGEMENT CREATING CUSTOM REPORTS GUIDE

Citrix Desktop for Home Computers Apple ios Instructions

The online business simulation game that makes learning fun! Using the School Management Console

How to Configure Microsoft System Operation Manager to Monitor Active Directory, Group Policy and Exchange Changes Using NetWrix Active Directory

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

Student Employment Student Training

Microsoft FTP Configuration Guide for Helm 4

Microsoft Dynamics GP Release

Transcription:

Object-oriented Programming for Automation & Robotics Carsten Gutwenger LS 11 Algorithm Engineering Lecture 1 Winter 2011/12 Oct 11

1. Introduction 2. Pool accounts Agenda 3. Signing up (two groups) 4. (If you sign up for group 2 you can come back at 13:30) 5. Writing a Hello World program Carsten Gutwenger: Object-oriented Programming 2

What will you learn in this course? the programming language C++ the principles of object-oriented programming using a programming environment: Visual Studio We will focus on practical programming skills. Lab sessions are important! Carsten Gutwenger: Object-oriented Programming 3

Our Team Dr. Carsten Gutwenger carsten.gutwenger@cs.tu-dortmund.de ls11-www.cs.tu-dortmund.de/staff/gutwenger Tel.: 0231 / 755-7707 Room 238, Otto-Hahn-Str. 14 M. Sc. Orwa Nassour orwa.nassour@tu-dortmund.de Tel.: 0231 / 755-6329 Room E09, Otto-Hahn-Str. 16 Course materials (slides, assignments etc.) ls11-www.cs.tu-dortmund.de/teaching/oop-2011 Carsten Gutwenger: Object-oriented Programming 4

Two groups: group 1: 10:30 to 13:00 group 2: 13:30 to 16:00 Organization Combined lecture course + lab sessions Each week: non-mandatory assignment sheet Four exam sheets complete it at home or during the lab sessions present your solution during the lab sessions (next week) successful: solve (and understand) at least half of the problems Final written exam (last week): requirement: three successful exam sheets Carsten Gutwenger: Object-oriented Programming 5

How will we proceed? Small lecture about new concepts Time for asking questions Further reading required (see suggested reading on next slide) Work on the current assignment sheet Orwa and myself are around to help you You can also work on the current exam sheet Presentation of your solution for the exam sheet Carsten Gutwenger: Object-oriented Programming 6

Suggested Reading Practical C++ Programming by Steve Oualline, 2nd edition, O Reilly Media available online in the TU network: http://proquest.safaribooksonline.com/0596004192 C++ Primer by Stanley B. Lippman, Josée Lajoie, Barbara E. Moo, 4th edition, Addison-Wesley Professional available online in the TU network http://proquest.safaribooksonline.com/0201721481 Exploring C++: The Programmer's Introduction to C++ by Ray Lischner; Apress or pick your own favorite (lots of books in German and other languages available) Carsten Gutwenger: Object-oriented Programming 7

A word of warning Programming is a practical task you won t learn it just by reading a book you need practical experience in solving problems the lab sessions are the most important part Be prepared: Read the suggested topics in books before the lecture! You don t have to understand every detail to fully understand you have to try it out! Don t hesitate to ask questions about C++ concepts and: concerning technical problems Carsten Gutwenger: Object-oriented Programming 8

Pool Accounts Let s get a RETINA-pool account! 1. Log on to a free computer: Username: newaccount Password: anmelden Log on to: RETINA 2. Fill out the registration form and submit your data ( Anmelden ) 3. The admin of the RETINA-pool will visit us, prepare your student id card! Carsten Gutwenger: Object-oriented Programming 9

Pool Accounts 1. Log on to a free computer: Username: newaccount Password: anmelden Log on to: RETINA 2. Fill out the registration form and submit your data ( Anmelden ) Vorname = first name Nachname = family name Matrikelnummer = student number Studienbeginn = 2011 Benutzername = user name Kennwort = password Carsten Gutwenger: Object-oriented Programming 10

Signing Up Two groups: group 1: 10:30 to 13:00 group 2: 13:30 to 16:00 To sign up, send an email to carsten.gutwenger@cs.tu-dortmund.de Subject: OOP sign-up group <grp-number> where <grp-number> is 1 or 2 Body: First name: <your first name> Family name: <your family name> <your student number> Carsten Gutwenger: Object-oriented Programming 11

Hello World 1. Log on to a free computer with your account 2. Open Visual Studio 2008 3. Create a new C++ project HelloWorld i. Select File New Project ii. Under Project Types, expand Visual C++ and then select Win32 Under templates, click Win32 Console Application iii. Type project name HelloWorld and click OK iv. In the Win32 Application Wizard, click Application Settings Under Additional Options, select Empty Project and click Finish Carsten Gutwenger: Object-oriented Programming 12

Hello World 4. Create a C++ source file HelloWorld.cpp i. In Solution Explorer, right-click the Source Files folder, point to Add and then click New Item ii. On the Visual Studio installed templates list, select C++ File (.cpp), type as file name HelloWorld.cpp, and then click Add Carsten Gutwenger: Object-oriented Programming 13

Hello World Type in the following code: #include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; } Build the program: Select Build Build Solution Run the program: Select Debug Start without Debugging Carsten Gutwenger: Object-oriented Programming 14

Preparations for next week Choose your favorite book Read the Introduction / Getting Started part Read the (basic) parts on variables and assignment conditional statements (if-statements) loops (while-statement) e.g. sections 1.1, 4.1-4.7, 6.1, 6.2, 6.4-6.7 in Practical C++ Carsten Gutwenger: Object-oriented Programming 15