0% found this document useful (0 votes)
3 views

game

The document is a project report on a shooting game developed by Arti Kumari as part of her BCA course at Aggarwal College Ballabgarh. It includes sections such as a declaration, acknowledgment, preface, introduction to C++, advantages of C++, source code, and output of the game. The project aims to demonstrate the application of C++ programming in creating a functional game while highlighting the importance of computer knowledge in modern times.

Uploaded by

ishanklaptop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

game

The document is a project report on a shooting game developed by Arti Kumari as part of her BCA course at Aggarwal College Ballabgarh. It includes sections such as a declaration, acknowledgment, preface, introduction to C++, advantages of C++, source code, and output of the game. The project aims to demonstrate the application of C++ programming in creating a functional game while highlighting the importance of computer knowledge in modern times.

Uploaded by

ishanklaptop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

PROJECT REPORT

ON
SHOOTING GAME

Submitted to
DEPARTMENT OF COMPUTER SCIENCE

SESSION : 2022-2023

Submitted BY :
ARTI KUMARI
COURSE NAME : BCA 2ND YEAR (4th Sem)
ROLL NO : 1211803011004
UNDER THE SUPERVISION OF : MRS. PREETI SHARMA
AGGARWAL COLLEGE BALLABGARH
(AFFILIATED TO MDU UNIVERSITY, ROHTAK)
DECLARATION

The project entitled " SHOOTING GAME ” is an authentic work done by me under
the supervision of Mrs. PREETI SHARMA, Assistant Professor, Department of
Computer Science, Aggarwal College Ballabgarh. This project work has not been
presented in any university or college for the partial fulfillment of the award of any
degree or diploma.

ARTI
KUMARI BCA
IV SEM
CERTIFICATE

I am Aarti, here by declare that the work presented this mini project entitled
EXAMPAEDIA, in partial fulfilment of the requirements of BCA of MDU, is an
authentic record of my own work carried out under the guidance of Mrs. Preeti
sharma, Assistant Professor, Department of Computer Science, Aggarwal
College Ballabgarh (ACB), Faridabad.
The work reported in this mini project has not been submitted by me for award
of any other degree or diploma.
Name of the Student: Arti Kumari
Roll No. : 1211803011004
Signature of the Student :
Place:
Date :
ACKNOWLEDGEMENT

With a deep sense of gratitude, I would like to express my indebtedness


towards my supervisor, Mrs. Preeti Sharma, Assistant Professor, Department of
Computer Science Aggarwal College Ballabgarh, Faridabad, for her constant
involvement and inspiration which helped me in carrying out this work. With
great respect, I pay my gratitude to her for her contributions in the
development of my mini project. She always raise the bar inspiring me to strive
the best, and was always among the first ones to applaud any accomplishment.
Also I would like to express my gratitude to Dr. Krishan kant Gupta (Principal)
and also Dr. Sanjeev Kumar Gupta (Incharge Wing -3) for providing the
environment for completing our project.

My gratitude is to Dr. Sachin Garg, Head of Department and the faculty


members of computer Science Department for their constant encouragement
and personal guidance which help me in carrying out this work.

I would also like to thank my family and friends for their constant help, hours
of sitting together and frequent lively discussions, and support throughout the
entire span of my course.

Arti
Roll No : 1211803011004
BCA (2nd YEAR)
INDEX

SR.NO DESCRIPTION
1 CERTIFICATE

2 ACKNOWLEDGEMENT

3 PREFACE

4 INTRODUCTION

5 SOURCE CODE

6 OUTPUT

7 CONCLUSION
8 SYSTEM REQIUREMENT

9 BIBLIOGRAPHY
PREFACE

Today’s modern age the importance has been


acknowledgement by all specially when
optimum utilization of time and money is the
urging need of the day and there is a rapid
computerization of the organization and
professional bodies .as a result , the
knowledge of computer has been absolutely
necessary.
Data base processing is widely used in any
organization . Handling various files is one of
the commons and difficult office activities are
an organization. It will explore the power i.e.,
SHOOTING GAME PROJECT
INTRODUCTION OF C++
C++ is a cross-platform language that can be used to create high-
performance applications.

C++ was developed by Bjarne Stroustrup, as an extension to the C


language.

C++ gives programmers a high level of control over system resources and
memory.

The language was updated 4 major times in 2011, 2014, 2017, and 2020 to
C++11, C++14, C++17, C++20

I have undertaken the project of SHOOTING BALL PROJECT for GAME;


proposed project is present in C ++in duration of one year. The main aim of
developing student database management is to eliminate errors in the present
manual system.
HISTORY OF C++
C++ was developed by Bjarne Stroustrup at Bell Laboratories over a period
starting in 1979. Since C++ is an attempt to add object-oriented features (plus
other improvements) to C, earlier it was called as “C with Objects”. As the
language developed, Stroustrup named it as C++ in 1983. The name C++
suggests “C incremented” (recall the ++ is an increment operator of C).

C++ was made available outside Bell Laboratories in 1985. The first commercial
C++ compiler, Cfront, was released in 1985. It was only a front-end compiler
for C. The American National Standard Institute (ANSI) formed a committee for
(precise description of computer language) C++, in 1989. The first draft
standards were published in 1995.
ADVANTAGES OF C++

1. Portability
C++ offers the feature of portability or platform independence which allows
the user to run the same program on different operating systems or interfaces
at ease.
Suppose you write a program in LINUX OS and for some apparent reason you
switch to Windows OS, you would be able to run the same program in
windows as well without any error. This feature proves to be of great
convenience to the programmer.

2. Object-oriented
One of the biggest advantages of C++ is the feature of object-oriented
programming which includes concepts like classes, inheritance, polymorphism,
data abstraction, and encapsulation that allow code reusability and makes a
program even more reliable.

Not only this, it helps us deal with real-world problems by treating data as an
object. C lacked this feature and hence it was created, proving to be of great
significance.

This feature gave birth to numerous job prospects and technologies. It is


fascinating to note that C++ was created by combining features not only from C
but Simula 67, the first object-oriented programming language

3. Multi-paradigm
C++ is a multi-paradigm programming language. The term “Paradigm” refers to
the style of programming. It includes logic, structure, and procedure of the
program. Generic, imperative, and object-oriented are three paradigms of C++.
Let us now try to understand what generic programming means. Generic
programming refers to the use of a single idea to serve several
purposes. Imperative programming, on the other hand, refers to the use of
statements that change a program’s state.
4. Low-level Manipulation
Since C++ is closely associated with C, which is a procedural language closely
related to the machine language, C++ allows low-level manipulation of data at
a certain level. Embedded systems and compiler are created with the help of
C++.

5. Memory Management
C++ gives the programmer the provision of total control over memory
management. This can be considered both as an asset and a liability as this
increases the responsibility of the user to manage memory rather than it being
managed by the Garbage collector. This concept is implemented with the help
of DMA (Dynamic memory allocation) using pointers.

6. Large Community Support


C++ has a large community that supports it by providing online courses and
lectures, both paid and unpaid. Statistically speaking, C++ is the 6th most used
and followed tag on StackOverflow and GitHub.

7. Compatibility with C
C++ is pretty much compatible with C. Virtually; every error-free C program is a
valid C++ program. Depending on the compiler used, every program of C++ can
run on a file with .cpp extension.

8. Scalability
Scalability refers to the ability of a program to scale. It means that
the ++ program is capable of running on a small scale as well as a large scale of
data. We can also build applications that are resource intensive.
OUTPUT

#include <stdlib.h>
#include <windows.h>
#include <iostream>
using namespace std;

#define VK_A 0x41


#define VK_B 0x42
#define VK_C 0x43
#define VK_D 0x44
#define VK_E 0x45
#define VK_F 0x46
#define VK_G 0x47
#define VK_H 0x48
#define VK_I 0x49
#define VK_J 0x4A
#define VK_K 0x4B
#define VK_L 0x4C
#define VK_M 0x4D
#define VK_N 0x4E
#define VK_O 0x4F
#define VK_P 0x50
#define VK_Q 0x51
#define VK_R 0x52
#define VK_S 0x53
#define VK_T 0x54
#define VK_U 0x55
#define VK_V 0x56
#define VK_W 0x57
#define VK_X 0x58
#define VK_Y 0x59
#define VK_Z 0x5A

struct GAMEINFO {
COORD PlayerOnePosition;
COORD PlayerTwoPosition;
COORD PlayerOneBullet;
COORD PlayerTwoBullet;
COORD PlayerOneBullet2;
COORD PlayerTwoBullet2;
COORD ZeroZero;
};

HANDLE hInput, hOutput;


GAMEINFO GameInfo;

void Movement(GAMEINFO &GameInfo);


void Draw(GAMEINFO);
void Erase(GAMEINFO);
int LaunchBullet(GAMEINFO &GameInfo, int);
void LaunchBullet2(GAMEINFO &GameInfo, int);
int Wait();

int main()
{
GAMEINFO GameInfo;

hInput = GetStdHandle(STD_INPUT_HANDLE);
hOutput = GetStdHandle(STD_OUTPUT_HANDLE);

SetConsoleMode(hOutput, ENABLE_PROCESSED_INPUT);

GameInfo.PlayerOnePosition.X = 19;
GameInfo.PlayerOnePosition.Y = 12;
GameInfo.PlayerTwoPosition.X = 61;
GameInfo.PlayerTwoPosition.Y = 12;
GameInfo.PlayerOneBullet.X = 0;
GameInfo.PlayerOneBullet.Y = 0;
GameInfo.PlayerTwoBullet.X = 79;
GameInfo.PlayerTwoBullet.Y = 0;
GameInfo.PlayerOneBullet2.X = 1;
GameInfo.PlayerOneBullet2.Y = 0;
GameInfo.PlayerTwoBullet2.X = 78;
GameInfo.PlayerTwoBullet2.Y = 0;
GameInfo.ZeroZero.X = 0;
GameInfo.ZeroZero.Y = 0;

int i;
GameInfo.ZeroZero.Y = 24;
for(i = 0; i < 79; i++){
SetConsoleCursorPosition(hOutput, GameInfo.ZeroZero);
cout << ".";
GameInfo.ZeroZero.X++;
}

Draw(GameInfo);

while(1){
Movement(GameInfo);
}

return 0;
}
void Movement(GAMEINFO &GameInfo)
{
INPUT_RECORD InputRecord;
DWORD Events = 0;

ReadConsoleInput(hInput, &InputRecord, 1, &Events);

if(InputRecord.EventType == KEY_EVENT){

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_Q &&


InputRecord.Event.KeyEvent.bKeyDown == 1){
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y--;
if(GameInfo.PlayerOnePosition.Y <
0)
GameInfo.PlayerOnePosition.Y++;
Draw(GameInfo);
}

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_A &&


InputRecord.Event.KeyEvent.bKeyDown == 1){
Erase(GameInfo); GameInfo.PlayerOnePosition.Y+
+; if(GameInfo.PlayerOnePosition.Y > 24)
GameInfo.PlayerOnePosition.Y--;
Draw(GameInfo);
}

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_S &&


InputRecord.Event.KeyEvent.bKeyDown == 1){
LaunchBullet(GameInfo, 1);
}

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_O &&


InputRecord.Event.KeyEvent.bKeyDown == 1){
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y--;
if(GameInfo.PlayerTwoPosition.Y <
0)
GameInfo.PlayerTwoPosition.Y++;
Draw(GameInfo);
}

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_L &&


InputRecord.Event.KeyEvent.bKeyDown == 1){
Erase(GameInfo); GameInfo.PlayerTwoPosition.Y+
+; if(GameInfo.PlayerTwoPosition.Y > 24)
GameInfo.PlayerTwoPosition.Y--;
Draw(GameInfo);
}
if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_K &&
InputRecord.Event.KeyEvent.bKeyDown == 1){
LaunchBullet(GameInfo, 2);
}

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_ESCAPE)
exit(0);

}
FlushConsoleInputBuffer(hInput);
}

void Draw(GAMEINFO GameInfo)


{
SetConsoleCursorPosition(hOutput, GameInfo.PlayerOnePosition);
cout << "|";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoPosition);
cout << "|";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerOneBullet);
cout << ".";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoBullet);
cout << ".";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerOneBullet2);
cout << ".";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoBullet2);
cout << ".";

GameInfo.ZeroZero.X = 0;
GameInfo.ZeroZero.Y = 0;

int i;
for(i = 0; i < 79; i++){
SetConsoleCursorPosition(hOutput, GameInfo.ZeroZero);
cout << ".";
GameInfo.ZeroZero.X++;
}

void Erase(GAMEINFO GameInfo)


{
SetConsoleCursorPosition(hOutput, GameInfo.PlayerOnePosition);
cout << " ";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoPosition);
cout << " ";
SetConsoleCursorPosition(hOutput, GameInfo.PlayerOneBullet);
cout << " ";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoBullet);
cout << " ";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerOneBullet2);
cout << " ";

SetConsoleCursorPosition(hOutput, GameInfo.PlayerTwoBullet2);
cout << " ";
}

int LaunchBullet(GAMEINFO &GameInfo, int PlayerNumber)


{
int i;
if(PlayerNumber == 1){
GameInfo.PlayerOneBullet.Y = GameInfo.PlayerOnePosition.Y;
GameInfo.PlayerOneBullet.X = GameInfo.PlayerOnePosition.X + 1;
Draw(GameInfo);
Erase(GameInfo);
for(i = 0; i < 77; i++){
GameInfo.PlayerOneBullet.X += 1;
Draw(GameInfo);

int move;
move = Wait();
switch(move){
case 1:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y--;
if(GameInfo.PlayerOnePosition.Y <
0)
GameInfo.PlayerOnePosition.Y++;
break;
case 2:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y++;
if(GameInfo.PlayerOnePosition.Y > 24)
GameInfo.PlayerOnePosition.Y--;
break;
case 3:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y--;
if(GameInfo.PlayerTwoPosition.Y <
0)
GameInfo.PlayerTwoPosition.Y++;
break;
case 4:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y++;
if(GameInfo.PlayerTwoPosition.Y > 24)
GameInfo.PlayerTwoPosition.Y--;
break;
case 5:
LaunchBullet2(GameInfo, 1);
return 0;
break;
case 6:
LaunchBullet2(GameInfo, 2);
return 0;
break;
}

Draw(GameInfo);
Erase(GameInfo);
if(GameInfo.PlayerOneBullet.X == GameInfo.PlayerTwoPosition.X)
if(GameInfo.PlayerOneBullet.Y == GameInfo.PlayerTwoPosition.Y){
system("cls");
cout << "\aPlayer 1 Wins" << endl;
system("pause");
exit(0);
}
}
GameInfo.PlayerOneBullet.Y = 0;
GameInfo.PlayerOneBullet.X = 0;
Draw(GameInfo);
}
if(PlayerNumber == 2){
GameInfo.PlayerTwoBullet.Y = GameInfo.PlayerTwoPosition.Y;
GameInfo.PlayerTwoBullet.X = GameInfo.PlayerTwoPosition.X - 1;
Draw(GameInfo);
Erase(GameInfo);
for(i = 0; i < 77; i++){
GameInfo.PlayerTwoBullet.X -= 1;
Draw(GameInfo);

int move;
move = Wait();
switch(move){
case 1:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y--;
if(GameInfo.PlayerOnePosition.Y <
0)
GameInfo.PlayerOnePosition.Y++;
break;
case 2:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y++;
if(GameInfo.PlayerOnePosition.Y > 24)
GameInfo.PlayerOnePosition.Y--;
break;
case 3:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y--;
if(GameInfo.PlayerTwoPosition.Y <
0)
GameInfo.PlayerTwoPosition.Y++;
break;
case 4:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y++;
if(GameInfo.PlayerTwoPosition.Y > 24)
GameInfo.PlayerTwoPosition.Y--;
break;
case 5:
LaunchBullet2(GameInfo, 1);
return 0;
break;
case 6:
LaunchBullet2(GameInfo, 2);
return 0;
break;
}

Draw(GameInfo);
Erase(GameInfo);
if(GameInfo.PlayerTwoBullet.X == GameInfo.PlayerOnePosition.X)
if(GameInfo.PlayerTwoBullet.Y == GameInfo.PlayerOnePosition.Y){
system("cls");
cout << "\aPlayer 2 Wins" << endl;
system("pause");
exit(0);
}
}
GameInfo.PlayerTwoBullet.Y = 0;
GameInfo.PlayerTwoBullet.X = 79;
Draw(GameInfo);
}
return 0;
}

int Wait()
{
INPUT_RECORD InputRecord;
DWORD Events = 0;

if(WAIT_TIMEOUT == WaitForSingleObject(hInput,1))
return 0;
ReadConsoleInput(hInput, &InputRecord, 1, &Events);

if(InputRecord.EventType == KEY_EVENT)
{ if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_Q &&
InputRecord.Event.KeyEvent.bKeyDown == 1)
return 1;
if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_A &&
InputRecord.Event.KeyEvent.bKeyDown == 1)
return 2;

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_O &&


InputRecord.Event.KeyEvent.bKeyDown == 1)
return 3;

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_L &&


InputRecord.Event.KeyEvent.bKeyDown == 1)
return 4;

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_S &&


InputRecord.Event.KeyEvent.bKeyDown == 1)
return 5;

if(InputRecord.Event.KeyEvent.wVirtualKeyCode == VK_K &&


InputRecord.Event.KeyEvent.bKeyDown == 1)
return 6;
}
FlushConsoleInputBuffer(hInput);
return 0;
}

void LaunchBullet2(GAMEINFO &GameInfo, int PlayerNumber)


{
if(PlayerNumber == 1){
GameInfo.PlayerOneBullet2.X = GameInfo.PlayerOnePosition.X + 1;
GameInfo.PlayerOneBullet2.Y = GameInfo.PlayerOnePosition.Y;

Draw(GameInfo);
Erase(GameInfo);
int i;
for(i = 0; i < 77; i++)
{ GameInfo.PlayerOneBullet.X +=
1;
GameInfo.PlayerOneBullet2.X += 1;
GameInfo.PlayerTwoBullet.X -= 1;
GameInfo.PlayerTwoBullet2.X -= 1;
Draw(GameInfo);

int move;
move = Wait();
switch(move){
case 1:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y--;
if(GameInfo.PlayerOnePosition.Y <
0)
GameInfo.PlayerOnePosition.Y++;
break;
case 2:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y++;
if(GameInfo.PlayerOnePosition.Y > 24)
GameInfo.PlayerOnePosition.Y--;
break;
case 3:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y--;
if(GameInfo.PlayerTwoPosition.Y <
0)
GameInfo.PlayerTwoPosition.Y++;
break;
case 4:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y++;
if(GameInfo.PlayerTwoPosition.Y > 24)
GameInfo.PlayerTwoPosition.Y--;
break;
}

Draw(GameInfo);
Erase(GameInfo);
if(GameInfo.PlayerOneBullet.X == GameInfo.PlayerTwoPosition.X)
if(GameInfo.PlayerOneBullet.Y == GameInfo.PlayerTwoPosition.Y){
system("cls");
cout << "\aPlayer 1 Wins" << endl;
system("pause");
exit(0);
}
if(GameInfo.PlayerOneBullet2.X == GameInfo.PlayerTwoPosition.X)
if(GameInfo.PlayerOneBullet2.Y == GameInfo.PlayerTwoPosition.Y){
system("cls");
cout << "\aPlayer 1 Wins" << endl;
system("pause");
exit(0);
}
}
GameInfo.PlayerOneBullet.Y = 0;
GameInfo.PlayerOneBullet.X = 0;
GameInfo.PlayerOneBullet2.Y = 0;
GameInfo.PlayerOneBullet2.X = 1;
Draw(GameInfo);
}

if(PlayerNumber == 2){
GameInfo.PlayerTwoBullet2.Y = GameInfo.PlayerTwoPosition.Y;
GameInfo.PlayerTwoBullet2.X = GameInfo.PlayerTwoPosition.X - 1;
Draw(GameInfo);
Erase(GameInfo);
int i;
for(i = 0; i < 77; i++)
{ GameInfo.PlayerTwoBullet.X -= 1;
GameInfo.PlayerTwoBullet2.X -= 1;
GameInfo.PlayerOneBullet.X += 1;
GameInfo.PlayerOneBullet2.X += 1;
Draw(GameInfo);

int move;
move = Wait();
switch(move){
case 1:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y--;
if(GameInfo.PlayerOnePosition.Y <
0)
GameInfo.PlayerOnePosition.Y++;
break;
case 2:
Erase(GameInfo);
GameInfo.PlayerOnePosition.Y++;
if(GameInfo.PlayerOnePosition.Y > 24)
GameInfo.PlayerOnePosition.Y--;
break;
case 3:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y--;
if(GameInfo.PlayerTwoPosition.Y <
0)
GameInfo.PlayerTwoPosition.Y++;
break;
case 4:
Erase(GameInfo);
GameInfo.PlayerTwoPosition.Y++;
if(GameInfo.PlayerTwoPosition.Y > 24)
GameInfo.PlayerTwoPosition.Y--;
break;
}

Draw(GameInfo);
Erase(GameInfo);
if(GameInfo.PlayerTwoBullet.X == GameInfo.PlayerOnePosition.X)
if(GameInfo.PlayerTwoBullet.Y == GameInfo.PlayerOnePosition.Y){
system("cls");
cout << "\aPlayer 2 Wins" << endl;
system("pause");
exit(0);
}
if(GameInfo.PlayerTwoBullet2.X == GameInfo.PlayerOnePosition.X)
if(GameInfo.PlayerTwoBullet2.Y == GameInfo.PlayerOnePosition.Y){
system("cls");
cout << "\aPlayer 2 Wins" << endl;
system("pause");
exit(0);
}
}
GameInfo.PlayerOneBullet.Y = 0;
GameInfo.PlayerOneBullet.X = 0;
GameInfo.PlayerOneBullet2.Y = 0;
GameInfo.PlayerOneBullet2.X = 1;
Draw(GameInfo);
}
}
OUTPUT
CONCLUSION

We originally set out to explore the strengths and weaknesses of five of the
most commonly used programming languages. This exploration was guided
by the aim to be able to make more informed decisions of which
programming language might be best suited for a particular situation. We
have looked at C, Java, JavaScript, Python, and C++ over the course of the
past few weeks, and today we will recap what has been learned about what
types of application are suited for each language. C was the first
programming language we looked at.

C is most useful for embedded systems, or applications that require the


ability to be light-weight and have precise control over system resources. C
is lacking a lot of the functionality that more contemporary languages
feature, but remains a core tool for Unix developers. When we set out to
build an embedded system, we should first consider using C.
SYSTEM REQUIREMENT
 Processor - Intel Core Pentium or above
 Operating System - Windows vista or above
 Memory - 1Gb Ram or more
 Hard Disk Space - 5MB
BIBLIOGRAPHY

WWW.GOOGLE.COM

WWW.QUORO.COM

OBJECT ORIENTED ANALYSIS AND DESIGN OBJECT

ORIENTED PROGRAMMING BY PEARSON

You might also like