Zagros | Zagros is a bug tracking system
kandi X-RAY | Zagros Summary
kandi X-RAY | Zagros Summary
Zagros is a bug tracking system
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Zagros
Zagros Key Features
Zagros Examples and Code Snippets
Community Discussions
Trending Discussions on Zagros
QUESTION
I am encountering an error with an guessing game that i am trying to make in c++. This is the following structure:
- A pseudo generator generated a number between 1-50
- The user is going to guess which number is going the pseudo generator generated and if the user is wrong it is going to count the tries the user did.
- If the user guessed right on the first time, the user gets 10 points, if it is on the 3rd time. the user gets 5 points. If the user had done up to 10 tries, the user gets 1 point.
The issue lays in upon incrementing, it does not increment. i have created while loops with do statements and including conditions. But i have resaearched on other articles on stack overflow, but i am having a hard time to implement it in my code as i am a beginner and really into c++.
An example article: Program to figure out number between 1 and 100 won't ever guess "100" because of rounding
...ANSWER
Answered 2018-Oct-11 at 12:19couple of issues.
cin >> namn
won't work because namn is a string. unless if you include header file #include
even then cin
won't recognise the multiple words in a string. A better approach would be using
getline(cin, namn);
you have while loops that don't do anything in the code and will force you in an infinite loop eventually.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Zagros
Edit database config in app/config/database.php
Run php artisan migrate --path=vendor/mohsen/zagros-core/src/migrations/
Run php artisan asset:publish
Run Zagros from browser.
Register in Zagros as admin user
Go to za_users table of Zagros database and update field admin to 1 for one time.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page