16,017,986 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by nitinjain9619 (Top 9 by date)
nitinjain9619
18-Jul-20 6:01am
View
I am very touched by what you have done for me and thank you so much once again
nitinjain9619
18-Jul-20 5:31am
View
yes,i applied it and it is working fine now but now i want that scanner object should not store any thing after enter key pressed it should store only first number and stop reading after that. Is it possible?
nitinjain9619
18-Jul-20 5:10am
View
actually i want that if user enter for first than it should be allowed, after that scanner object should not store anything (after enter key pressed).
i am working on a project bingo game where each player will get chance circularly,my code is working perfect if user enter one number at a time but whenever he enter two number simultaneously then at next chance whatever he written 2nd time in his previous chance is considering his played number in current chance i want to stop user for entering two number simultaneously.
and thanks for your support..
nitinjain9619
18-Jul-20 4:54am
View
Deleted
actually i want that if user enter for first than it should be allowed, after that scanner object should not store anything (after enter key pressed).
i am working on a project bingo game where each player will get chance circularly,my code is working perfect if user enter one number at a time but whenever he enter two number simultaneously then at next chance whatever he written 2nd time in his previous chance is considering his played number in current chance i want to stop user for entering two number simultaneously.
and thanks for your support..
nitinjain9619
18-Jul-20 4:43am
View
i was trying wrong i created variable int flag=1 and then before reading user input i was checking flag is 1 if yes then allow to write using sc.nextInt(); and after that flag=0;
nitinjain9619
18-Jul-20 4:37am
View
Deleted
i was trying wrong i created variable int flag=1 and then before reading user input i was checking flag is 1 if yes then allow to write using sc.nextInt(); and after that flag=0;
i think my logic was wrong can u please help me with it how to call nextInt only once
nitinjain9619
15-Jul-20 1:36am
View
okkk thanks
nitinjain9619
13-Jul-20 6:56am
View
okk i am trying what u said... thanks for your comment
nitinjain9619
13-Jul-20 6:51am
View
okk i will do the changes
Show More