Skip to main content

Posts

Showing posts with the label #Project

LudO - The Game

/* Programmer - Aditya Gupta (Techy15) Language - C++ Program - LudO - The Game */ /* PLANS- Add functionality for name of player */ //IMP NOTE - See all notes, written in this form "//NOTE..." //NOTE- Mark 'R','G','B','Y' for gotis, ignore doubling for now //NOTE- Settings will have options: change default game play order(ie RBYG), change/give names to each colour //NOTE- Add code in case of attacks //NOTE- Add stops, and ways to show them distinct from others {may require graphics.h} #include<iostream> /* #include<fstream>    To be used in case save & resume to be used*/ #include<cstdio> #include<cstdlib> using namespace std; //Changes on 16th Oct //Show gotis as R1, R2... and ask user to enter string R1 or whatever // // Place within appropriate block ...     short diethrow(){     int fl=1; //holds 0 if decnum is 0     while(fl==0) { char *temp;     ...

C++ wala SQL (Project)(currently not complete)

//now posting as TECHY 3 ;-) //New- Database Capability (groundwork ready for that) // Further idea- Have an option to save the tables/databases in a database, or different databases //               Declare more classes to get 1 column, 2 column.. tables also, probably maximum 5 columns //               Have option to give/change Row names // Create unlimited number of tables in a database using Linked List // Maintain both, database with maximum 5 tables and database with more capabilities //Features to be depricated // Database with limitation of upto 5 tables //Programmer - Aditya Gupta #include<iostream> #include<stdlib.h> #include<string.h> //#include<fstream> // will be required when save in database supported using namespace std; void inline title(void){ system("cls"); cout<<"\tNAMASTE!...\n\nProgram-C++ wala SQL\nPrograammer - MR....

The CricBoard - A C++ Project

//All this is made with the knowledge of C++ till class 11, so it might seem to be a bit lengthy... #include<iostream> #include<stdlib.h> #include<stdio.h> struct bat{ char name[26]; int run; int ball; float strrate; int flag; }bats[11]; struct bowl{ char name[26]; int run; int overs; float econ; int wicket; }bowls[5]; using namespace std; void title(void) { system("cls"); cout<<"\n\t\tThe CricBoard\n"; cout<<"\t\t_____________\n\n"; } void benter(bat B[]); void blenter(bowl B[]); void bdisplay(void); void bldisplay(void); void bedit(int); void bwedit(int); int main() { punarvichaar: int ch,_ch2; title(); cout<<"Choose from the below two options (Enter 1 or 2):" <<"\n\n1. Enter the Batting Statistics first" <<"\n\n2. Enter the Bowling Statistics first\n\n"; cin>>ch; if(ch==1) { benter(bats); blenter(bowls); } e...