473,378 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Equivalent of getch or getche in C#

Hi All,

Which is function equivalent to getch/getche of C++.

Thanz in Advance,
Justine
Nov 15 '05 #1
5 6217
Hi,

That should be Console.Read().

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com

"Justine" <am***********@hotmail.com> wrote in message
news:a2****************************@phx.gbl...
Hi All,

Which is function equivalent to getch/getche of C++.

Thanz in Advance,
Justine

Nov 15 '05 #2
Hi,

but it would echo the character v enter....
i don't want it that way... any help....

-----Original Message-----
Hi,

That should be Console.Read().

--
Miha Markic - RightHand .NET consulting & software developmentmiha at rthand com

"Justine" <am***********@hotmail.com> wrote in message
news:a2****************************@phx.gbl...
Hi All,

Which is function equivalent to getch/getche of C++.

Thanz in Advance,
Justine

.

Nov 15 '05 #3
Yes, you are right.
Check this message out
http://groups.google.com/groups?hl=e...ftngxa10#link5

--
Miha Markic - DXSquad/RightHand .NET consulting & software development
miha at rthand com

Developer Express newsgroups are for peer-to-peer support.
For direct support from Developer Express, write to su*****@devexpress.com
Bug reports should be directed to: su*****@devexpress.com
Due to newsgroup guidelines, DX-Squad will not answer anonymous postings.

"Justine" <am***********@hotmail.com> wrote in message
news:01****************************@phx.gbl...
Hi,

but it would echo the character v enter....
i don't want it that way... any help....

-----Original Message-----
Hi,

That should be Console.Read().

--
Miha Markic - RightHand .NET consulting & software

development
miha at rthand com

"Justine" <am***********@hotmail.com> wrote in message
news:a2****************************@phx.gbl...
Hi All,

Which is function equivalent to getch/getche of C++.

Thanz in Advance,
Justine

.

Nov 15 '05 #4
Hey.. Thanz a lot.... it works...... but i need to press
enter twice!!!!!!!1

Well Miha... i have one more thing to clarify abt
executing DOS commands as part of our Console Application.
(Kindly Ref to my Query posted today...)

Would u mind telling me how u could get the link u sent.
caz i did use google.com to search, only to find answers
related to "C" dispite all different combination of
search string.

Thanks Once Again,
Justine
-----Original Message-----
Yes, you are right.
Check this message out
http://groups.google.com/groups?hl=en&lr=&ie=UTF- 8&oe=UTF-
8&frame=right&th=9d44551ee37e9995&seekm=6WvF1qoQCH A.3120%
40cpmsftngxa10#link5
--
Miha Markic - DXSquad/RightHand .NET consulting & software developmentmiha at rthand com

Developer Express newsgroups are for peer-to-peer support.For direct support from Developer Express, write to su*****@devexpress.comBug reports should be directed to: su*****@devexpress.com
Due to newsgroup guidelines, DX-Squad will not answer anonymous postings.
"Justine" <am***********@hotmail.com> wrote in message
news:01****************************@phx.gbl...
Hi,

but it would echo the character v enter....
i don't want it that way... any help....

>-----Original Message-----
>Hi,
>
>That should be Console.Read().
>
>--
>Miha Markic - RightHand .NET consulting & software

development
>miha at rthand com
>
>"Justine" <am***********@hotmail.com> wrote in message
>news:a2****************************@phx.gbl...
>> Hi All,
>>
>> Which is function equivalent to getch/getche of C++.
>>
>>
>>
>> Thanz in Advance,
>> Justine
>
>
>.
>

.

Nov 15 '05 #5
Hi Justine,
Would u mind telling me how u could get the link u sent.
caz i did use google.com to search, only to find answers
related to "C" dispite all different combination of
search string.


Ehmmm: "getch group:*dotnet*"

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
Nov 15 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: VivekR | last post by:
Hi, Consider the program snippet below main { .... printf("Enter Choice: "); int choice = getche();
28
by: srikanth | last post by:
help me out with the subject
9
by: James McLaughlin | last post by:
Hi, Does anyone know if it's possible to write either a getch() (preferably Borland-style) or getche() function in C without it being platform-dependent or otherwise non-standard? If not, can...
6
by: ppravin88 | last post by:
hi guys 'n' gals .. could anyone tell me the difference between getch(); and getche(); and when and where should we use this function... and also wat is the diff between return(); & return(0);...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.