This C++ program defines an interactive text-based adventure game with multiple paths and levels. It includes constants for language selection, player name, responses and more. Based on the player's name input, language selection and responses, it directs the gameplay through different scenarios involving adopting a dog, saving a princess and deciding whether to go on an adventure. The program utilizes system commands to clear screens, set colors and pause between inputs.
This document discusses asynchronous programming and provides examples using various asynchronous programming models in Perl, including IO::Async, POE, and callbacks. It illustrates how asynchronous programming allows for control by other processes, asynchronous code, and event-driven programming. Examples show setting up asynchronous HTTP requests using IO::Async and running sessions and events in POE.
With Unicode you can program and accomplish many funny, cool and useful programs and tools as for instance, Abjad Calculator, Bubble Text Generator to write letters in circle, Flip Text Generator to write letters upside down, Google Transliteration to convert English names to Persian/Arabic, etc...
With Unicode you can program and accomplish many funny, cool and useful programs and tools as for instance, Abjad Calculator calculating the numerical value of letters derived from the Arabic alphabet through the use of the Abjad writing system, Bubble Text Generator to write letters in circle, Flip Text Generator to write letters upside down, Google Transliteration to convert English names to Persian/Arabic, etc.
This document contains two TEI XML files: one containing the text of Ovid's Ibis poem, and the other containing critical apparatus from Owen's edition of the poem. The Ibis text contains line numbers and page breaks. The apparatus file cross-references textual variations in the poem to passages in a separate XML file containing the full text. It includes critical notes on variants found in different manuscript witnesses for several lines.
This document contains inspirational sayings and messages about friendship, kindness, and finding happiness even in difficult times. Some key points are that everyone has people they love, a smile can brighten someone's day, good friends are supportive even from a distance like stars in the sky, and taking time to appreciate friends is important for well-being.
Social media, especially sites like Facebook, Twitter, and YouTube, will significantly transform the sports industry by 2020. These sites will play a large role in how sports are viewed, from streaming live games on YouTube to athletes interacting with fans on Twitter. While social media provides opportunities to engage with fans, it also presents challenges like privacy and security issues for athletes who overshare personal information online. Overall, social platforms are changing how people experience and follow sports.
Understand and prioritize user needs: A marriage of UX and market researchElizabeth Thapliyal
One of the key challenges of product development is the ability to identify and prioritize specific areas of improvements and innovation. In this talk we describe how we applied a new approach to understand and prioritize users’ needs and motivations in order to drive innovation. This approach used field study interview research, synthesized in a mental model, and combined it with a business strategy methodology called Jobs-To-Be-Done. This allowed us to prioritize the jobs that users are trying to accomplish, and we were able to use this information to guide innovation efforts for our products. These techniques will give practitioners the tools they need to prioritize user needs and influence decision-making.
Authors:
Ryan Kasper, @Dr_RyanKasper
Jennifer Padilla, @rinzen75
Elizabeth Thapliyal, @ethapliyal
This document discusses asynchronous programming and provides examples using various asynchronous programming models in Perl, including IO::Async, POE, and callbacks. It illustrates how asynchronous programming allows for control by other processes, asynchronous code, and event-driven programming. Examples show setting up asynchronous HTTP requests using IO::Async and running sessions and events in POE.
With Unicode you can program and accomplish many funny, cool and useful programs and tools as for instance, Abjad Calculator, Bubble Text Generator to write letters in circle, Flip Text Generator to write letters upside down, Google Transliteration to convert English names to Persian/Arabic, etc...
With Unicode you can program and accomplish many funny, cool and useful programs and tools as for instance, Abjad Calculator calculating the numerical value of letters derived from the Arabic alphabet through the use of the Abjad writing system, Bubble Text Generator to write letters in circle, Flip Text Generator to write letters upside down, Google Transliteration to convert English names to Persian/Arabic, etc.
This document contains two TEI XML files: one containing the text of Ovid's Ibis poem, and the other containing critical apparatus from Owen's edition of the poem. The Ibis text contains line numbers and page breaks. The apparatus file cross-references textual variations in the poem to passages in a separate XML file containing the full text. It includes critical notes on variants found in different manuscript witnesses for several lines.
This document contains inspirational sayings and messages about friendship, kindness, and finding happiness even in difficult times. Some key points are that everyone has people they love, a smile can brighten someone's day, good friends are supportive even from a distance like stars in the sky, and taking time to appreciate friends is important for well-being.
Social media, especially sites like Facebook, Twitter, and YouTube, will significantly transform the sports industry by 2020. These sites will play a large role in how sports are viewed, from streaming live games on YouTube to athletes interacting with fans on Twitter. While social media provides opportunities to engage with fans, it also presents challenges like privacy and security issues for athletes who overshare personal information online. Overall, social platforms are changing how people experience and follow sports.
Understand and prioritize user needs: A marriage of UX and market researchElizabeth Thapliyal
One of the key challenges of product development is the ability to identify and prioritize specific areas of improvements and innovation. In this talk we describe how we applied a new approach to understand and prioritize users’ needs and motivations in order to drive innovation. This approach used field study interview research, synthesized in a mental model, and combined it with a business strategy methodology called Jobs-To-Be-Done. This allowed us to prioritize the jobs that users are trying to accomplish, and we were able to use this information to guide innovation efforts for our products. These techniques will give practitioners the tools they need to prioritize user needs and influence decision-making.
Authors:
Ryan Kasper, @Dr_RyanKasper
Jennifer Padilla, @rinzen75
Elizabeth Thapliyal, @ethapliyal
Buku ini memberikan pengantar singkat tentang hak cipta dan hak terkait untuk usaha kecil dan menengah. Ia menjelaskan bahwa hak cipta melindungi berbagai karya asli seperti buku, musik, desain, dan program komputer, sedangkan hak terkait melindungi pelaku seni, produser rekaman, dan lembaga penyiaran. Hak-hak ini memungkinkan pencipta dan pemegang hak lainnya untuk mengawasi pen
Las licencias Creative Commons permiten a los creadores especificar cómo pueden ser usados sus trabajos. Karen Denisse Noboa Chimbo es una estudiante de economía que podría usar estas licencias para compartir su trabajo académico.
This document discusses the functions and roles of various positions within a nursing coordination department at a hospital, including the nursing coordinator, head nurse, specialist nurse, general nurse, and nursing assistant. It provides information on the responsibilities of each role based on a manual from the Hospital Regional Licenciado Adolfo López Mateos.
Develop protocol for transferring large data over small bandwidth. This presentation will show you the things involved in making a pc controlled robot.
This document discusses the use of educational technology (ET) in classrooms and its benefits and challenges. It covers several key points:
- Teachers can be apprehensive about adopting new technologies, but when used properly it can promote independent and higher-level learning in students.
- Challenges include technologies being time-consuming and expensive, and the risk that classrooms become too focused on the technology itself rather than learning.
- When used as a tool to support student-centered learning, technology can help nurture creative, collaborative learning environments and allow students to direct their own learning.
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
This document discusses male sterility in plants, which is the inability to produce viable pollen. It covers the main types of male sterility including cytoplasmic male sterility (CMS), genetic male sterility (GMS), and cytoplasmic-genetic male sterility (CGMS). It also discusses methods for creating and detecting male sterility, as well as applications for hybrid seed production.
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
The document discusses different types of male sterility including cytoplasmic male sterility (CMS), genetic male sterility (GMS), and cytoplasmic genetic male sterility (CGMS). It describes key characteristics of each type of male sterility such as mode of inheritance, environmental sensitivity, and use in hybrid seed production. The document also covers creation of male sterility through mutations, classification of male sterility systems, and applications of male sterility in commercial hybrid seed production.
1. Loops (while and for) allow repeating a block of code multiple times based on a condition. Key loop components are the condition, statement list, and condition update.
2. Nested loops involve loops within other loops, allowing multiple levels of repetition. Variables used in inner loops may shadow those in outer loops.
3. Loop scopes determine variable visibility. Variables declared within loops are local to the loop and not accessible outside. Variables declared before loops can be accessed within and outside loops.
This C++ program allows the user to play two guessing games. In the first game, the user tries to guess the letters in the word "PAKISTAN". The program tracks the number of incorrect guesses and alerts the user if they lose by making too many mistakes. It also checks if they correctly guess the full word to win. In the second game, the user guesses letters to reveal the word "INDIA". Both games display the partially guessed word after each turn and check for invalid inputs. The user can choose to play again or exit the program.
This C++ code defines an ATM simulation program with the following functionality:
1. It prompts the user to enter their PIN and verifies it for authentication.
2. Upon valid PIN entry, it displays a main menu with options to check balance, transfer funds, or withdraw cash.
3. Based on the user's menu selection, it performs the corresponding transaction and updates the account balance.
The document contains C++ code examples demonstrating various programming concepts like:
1. A program that takes input from the user, performs addition if the input letter is 'A' and prints output. Otherwise it prints invalid letter.
2. Multiple code snippets showing the use of for loops, if-else conditions, functions and arithmetic operations.
3. Code examples to find even/odd numbers in an array, check if a number is prime, calculate factorials, print multiplication tables and find the sum of numbers.
This C++ program allows a user to choose between addition, multiplication, or exiting. It prompts the user to enter two numbers, calls functions to perform the selected operation, and displays the result. The program uses switch statements, functions, and input validation to repeat until the user exits.
This programming allows the user to input a decimal number and converts it to octal. It displays the decimal number entered by the user and its equivalent octal value. The user is also prompted if they want to do another conversion or end the program.
The document contains 10 C++ programs demonstrating the use of if-else, switch, loop, and nested loop structures. Each program includes the necessary header files, defines a main function, and demonstrates basic conditional logic and/or iterative logic using the given control structures. The programs cover examples such as calculating electricity bills based on usage, determining grades from marks, finding the day of the week, and more.
Switch case is a type of selection control mechanism that allows the value of a variable to control program flow via branches. It improves clarity over repetitive coding and can optimize execution speed. Examples show switch case being used to output different text based on the value of variables like grades, genders, and numbers. Loops are used to repeat a block of code. They allow simple statements to produce greater results through repetition. Examples demonstrate using loops to repeatedly output text, request passwords, and calculate falling distances over time.
The document discusses various control structures in C++ programming including if/else statements, while loops, do/while loops, and for loops. It provides code examples of each control structure and the output of executing the code. It also demonstrates the use of break and continue statements within loops.
The document contains code for a rock-paper-scissors game that tracks scores between two players over 5 rounds. It prompts the players to input their choice, compares the choices to determine a winner, and prints the updated scores. If the choices are the same, it declares a draw. It uses if/else statements to handle the different combinations of inputs and outputs the results of each round until all 5 rounds are completed.
The document contains code for a rock-paper-scissors game that tracks scores between two players over 5 rounds. It prompts the players to input their choice, compares the choices to determine a winner, and displays the updated scores. If the choices are the same, it declares a draw. It uses if/else statements to handle the different combinations of inputs and outputs the results of each round until all 5 rounds are completed.
The document contains code snippets demonstrating different types of loops in C++ including for, while, do-while loops. It also shows examples of using break, continue and flag-controlled loops. Nested loops and sentinel controlled loops are presented. The output of the code snippets is also discussed in some cases.
The document contains code for an employee management system program written in C++. It defines structures to store employee data and functions to build, list, insert, delete, edit, search, and sort employee records. The main function calls these functions and includes a menu loop to allow the user to select different options for managing the employee database.
This document contains code snippets from a structured programming tutorial/lab assignment. It includes 5 questions that involve printing text, performing basic math operations on hardcoded and user-inputted values, and converting floating point numbers to integers using different rounding methods. For each question, the code to solve it is provided along with example outputs.
Buku ini memberikan pengantar singkat tentang hak cipta dan hak terkait untuk usaha kecil dan menengah. Ia menjelaskan bahwa hak cipta melindungi berbagai karya asli seperti buku, musik, desain, dan program komputer, sedangkan hak terkait melindungi pelaku seni, produser rekaman, dan lembaga penyiaran. Hak-hak ini memungkinkan pencipta dan pemegang hak lainnya untuk mengawasi pen
Las licencias Creative Commons permiten a los creadores especificar cómo pueden ser usados sus trabajos. Karen Denisse Noboa Chimbo es una estudiante de economía que podría usar estas licencias para compartir su trabajo académico.
This document discusses the functions and roles of various positions within a nursing coordination department at a hospital, including the nursing coordinator, head nurse, specialist nurse, general nurse, and nursing assistant. It provides information on the responsibilities of each role based on a manual from the Hospital Regional Licenciado Adolfo López Mateos.
Develop protocol for transferring large data over small bandwidth. This presentation will show you the things involved in making a pc controlled robot.
This document discusses the use of educational technology (ET) in classrooms and its benefits and challenges. It covers several key points:
- Teachers can be apprehensive about adopting new technologies, but when used properly it can promote independent and higher-level learning in students.
- Challenges include technologies being time-consuming and expensive, and the risk that classrooms become too focused on the technology itself rather than learning.
- When used as a tool to support student-centered learning, technology can help nurture creative, collaborative learning environments and allow students to direct their own learning.
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
This document discusses male sterility in plants, which is the inability to produce viable pollen. It covers the main types of male sterility including cytoplasmic male sterility (CMS), genetic male sterility (GMS), and cytoplasmic-genetic male sterility (CGMS). It also discusses methods for creating and detecting male sterility, as well as applications for hybrid seed production.
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
The document discusses different types of male sterility including cytoplasmic male sterility (CMS), genetic male sterility (GMS), and cytoplasmic genetic male sterility (CGMS). It describes key characteristics of each type of male sterility such as mode of inheritance, environmental sensitivity, and use in hybrid seed production. The document also covers creation of male sterility through mutations, classification of male sterility systems, and applications of male sterility in commercial hybrid seed production.
1. Loops (while and for) allow repeating a block of code multiple times based on a condition. Key loop components are the condition, statement list, and condition update.
2. Nested loops involve loops within other loops, allowing multiple levels of repetition. Variables used in inner loops may shadow those in outer loops.
3. Loop scopes determine variable visibility. Variables declared within loops are local to the loop and not accessible outside. Variables declared before loops can be accessed within and outside loops.
This C++ program allows the user to play two guessing games. In the first game, the user tries to guess the letters in the word "PAKISTAN". The program tracks the number of incorrect guesses and alerts the user if they lose by making too many mistakes. It also checks if they correctly guess the full word to win. In the second game, the user guesses letters to reveal the word "INDIA". Both games display the partially guessed word after each turn and check for invalid inputs. The user can choose to play again or exit the program.
This C++ code defines an ATM simulation program with the following functionality:
1. It prompts the user to enter their PIN and verifies it for authentication.
2. Upon valid PIN entry, it displays a main menu with options to check balance, transfer funds, or withdraw cash.
3. Based on the user's menu selection, it performs the corresponding transaction and updates the account balance.
The document contains C++ code examples demonstrating various programming concepts like:
1. A program that takes input from the user, performs addition if the input letter is 'A' and prints output. Otherwise it prints invalid letter.
2. Multiple code snippets showing the use of for loops, if-else conditions, functions and arithmetic operations.
3. Code examples to find even/odd numbers in an array, check if a number is prime, calculate factorials, print multiplication tables and find the sum of numbers.
This C++ program allows a user to choose between addition, multiplication, or exiting. It prompts the user to enter two numbers, calls functions to perform the selected operation, and displays the result. The program uses switch statements, functions, and input validation to repeat until the user exits.
This programming allows the user to input a decimal number and converts it to octal. It displays the decimal number entered by the user and its equivalent octal value. The user is also prompted if they want to do another conversion or end the program.
The document contains 10 C++ programs demonstrating the use of if-else, switch, loop, and nested loop structures. Each program includes the necessary header files, defines a main function, and demonstrates basic conditional logic and/or iterative logic using the given control structures. The programs cover examples such as calculating electricity bills based on usage, determining grades from marks, finding the day of the week, and more.
Switch case is a type of selection control mechanism that allows the value of a variable to control program flow via branches. It improves clarity over repetitive coding and can optimize execution speed. Examples show switch case being used to output different text based on the value of variables like grades, genders, and numbers. Loops are used to repeat a block of code. They allow simple statements to produce greater results through repetition. Examples demonstrate using loops to repeatedly output text, request passwords, and calculate falling distances over time.
The document discusses various control structures in C++ programming including if/else statements, while loops, do/while loops, and for loops. It provides code examples of each control structure and the output of executing the code. It also demonstrates the use of break and continue statements within loops.
The document contains code for a rock-paper-scissors game that tracks scores between two players over 5 rounds. It prompts the players to input their choice, compares the choices to determine a winner, and prints the updated scores. If the choices are the same, it declares a draw. It uses if/else statements to handle the different combinations of inputs and outputs the results of each round until all 5 rounds are completed.
The document contains code for a rock-paper-scissors game that tracks scores between two players over 5 rounds. It prompts the players to input their choice, compares the choices to determine a winner, and displays the updated scores. If the choices are the same, it declares a draw. It uses if/else statements to handle the different combinations of inputs and outputs the results of each round until all 5 rounds are completed.
The document contains code snippets demonstrating different types of loops in C++ including for, while, do-while loops. It also shows examples of using break, continue and flag-controlled loops. Nested loops and sentinel controlled loops are presented. The output of the code snippets is also discussed in some cases.
The document contains code for an employee management system program written in C++. It defines structures to store employee data and functions to build, list, insert, delete, edit, search, and sort employee records. The main function calls these functions and includes a menu loop to allow the user to select different options for managing the employee database.
This document contains code snippets from a structured programming tutorial/lab assignment. It includes 5 questions that involve printing text, performing basic math operations on hardcoded and user-inputted values, and converting floating point numbers to integers using different rounding methods. For each question, the code to solve it is provided along with example outputs.
This document contains code snippets and explanations for 5 questions on structured programming in C++. Question 1 involves writing a program to determine if a number is odd or even. Question 2 prints a multiplication table as a lower triangular matrix using different loop structures. Question 3 solves quadratic equations. Question 4 finds the mean of N numbers using various loops. Question 5 calculates the sum of even and odd numbers up to N using different loops. The document provides the code and output for each question using different loop structures like for, while, and do-while loops.
This document contains code to reverse a string in C++. The code first prompts the user to enter a word, stores it in a string, then uses a while loop to iterate through the string backwards, printing each character. It repeats this process, asking the user if they want to try again, until the user enters 'N' or 'n' to exit the program.
This document contains code for a C++ program that calculates an employee's salary and benefits based on their grade level, gender, marital status, and number of dependents. It starts by prompting the user to select their grade level from a list of options, which sets their base salary. It then collects additional user input to determine family details and calculate applicable allowances. The program outputs the employee's base pay, individual allowances, total salary, tax amount, and food subsidy in kilograms of rice.
This document contains the source code and test bench for a RAM module. The source code defines an entity for a RAM with an 8-bit address and 8-bit data ports, as well as write enable, chip select, and output enable ports. The architecture defines an 8-bit signal to store the 256 memory locations. The test bench instantiates the RAM entity and applies a stimulus of writing 8 bytes of data to addresses and then reading back the values.
This document contains the code solutions to 6 questions on structured programming techniques in C++. It demonstrates the use of different loop structures like while and for loops to calculate the area and perimeter of a rectangle, convert inches to centimeters, determine if a user is a child, adult or senior citizen based on age, calculate factorials of a given number, find the sum of first N natural numbers, and calculate the sum of squares of a given number. For each question, multiple solutions using different loop types are provided along with sample outputs.
Lifecycle of a GME Trader: From Newbie to Diamond Handsmediavestfzllc
Your phone buzzes with a Reddit notification. It's the WallStreetBets forum, a cacophony of memes, rocketship emojis, and fervent discussions about Gamestop (GME) stock. A spark ignites within you - a mix of internet bravado, a rebellious urge to topple the hedge funds (remember Mr. Mayo?), and maybe that one late-night YouTube rabbit hole about tendies. You decide to YOLO (you only live once, right?).
Ramen noodles become your new best friend. Every spare penny gets tossed into the GME piggy bank. You're practically living on fumes, but the dream of a moonshot keeps you going. Your phone becomes an extension of your hand, perpetually glued to the GME ticker. It's a roller-coaster ride - every dip a stomach punch, every rise a shot of adrenaline.
Then, it happens. Roaring Kitty, the forum's resident legend, fires off a cryptic tweet. The apes, as the GME investors call themselves, erupt in a frenzy. Could this be it? Is the rocket finally fueled for another epic launch? You grip your phone tighter, heart pounding in your chest. It's a wild ride, but you're in it for the long haul.
This tutorial presentation provides a step-by-step guide on how to use Facebook, the popular social media platform. In simple and easy-to-understand language, this presentation explains how to create a Facebook account, connect with friends and family, post updates, share photos and videos, join groups, and manage privacy settings. Whether you're new to Facebook or just need a refresher, this presentation will help you navigate the features and make the most of your Facebook experience.
The Evolution of SEO: Insights from a Leading Digital Marketing AgencyDigital Marketing Lab
Explore the latest trends in Search Engine Optimization (SEO) and discover how modern practices are transforming business visibility. This document delves into the shift from keyword optimization to user intent, highlighting key trends such as voice search optimization, artificial intelligence, mobile-first indexing, and the importance of E-A-T principles. Enhance your online presence with expert insights from Digital Marketing Lab, your partner in maximizing SEO performance.
Project Serenity is an innovative initiative aimed at transforming urban environments into sustainable, self-sufficient communities. By integrating green architecture, renewable energy, smart technology, sustainable transportation, and urban farming, Project Serenity seeks to minimize the ecological footprint of cities while enhancing residents' quality of life. Key components include energy-efficient buildings, IoT-enabled resource management, electric and autonomous transportation options, green spaces, and robust waste management systems. Emphasizing community engagement and social equity, Project Serenity aspires to serve as a global model for creating eco-friendly, livable urban spaces that harmonize modern conveniences with environmental stewardship.
Surat Digital Marketing School is created to offer a complete course that is specifically designed as per the current industry trends. Years of experience has helped us identify and understand the graduate-employee skills gap in the industry. At our school, we keep up with the pace of the industry and impart a holistic education that encompasses all the latest concepts of the Digital world so that our graduates can effortlessly integrate into the assigned roles.
This is the place where you become a Digital Marketing Expert.
This tutorial presentation offers a beginner-friendly guide to using THREADS, Instagram's messaging app. It covers the basics of account setup, privacy settings, and explores the core features such as close friends lists, photo and video sharing, creative tools, and status updates. With practical tips and instructions, this tutorial will empower you to use THREADS effectively and stay connected with your close friends on Instagram in a private and engaging way.
Telegram is a messaging platform that ushers in a new era of communication. Available for Android, Windows, Mac, and Linux, Telegram offers simplicity, privacy, synchronization across devices, speed, and powerful features. It allows users to create their own stickers with a user-friendly editor. With robust encryption, Telegram ensures message security and even offers self-destructing messages. The platform is open, with an API and source code accessible to everyone, making it a secure and social environment where groups can accommodate up to 200,000 members. Customize your messenger experience with Telegram's expressive features.
EASY TUTORIAL OF HOW TO USE REMINI BY: FEBLESS HERNANEFebless Hernane
Using Remini is easy and quick for enhancing your photos. Start by downloading the Remini app on your phone. Open the app and sign in or create an account. To improve a photo, tap the "Enhance" button and select the photo you want to edit from your gallery. Remini will automatically enhance the photo, making it clearer and sharper. You can compare the before and after versions by swiping the screen. Once you're happy with the result, tap "Save" to store the enhanced photo in your gallery. Remini makes your photos look amazing with just a few taps!
EASY TUTORIAL OF HOW TO USE G-TEAMS BY: FEBLESS HERNANEFebless Hernane
Using Google Teams (G-Teams) is simple. Start by opening the Google Teams app on your phone or visiting the G-Teams website on your computer. Sign in with your Google account. To join a meeting, click on the link shared by the organizer or enter the meeting code in the "Join a Meeting" section. To start a meeting, click on "New Meeting" and share the link with others. You can use the chat feature to send messages and the video button to turn your camera on or off. G-Teams makes it easy to connect and collaborate with others!
Your LinkedIn Success Starts Here.......SocioCosmos
In order to make a lasting impression on your sector, SocioCosmos provides customized solutions to improve your LinkedIn profile.
https://www.sociocosmos.com/product-category/linkedin/
2. const string RASPUNSNSE = "no";
system("color F1");
cout << "1. For english language type > EN < ." << endl;
cout << "2. Pentru limba romana tasteaza > RO < ." << endl;
cin >> limba;
if(limba == LIMBAROB || limba == LIMBAROS)
goto RO;
else if(limba == LIMBAENB || limba == LIMBAENS)
goto EN;
EN:
system("CLS");
cout << "================================ENGLISH
VERSION=================================" << endl << endl << endl << endl;
system("color f1");
cout << "Hi, this is the v1.0 version of the text-based game named ><Adventure time><." << endl;
cout << "This game will update once a week or two times a week." << endl << endl << endl;
cout << "Becaue this is an interactive game, i want to know your name : ";
cin >> numej;
system("CLS");
if(numej == NUMEDB || numej == NUMEDS)
{
3. cout << "Such a coincidence, Teodor is also my name " << char(zambet) << " . I will be your guide
during the game ."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl;
nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
else
{
cout << numej << " is a very beautiful name. My name is Teodor and i will be your guide during the
game ."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
cout << numej << ", because you told me your name, you reached level " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
5. cout << "Hey, in front of you is a little dog, do you want to adopt it ?" << endl << endl;
cin >> raspuns;
cout << endl;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
cout << "Well done, you adopted a little dog ." << endl << endl;
cout << "Your journey is almost at the final ." << endl << endl;
cout << "Your journey is at the end, you returned at home and you bought for your dog a cage."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
nivel++;
system("pause");
system("CLS");
cout << numej << ", because you taked care of that dog, you reached level " << nivel << " ."
<< endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Press > Enter < to continue .";
6. system("pause");
system("CLS");
}
else
{
cout << "Oh, that little dog is now alone and hungry ." << endl << endl;
cout << "Because it stars to rain, you've returned home ." << endl << endl;
cout << "You are tinking at that little dog |o__o| ." << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Sadly, because you don't adopted that little dog, you died because you were sad ." <<
endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
goto sfarsiten;
}
}
else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE)
{
system("CLS");
cout << "It is your choice, but it was a good chance to reach the next level ." << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
7. //pausa
//pausa
cout << "You returned at home and you find a suspicious men hwo wants to speak with you ." << endl
<< endl << endl;
cout << "Alex: My name is Alex. I have something very iportant to speak with you !" << endl << endl;
cout << numej << ": What ? What is the problem ?" << endl << endl;
cout << "Alex: I can't belive that you don't know yet !" << endl << endl;
cout << numej << ": What should i know ?" << endl << endl;
cout << "Alex: The princess is in danger ! You should save her !" << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Do you want to go to find the princess ?";
cin >> raspuns;
cout << endl << endl;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
nivel = nivel++;
cout << numej << ", you are an adventurier person, you reached level " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
8. system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << numej << ", you are not an adventurier person, the princess has died ." << endl << endl;
cout << "The princess spirit comes at you to revenge, you died !" << endl << endl;
system("pause");
system("CLS");
goto sfarsiten;
}
cout << "Thanking you, it is mondial peace ." << endl << endl;
cout << "Alex: " << numej << ", do you want to take the airplane to a wonderfull place ?"
<< endl << endl;
cin >> raspuns;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
cout << endl << endl << "Alex: Then, get this money and buy an airplane ticket !" << endl << endl;
bani = bani + 100;
9. cout << "You gained " << bani << " $" << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE)
{
cout << endl << endl << "Alex: You don't have an adventurier spirit, i will kill you !" << endl;
for(int i = 10; i >= 0; i--)
{
cout << i << endl;
}
cout << endl << endl << "You died !";
goto sfarsiten;
}
goto sfarsiten;
RO:
system("CLS");
cout << "================================Versiunea
romana================================" << endl << endl << endl << endl;
system("color f1");
cout << "Buna, aceasta este versiunea v1.0 a jocului text-based numit ><Adventure time><." << endl;
10. cout << "Acest joc se va actualiza o data pe saptamana sau se doua ori pe saptamana." << endl << endl
<< endl;
cout << "Avand in vedere ca este un joc interactiv, vreau sa stiu numele tau : ";
cin >> numej;
system("CLS");
if(numej == NUMEDB || numej == NUMEDS)
{
cout << "Ce coincidenta, si pe mine ma cheama tot Teodor " << char(zambet) << " . Eu voi fi ghidul
tau pe parcursul jocului ."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
else
{
cout << numej << " este un nume foarte frumos. Pe mine ma cheama Teodor si voi fi ghidul tau pe
parcursul jocului."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
11. {
system("CLS");
}
}
cout << numej << ", pentru ca mi-ai spus numele tau, ai ajuns la nivelul " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Vrei sa pornesti intr-o calatorie ?" << endl;
cin >> raspuns;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
system("CLS");
cout << "Atunci, sa mergem !" << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
12. system("CLS");
cout << "Hei, in fata este un catelus, vrei sa il adopti ?" << endl << endl;
cin >> raspuns;
cout << endl;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
cout << "Bravo, ai adoptat un catel ." << endl << endl;
cout << "Calatoria ta este aproape de final ." << endl << endl;
cout << "Calatoria ta a luat sfarsit, te-ai intors acasa si i-ai cumparat cainelui tau o cusca."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
nivel = nivel++;
system("pause");
system("CLS");
cout << numej << ", pentru ca ai avut grija de acel catel, ai ajuns la nivelul " << nivel << " ."
<< endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
13. cout << "Apasa > Enter < pentru a continua ." << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << "Of, saracul catel, a ramas singur si fara mancare ." << endl << endl;
cout << "Din cauza ploii care tocmai s-a pornit, te-ai intors acasa ." << endl << endl;
cout << "Te gandesti la saracul caine din calatorie |o__o| ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Din pacate, din cauza ca nu ai adoptat acel caine, ai murit de tristete ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
goto sfarsitro;
}
}
else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS)
{
system("CLS");
cout << "Este alegerea ta, dar era o sansa buna de a avansa la nivelul urmator ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
14. system("CLS");
}
cout << "Ai ajuns acasa si ai intalnit un om suspect care a inceput sa vorbeasca cu tine ." << endl <<
endl << endl;
cout << "Alex: Ma cheama Alex, am ceva foarte important de vorbit cu tine !" << endl << endl;
cout << numej << ": Poftim ? Care este problema ?" << endl << endl;
cout << "Alex: Nu pot sa cred ca nu ai aflat inca !" << endl << endl;
cout << numej << ": Ce sa aflu ?" << endl << endl;
cout << "Alex: Printesa este in pericol ! Trebuie sa o salvezi !" << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Vrei sa pornesti in cautarea printesei si sa o salvezi ?";
cin >> raspuns;
cout << endl << endl;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
nivel = nivel++;
cout << numej << ", esti o persoana aventuriera, ai ajuns la nivelul " << nivel << " ." << endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
15. system("color f1");
}
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << numej << ", nu esti o persoana aventuriera, iar printesa a murit ." << endl << endl;
cout << "Spiritul printesei a venit sa se razbune pe tine, ai murit !" << endl << endl;
system("pause");
system("CLS");
goto sfarsitro;
}
cout << "Datorita curajului tau, este pace la nivel mondial ." << endl << endl;
cout << "Alex: " << numej << ", vrei sa iei avionul catre un taram minunat unde poti avea parte de
multe aventuri ?"
<< endl << endl;
cin >> raspuns;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
cout << endl << endl << "Alex: Atunci ia acesti bani si cumpara-ti un bilet de avion !" << endl << endl;
bani = bani++;
cout << "Ai primit " << bani << " RON ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
16. system("CLS");
}
else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS)
{
cout << endl << endl << "Alex: Nu ai deloc un spirit de aventurier . Te voi omori !" << endl;
for(int i = 10; i >= 0; i--)
{
cout << i << endl;
}
cout << endl << endl << "Ai murit !";
goto sfarsitro;
}
cout << "Pana acum te-ai descurcat foarte bine in acest joc.";
goto sfarsitro;
sfarsitro:
system("CLS");
cout << "Ai incheiat versiunea v1.0 a acestui joc. Update-urile vin in curand..." << endl << endl;
goto gata;
sfarsiten:
system("CLS");
cout << "You finished the version v1.0 of the game. The updates are comming soon..." << endl << endl;