"Press any key to continue..."의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
3번째 줄: 3번째 줄:


==Bash==
==Bash==
<source lang='bash'>
<syntaxhighlight lang='bash'>
read -sn 1 -p "Press any key to continue..."
read -sn 1 -p "Press any key to continue..."
</source>
</syntaxhighlight>


==CMD==
==CMD==
<source lang='bash'>
<syntaxhighlight lang='bash'>
PAUSE
PAUSE
</source>
</syntaxhighlight>


==C#==
==C#==
<source lang='csharp'>
<syntaxhighlight lang='csharp'>
Console.Out.WriteLine("Press any key to continue...");
Console.Out.WriteLine("Press any key to continue...");
Console.ReadKey();
Console.ReadKey();
</source>
</syntaxhighlight>


==PHP==
==PHP==
<source lang='PHP'>
<syntaxhighlight lang='PHP'>
echo 'Press any key to continue...';
echo 'Press any key to continue...';
fgetc(STDIN);
fgetc(STDIN);
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2020년 11월 2일 (월) 02:35 판

Press any key to continue...
PAUSE

1 Bash

read -sn 1 -p "Press any key to continue..."

2 CMD

PAUSE

3 C#

Console.Out.WriteLine("Press any key to continue...");
Console.ReadKey();

4 PHP

echo 'Press any key to continue...';
fgetc(STDIN);

5 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}