Вы находитесь на странице: 1из 14

Getting Started

With Programming

By Tahsin Sayeeda
Object Oriented
Programming
 Starting programming language
should be either Structured
programming C or Object Oriented
Programming C++ or Java
 To execute any program we must

need a Compiler
C/C++

 Compiler
 Visual C++ or turbo C++ for Windows
 http://www.esnips.com/doc/d835faf3-fe28-4e8e-bbce-f388

 Gcc for linux/Unix


 ftp://ftp.mirrorservice.org/sites/sources.redhat.com/pub/g
C/C++

 Tutorial
 http://
einstein.drexel.edu/courses/CompPhys/General/C_basics
/
 http://www.cprogramming.com/tutorial.html
 http://www.functionx.com/cpp/Lesson01.htm
 http://www.cplusplus.com/doc/tutorial/
 http://www.le.ac.uk/cc/tutorials/c/

 By the way, Books are better then any tutorial



C

 Books
 Teach yourself C
 Herbert Schildt (The easiest book to learn C)
 Programming with C
 Schaum’s outline – Byron Gottfried
 Programming in ANSI C
 E Balagurusamy
C++
 Books
 Teach yourself C++
 Herbert Schildt (The easiest book to learn C)
 Object Oriented Programming with
C++
 E Balagurusamy

 Object Oriented Programming in


Turbo C++
 Robert Lafore
JAVA
 If you want to learn only one programming
language then it should be JAVA
 Compiler
 Java SE Development Kit (JDK)
http://java.sun.com/javase/downloads/index.jsp
 Eclipse http://www.eclipse.org/
 IDE - JCreator for Windows -
http://www.jcreator.com/download.htm
JAVA

 Tutorial
 http://java.sun.com/docs/books/tutorial/
 http://www.ibiblio.org/javafaq/javatutorial.html
 http://scv.bu.edu/Doc/Java/tutorial/
 http://java.about.com/od/beginningjava/a/beginjava
JAVA

 Books
 The Complete Reference Java2
 Herbert Schildt
 JAVA How to Program
 DEITEL
A simple C++ program

#include <iostream>
Output:
using namespace std; Hello World!
int main ()
{
cout << "Hello World!";
return 0;
}
http://www.cplusplus.com/doc/tutorial/program_structure.html
How to compile

 Windows - Turbo C++


Installer: TC3\Install\INSTALL.EXE
Compiler: TC\BIN\TC.EXE
Sourch File: TC\BIN\anyname.cpp
A simple JAVA program

/** The HelloWorld class is an application that


displays "Hello World!" to the standard output. **/
public class HelloWorld
{
// Display "Hello World!"
public static void main(String args[])
{
System.out.println("Hello World!");
}
}
How to compile
 Windows – JDK 1.6
 Install and set path
 Compile:
Run Command Prompt
C:\Documents and Settings\Moon>cd \
C:\>cd jdk1.4/bin
C:\jdk1.4\bin>javac HelloWorld.java
C:\jdk1.4\bin>java HelloWorld
Hello World!
C:\jdk1.4\bin>
More Tutorials
 http://au3.php.net/get/php_manual_chm.zip/from/au.php.
For PHP+MySQL
 http://www.functionx.com/csharp/index.htm For C#
(.NET)

Вам также может понравиться