Programming: Computer Programming For Beginners Learn The Basics Of Java, Sql & C++

Preparing link to download Please wait... Download

E-Book Overview

2nd ed. — Amazon Digital Services, Inc., 2015. — 125 p. — ASIN: B014361TOM
Computer programming is not as difficult as it first looks and it can be a lot of fun, so long as you do it properly. I have prepared a basic Hello, World! tutorial for each of the three languages, just to give you an idea of how it all works.This is aimed at people with little to no experience at programming or for those who have jumped in and are struggling to make anything work. I am confident that this book will give you an idea of how to go about learning the language of computer programming and you will be able to have a g at programming in your chosen language, moving on to more advanced coding.Without further ado, let’s get started!

E-Book Content

Programming: Computer Programming for Beginners Learn the Basics of Java, SQL & C++ Joseph Connor © Copyright 2015 - All rights reserved. In no way is it legal to reproduce, duplicate, or transmit any part of this document in either electronic means or in printed format. Recording of this publication is strictly prohibited and any storage of this document is not allowed unless with written permission from the publisher. All rights reserved. The information provided herein is stated to be truthful and consistent, in that any liability, in terms of inattention or otherwise, by any usage or abuse of any policies, processes, or directions contained within is the solitary and utter responsibility of the recipient reader. Under no circumstances will any legal responsibility or blame be held against the publisher for any reparation, damages, or monetary loss due to the information herein, either directly or indirectly. Respective authors own all copyrights not held by the publisher. Legal Notice: This book is copyright protected. This is only for personal use. You cannot amend, distribute, sell, use, quote or paraphrase any part or the content within this book without the consent of the author or copyright owner. Legal action will be pursued if this is breached. Disclaimer Notice: Please note the information contained within this document is for educational and entertainment purposes only. Every attempt has been made to provide accurate, up to date and reliable complete information. No warranties of any kind are expressed or implied. Readers acknowledge that the author is not engaging in the rendering of legal, financial, medical or professional advice. By reading this document, the reader agrees that under no circumstances are we responsible for any losses, direct or indirect, which are incurred as a result of the use of information contained within this document, including, but not limited to, —errors, omissions, or inaccuracies. Contents Introduction Chapter 1 - What is a Computer Program? What Can a Computer Program do? Chapter 2 - The Elements of a Computer Program How to Set Up Your Environment What is a Text Editor? What is a Compiler? What is the Interpreter? Reserved Keywords C Language Reserved Keywords Java Programming Reserved Keywords SQL Reserved Keywords Chapter 3 - “ Hello, World! ” SQL To enable CLR integrations: Building “ Hello World! ” Sample Code Java Creating the Java Program Compiling the Java Program Executing the Java Program Errors Input and Output C++ Structure of a C++ Program Chapter 4 - What You Need to Know Data Types C and Java Data types SQL Data Types Variables Creating Variables Store Values in Variables Access Stored Values in Variables Variables in Java Variables in SQL Parameters or Arguments Operators Arithmetic Operators Relational Operators Logical Operators Operators in Java Operators in SQL SQL Arithmetic Operators: SQL Comparison Operators: SQL Logical Operators: Braces Functions Include Files Basic Syntax Java and C++ Java Identifiers Java Modifiers Java Variables Java Arrays Java