summaryrefslogtreecommitdiff
path: root/Let_us_C/chapter-16.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Let_us_C/chapter-16.ipynb')
-rw-r--r--Let_us_C/chapter-16.ipynb66
1 files changed, 66 insertions, 0 deletions
diff --git a/Let_us_C/chapter-16.ipynb b/Let_us_C/chapter-16.ipynb
new file mode 100644
index 00000000..8c3c03f2
--- /dev/null
+++ b/Let_us_C/chapter-16.ipynb
@@ -0,0 +1,66 @@
+{
+ "metadata": {
+ "name": "chapter-16.ipynb"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "<h1>Chapter 16: C Under Windows<h1>"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "<h3>The first Windows Program, Page number: 554<h3>"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "'''Program to display a \u201cHello\u201d message in a message box'''\n",
+ "\n",
+ "import ctypes\n",
+ "MessageBox = ctypes.windll.user32.MessageBoxW\n",
+ "MessageBox(None, 'Hello', 'Title', 0)\n"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "pyout",
+ "prompt_number": 1,
+ "text": [
+ "1"
+ ]
+ },
+ {
+ "output_type": "pyout",
+ "prompt_number": 2,
+ "text": [
+ "1"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [],
+ "language": "python",
+ "metadata": {},
+ "outputs": []
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file