From: <Saved by Mozilla 5.0 (Windows)>
Subject: kbhit() for linux.
Date: Wed, 05 Feb 2014 21:24:01 -0200
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_0000_3ABA21D1.F7924CC7"
X-MAF-Information: Produced By MAF V3.0.0

This is a multi-part message in MIME format.

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://cboard.cprogramming.com/c-programming/63166-kbhit-linux.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns=3D"http://www.w3.=
org/1999/xhtml" xmlns:fb=3D"http://www.facebook.com/2008/fbml" dir=3D"ltr"=
 id=3D"vbulletin_html" lang=3D"en"><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dwindows-1=
252">
<base href=3D""><!--[if IE]></base><![endif]--> <link href=3D"urn:snapshot-=
0D9F102C:http://static.cprogramming.com/syntax-highlight/styles/shCore.css"=
 rel=3D"stylesheet" type=3D"text/css"> <link href=3D"urn:snapshot-195883A0:=
http://static.cprogramming.com/syntax-highlight/styles/shThemeDefault.css"=
 rel=3D"stylesheet" type=3D"text/css"> <meta http-equiv=3D"Content-Type" co=
ntent=3D"text/html; charset=3Dwindows-1252"> <meta id=3D"e_vb_meta_bburl"=
 name=3D"vb_meta_bburl" content=3D"http://cboard.cprogramming.com"> <meta=
 name=3D"generator" content=3D"vBulletin 4.2.2"> <meta http-equiv=3D"X-UA-C=
ompatible" content=3D"IE=3D9"> <link rel=3D"Shortcut Icon" href=3D"http://c=
board.cprogramming.com/favicon.ico" type=3D"image/x-icon"> <meta property=
=3D"fb:app_id" content=3D"138221899582198"> <meta property=3D"og:site_name"=
 content=3D"C Board"> <meta property=3D"og:description" content=3D"I only=
 want the program to quit if the user has hit a key and that key correspond=
s to the ESC key. Otherwise i want it to continue looping. This is"> <meta=
 property=3D"og:url" content=3D"http://cboard.cprogramming.com/c-programmin=
g/63166-kbhit-linux.html"> <meta property=3D"og:type" content=3D"article">=
 <meta property=3D"og:image" content=3D"http://www.cprogramming.com/images/=
cpp.png"> <script src=3D"urn:snapshot-6432DF31:http://www.google-analytics.=
com/ga.js" async=3D"" type=3D"text/javascript"></script><script type=3D"tex=
t/javascript" src=3D"urn:snapshot-6089C68B:http://yui.yahooapis.com/combo?2=
.9.0/build/yuiloader-dom-event/yuiloader-dom-event.js&amp;2.9.0/build/conne=
ction/connection-min.js"></script> <script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script> <script type=3D"text/javascript" src=3D"urn:snapshot-070BAA59:=
http://js.cprogramming.com/clientscript/vbulletin-core.js?v=3D422"></script=
> <link rel=3D"alternate" type=3D"application/rss+xml" title=3D"C Board RSS=
 Feed" href=3D"http://cboard.cprogramming.com/external.php?type=3DRSS2"> <l=
ink rel=3D"alternate" type=3D"application/rss+xml" title=3D"C Board - C Pro=
gramming - RSS Feed" href=3D"http://cboard.cprogramming.com/external.php?ty=
pe=3DRSS2&amp;forumids=3D4"> <link rel=3D"stylesheet" type=3D"text/css" hre=
f=3D"urn:snapshot-551B6973:http://js.cprogramming.com/clientscript/vbulleti=
n_css/style00006l/main-rollup.css?d=3D1381646760"> <!--[if lt IE 8]> <link=
 rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.cprogramming.com/cl=
ientscript/vbulletin_css/style00006l/popupmenu-ie.css?d=3D1381646760" /> <l=
ink rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.cprogramming.com=
/clientscript/vbulletin_css/style00006l/vbulletin-ie.css?d=3D1381646760" />=
 <link rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.cprogramming.=
com/clientscript/vbulletin_css/style00006l/vbulletin-chrome-ie.css?d=3D1381=
646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.cpr=
ogramming.com/clientscript/vbulletin_css/style00006l/vbulletin-formcontrols=
-ie.css?d=3D1381646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=
=3D"http://js.cprogramming.com/clientscript/vbulletin_css/style00006l/edito=
r-ie.css?d=3D1381646760" /> <![endif]--> <meta name=3D"keywords" content=3D=
"kbhit,linux,escape, include, loop, kbhit, linux, mainvoid, program, define=
, whileloop, quitting, printfyou, printftim, loopyn, getch, checks, continu=
e, looping, corresponds, user, function, windowsshows, easlily, quit, press=
"> <meta name=3D"description" content=3D"I only want the program to quit if=
 the user has hit a key and that key corresponds to the ESC key. Otherwise=
 i want it to continue looping. This is"> <title> kbhit() for linux.</title=
> <link rel=3D"canonical" href=3D"#"> <link rel=3D"stylesheet" type=3D"text=
/css" href=3D"urn:snapshot-2484C0F0:http://js.cprogramming.com/clientscript=
/vbulletin_css/style00006l/showthread-rollup.css?d=3D1381646760"> <!--[if=
 lt IE 8]><link rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.cpro=
gramming.com/clientscript/vbulletin_css/style00006l/toolsmenu-ie.css?d=3D13=
81646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=3D"http://js.c=
programming.com/clientscript/vbulletin_css/style00006l/postlist-ie.css?d=3D=
1381646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=3D"http://js=
.cprogramming.com/clientscript/vbulletin_css/style00006l/showthread-ie.css?=
d=3D1381646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=3D"http:=
//js.cprogramming.com/clientscript/vbulletin_css/style00006l/postbit-ie.css=
?d=3D1381646760" /> <link rel=3D"stylesheet" type=3D"text/css" href=3D"http=
://js.cprogramming.com/clientscript/vbulletin_css/style00006l/poll-ie.css?d=
=3D1381646760" /><![endif]--> <link rel=3D"stylesheet" type=3D"text/css" hr=
ef=3D"urn:snapshot-5D1BB251:http://js.cprogramming.com/clientscript/vbullet=
in_css/style00006l/additional.css?d=3D1381646760"> <link rel=3D"stylesheet"=
 type=3D"text/css" href=3D"urn:snapshot-0C5C59A0:http://js.cprogramming.com=
/clientscript/vbulletin_css/style00006l/additional.css?d=3D1381646760"> <sc=
ript type=3D"text/javascript" src=3D"urn:snapshot-62A84C8A:http://partner.g=
oogleadservices.com/gampad/google_service.js"> </script> <script type=3D"te=
xt/javascript"><!--

/* Script removed by snapshot save */

--></script><script src=3D"urn:snapshot-48A5A4DC:http://partner.googleadser=
vices.com/gampad/google_ads.js"></script> <script type=3D"text/javascript">=
<!--

/* Script removed by snapshot save */

--></script> <script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script> <script type=3D"text/javascript" src=3D"urn:snapshot-DF792182:=
http://cboard.cprogramming.com/vbseo/resources/scripts/vbseo_ui.js?v=3Da4">=
</script> <script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script>=20
<script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script>
<script src=3D"urn:snapshot-5E6F0CD9:http://pagead2.googlesyndication.com/p=
agead/osd.js" type=3D"text/javascript"></script><script src=3D"urn:snapshot=
-E1170782:http://connect.facebook.net/en_US/all.js" async=3D"" id=3D"facebo=
ok-jssdk"></script><style type=3D"text/css"><!--

/* Effective stylesheet produced by snapshot save */

.fb_reset { background: none repeat scroll 0% 0% transparent; border: 0px=
 none; border-spacing: 0px; color: rgb(0, 0, 0); cursor: auto; direction:=
 ltr; font-family: "lucida grande",tahoma,verdana,arial,sans-serif; font-si=
ze: 11px; font-style: normal; font-variant: normal; font-weight: normal; le=
tter-spacing: normal; line-height: 1; margin: 0px; overflow: visible; paddi=
ng: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-sh=
adow: none; text-transform: none; visibility: visible; white-space: normal;=
 word-spacing: normal; }

.fb_reset > div { overflow: hidden; }

--></style></head> <body> <div class=3D"above_body">  <div id=3D"header" cl=
ass=3D"floatcontainer doc_header"> <div><a name=3D"top" href=3D"http://cboa=
rd.cprogramming.com/" class=3D"logo-image"><img title=3D"C Board" src=3D"ht=
tp://im.cprogramming.com/head/cprog.png" alt=3D"C Board"></a></div> <div id=
=3D"toplinks" class=3D"toplinks"> <ul class=3D"nouser"> <li><a href=3D"http=
://cboard.cprogramming.com/register.php" rel=3D"nofollow">Register</a></li>=
 <li> <script type=3D"text/javascript" src=3D"urn:snapshot-6D67D1C4:http://=
js.cprogramming.com/clientscript/vbulletin_md5.js?v=3D422"></script> <form=
 id=3D"navbar_loginform" action=3D"http://cboard.cprogramming.com/login.php=
?do=3Dlogin" method=3D"post" onsubmit=3D""> <fieldset id=3D"logindetails"=
 class=3D"logindetails"> <div> <div> <input class=3D"textbox default-value"=
 name=3D"vb_login_username" id=3D"navbar_username" size=3D"10" accesskey=3D=
"u" tabindex=3D"101" value=3D"User Name" type=3D"text"> <input style=3D"dis=
play: none;" class=3D"textbox" tabindex=3D"102" name=3D"vb_login_password"=
 id=3D"navbar_password" size=3D"10" type=3D"password"> <input class=3D"text=
box default-value" tabindex=3D"102" name=3D"vb_login_password_hint" id=3D"n=
avbar_password_hint" size=3D"10" value=3D"Password" style=3D"display: inlin=
e;" type=3D"text"> <input class=3D"loginbutton" tabindex=3D"104" value=3D"L=
og in" title=3D"Enter your username and password in the boxes provided to=
 login, or click the 'register' button to create a profile for yourself."=
 accesskey=3D"s" type=3D"submit"> </div> </div> </fieldset> <div id=3D"reme=
mber" class=3D"remember"> <label for=3D"cb_cookieuser_navbar"><input name=
=3D"cookieuser" value=3D"1" id=3D"cb_cookieuser_navbar" class=3D"cb_cookieu=
ser_navbar" accesskey=3D"c" tabindex=3D"103" type=3D"checkbox"> Remember Me=
?</label> </div> <input name=3D"s" value=3D"" type=3D"hidden"> <input name=
=3D"securitytoken" value=3D"guest" type=3D"hidden"> <input name=3D"do" valu=
e=3D"login" type=3D"hidden"> <input name=3D"vb_login_md5password" type=3D"h=
idden"> <input name=3D"vb_login_md5password_utf" type=3D"hidden"> </form>=
 <script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script> </li> <li id=3D"fb_headerbox"> <a id=3D"fb_loginbtn" href=3D"#=
"><img title=3D"The Facebook Platform" src=3D"http://im.cprogramming.com/im=
ages/misc/facebook_login.gif" alt=3D"The Facebook Platform"></a> </li> </ul=
> </div> <div class=3D"ad_global_header"> </div> <hr> </div> <style type=3D=
"text/css"><!--

/* Effective stylesheet produced by snapshot save */

.bbcode_container { overflow: auto; }

--></style> <div id=3D"navbar" class=3D"navbar"> <ul id=3D"navtabs" class=
=3D"navtabs floatcontainer"> <li class=3D"selected"><a class=3D"navtab" hre=
f=3D"http://cboard.cprogramming.com/">Forum</a> <ul class=3D"floatcontainer=
"> <li><a href=3D"http://cboard.cprogramming.com/search.php?do=3Dgetdaily&a=
mp;contenttype=3DvBForum_Post">Today's Posts</a></li> <li><a rel=3D"help"=
 href=3D"http://faq.cprogramming.com/cgi-bin/smartfaq.cgi" accesskey=3D"5">=
C and C++ FAQ</a></li> <li id=3D"yui-gen0" class=3D"popupmenu"> <a id=3D"yu=
i-gen2" href=3D"javascript:void(0);" class=3D"popupctrl">Forum Actions</a>=
 <ul id=3D"yui-gen1" class=3D"popupbody"> <li> <a rel=3D"nofollow" href=3D"=
http://cboard.cprogramming.com/forumdisplay.php?do=3Dmarkread&amp;markreadh=
ash=3Dguest">Mark Forums Read</a> </li> </ul> </li> <li id=3D"yui-gen3" cla=
ss=3D"popupmenu"> <a id=3D"yui-gen5" href=3D"javascript:void(0);" class=3D"=
popupctrl" accesskey=3D"3">Quick Links</a> <ul id=3D"yui-gen4" class=3D"pop=
upbody"> <li><a href=3D"http://cboard.cprogramming.com/showgroups.php" rel=
=3D"nofollow">
							=09
									View Forum Leaders
							=09
							</a></li> </ul> </li> </ul> </li> <li><a class=3D"navtab" href=3D"ht=
tp://cboard.cprogramming.com/search.php?do=3Dgetdaily&amp;contenttype=3DvBF=
orum_Post" accesskey=3D"2">What's New?</a></li> <li><a class=3D"navtab" hre=
f=3D"http://www.cprogramming.com/begin.html?mb=3Dtop">Get Started with C or=
 C++</a></li> <li><a class=3D"navtab" href=3D"http://www.cprogramming.com/t=
utorial/c-tutorial.html?mb=3Dtop">C Tutorial</a></li> <li><a class=3D"navta=
b" href=3D"http://www.cprogramming.com/tutorial/c++-tutorial.html?mb=3Dtop"=
>C++ Tutorial</a></li> <li><a class=3D"navtab" href=3D"http://www.cprogramm=
ing.com/c++book/?inl=3Dmbnav">Get the C++ Book</a></li> <li><a class=3D"nav=
tab" href=3D"http://www.cprogramming.com/tutorial.html?mb=3Dtop">All Tutori=
als</a></li> </ul> <div id=3D"globalsearch" class=3D"globalsearch"> <form=
 action=3D"http://cboard.cprogramming.com/search.php?do=3Dprocess" method=
=3D"post" id=3D"navbar_search" class=3D"navbar_search"> <input name=3D"secu=
ritytoken" value=3D"guest" type=3D"hidden"> <input name=3D"do" value=3D"pro=
cess" type=3D"hidden"> <span class=3D"textboxcontainer"><span><input name=
=3D"query" class=3D"textbox" tabindex=3D"99" type=3D"text"></span></span>=
 <span class=3D"buttoncontainer"><span><input class=3D"searchbutton" src=3D=
"http://cboard.cprogramming.com/images/buttons/search.png" name=3D"submit"=
 onclick=3D"" tabindex=3D"100" type=3D"image"></span></span> </form> <ul cl=
ass=3D"navbar_advanced_search"> <li><a href=3D"http://cboard.cprogramming.c=
om/search.php" accesskey=3D"4">Advanced Search</a></li> </ul> </div> </div>=
 </div> <div class=3D"body_wrapper"> <div id=3D"breadcrumb" class=3D"breadc=
rumb"> <ul class=3D"floatcontainer"> <li class=3D"navbithome"><a href=3D"ht=
tp://cboard.cprogramming.com/" accesskey=3D"1"><img title=3D"Home" src=3D"h=
ttp://im.cprogramming.com/images/misc/navbit-home.png" alt=3D"Home"></a></l=
i> <li class=3D"navbit"><a href=3D"http://cboard.cprogramming.com/">Forum</=
a></li> <li class=3D"navbit"><a href=3D"http://cboard.cprogramming.com/gene=
ral-programming-boards/">General Programming Boards</a></li> <li class=3D"n=
avbit"><a href=3D"http://cboard.cprogramming.com/c-programming/">C Programm=
ing</a></li> <li class=3D"navbit lastnavbit"><span> kbhit() for linux.</spa=
n></li> </ul> <hr> </div> <div style=3D"width:728px; margin:0 auto; padding=
-bottom:1em"> </div> <form action=3D"http://cboard.cprogramming.com/profile=
.php?do=3Ddismissnotice" method=3D"post" id=3D"notices" class=3D"notices">=
 <input name=3D"do" value=3D"dismissnotice" type=3D"hidden"> <input name=3D=
"s" value=3D"" type=3D"hidden"> <input name=3D"securitytoken" value=3D"gues=
t" type=3D"hidden"> <input id=3D"dismiss_notice_hidden" name=3D"dismiss_not=
iceid" value=3D"" type=3D"hidden"> <input name=3D"url" value=3D"" type=3D"h=
idden"> <div id=3D"vbseo_vhtml_0"><ol> <li class=3D"restore" id=3D"navbar_n=
otice_1"> <a href=3D"http://www.cprogramming.com/begin.html?mb=3Dunreg">Get=
ting started with C or C++</a> | <a href=3D"http://www.cprogramming.com/tut=
orial/c-tutorial.html?mb=3Dunreg-c">C Tutorial</a> | <a href=3D"http://www.=
cprogramming.com/tutorial/c++-tutorial.html?mb=3Dunreg-cpp">C++ Tutorial</a=
> | <a href=3D"http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?mb=3Dunreg"=
>C and C++ FAQ</a> | <a href=3D"http://www.cprogramming.com/code_blocks/?mb=
=3Dunreg">Get a compiler</a> | <a href=3D"http://www.cprogramming.com/tutor=
ial/common.html?mb=3Dunreg">Fixes for common problems</a> </li> </ol></div>=
 </form> <div id=3D"pagetitle" class=3D"pagetitle"> <!-- google_ad_section_=
start --> <h1 class=3D"relevant_replacement">kbhit() for linux.</h1><p clas=
s=3D"relevant_replacement">This is a discussion on <em>kbhit() for linux.</=
em> within the <b>C Programming</b> forums, part of the General Programming=
 Boards category; I only want the program to quit if the user has hit a key=
 and that key corresponds to the ...</p> <!-- google_ad_section_end -->  </=
div> <div id=3D"thread_controls" class=3D"thread_controls toolsmenu"> <div>=
 <ul id=3D"postlist_popups" class=3D"postlist_popups popupgroup"> <li class=
=3D"popupmenu" id=3D"linkbacktools"> <h6><a id=3D"yui-gen7" class=3D"popupc=
trl" href=3D"javascript:void(0);">LinkBack</a><a name=3D"goto_linkback"></a=
></h6> <ul id=3D"yui-gen6" class=3D"popupbody"> <li><a href=3D"#" onclick=
=3D""><img title=3D"LinkBack URL" class=3D"inlineimg" src=3D"http://cboard.=
cprogramming.com/vbseo/resources/images/forum/linkback_url.gif" alt=3D"Link=
Back URL"> LinkBack URL</a></li> <li><a rel=3D"nofollow" href=3D"http://cbo=
ard.cprogramming.com/misc.php?do=3Dlinkbacks"><img title=3D"About LinkBacks=
" class=3D"inlineimg" src=3D"http://cboard.cprogramming.com/vbseo/resources=
/images/forum/linkback_about.gif" alt=3D"About LinkBacks"> About LinkBacks<=
/a></li> <li>=A0</li> <li>Bookmark &amp; Share</li> <li><a rel=3D"nofollow"=
 href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cpr=
ogramming.com%2Fc-programming%2F63166-kbhit-linux.html&amp;title=3Dkbhit%28=
%29+for+linux." target=3D"_blank">Digg this Thread!</a></li><li><a rel=3D"n=
ofollow" href=3D"http://technorati.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cpr=
ogramming.com%2Fc-programming%2F63166-kbhit-linux.html" target=3D"_blank">B=
ookmark in Technorati</a></li><li><a rel=3D"nofollow" href=3D"http://www.fa=
cebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programmi=
ng%2F63166-kbhit-linux.html" target=3D"_blank">Share on Facebook</a></li><l=
i><a rel=3D"nofollow" href=3D"http://twitter.com/home?status=3Dkbhit%28%29+=
for+linux.%20http%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-k=
bhit-linux.html" target=3D"_blank">twitter</a></li> </ul> </li> <li class=
=3D"popupmenu" id=3D"threadtools"> <h6><a id=3D"yui-gen9" class=3D"popupctr=
l" href=3D"javascript:void(0);">Thread Tools</a></h6> <ul id=3D"yui-gen8"=
 class=3D"popupbody"> <li><a href=3D"http://cboard.cprogramming.com/c-progr=
amming/63166-kbhit-linux-printable-thread.html" accesskey=3D"3" rel=3D"nofo=
llow">Show Printable Version</a></li> <li><a href=3D"http://cboard.cprogram=
ming.com/sendmessage.php?do=3Dsendtofriend&amp;t=3D63166" rel=3D"nofollow">=
Email this Page=85</a></li> <li> <a href=3D"http://cboard.cprogramming.com/=
subscription.php?do=3Daddsubscription&amp;t=3D63166" rel=3D"nofollow">Subsc=
ribe to this Thread=85</a> </li> </ul> </li> <li class=3D"popupmenu" id=3D"=
displaymodes"> <h6><a id=3D"yui-gen11" class=3D"popupctrl" href=3D"javascri=
pt:void(0);">Display</a></h6> <ul id=3D"yui-gen10" class=3D"popupbody"> <li=
><label>Linear Mode</label></li> <li><a rel=3D"nofollow" href=3D"http://cbo=
ard.cprogramming.com/c-programming/63166-kbhit-linux.html?mode=3Dhybrid">=
 Switch to Hybrid Mode</a></li> <li><a rel=3D"nofollow" href=3D"http://cboa=
rd.cprogramming.com/c-programming/63166-kbhit-linux.html?mode=3Dthreaded#po=
st449283"> Switch to Threaded Mode</a></li> </ul> </li> </ul> </div> </div>=
 <div id=3D"postlist" class=3D"postlist restrain"> <ol id=3D"posts" class=
=3D"posts" start=3D"1"> <li class=3D"postbitlegacy postbitim postcontainer=
 old" id=3D"post_449283">  <div class=3D"posthead"> <span class=3D"postdate=
 old"> <span class=3D"date">03-17-2005</span> </span> <span class=3D"nodeco=
ntrols"> <a name=3D"post449283" href=3D"#post449283" class=3D"postcounter">=
#1</a><a id=3D"postcount449283" name=3D"1"></a> </span> </div> <div class=
=3D"postdetails"> <div class=3D"userinfo"> <div class=3D"username_container=
"> <div id=3D"yui-gen12" class=3D"popupmenu memberaction"> <a rel=3D"nofoll=
ow" class=3D"username offline " href=3D"http://cboard.cprogramming.com/memb=
er.php?u=3D10314" title=3D"jamie85 is offline"><strong><!-- google_ad_secti=
on_start(weight=3Dignore) -->jamie85<!-- google_ad_section_end --></strong>=
</a> </div> <img title=3D"jamie85 is offline" class=3D"inlineimg onlinestat=
us" src=3D"http://im.cprogramming.com/images/statusicon/user-offline.png"=
 alt=3D"jamie85 is offline" border=3D"0"> </div> <span class=3D"usertitle">
				Registered User
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Mar 20=
04</dd> <dt>Posts</dt> <dd>66</dd> </dl> <div class=3D"imlinks"> </div> </d=
iv> <div class=3D"postbody"> <div class=3D"postrow has_after_content"> <h2=
 class=3D"title icon"> <!-- google_ad_section_start -->kbhit() for linux.<!=
-- google_ad_section_end --> </h2> <div style=3D"float:left; width:300px;=
 height:250px; margin:0px 10px 10px 0px">  <script type=3D"text/javascript"=
><!--

/* Script removed by snapshot save */

--></script><script src=3D"urn:snapshot-0BFBD093:http://pubads.g.doubleclic=
k.net/gampad/ads?correlator=3D1194816438467605&amp;output=3Djson_html&amp;c=
allback=3DGA_googleSetAdContentsBySlotForSync&amp;impl=3Ds&amp;client=3Dca-=
pub-2560316224908115&amp;slotname=3DMessage_board_box_sync_tag&amp;page_slo=
ts=3DMessage_board_box_sync_tag&amp;cookie=3DID%3Da2c3b6ccf76fc228%3AT%3D13=
91640638%3AS%3DALNI_MY0y8q3Qv8oWX0HIgNA6ZWCS_em-A&amp;url=3Dhttp%3A%2F%2Fcb=
oard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html&amp;ref=3Dht=
tp%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26s=
ource%3Dweb%26cd%3D1%26ved%3D0CCsQFjAA%26url%3Dhttp%253A%252F%252Fcboard.cp=
rogramming.com%252Fc-programming%252F63166-kbhit-linux.html%26ei%3DNMDyUpH2=
G87IkAfTloDQCA%26usg%3DAFQjCNEdnxtwVkNev2t55yTDTtP1UH5W4w%26bvm%3Dbv.607992=
47%2Cd.eW0%26cad%3Drja&amp;lmt=3D1391642587&amp;dt=3D1391642589073&amp;cc=
=3D50&amp;biw=3D1263&amp;bih=3D583&amp;adk=3D1590449067&amp;adx=3D248&amp;a=
dy=3D374&amp;ifi=3D1&amp;oid=3D3&amp;u_tz=3D-120&amp;u_his=3D1&amp;u_java=
=3Dtrue&amp;u_h=3D768&amp;u_w=3D1280&amp;u_ah=3D738&amp;u_aw=3D1280&amp;u_c=
d=3D24&amp;u_nplug=3D12&amp;u_nmime=3D59&amp;flash=3D12.0.0&amp;gads=3Dv2&a=
mp;ga_vid=3D1398633969.1391640638&amp;ga_sid=3D1391642589&amp;ga_hid=3D2104=
374878&amp;ga_fc=3Dtrue&amp;ga_wpids=3DUA-7820175-1"></script><div id=3D"go=
ogle_ads_div_Message_board_box_sync_tag_ad_wrapper">
<div id=3D"google_ads_div_Message_board_box_sync_tag_ad_container" style=3D=
"display:inline-block;">
<ins style=3D"width: 300px; height: 250px; display: inline-table; position:=
 relative; border: 0px none;"><ins style=3D"width: 300px; height: 250px; di=
splay: block; position: relative; border: 0px none;"><iframe src=3D"urn:sna=
pshot-60096CC8:http://generated.test/generated-content" style=3D"border: 0p=
x none; position: absolute; top: 0px; left: 0px;" marginheight=3D"0" margin=
width=3D"0" name=3D"google_ads_iframe_Message_board_box_sync_tag" id=3D"goo=
gle_ads_iframe_Message_board_box_sync_tag" frameborder=3D"0" height=3D"250"=
 scrolling=3D"no" width=3D"300"></iframe></ins></ins></div>
</div>
<script><!--

/* Script removed by snapshot save */

--></script> </div> <div class=3D"content"> <div id=3D"post_message_449283"=
> <blockquote class=3D"postcontent restore " style=3D"overflow: visible">=
 <!-- google_ad_section_start -->I only want the program to quit if the use=
r has hit a key and that key corresponds to the ESC key. Otherwise i want=
 it to continue looping. <br> <br>
This is easlily done in windows(shows below), but is there a function which=
 checks for a key press using linux?<br> <br> <div class=3D"bbcode_containe=
r"> <div class=3D"bbcode_description">Code:</div> <div><div id=3D"highlight=
er_950233" class=3D"syntaxhighlighter bbcode_code cpp"><div class=3D"toolba=
r"><span><a href=3D"http://cboard.cprogramming.com/#" class=3D"toolbar_item=
 command_help help">?</a></span></div><table border=3D"0" cellpadding=3D"0"=
 cellspacing=3D"0"><tbody><tr><td class=3D"gutter"><div class=3D"line numbe=
r1 index0 alt2">1</div><div class=3D"line number2 index1 alt1">2</div><div=
 class=3D"line number3 index2 alt2">3</div><div class=3D"line number4 index=
3 alt1">4</div><div class=3D"line number5 index4 alt2">5</div><div class=3D=
"line number6 index5 alt1">6</div><div class=3D"line number7 index6 alt2">7=
</div><div class=3D"line number8 index7 alt1">8</div><div class=3D"line num=
ber9 index8 alt2">9</div><div class=3D"line number10 index9 alt1">10</div><=
div class=3D"line number11 index10 alt2">11</div><div class=3D"line number1=
2 index11 alt1">12</div><div class=3D"line number13 index12 alt2">13</div><=
div class=3D"line number14 index13 alt1">14</div><div class=3D"line number1=
5 index14 alt2">15</div><div class=3D"line number16 index15 alt1">16</div><=
div class=3D"line number17 index16 alt2">17</div><div class=3D"line number1=
8 index17 alt1">18</div><div class=3D"line number19 index18 alt2">19</div><=
div class=3D"line number20 index19 alt1">20</div><div class=3D"line number2=
1 index20 alt2">21</div><div class=3D"line number22 index21 alt1">22</div><=
div class=3D"line number23 index22 alt2">23</div><div class=3D"line number2=
4 index23 alt1">24</div><div class=3D"line number25 index24 alt2">25</div><=
div class=3D"line number26 index25 alt1">26</div><div class=3D"line number2=
7 index26 alt2">27</div></td><td class=3D"code"><div class=3D"container"><d=
iv class=3D"line number1 index0 alt2"><code class=3D"cpp preprocessor">#inc=
lude &lt;stdio.h&gt;</code></div><div class=3D"line number2 index1 alt1"><c=
ode class=3D"cpp preprocessor">#include &lt;conio.h&gt;</code></div><div cl=
ass=3D"line number3 index2 alt2">=A0</div><div class=3D"line number4 index3=
 alt1"><code class=3D"cpp preprocessor">#define ESCAPE 27</code></div><div=
 class=3D"line number5 index4 alt2">=A0</div><div class=3D"line number6 ind=
ex5 alt1"><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp pla=
in">main(</code><code class=3D"cpp keyword bold">void</code><code class=3D"=
cpp plain">)</code></div><div class=3D"line number7 index6 alt2"><code clas=
s=3D"cpp plain">{</code></div><div class=3D"line number8 index7 alt1">=A0</=
div><div class=3D"line number9 index8 alt2"><code class=3D"cpp spaces">=A0=
=A0=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code class=3D"c=
pp plain">loop =3D 0;</code></div><div class=3D"line number10 index9 alt1">=
<code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp color1 bol=
d">int</code> <code class=3D"cpp plain">c;</code></div><div class=3D"line=
 number11 index10 alt2">=A0</div><div class=3D"line number12 index11 alt1">=
<code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp keyword bo=
ld">while</code><code class=3D"cpp plain">(!loop)</code></div><div class=3D=
"line number13 index12 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code>=
<code class=3D"cpp plain">{</code></div><div class=3D"line number14 index13=
 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code clas=
s=3D"cpp functions bold">printf</code><code class=3D"cpp plain">(</code><co=
de class=3D"cpp string">"\tIM IN THE LOOPY\n"</code><code class=3D"cpp plai=
n">);</code></div><div class=3D"line number15 index14 alt2">=A0</div><div=
 class=3D"line number16 index15 alt1"><code class=3D"cpp spaces">=A0=A0=A0=
=A0=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">if</code> <code clas=
s=3D"cpp plain">( kbhit())</code></div><div class=3D"line number17 index16=
 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code clas=
s=3D"cpp plain">{</code></div><div class=3D"line number18 index17 alt1"><co=
de class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code cl=
ass=3D"cpp plain">c =3D getch();</code></div><div class=3D"line number19 in=
dex18 alt2">=A0</div><div class=3D"line number20 index19 alt1"><code class=
=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"c=
pp keyword bold">if</code> <code class=3D"cpp plain">( c =3D=3D ESCAPE )</c=
ode></div><div class=3D"line number21 index20 alt2"><code class=3D"cpp spac=
es">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">{<=
/code></div><div class=3D"line number22 index21 alt1"><code class=3D"cpp sp=
aces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D=
"cpp functions bold">printf</code><code class=3D"cpp plain">(</code><code=
 class=3D"cpp string">"YOU HIT ESCAPE...NOW QUITTING"</code><code class=3D"=
cpp plain">);</code></div><div class=3D"line number23 index22 alt2"><code=
 class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</cod=
e><code class=3D"cpp plain">loop =3D 1;</code></div><div class=3D"line numb=
er24 index23 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0</code><code class=3D"cpp plain">}</code></div><div class=3D"line=
 number25 index24 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=
</code><code class=3D"cpp plain">}</code></div><div class=3D"line number26=
 index25 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D=
"cpp plain">}</code></div><div class=3D"line number27 index26 alt2"><code=
 class=3D"cpp plain">}</code></div></div></td></tr></tbody></table></div></=
div> </div>thanks<!-- google_ad_section_end --> </blockquote> </div> </div>=
 </div> <div class=3D"after_content">  <blockquote class=3D"postcontent las=
tedited">
				=09
						Last edited by jamie85; 03-17-2005 at <span class=3D"time">07:46 PM</=
span>.
				=09
				=09
				</blockquote>  <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166.449283"=
> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=3D"vbse=
o_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <li class=
=3D"share_header">Share this post on</li> <li class=3D"right"><img src=3D"h=
ttp://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gif" alt=3D=
"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://digg.c=
om/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-prog=
ramming%2F63166-kbhit-linux.html%23post449283&amp;title=3Dkbhit%28%29+for+l=
inux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.cprogramm=
ing.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" height=3D"18p=
x" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.com/faves/?=
add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-li=
nux.html%23post449283">Technorati</a></li> <li class=3D"right"><img src=3D"=
http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" height=3D"18=
px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook.com/shar=
e.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhi=
t-linux.html%23post449283">Share on Facebook</a></li> <li class=3D"left"><i=
mg src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twitter.com/=
home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449283">twitter</a></li> </=
ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none"></div> </=
div> <div style=3D"clear:both"></div> </div> <div class=3D"cleardiv"></div>=
 </div> </div> <div class=3D"postfoot">  <div class=3D"textcontrols floatco=
ntainer"> <span class=3D"postcontrols"> <img style=3D"display:none" id=3D"p=
rogress_449283" src=3D"http://im.cprogramming.com/images/misc/progress.gif"=
 alt=3D""> </span> <span class=3D"postlinking"> </span>  </div> </div> <hr>=
 </li> <li class=3D"postbitlegacy postbitim postcontainer old" id=3D"post_4=
49301">  <div class=3D"posthead"> <span class=3D"postdate old"> <span class=
=3D"date">03-17-2005</span> </span> <span class=3D"nodecontrols"> <a name=
=3D"post449301" href=3D"#post449301" class=3D"postcounter">#2</a><a id=3D"p=
ostcount449301" name=3D"2"></a> </span> </div> <div class=3D"postdetails">=
 <div class=3D"userinfo"> <div class=3D"username_container"> <div id=3D"yui=
-gen13" class=3D"popupmenu memberaction"> <a rel=3D"nofollow" class=3D"user=
name offline " href=3D"http://cboard.cprogramming.com/member.php?u=3D11618"=
 title=3D"itsme86 is offline"><strong><!-- google_ad_section_start(weight=
=3Dignore) -->itsme86<!-- google_ad_section_end --></strong></a> </div> <im=
g title=3D"itsme86 is offline" class=3D"inlineimg onlinestatus" src=3D"http=
://im.cprogramming.com/images/statusicon/user-offline.png" alt=3D"itsme86=
 is offline" border=3D"0"> </div> <span class=3D"usertitle">
				Gawking at stupidity
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Jul 20=
04</dd> <dt>Location</dt> <dd>Oregon, USA</dd> <dt>Posts</dt> <dd>3,153</dd=
> </dl> <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div=
 class=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"po=
st_message_449301"> <blockquote class=3D"postcontent restore " style=3D"ove=
rflow: visible"> <!-- google_ad_section_start -->Here you go, enjoy:<br> <d=
iv class=3D"bbcode_container"> <div class=3D"bbcode_description">Code:</div=
> <div><div id=3D"highlighter_598908" class=3D"syntaxhighlighter bbcode_cod=
e cpp"><div class=3D"toolbar"><span><a href=3D"http://cboard.cprogramming.c=
om/#" class=3D"toolbar_item command_help help">?</a></span></div><table bor=
der=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td class=3D"gutte=
r"><div class=3D"line number1 index0 alt2">1</div><div class=3D"line number=
2 index1 alt1">2</div><div class=3D"line number3 index2 alt2">3</div><div=
 class=3D"line number4 index3 alt1">4</div><div class=3D"line number5 index=
4 alt2">5</div><div class=3D"line number6 index5 alt1">6</div><div class=3D=
"line number7 index6 alt2">7</div><div class=3D"line number8 index7 alt1">8=
</div><div class=3D"line number9 index8 alt2">9</div><div class=3D"line num=
ber10 index9 alt1">10</div><div class=3D"line number11 index10 alt2">11</di=
v><div class=3D"line number12 index11 alt1">12</div><div class=3D"line numb=
er13 index12 alt2">13</div><div class=3D"line number14 index13 alt1">14</di=
v><div class=3D"line number15 index14 alt2">15</div><div class=3D"line numb=
er16 index15 alt1">16</div><div class=3D"line number17 index16 alt2">17</di=
v><div class=3D"line number18 index17 alt1">18</div><div class=3D"line numb=
er19 index18 alt2">19</div><div class=3D"line number20 index19 alt1">20</di=
v><div class=3D"line number21 index20 alt2">21</div><div class=3D"line numb=
er22 index21 alt1">22</div><div class=3D"line number23 index22 alt2">23</di=
v><div class=3D"line number24 index23 alt1">24</div><div class=3D"line numb=
er25 index24 alt2">25</div><div class=3D"line number26 index25 alt1">26</di=
v><div class=3D"line number27 index26 alt2">27</div><div class=3D"line numb=
er28 index27 alt1">28</div><div class=3D"line number29 index28 alt2">29</di=
v><div class=3D"line number30 index29 alt1">30</div><div class=3D"line numb=
er31 index30 alt2">31</div><div class=3D"line number32 index31 alt1">32</di=
v><div class=3D"line number33 index32 alt2">33</div><div class=3D"line numb=
er34 index33 alt1">34</div><div class=3D"line number35 index34 alt2">35</di=
v><div class=3D"line number36 index35 alt1">36</div><div class=3D"line numb=
er37 index36 alt2">37</div><div class=3D"line number38 index37 alt1">38</di=
v><div class=3D"line number39 index38 alt2">39</div></td><td class=3D"code"=
><div class=3D"container"><div class=3D"line number1 index0 alt2"><code cla=
ss=3D"cpp preprocessor">#include &lt;stdio.h&gt;</code></div><div class=3D"=
line number2 index1 alt1"><code class=3D"cpp preprocessor">#include &lt;ter=
mios.h&gt;</code></div><div class=3D"line number3 index2 alt2"><code class=
=3D"cpp preprocessor">#include &lt;unistd.h&gt;</code></div><div class=3D"l=
ine number4 index3 alt1"><code class=3D"cpp preprocessor">#include &lt;fcnt=
l.h&gt;</code></div><div class=3D"line number5 index4 alt2">=A0</div><div=
 class=3D"line number6 index5 alt1"><code class=3D"cpp color1 bold">int</co=
de> <code class=3D"cpp plain">kbhit(</code><code class=3D"cpp keyword bold"=
>void</code><code class=3D"cpp plain">)</code></div><div class=3D"line numb=
er7 index6 alt2"><code class=3D"cpp plain">{</code></div><div class=3D"line=
 number8 index7 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=
=3D"cpp keyword bold">struct</code> <code class=3D"cpp plain">termios oldt,=
 newt;</code></div><div class=3D"line number9 index8 alt2"><code class=3D"c=
pp spaces">=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code cl=
ass=3D"cpp plain">ch;</code></div><div class=3D"line number10 index9 alt1">=
<code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp color1 bold">int=
</code> <code class=3D"cpp plain">oldf;</code></div><div class=3D"line numb=
er11 index10 alt2">=A0</div><div class=3D"line number12 index11 alt1"><code=
 class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">tcgetattr(STDI=
N_FILENO, &amp;oldt);</code></div><div class=3D"line number13 index12 alt2"=
><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">newt =3D=
 oldt;</code></div><div class=3D"line number14 index13 alt1"><code class=3D=
"cpp spaces">=A0=A0</code><code class=3D"cpp plain">newt.c_lflag &amp;=3D=
 ~(ICANON | ECHO);</code></div><div class=3D"line number15 index14 alt2"><c=
ode class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">tcsetattr(S=
TDIN_FILENO, TCSANOW, &amp;newt);</code></div><div class=3D"line number16=
 index15 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">oldf =3D fcntl(STDIN_FILENO, F_GETFL, 0);</code></div><div class=3D=
"line number17 index16 alt2"><code class=3D"cpp spaces">=A0=A0</code><code=
 class=3D"cpp plain">fcntl(STDIN_FILENO, F_SETFL, oldf | O_NONBLOCK);</code=
></div><div class=3D"line number18 index17 alt1">=A0</div><div class=3D"lin=
e number19 index18 alt2"><code class=3D"cpp spaces">=A0=A0</code><code clas=
s=3D"cpp plain">ch =3D </code><code class=3D"cpp functions bold">getchar</c=
ode><code class=3D"cpp plain">();</code></div><div class=3D"line number20=
 index19 alt1">=A0</div><div class=3D"line number21 index20 alt2"><code cla=
ss=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">tcsetattr(STDIN_FI=
LENO, TCSANOW, &amp;oldt);</code></div><div class=3D"line number22 index21=
 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">fc=
ntl(STDIN_FILENO, F_SETFL, oldf);</code></div><div class=3D"line number23=
 index22 alt2">=A0</div><div class=3D"line number24 index23 alt1"><code cla=
ss=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">if</code><c=
ode class=3D"cpp plain">(ch !=3D EOF)</code></div><div class=3D"line number=
25 index24 alt2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">{</code></div><div class=3D"line number26 index25 alt1"><code class=
=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp functions bold">unget=
c</code><code class=3D"cpp plain">(ch, stdin);</code></div><div class=3D"li=
ne number27 index26 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><co=
de class=3D"cpp keyword bold">return</code> <code class=3D"cpp plain">1;</c=
ode></div><div class=3D"line number28 index27 alt1"><code class=3D"cpp spac=
es">=A0=A0</code><code class=3D"cpp plain">}</code></div><div class=3D"line=
 number29 index28 alt2">=A0</div><div class=3D"line number30 index29 alt1">=
<code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">re=
turn</code> <code class=3D"cpp plain">0;</code></div><div class=3D"line num=
ber31 index30 alt2"><code class=3D"cpp plain">}</code></div><div class=3D"l=
ine number32 index31 alt1">=A0</div><div class=3D"line number33 index32 alt=
2"><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">mai=
n(</code><code class=3D"cpp keyword bold">void</code><code class=3D"cpp pla=
in">)</code></div><div class=3D"line number34 index33 alt1"><code class=3D"=
cpp plain">{</code></div><div class=3D"line number35 index34 alt2"><code cl=
ass=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">while</cod=
e><code class=3D"cpp plain">(!kbhit())</code></div><div class=3D"line numbe=
r36 index35 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=
=3D"cpp functions bold">puts</code><code class=3D"cpp plain">(</code><code=
 class=3D"cpp string">"Press a key!"</code><code class=3D"cpp plain">);</co=
de></div><div class=3D"line number37 index36 alt2"><code class=3D"cpp space=
s">=A0=A0</code><code class=3D"cpp functions bold">printf</code><code class=
=3D"cpp plain">(</code><code class=3D"cpp string">"You pressed '%c'!\n"</co=
de><code class=3D"cpp plain">, </code><code class=3D"cpp functions bold">ge=
tchar</code><code class=3D"cpp plain">());</code></div><div class=3D"line=
 number38 index37 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=
=3D"cpp keyword bold">return</code> <code class=3D"cpp plain">0;</code></di=
v><div class=3D"line number39 index38 alt2"><code class=3D"cpp plain">}</co=
de></div></div></td></tr></tbody></table></div></div> </div><div class=3D"b=
bcode_container"> <div class=3D"bbcode_description">Code:</div> <div><div=
 id=3D"highlighter_143475" class=3D"syntaxhighlighter bbcode_code cpp"><div=
 class=3D"toolbar"><span><a href=3D"http://cboard.cprogramming.com/#" class=
=3D"toolbar_item command_help help">?</a></span></div><table border=3D"0"=
 cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td class=3D"gutter"><div=
 class=3D"line number1 index0 alt2">1</div><div class=3D"line number2 index=
1 alt1">2</div><div class=3D"line number3 index2 alt2">3</div><div class=3D=
"line number4 index3 alt1">4</div><div class=3D"line number5 index4 alt2">5=
</div><div class=3D"line number6 index5 alt1">6</div><div class=3D"line num=
ber7 index6 alt2">7</div><div class=3D"line number8 index7 alt1">8</div><di=
v class=3D"line number9 index8 alt2">9</div><div class=3D"line number10 ind=
ex9 alt1">10</div><div class=3D"line number11 index10 alt2">11</div><div cl=
ass=3D"line number12 index11 alt1">12</div><div class=3D"line number13 inde=
x12 alt2">13</div><div class=3D"line number14 index13 alt1">14</div><div cl=
ass=3D"line number15 index14 alt2">15</div></td><td class=3D"code"><div cla=
ss=3D"container"><div class=3D"line number1 index0 alt2"><code class=3D"cpp=
 plain">itsme@dreams:~/C$ ./kbhit</code></div><div class=3D"line number2 in=
dex1 alt1"><code class=3D"cpp plain">Press a key!</code></div><div class=3D=
"line number3 index2 alt2"><code class=3D"cpp plain">Press a key!</code></d=
iv><div class=3D"line number4 index3 alt1"><code class=3D"cpp plain">Press=
 a key!</code></div><div class=3D"line number5 index4 alt2"><code class=3D"=
cpp plain">Press a key!</code></div><div class=3D"line number6 index5 alt1"=
><code class=3D"cpp plain">.</code></div><div class=3D"line number7 index6=
 alt2"><code class=3D"cpp plain">.</code></div><div class=3D"line number8=
 index7 alt1"><code class=3D"cpp plain">.</code></div><div class=3D"line nu=
mber9 index8 alt2"><code class=3D"cpp plain">Press a key!</code></div><div=
 class=3D"line number10 index9 alt1"><code class=3D"cpp plain">Press a key!=
</code></div><div class=3D"line number11 index10 alt2"><code class=3D"cpp=
 plain">Press a key!</code></div><div class=3D"line number12 index11 alt1">=
<code class=3D"cpp plain">Press a key!</code></div><div class=3D"line numbe=
r13 index12 alt2"><code class=3D"cpp plain">Press a key!</code></div><div=
 class=3D"line number14 index13 alt1"><code class=3D"cpp plain">You pressed=
 </code><code class=3D"cpp string">'r'</code><code class=3D"cpp plain">!</c=
ode></div><div class=3D"line number15 index14 alt2"><code class=3D"cpp plai=
n">itsme@dreams:~/C$</code></div></div></td></tr></tbody></table></div></di=
v> </div><!-- google_ad_section_end --> </blockquote> </div> </div> </div>=
 <div class=3D"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.6=
3166.449301"> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li=
 class=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_bod=
y"> <li class=3D"share_header">Share this post on</li> <li class=3D"right">=
<img src=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/dig=
g.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"=
http://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming=
.com%2Fc-programming%2F63166-kbhit-linux.html%23post449301&amp;title=3Dkbhi=
t%28%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cbo=
ard.cprogramming.com/vbseo/resources/images/forum/technorati.gif" alt=3D""=
 height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technora=
ti.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F=
63166-kbhit-linux.html%23post449301">Technorati</a></li> <li class=3D"right=
"><img src=3D"http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"=
" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.fac=
ebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programmin=
g%2F63166-kbhit-linux.html%23post449301">Share on Facebook</a></li> <li cla=
ss=3D"left"><img src=3D"http://im.cprogramming.com/images/vbseo/twitter.png=
" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http:=
//twitter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cp=
rogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449301">twitt=
er</a></li> </ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:n=
one"></div> </div> <blockquote class=3D"signature restore"><div class=3D"si=
gnaturecontainer"><!-- google_ad_section_start(weight=3Dignore) -->If you=
 understand what you're doing, you're not learning anything.<!-- google_ad_=
section_end --></div></blockquote> </div> <div class=3D"cleardiv"></div> </=
div> </div> <div class=3D"postfoot">  <div class=3D"textcontrols floatconta=
iner"> <span class=3D"postcontrols"> <img style=3D"display:none" id=3D"prog=
ress_449301" src=3D"http://im.cprogramming.com/images/misc/progress.gif" al=
t=3D""> </span> <span class=3D"postlinking"> </span>  </div> </div> <hr> </=
li> <li class=3D"postbitlegacy postbitim postcontainer old" id=3D"post_4493=
07">  <div class=3D"posthead"> <span class=3D"postdate old"> <span class=3D=
"date">03-17-2005</span> </span> <span class=3D"nodecontrols"> <a name=3D"p=
ost449307" href=3D"#post449307" class=3D"postcounter">#3</a><a id=3D"postco=
unt449307" name=3D"3"></a> </span> </div> <div class=3D"postdetails"> <div=
 class=3D"userinfo"> <div class=3D"username_container"> <div id=3D"yui-gen1=
4" class=3D"popupmenu memberaction"> <a rel=3D"nofollow" class=3D"username=
 offline " href=3D"http://cboard.cprogramming.com/member.php?u=3D380" title=
=3D"Thantos is offline"><strong><!-- google_ad_section_start(weight=3Dignor=
e) --><b>Thantos</b><!-- google_ad_section_end --></strong></a> </div> <img=
 title=3D"Thantos is offline" class=3D"inlineimg onlinestatus" src=3D"http:=
//im.cprogramming.com/images/statusicon/user-offline.png" alt=3D"Thantos is=
 offline" border=3D"0"> </div> <span class=3D"usertitle">
				&amp; the hat of GPL slaying
			</span> <a rel=3D"nofollow" class=3D"postuseravatar" href=3D"http://cboa=
rd.cprogramming.com/member.php?u=3D380" title=3D"Thantos is offline"> <img=
 src=3D"http://av.cprogramming.com/customavatars/avatar380_2.gif" alt=3D"Th=
antos's Avatar" title=3D"Thantos's Avatar"> </a> <hr> <dl class=3D"userinfo=
_extra"> <dt>Join Date</dt> <dd>Sep 2001</dd> <dt>Posts</dt> <dd>5,681</dd>=
 </dl> <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div=
 class=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"po=
st_message_449307"> <blockquote class=3D"postcontent restore " style=3D"ove=
rflow: visible"> <!-- google_ad_section_start -->from my post on <a rel=3D"=
nofollow" href=3D"http://cboard.cprogramming.com/linux-programming/51531-fa=
q-cached-input-mygetch.html?highlight=3Dkbhit" target=3D"_blank">faq: cache=
d input with mygetch()</a><br> <div class=3D"bbcode_container"> <div class=
=3D"bbcode_description">Code:</div> <div><div id=3D"highlighter_904203" cla=
ss=3D"syntaxhighlighter bbcode_code cpp"><div class=3D"toolbar"><span><a hr=
ef=3D"http://cboard.cprogramming.com/#" class=3D"toolbar_item command_help=
 help">?</a></span></div><table border=3D"0" cellpadding=3D"0" cellspacing=
=3D"0"><tbody><tr><td class=3D"gutter"><div class=3D"line number1 index0 al=
t2">1</div><div class=3D"line number2 index1 alt1">2</div><div class=3D"lin=
e number3 index2 alt2">3</div><div class=3D"line number4 index3 alt1">4</di=
v><div class=3D"line number5 index4 alt2">5</div><div class=3D"line number6=
 index5 alt1">6</div><div class=3D"line number7 index6 alt2">7</div><div cl=
ass=3D"line number8 index7 alt1">8</div><div class=3D"line number9 index8=
 alt2">9</div><div class=3D"line number10 index9 alt1">10</div><div class=
=3D"line number11 index10 alt2">11</div><div class=3D"line number12 index11=
 alt1">12</div><div class=3D"line number13 index12 alt2">13</div><div class=
=3D"line number14 index13 alt1">14</div><div class=3D"line number15 index14=
 alt2">15</div><div class=3D"line number16 index15 alt1">16</div><div class=
=3D"line number17 index16 alt2">17</div><div class=3D"line number18 index17=
 alt1">18</div><div class=3D"line number19 index18 alt2">19</div><div class=
=3D"line number20 index19 alt1">20</div><div class=3D"line number21 index20=
 alt2">21</div><div class=3D"line number22 index21 alt1">22</div><div class=
=3D"line number23 index22 alt2">23</div><div class=3D"line number24 index23=
 alt1">24</div><div class=3D"line number25 index24 alt2">25</div><div class=
=3D"line number26 index25 alt1">26</div><div class=3D"line number27 index26=
 alt2">27</div><div class=3D"line number28 index27 alt1">28</div><div class=
=3D"line number29 index28 alt2">29</div><div class=3D"line number30 index29=
 alt1">30</div><div class=3D"line number31 index30 alt2">31</div><div class=
=3D"line number32 index31 alt1">32</div><div class=3D"line number33 index32=
 alt2">33</div><div class=3D"line number34 index33 alt1">34</div><div class=
=3D"line number35 index34 alt2">35</div><div class=3D"line number36 index35=
 alt1">36</div><div class=3D"line number37 index36 alt2">37</div><div class=
=3D"line number38 index37 alt1">38</div><div class=3D"line number39 index38=
 alt2">39</div><div class=3D"line number40 index39 alt1">40</div><div class=
=3D"line number41 index40 alt2">41</div><div class=3D"line number42 index41=
 alt1">42</div><div class=3D"line number43 index42 alt2">43</div><div class=
=3D"line number44 index43 alt1">44</div><div class=3D"line number45 index44=
 alt2">45</div><div class=3D"line number46 index45 alt1">46</div><div class=
=3D"line number47 index46 alt2">47</div><div class=3D"line number48 index47=
 alt1">48</div><div class=3D"line number49 index48 alt2">49</div><div class=
=3D"line number50 index49 alt1">50</div><div class=3D"line number51 index50=
 alt2">51</div><div class=3D"line number52 index51 alt1">52</div><div class=
=3D"line number53 index52 alt2">53</div><div class=3D"line number54 index53=
 alt1">54</div><div class=3D"line number55 index54 alt2">55</div></td><td=
 class=3D"code"><div class=3D"container"><div class=3D"line number1 index0=
 alt2"><code class=3D"cpp preprocessor">#include &lt;stdio.h&gt;</code></di=
v><div class=3D"line number2 index1 alt1"><code class=3D"cpp preprocessor">=
#include &lt;termios.h&gt;</code></div><div class=3D"line number3 index2 al=
t2"><code class=3D"cpp preprocessor">#include &lt;unistd.h&gt;</code></div>=
<div class=3D"line number4 index3 alt1"><code class=3D"cpp preprocessor">#i=
nclude &lt;sys/types.h&gt;</code></div><div class=3D"line number5 index4 al=
t2"><code class=3D"cpp preprocessor">#include &lt;sys/time.h&gt;</code></di=
v><div class=3D"line number6 index5 alt1">=A0</div><div class=3D"line numbe=
r7 index6 alt2"><code class=3D"cpp keyword bold">void</code> <code class=3D=
"cpp plain">changemode(</code><code class=3D"cpp color1 bold">int</code><co=
de class=3D"cpp plain">);</code></div><div class=3D"line number8 index7 alt=
1"><code class=3D"cpp color1 bold">int</code>=A0 <code class=3D"cpp plain">=
kbhit(</code><code class=3D"cpp keyword bold">void</code><code class=3D"cpp=
 plain">);</code></div><div class=3D"line number9 index8 alt2"><code class=
=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">main(</code><code=
 class=3D"cpp keyword bold">void</code><code class=3D"cpp plain">)</code></=
div><div class=3D"line number10 index9 alt1"><code class=3D"cpp plain">{</c=
ode></div><div class=3D"line number11 index10 alt2"><code class=3D"cpp spac=
es">=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code class=3D"=
cpp plain">ch;</code></div><div class=3D"line number12 index11 alt1"><code=
 class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">changemode(1);=
</code></div><div class=3D"line number13 index12 alt2"><code class=3D"cpp=
 spaces">=A0=A0</code><code class=3D"cpp keyword bold">while</code> <code=
 class=3D"cpp plain">( !kbhit() )</code></div><div class=3D"line number14=
 index13 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">{</code></div><div class=3D"line number15 index14 alt2"><code class=
=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp functions bold">putch=
ar</code><code class=3D"cpp plain">(</code><code class=3D"cpp string">'.'</=
code><code class=3D"cpp plain">);</code></div><div class=3D"line number16=
 index15 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">}</code></div><div class=3D"line number17 index16 alt2">=A0</div><d=
iv class=3D"line number18 index17 alt1"><code class=3D"cpp spaces">=A0=A0</=
code><code class=3D"cpp plain">ch =3D </code><code class=3D"cpp functions=
 bold">getchar</code><code class=3D"cpp plain">();</code></div><div class=
=3D"line number19 index18 alt2">=A0</div><div class=3D"line number20 index1=
9 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp function=
s bold">printf</code><code class=3D"cpp plain">(</code><code class=3D"cpp=
 string">"\nGot %c\n"</code><code class=3D"cpp plain">, ch);</code></div><d=
iv class=3D"line number21 index20 alt2">=A0</div><div class=3D"line number2=
2 index21 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">changemode(0);</code></div><div class=3D"line number23 index22 alt2=
"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">=
return</code> <code class=3D"cpp plain">0;</code></div><div class=3D"line=
 number24 index23 alt1"><code class=3D"cpp plain">}</code></div><div class=
=3D"line number25 index24 alt2">=A0</div><div class=3D"line number26 index2=
5 alt1"><code class=3D"cpp keyword bold">void</code> <code class=3D"cpp pla=
in">changemode(</code><code class=3D"cpp color1 bold">int</code> <code clas=
s=3D"cpp plain">dir)</code></div><div class=3D"line number27 index26 alt2">=
<code class=3D"cpp plain">{</code></div><div class=3D"line number28 index27=
 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword=
 bold">static</code> <code class=3D"cpp keyword bold">struct</code> <code=
 class=3D"cpp plain">termios oldt, newt;</code></div><div class=3D"line num=
ber29 index28 alt2">=A0</div><div class=3D"line number30 index29 alt1"><cod=
e class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">if</co=
de> <code class=3D"cpp plain">( dir =3D=3D 1 )</code></div><div class=3D"li=
ne number31 index30 alt2"><code class=3D"cpp spaces">=A0=A0</code><code cla=
ss=3D"cpp plain">{</code></div><div class=3D"line number32 index31 alt1"><c=
ode class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">tcget=
attr( STDIN_FILENO, &amp;oldt);</code></div><div class=3D"line number33 ind=
ex32 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp=
 plain">newt =3D oldt;</code></div><div class=3D"line number34 index33 alt1=
"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">n=
ewt.c_lflag &amp;=3D ~( ICANON | ECHO );</code></div><div class=3D"line num=
ber35 index34 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code cla=
ss=3D"cpp plain">tcsetattr( STDIN_FILENO, TCSANOW, &amp;newt);</code></div>=
<div class=3D"line number36 index35 alt1"><code class=3D"cpp spaces">=A0=A0=
</code><code class=3D"cpp plain">}</code></div><div class=3D"line number37=
 index36 alt2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 keyword bold">else</code></div><div class=3D"line number38 index37 alt1"><=
code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">tcse=
tattr( STDIN_FILENO, TCSANOW, &amp;oldt);</code></div><div class=3D"line nu=
mber39 index38 alt2"><code class=3D"cpp plain">}</code></div><div class=3D"=
line number40 index39 alt1">=A0</div><div class=3D"line number41 index40 al=
t2"><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">kb=
hit (</code><code class=3D"cpp keyword bold">void</code><code class=3D"cpp=
 plain">)</code></div><div class=3D"line number42 index41 alt1"><code class=
=3D"cpp plain">{</code></div><div class=3D"line number43 index42 alt2"><cod=
e class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold">struct=
</code> <code class=3D"cpp plain">timeval tv;</code></div><div class=3D"lin=
e number44 index43 alt1"><code class=3D"cpp spaces">=A0=A0</code><code clas=
s=3D"cpp plain">fd_set rdfs;</code></div><div class=3D"line number45 index4=
4 alt2">=A0</div><div class=3D"line number46 index45 alt1"><code class=3D"c=
pp spaces">=A0=A0</code><code class=3D"cpp plain">tv.tv_sec =3D 0;</code></=
div><div class=3D"line number47 index46 alt2"><code class=3D"cpp spaces">=
=A0=A0</code><code class=3D"cpp plain">tv.tv_usec =3D 0;</code></div><div=
 class=3D"line number48 index47 alt1">=A0</div><div class=3D"line number49=
 index48 alt2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 plain">FD_ZERO(&amp;rdfs);</code></div><div class=3D"line number50 index49=
 alt1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">FD=
_SET (STDIN_FILENO, &amp;rdfs);</code></div><div class=3D"line number51 ind=
ex50 alt2">=A0</div><div class=3D"line number52 index51 alt1"><code class=
=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">select(STDIN_FILENO+=
1, &amp;rdfs, NULL, NULL, &amp;tv);</code></div><div class=3D"line number53=
 index52 alt2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp=
 keyword bold">return</code> <code class=3D"cpp plain">FD_ISSET(STDIN_FILEN=
O, &amp;rdfs);</code></div><div class=3D"line number54 index53 alt1">=A0</d=
iv><div class=3D"line number55 index54 alt2"><code class=3D"cpp plain">}</c=
ode></div></div></td></tr></tbody></table></div></div> </div><!-- google_ad=
_section_end --> </blockquote> </div> </div> </div> <div class=3D"after_con=
tent"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166.449307"> <ul class=
=3D"vbseo_links" style=3D"visibility:visible"> <li class=3D"vbseo_share"><a=
 href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <li class=3D"share_he=
ader">Share this post on</li> <li class=3D"right"><img src=3D"http://cboard=
.cprogramming.com/vbseo/resources/images/forum/digg.gif" alt=3D"" height=3D=
"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://digg.com/submit?ph=
ase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63=
166-kbhit-linux.html%23post449307&amp;title=3Dkbhit%28%29+for+linux.">Digg<=
/a></li> <li class=3D"left"><img src=3D"http://cboard.cprogramming.com/vbse=
o/resources/images/forum/technorati.gif" alt=3D"" height=3D"18px" width=3D"=
18px"><a rel=3D"nofollow" href=3D"http://technorati.com/faves/?add=3Dhttp%3=
A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23p=
ost449307">Technorati</a></li> <li class=3D"right"><img src=3D"http://im.cp=
rogramming.com/images/vbseo/facebook.gif" alt=3D"" height=3D"18px" width=3D=
"18px"><a rel=3D"nofollow" href=3D"http://www.facebook.com/share.php?u=3Dht=
tp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html=
%23post449307">Share on Facebook</a></li> <li class=3D"left"><img src=3D"ht=
tp://im.cprogramming.com/images/vbseo/twitter.png" alt=3D"" height=3D"18px"=
 width=3D"18px"><a rel=3D"nofollow" href=3D"http://twitter.com/home?status=
=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogramming.com%2Fc-progra=
mming%2F63166-kbhit-linux.html%23post449307">twitter</a></li> </ul> </li>=
 </ul> <div class=3D"vbseo_liked" style=3D"display:none"></div> </div> </di=
v> <div class=3D"cleardiv"></div> </div> </div> <div class=3D"postfoot"> =
 <div class=3D"textcontrols floatcontainer"> <span class=3D"postcontrols">=
 <img style=3D"display:none" id=3D"progress_449307" src=3D"http://im.cprogr=
amming.com/images/misc/progress.gif" alt=3D""> </span> <span class=3D"postl=
inking"> </span>  </div> </div> <hr> </li> <li class=3D"postbitlegacy postb=
itim postcontainer old" id=3D"post_449312">  <div class=3D"posthead"> <span=
 class=3D"postdate old"> <span class=3D"date">03-17-2005</span> </span> <sp=
an class=3D"nodecontrols"> <a name=3D"post449312" href=3D"#post449312" clas=
s=3D"postcounter">#4</a><a id=3D"postcount449312" name=3D"4"></a> </span>=
 </div> <div class=3D"postdetails"> <div class=3D"userinfo"> <div class=3D"=
username_container"> <div id=3D"yui-gen15" class=3D"popupmenu memberaction"=
> <a rel=3D"nofollow" class=3D"username offline " href=3D"http://cboard.cpr=
ogramming.com/member.php?u=3D11618" title=3D"itsme86 is offline"><strong><!=
-- google_ad_section_start(weight=3Dignore) -->itsme86<!-- google_ad_sectio=
n_end --></strong></a> </div> <img title=3D"itsme86 is offline" class=3D"in=
lineimg onlinestatus" src=3D"http://im.cprogramming.com/images/statusicon/u=
ser-offline.png" alt=3D"itsme86 is offline" border=3D"0"> </div> <span clas=
s=3D"usertitle">
				Gawking at stupidity
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Jul 20=
04</dd> <dt>Location</dt> <dd>Oregon, USA</dd> <dt>Posts</dt> <dd>3,153</dd=
> </dl> <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div=
 class=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"po=
st_message_449312"> <blockquote class=3D"postcontent restore " style=3D"ove=
rflow: visible"> <!-- google_ad_section_start -->Thantos' method will proba=
bly work a little bit better. There's a little bug in mine where if you pre=
ss a key when the program isn't at the right point, the character will echo=
 to the screen when it's not supposed to.<!-- google_ad_section_end --> </b=
lockquote> </div> </div> </div> <div class=3D"after_content"> <div class=3D=
"vbseo_buttons" id=3D"lkbtn_1.63166.449312"> <ul class=3D"vbseo_links" styl=
e=3D"visibility:visible"> <li class=3D"vbseo_share"><a href=3D"#">Share</a>=
 <ul class=3D"vbseo_share_body"> <li class=3D"share_header">Share this post=
 on</li> <li class=3D"right"><img src=3D"http://cboard.cprogramming.com/vbs=
eo/resources/images/forum/digg.gif" alt=3D"" height=3D"18px" width=3D"18px"=
><a rel=3D"nofollow" href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhtt=
p%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%=
23post449312&amp;title=3Dkbhit%28%29+for+linux.">Digg</a></li> <li class=3D=
"left"><img src=3D"http://cboard.cprogramming.com/vbseo/resources/images/fo=
rum/technorati.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofol=
low" href=3D"http://technorati.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449312">Technorati=
</a></li> <li class=3D"right"><img src=3D"http://im.cprogramming.com/images=
/vbseo/facebook.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofo=
llow" href=3D"http://www.facebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cpr=
ogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449312">Share=
 on Facebook</a></li> <li class=3D"left"><img src=3D"http://im.cprogramming=
.com/images/vbseo/twitter.png" alt=3D"" height=3D"18px" width=3D"18px"><a=
 rel=3D"nofollow" href=3D"http://twitter.com/home?status=3Dkbhit%28%29+for+=
linux.%20http%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit=
-linux.html%23post449312">twitter</a></li> </ul> </li> </ul> <div class=3D"=
vbseo_liked" style=3D"display:none"></div> </div> <blockquote class=3D"sign=
ature restore"><div class=3D"signaturecontainer"><!-- google_ad_section_sta=
rt(weight=3Dignore) -->If you understand what you're doing, you're not lear=
ning anything.<!-- google_ad_section_end --></div></blockquote> </div> <div=
 class=3D"cleardiv"></div> </div> </div> <div class=3D"postfoot">  <div cla=
ss=3D"textcontrols floatcontainer"> <span class=3D"postcontrols"> <img styl=
e=3D"display:none" id=3D"progress_449312" src=3D"http://im.cprogramming.com=
/images/misc/progress.gif" alt=3D""> </span> <span class=3D"postlinking">=
 </span>  </div> </div> <hr> </li> <li class=3D"postbitlegacy postbitim pos=
tcontainer old" id=3D"post_449318">  <div class=3D"posthead"> <span class=
=3D"postdate old"> <span class=3D"date">03-17-2005</span> </span> <span cla=
ss=3D"nodecontrols"> <a name=3D"post449318" href=3D"#post449318" class=3D"p=
ostcounter">#5</a><a id=3D"postcount449318" name=3D"5"></a> </span> </div>=
 <div class=3D"postdetails"> <div class=3D"userinfo"> <div class=3D"usernam=
e_container"> <div id=3D"yui-gen16" class=3D"popupmenu memberaction"> <a re=
l=3D"nofollow" class=3D"username offline " href=3D"http://cboard.cprogrammi=
ng.com/member.php?u=3D944" title=3D"quzah is offline"><strong><!-- google_a=
d_section_start(weight=3Dignore) -->quzah<!-- google_ad_section_end --></st=
rong></a> </div> <img title=3D"quzah is offline" class=3D"inlineimg onlines=
tatus" src=3D"http://im.cprogramming.com/images/statusicon/user-offline.png=
" alt=3D"quzah is offline" border=3D"0"> </div> <span class=3D"usertitle">
				ATH0
			</span> <a rel=3D"nofollow" class=3D"postuseravatar" href=3D"http://cboa=
rd.cprogramming.com/member.php?u=3D944" title=3D"quzah is offline"> <img sr=
c=3D"http://av.cprogramming.com/customavatars/avatar944_3.gif" alt=3D"quzah=
's Avatar" title=3D"quzah's Avatar"> </a> <hr> <dl class=3D"userinfo_extra"=
> <dt>Join Date</dt> <dd>Oct 2001</dd> <dt>Posts</dt> <dd>14,826</dd> </dl>=
 <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div class=
=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"post_mes=
sage_449318"> <blockquote class=3D"postcontent restore " style=3D"overflow:=
 visible"> <!-- google_ad_section_start -->Why don't you just use the curse=
s library to do it?<br> <br>
Quzah.<!-- google_ad_section_end --> </blockquote> </div> </div> </div> <di=
v class=3D"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166=
.449318"> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=
=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <l=
i class=3D"share_header">Share this post on</li> <li class=3D"right"><img=
 src=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gi=
f" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http=
://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449318&amp;title=3Dkbhit%28=
%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.=
cprogramming.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" heig=
ht=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.co=
m/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166=
-kbhit-linux.html%23post449318">Technorati</a></li> <li class=3D"right"><im=
g src=3D"http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook=
.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F6=
3166-kbhit-linux.html%23post449318">Share on Facebook</a></li> <li class=3D=
"left"><img src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=
=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twi=
tter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449318">twitter</a=
></li> </ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none">=
</div> </div> <blockquote class=3D"signature restore"><div class=3D"signatu=
recontainer"><!-- google_ad_section_start(weight=3Dignore) -->Hope is the=
 first step on the road to disappointment.<!-- google_ad_section_end --></d=
iv></blockquote> </div> <div class=3D"cleardiv"></div> </div> </div> <div=
 class=3D"postfoot">  <div class=3D"textcontrols floatcontainer"> <span cla=
ss=3D"postcontrols"> <img style=3D"display:none" id=3D"progress_449318" src=
=3D"http://im.cprogramming.com/images/misc/progress.gif" alt=3D""> </span>=
 <span class=3D"postlinking"> </span>  </div> </div> <hr> </li> <li class=
=3D"postbitlegacy postbitim postcontainer old" id=3D"post_449319">  <div cl=
ass=3D"posthead"> <span class=3D"postdate old"> <span class=3D"date">03-17-=
2005</span> </span> <span class=3D"nodecontrols"> <a name=3D"post449319" hr=
ef=3D"#post449319" class=3D"postcounter">#6</a><a id=3D"postcount449319" na=
me=3D"6"></a> </span> </div> <div class=3D"postdetails"> <div class=3D"user=
info"> <div class=3D"username_container"> <div id=3D"yui-gen17" class=3D"po=
pupmenu memberaction"> <a rel=3D"nofollow" class=3D"username offline " href=
=3D"http://cboard.cprogramming.com/member.php?u=3D11618" title=3D"itsme86=
 is offline"><strong><!-- google_ad_section_start(weight=3Dignore) -->itsme=
86<!-- google_ad_section_end --></strong></a> </div> <img title=3D"itsme86=
 is offline" class=3D"inlineimg onlinestatus" src=3D"http://im.cprogramming=
.com/images/statusicon/user-offline.png" alt=3D"itsme86 is offline" border=
=3D"0"> </div> <span class=3D"usertitle">
				Gawking at stupidity
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Jul 20=
04</dd> <dt>Location</dt> <dd>Oregon, USA</dd> <dt>Posts</dt> <dd>3,153</dd=
> </dl> <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div=
 class=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"po=
st_message_449319"> <blockquote class=3D"postcontent restore " style=3D"ove=
rflow: visible"> <!-- google_ad_section_start --><div class=3D"bbcode_conta=
iner"> <div class=3D"bbcode_quote"> <div class=3D"quote_container"> <div cl=
ass=3D"bbcode_quote_container"></div> <div class=3D"bbcode_postedby"> <img=
 title=3D"Quote" src=3D"http://im.cprogramming.com/images/misc/quote_icon.p=
ng" alt=3D"Quote"> Originally Posted by <strong>quzah</strong> </div> <div=
 class=3D"message">Why don't you just use the curses library to do it?<br>=
 <br>
Quzah.</div> </div> </div> </div>Where's your sense of adventure? <img src=
=3D"http://im.cprogramming.com/images/smilies/wink.png" alt=3D"" title=3D"W=
ink" class=3D"inlineimg" border=3D"0"><!-- google_ad_section_end --> </bloc=
kquote> </div> </div> </div> <div class=3D"after_content"> <div class=3D"vb=
seo_buttons" id=3D"lkbtn_1.63166.449319"> <ul class=3D"vbseo_links" style=
=3D"visibility:visible"> <li class=3D"vbseo_share"><a href=3D"#">Share</a>=
 <ul class=3D"vbseo_share_body"> <li class=3D"share_header">Share this post=
 on</li> <li class=3D"right"><img src=3D"http://cboard.cprogramming.com/vbs=
eo/resources/images/forum/digg.gif" alt=3D"" height=3D"18px" width=3D"18px"=
><a rel=3D"nofollow" href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhtt=
p%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%=
23post449319&amp;title=3Dkbhit%28%29+for+linux.">Digg</a></li> <li class=3D=
"left"><img src=3D"http://cboard.cprogramming.com/vbseo/resources/images/fo=
rum/technorati.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofol=
low" href=3D"http://technorati.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449319">Technorati=
</a></li> <li class=3D"right"><img src=3D"http://im.cprogramming.com/images=
/vbseo/facebook.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofo=
llow" href=3D"http://www.facebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cpr=
ogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449319">Share=
 on Facebook</a></li> <li class=3D"left"><img src=3D"http://im.cprogramming=
.com/images/vbseo/twitter.png" alt=3D"" height=3D"18px" width=3D"18px"><a=
 rel=3D"nofollow" href=3D"http://twitter.com/home?status=3Dkbhit%28%29+for+=
linux.%20http%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit=
-linux.html%23post449319">twitter</a></li> </ul> </li> </ul> <div class=3D"=
vbseo_liked" style=3D"display:none"></div> </div> <blockquote class=3D"sign=
ature restore"><div class=3D"signaturecontainer"><!-- google_ad_section_sta=
rt(weight=3Dignore) -->If you understand what you're doing, you're not lear=
ning anything.<!-- google_ad_section_end --></div></blockquote> </div> <div=
 class=3D"cleardiv"></div> </div> </div> <div class=3D"postfoot">  <div cla=
ss=3D"textcontrols floatcontainer"> <span class=3D"postcontrols"> <img styl=
e=3D"display:none" id=3D"progress_449319" src=3D"http://im.cprogramming.com=
/images/misc/progress.gif" alt=3D""> </span> <span class=3D"postlinking">=
 </span>  </div> </div> <hr> </li> <li class=3D"postbitlegacy postbitim pos=
tcontainer old" id=3D"post_449371">  <div class=3D"posthead"> <span class=
=3D"postdate old"> <span class=3D"date">03-18-2005</span> </span> <span cla=
ss=3D"nodecontrols"> <a name=3D"post449371" href=3D"#post449371" class=3D"p=
ostcounter">#7</a><a id=3D"postcount449371" name=3D"7"></a> </span> </div>=
 <div class=3D"postdetails"> <div class=3D"userinfo"> <div class=3D"usernam=
e_container"> <div id=3D"yui-gen18" class=3D"popupmenu memberaction"> <a re=
l=3D"nofollow" class=3D"username offline " href=3D"http://cboard.cprogrammi=
ng.com/member.php?u=3D10314" title=3D"jamie85 is offline"><strong><!-- goog=
le_ad_section_start(weight=3Dignore) -->jamie85<!-- google_ad_section_end=
 --></strong></a> </div> <img title=3D"jamie85 is offline" class=3D"inlinei=
mg onlinestatus" src=3D"http://im.cprogramming.com/images/statusicon/user-o=
ffline.png" alt=3D"jamie85 is offline" border=3D"0"> </div> <span class=3D"=
usertitle">
				Registered User
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Mar 20=
04</dd> <dt>Posts</dt> <dd>66</dd> </dl> <div class=3D"imlinks"> </div> </d=
iv> <div class=3D"postbody"> <div class=3D"postrow has_after_content"> <div=
 class=3D"content"> <div id=3D"post_message_449371"> <blockquote class=3D"p=
ostcontent restore " style=3D"overflow: visible"> <!-- google_ad_section_st=
art --><div class=3D"bbcode_container"> <div class=3D"bbcode_quote"> <div=
 class=3D"quote_container"> <div class=3D"bbcode_quote_container"></div> <d=
iv class=3D"bbcode_postedby"> <img title=3D"Quote" src=3D"http://im.cprogra=
mming.com/images/misc/quote_icon.png" alt=3D"Quote"> Originally Posted by=
 <strong>quzah</strong> </div> <div class=3D"message">Why don't you just us=
e the curses library to do it?<br> <br>
Quzah.</div> </div> </div> </div>Im considering that now seeing as im using=
 curses throughtout my program anyway.<br> <br>
Thats for the code guys.<!-- google_ad_section_end --> </blockquote> </div>=
 </div> </div> <div class=3D"after_content"> <div class=3D"vbseo_buttons"=
 id=3D"lkbtn_1.63166.449371"> <ul class=3D"vbseo_links" style=3D"visibility=
:visible"> <li class=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"v=
bseo_share_body"> <li class=3D"share_header">Share this post on</li> <li cl=
ass=3D"right"><img src=3D"http://cboard.cprogramming.com/vbseo/resources/im=
ages/forum/digg.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofo=
llow" href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboar=
d.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449371&am=
p;title=3Dkbhit%28%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=
=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/technorati.=
gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"ht=
tp://technorati.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-p=
rogramming%2F63166-kbhit-linux.html%23post449371">Technorati</a></li> <li=
 class=3D"right"><img src=3D"http://im.cprogramming.com/images/vbseo/facebo=
ok.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D=
"http://www.facebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449371">Share on Facebook</=
a></li> <li class=3D"left"><img src=3D"http://im.cprogramming.com/images/vb=
seo/twitter.png" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow=
" href=3D"http://twitter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A=
%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23po=
st449371">twitter</a></li> </ul> </li> </ul> <div class=3D"vbseo_liked" sty=
le=3D"display:none"></div> </div> </div> <div class=3D"cleardiv"></div> </d=
iv> </div> <div class=3D"postfoot">  <div class=3D"textcontrols floatcontai=
ner"> <span class=3D"postcontrols"> <img style=3D"display:none" id=3D"progr=
ess_449371" src=3D"http://im.cprogramming.com/images/misc/progress.gif" alt=
=3D""> </span> <span class=3D"postlinking"> </span>  </div> </div> <hr> </l=
i> <li class=3D"postbitlegacy postbitim postcontainer old" id=3D"post_44941=
6">  <div class=3D"posthead"> <span class=3D"postdate old"> <span class=3D"=
date">03-18-2005</span> </span> <span class=3D"nodecontrols"> <a name=3D"po=
st449416" href=3D"#post449416" class=3D"postcounter">#8</a><a id=3D"postcou=
nt449416" name=3D"8"></a> </span> </div> <div class=3D"postdetails"> <div=
 class=3D"userinfo"> <div class=3D"username_container"> <div id=3D"yui-gen1=
9" class=3D"popupmenu memberaction"> <a rel=3D"nofollow" class=3D"username=
 offline " href=3D"http://cboard.cprogramming.com/member.php?u=3D10314" tit=
le=3D"jamie85 is offline"><strong><!-- google_ad_section_start(weight=3Dign=
ore) -->jamie85<!-- google_ad_section_end --></strong></a> </div> <img titl=
e=3D"jamie85 is offline" class=3D"inlineimg onlinestatus" src=3D"http://im.=
cprogramming.com/images/statusicon/user-offline.png" alt=3D"jamie85 is offl=
ine" border=3D"0"> </div> <span class=3D"usertitle">
				Registered User
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Mar 20=
04</dd> <dt>Posts</dt> <dd>66</dd> </dl> <div class=3D"imlinks"> </div> </d=
iv> <div class=3D"postbody"> <div class=3D"postrow has_after_content"> <div=
 class=3D"content"> <div id=3D"post_message_449416"> <blockquote class=3D"p=
ostcontent restore " style=3D"overflow: visible"> <!-- google_ad_section_st=
art -->Cant seem to implement either of those examples.<br> <div class=3D"b=
bcode_container"> <div class=3D"bbcode_description">Code:</div> <div><div=
 id=3D"highlighter_721536" class=3D"syntaxhighlighter bbcode_code cpp"><div=
 class=3D"toolbar"><span><a href=3D"http://cboard.cprogramming.com/#" class=
=3D"toolbar_item command_help help">?</a></span></div><table border=3D"0"=
 cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td class=3D"gutter"><div=
 class=3D"line number1 index0 alt2">1</div><div class=3D"line number2 index=
1 alt1">2</div><div class=3D"line number3 index2 alt2">3</div><div class=3D=
"line number4 index3 alt1">4</div><div class=3D"line number5 index4 alt2">5=
</div><div class=3D"line number6 index5 alt1">6</div><div class=3D"line num=
ber7 index6 alt2">7</div><div class=3D"line number8 index7 alt1">8</div><di=
v class=3D"line number9 index8 alt2">9</div><div class=3D"line number10 ind=
ex9 alt1">10</div><div class=3D"line number11 index10 alt2">11</div><div cl=
ass=3D"line number12 index11 alt1">12</div><div class=3D"line number13 inde=
x12 alt2">13</div></td><td class=3D"code"><div class=3D"container"><div cla=
ss=3D"line number1 index0 alt2"><code class=3D"cpp plain">changemode(1);</c=
ode></div><div class=3D"line number2 index1 alt1">=A0</div><div class=3D"li=
ne number3 index2 alt2"><code class=3D"cpp keyword bold">if</code><code cla=
ss=3D"cpp plain">( kbhit() )</code></div><div class=3D"line number4 index3=
 alt1"><code class=3D"cpp plain">{</code></div><div class=3D"line number5=
 index4 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"=
cpp plain">ch =3D </code><code class=3D"cpp functions bold">getchar</code><=
code class=3D"cpp plain">();</code></div><div class=3D"line number6 index5=
 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp fun=
ctions bold">printf</code><code class=3D"cpp plain">(</code><code class=3D"=
cpp string">"\nGot %c\n"</code><code class=3D"cpp plain">, ch);</code></div=
><div class=3D"line number7 index6 alt2">=A0</div><div class=3D"line number=
8 index7 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D=
"cpp keyword bold">if</code> <code class=3D"cpp plain">( ch =3D=3D </code><=
code class=3D"cpp string">'c'</code><code class=3D"cpp plain">)</code></div=
><div class=3D"line number9 index8 alt2"><code class=3D"cpp spaces">=A0=A0=
=A0=A0</code><code class=3D"cpp keyword bold">return</code> <code class=3D"=
cpp plain">1;</code></div><div class=3D"line number10 index9 alt1">=A0</div=
><div class=3D"line number11 index10 alt2"><code class=3D"cpp spaces">=A0=
=A0=A0=A0</code><code class=3D"cpp plain">changemode(0);</code></div><div=
 class=3D"line number12 index11 alt1">=A0</div><div class=3D"line number13=
 index12 alt2"><code class=3D"cpp plain">}</code></div></div></td></tr></tb=
ody></table></div></div> </div>This never seems to return to the calling fu=
nction.<br>
Do you know any function i can use fom curses for this?<br> <br>
Thanks<!-- google_ad_section_end --> </blockquote> </div> </div> </div> <di=
v class=3D"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166=
.449416"> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=
=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <l=
i class=3D"share_header">Share this post on</li> <li class=3D"right"><img=
 src=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gi=
f" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http=
://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449416&amp;title=3Dkbhit%28=
%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.=
cprogramming.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" heig=
ht=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.co=
m/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166=
-kbhit-linux.html%23post449416">Technorati</a></li> <li class=3D"right"><im=
g src=3D"http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook=
.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F6=
3166-kbhit-linux.html%23post449416">Share on Facebook</a></li> <li class=3D=
"left"><img src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=
=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twi=
tter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449416">twitter</a=
></li> </ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none">=
</div> </div> </div> <div class=3D"cleardiv"></div> </div> </div> <div clas=
s=3D"postfoot">  <div class=3D"textcontrols floatcontainer"> <span class=3D=
"postcontrols"> <img style=3D"display:none" id=3D"progress_449416" src=3D"h=
ttp://im.cprogramming.com/images/misc/progress.gif" alt=3D""> </span> <span=
 class=3D"postlinking"> </span>  </div> </div> <hr> </li> <li class=3D"post=
bitlegacy postbitim postcontainer old" id=3D"post_449433">  <div class=3D"p=
osthead"> <span class=3D"postdate old"> <span class=3D"date">03-18-2005</sp=
an> </span> <span class=3D"nodecontrols"> <a name=3D"post449433" href=3D"#p=
ost449433" class=3D"postcounter">#9</a><a id=3D"postcount449433" name=3D"9"=
></a> </span> </div> <div class=3D"postdetails"> <div class=3D"userinfo">=
 <div class=3D"username_container"> <div id=3D"yui-gen20" class=3D"popupmen=
u memberaction"> <a rel=3D"nofollow" class=3D"username offline " href=3D"ht=
tp://cboard.cprogramming.com/member.php?u=3D11618" title=3D"itsme86 is offl=
ine"><strong><!-- google_ad_section_start(weight=3Dignore) -->itsme86<!--=
 google_ad_section_end --></strong></a> </div> <img title=3D"itsme86 is off=
line" class=3D"inlineimg onlinestatus" src=3D"http://im.cprogramming.com/im=
ages/statusicon/user-offline.png" alt=3D"itsme86 is offline" border=3D"0">=
 </div> <span class=3D"usertitle">
				Gawking at stupidity
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Jul 20=
04</dd> <dt>Location</dt> <dd>Oregon, USA</dd> <dt>Posts</dt> <dd>3,153</dd=
> </dl> <div class=3D"imlinks"> </div> </div> <div class=3D"postbody"> <div=
 class=3D"postrow has_after_content"> <div class=3D"content"> <div id=3D"po=
st_message_449433"> <blockquote class=3D"postcontent restore " style=3D"ove=
rflow: visible"> <!-- google_ad_section_start -->You're changing the mode=
 back to 0 after the first call to kbhit(). Does that make any logical sens=
e to you? Look how Thantos implemented it. Does he change the mode back to=
 0 inside the kbhit() loop? He doesn't. That should tell you something.<!--=
 google_ad_section_end --> </blockquote> </div> </div> </div> <div class=3D=
"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166.449433">=
 <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=3D"vbseo=
_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <li class=
=3D"share_header">Share this post on</li> <li class=3D"right"><img src=3D"h=
ttp://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gif" alt=3D=
"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://digg.c=
om/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-prog=
ramming%2F63166-kbhit-linux.html%23post449433&amp;title=3Dkbhit%28%29+for+l=
inux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.cprogramm=
ing.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" height=3D"18p=
x" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.com/faves/?=
add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-li=
nux.html%23post449433">Technorati</a></li> <li class=3D"right"><img src=3D"=
http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" height=3D"18=
px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook.com/shar=
e.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhi=
t-linux.html%23post449433">Share on Facebook</a></li> <li class=3D"left"><i=
mg src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twitter.com/=
home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449433">twitter</a></li> </=
ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none"></div> </=
div> <blockquote class=3D"signature restore"><div class=3D"signaturecontain=
er"><!-- google_ad_section_start(weight=3Dignore) -->If you understand what=
 you're doing, you're not learning anything.<!-- google_ad_section_end --><=
/div></blockquote> </div> <div class=3D"cleardiv"></div> </div> </div> <div=
 class=3D"postfoot">  <div class=3D"textcontrols floatcontainer"> <span cla=
ss=3D"postcontrols"> <img style=3D"display:none" id=3D"progress_449433" src=
=3D"http://im.cprogramming.com/images/misc/progress.gif" alt=3D""> </span>=
 <span class=3D"postlinking"> </span>  </div> </div> <hr> </li> <li class=
=3D"postbitlegacy postbitim postcontainer old" id=3D"post_449446">  <div cl=
ass=3D"posthead"> <span class=3D"postdate old"> <span class=3D"date">03-18-=
2005</span> </span> <span class=3D"nodecontrols"> <a name=3D"post449446" hr=
ef=3D"#post449446" class=3D"postcounter">#10</a><a id=3D"postcount449446"=
 name=3D"10"></a> </span> </div> <div class=3D"postdetails"> <div class=3D"=
userinfo"> <div class=3D"username_container"> <div id=3D"yui-gen21" class=
=3D"popupmenu memberaction"> <a rel=3D"nofollow" class=3D"username offline=
 " href=3D"http://cboard.cprogramming.com/member.php?u=3D10314" title=3D"ja=
mie85 is offline"><strong><!-- google_ad_section_start(weight=3Dignore) -->=
jamie85<!-- google_ad_section_end --></strong></a> </div> <img title=3D"jam=
ie85 is offline" class=3D"inlineimg onlinestatus" src=3D"http://im.cprogram=
ming.com/images/statusicon/user-offline.png" alt=3D"jamie85 is offline" bor=
der=3D"0"> </div> <span class=3D"usertitle">
				Registered User
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Mar 20=
04</dd> <dt>Posts</dt> <dd>66</dd> </dl> <div class=3D"imlinks"> </div> </d=
iv> <div class=3D"postbody"> <div class=3D"postrow has_after_content"> <div=
 class=3D"content"> <div id=3D"post_message_449446"> <blockquote class=3D"p=
ostcontent restore " style=3D"overflow: visible"> <!-- google_ad_section_st=
art --><div class=3D"bbcode_container"> <div class=3D"bbcode_description">C=
ode:</div> <div><div id=3D"highlighter_200855" class=3D"syntaxhighlighter=
 bbcode_code cpp"><div class=3D"toolbar"><span><a href=3D"http://cboard.cpr=
ogramming.com/#" class=3D"toolbar_item command_help help">?</a></span></div=
><table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td cla=
ss=3D"gutter"><div class=3D"line number1 index0 alt2">1</div><div class=3D"=
line number2 index1 alt1">2</div><div class=3D"line number3 index2 alt2">3<=
/div><div class=3D"line number4 index3 alt1">4</div><div class=3D"line numb=
er5 index4 alt2">5</div><div class=3D"line number6 index5 alt1">6</div><div=
 class=3D"line number7 index6 alt2">7</div><div class=3D"line number8 index=
7 alt1">8</div><div class=3D"line number9 index8 alt2">9</div><div class=3D=
"line number10 index9 alt1">10</div><div class=3D"line number11 index10 alt=
2">11</div><div class=3D"line number12 index11 alt1">12</div><div class=3D"=
line number13 index12 alt2">13</div><div class=3D"line number14 index13 alt=
1">14</div><div class=3D"line number15 index14 alt2">15</div><div class=3D"=
line number16 index15 alt1">16</div><div class=3D"line number17 index16 alt=
2">17</div><div class=3D"line number18 index17 alt1">18</div><div class=3D"=
line number19 index18 alt2">19</div><div class=3D"line number20 index19 alt=
1">20</div><div class=3D"line number21 index20 alt2">21</div><div class=3D"=
line number22 index21 alt1">22</div><div class=3D"line number23 index22 alt=
2">23</div><div class=3D"line number24 index23 alt1">24</div><div class=3D"=
line number25 index24 alt2">25</div><div class=3D"line number26 index25 alt=
1">26</div><div class=3D"line number27 index26 alt2">27</div><div class=3D"=
line number28 index27 alt1">28</div><div class=3D"line number29 index28 alt=
2">29</div><div class=3D"line number30 index29 alt1">30</div><div class=3D"=
line number31 index30 alt2">31</div><div class=3D"line number32 index31 alt=
1">32</div><div class=3D"line number33 index32 alt2">33</div><div class=3D"=
line number34 index33 alt1">34</div><div class=3D"line number35 index34 alt=
2">35</div><div class=3D"line number36 index35 alt1">36</div><div class=3D"=
line number37 index36 alt2">37</div><div class=3D"line number38 index37 alt=
1">38</div><div class=3D"line number39 index38 alt2">39</div><div class=3D"=
line number40 index39 alt1">40</div><div class=3D"line number41 index40 alt=
2">41</div><div class=3D"line number42 index41 alt1">42</div><div class=3D"=
line number43 index42 alt2">43</div><div class=3D"line number44 index43 alt=
1">44</div><div class=3D"line number45 index44 alt2">45</div><div class=3D"=
line number46 index45 alt1">46</div><div class=3D"line number47 index46 alt=
2">47</div></td><td class=3D"code"><div class=3D"container"><div class=3D"l=
ine number1 index0 alt2"><code class=3D"cpp plain">...</code></div><div cla=
ss=3D"line number2 index1 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</co=
de><code class=3D"cpp keyword bold">while</code> <code class=3D"cpp plain">=
(=A0 *ai_mode !=3D FOLLOW_LINE )</code></div><div class=3D"line number3 ind=
ex2 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp=
 plain">{</code></div><div class=3D"line number4 index3 alt1"><code class=
=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp functions=
 bold">printf</code><code class=3D"cpp plain">(</code><code class=3D"cpp st=
ring">"\n\njoymode\n\n"</code><code class=3D"cpp plain">);</code></div><div=
 class=3D"line number5 index4 alt2">=A0</div><div class=3D"line number6 ind=
ex5 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code=
 class=3D"cpp plain">move_motors_with_stick(device, subdevice_an_zero, subd=
evice_an_one, x_scale, y_scale, x_min_read, y_min_read, x_max_read, y_max_r=
ead);</code></div><div class=3D"line number7 index6 alt2">=A0</div><div cla=
ss=3D"line number8 index7 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=
=A0=A0=A0</code><code class=3D"cpp plain">read_digital(subdevice_dig, devic=
e, &amp;digital_input);</code></div><div class=3D"line number9 index8 alt2"=
>=A0</div><div class=3D"line number10 index9 alt1"><code class=3D"cpp space=
s">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp comments">/* if MARCO=
 has gone over a line, we leave the loop and return to the menu, selecting=
 the follow_ilne module */</code></div><div class=3D"line number11 index10=
 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code clas=
s=3D"cpp keyword bold">if</code> <code class=3D"cpp plain">(( digital_input=
 &amp; LEFT_SENSOR ) || ( digital_input &amp; RIGHT_SENSOR ))</code></div><=
div class=3D"line number12 index11 alt1"><code class=3D"cpp spaces">=A0=A0=
=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">{</code></div><div class=
=3D"line number13 index12 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">*ai_mode =3D FOLLOW_L=
INE;</code></div><div class=3D"line number14 index13 alt1"><code class=3D"c=
pp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">}</code=
></div><div class=3D"line number15 index14 alt2">=A0</div><div class=3D"lin=
e number16 index15 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=
=A0</code><code class=3D"cpp plain">retval =3D bla();</code></div><div clas=
s=3D"line number17 index16 alt2">=A0</div><div class=3D"line number18 index=
17 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code cl=
ass=3D"cpp functions bold">printf</code><code class=3D"cpp plain">(</code><=
code class=3D"cpp string">"...................%d....................."</cod=
e><code class=3D"cpp plain">, retval);</code></div><div class=3D"line numbe=
r19 index18 alt2">=A0</div><div class=3D"line number20 index19 alt1"><code=
 class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp key=
word bold">if</code> <code class=3D"cpp plain">( retval =3D=3D 1 )</code></=
div><div class=3D"line number21 index20 alt2"><code class=3D"cpp spaces">=
=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">{</code></div><div=
 class=3D"line number22 index21 alt1"><code class=3D"cpp spaces">=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp functions bold">puts</=
code><code class=3D"cpp plain">(</code><code class=3D"cpp string">"BLA"</co=
de><code class=3D"cpp plain">);</code></div><div class=3D"line number23 ind=
ex22 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<=
/code><code class=3D"cpp keyword bold">return</code> <code class=3D"cpp pla=
in">0;</code></div><div class=3D"line number24 index23 alt1"><code class=3D=
"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">}</co=
de></div><div class=3D"line number25 index24 alt2">=A0</div><div class=3D"l=
ine number26 index25 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><c=
ode class=3D"cpp plain">}</code></div><div class=3D"line number27 index26=
 alt2">=A0</div><div class=3D"line number28 index27 alt1"><code class=3D"cp=
p spaces">=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">return</code>=
 <code class=3D"cpp plain">1;</code></div><div class=3D"line number29 index=
28 alt2">=A0</div><div class=3D"line number30 index29 alt1"><code class=3D"=
cpp plain">}</code></div><div class=3D"line number31 index30 alt2"><code cl=
ass=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">bla()</code></=
div><div class=3D"line number32 index31 alt1"><code class=3D"cpp plain">{</=
code></div><div class=3D"line number33 index32 alt2"><code class=3D"cpp spa=
ces">=A0=A0=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code cl=
ass=3D"cpp plain">ch;</code></div><div class=3D"line number34 index33 alt1"=
><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">ch=
angemode(1);</code></div><div class=3D"line number35 index34 alt2">=A0</div=
><div class=3D"line number36 index35 alt1"><code class=3D"cpp spaces">=A0=
=A0=A0=A0</code><code class=3D"cpp keyword bold">if</code> <code class=3D"c=
pp plain">( kbhit() )</code></div><div class=3D"line number37 index36 alt2"=
><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">{<=
/code></div><div class=3D"line number38 index37 alt1">=A0</div><div class=
=3D"line number39 index38 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=
=A0=A0=A0</code><code class=3D"cpp plain">changemode(0);</code></div><div=
 class=3D"line number40 index39 alt1"><code class=3D"cpp spaces">=A0=A0=A0=
=A0=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">return</code> <code=
 class=3D"cpp plain">1;</code></div><div class=3D"line number41 index40 alt=
2">=A0</div><div class=3D"line number42 index41 alt1"><code class=3D"cpp sp=
aces">=A0=A0=A0=A0</code><code class=3D"cpp plain">}</code></div><div class=
=3D"line number43 index42 alt2">=A0</div><div class=3D"line number44 index4=
3 alt1">=A0</div><div class=3D"line number45 index44 alt2"><code class=3D"c=
pp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">changemode(0);</cod=
e></div><div class=3D"line number46 index45 alt1"><code class=3D"cpp spaces=
">=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">return</code> <code=
 class=3D"cpp plain">0;</code></div><div class=3D"line number47 index46 alt=
2"><code class=3D"cpp plain">}</code></div></div></td></tr></tbody></table>=
</div></div> </div>for some reason, after "BLA" is outputted on the console=
, it doesnt return to the calling function. Why is this?<br> <br>
thanks<!-- google_ad_section_end --> </blockquote> </div> </div> </div> <di=
v class=3D"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166=
.449446"> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=
=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <l=
i class=3D"share_header">Share this post on</li> <li class=3D"right"><img=
 src=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gi=
f" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http=
://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post449446&amp;title=3Dkbhit%28=
%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.=
cprogramming.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" heig=
ht=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.co=
m/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166=
-kbhit-linux.html%23post449446">Technorati</a></li> <li class=3D"right"><im=
g src=3D"http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook=
.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F6=
3166-kbhit-linux.html%23post449446">Share on Facebook</a></li> <li class=3D=
"left"><img src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=
=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twi=
tter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post449446">twitter</a=
></li> </ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none">=
</div> </div> </div> <div class=3D"cleardiv"></div> </div> </div> <div clas=
s=3D"postfoot">  <div class=3D"textcontrols floatcontainer"> <span class=3D=
"postcontrols"> <img style=3D"display:none" id=3D"progress_449446" src=3D"h=
ttp://im.cprogramming.com/images/misc/progress.gif" alt=3D""> </span> <span=
 class=3D"postlinking"> </span>  </div> </div> <hr> </li> <li class=3D"post=
bitlegacy postbitim postcontainer old" id=3D"post_803210">  <div class=3D"p=
osthead"> <span class=3D"postdate old"> <span class=3D"date">11-03-2008</sp=
an> </span> <span class=3D"nodecontrols"> <a name=3D"post803210" href=3D"#p=
ost803210" class=3D"postcounter">#11</a><a id=3D"postcount803210" name=3D"1=
1"></a> </span> </div> <div class=3D"postdetails"> <div class=3D"userinfo">=
 <div class=3D"username_container"> <div id=3D"yui-gen22" class=3D"popupmen=
u memberaction"> <a rel=3D"nofollow" class=3D"username offline " href=3D"ht=
tp://cboard.cprogramming.com/member.php?u=3D33788" title=3D"wiraredi is off=
line"><strong><!-- google_ad_section_start(weight=3Dignore) -->wiraredi<!--=
 google_ad_section_end --></strong></a> </div> <img title=3D"wiraredi is of=
fline" class=3D"inlineimg onlinestatus" src=3D"http://im.cprogramming.com/i=
mages/statusicon/user-offline.png" alt=3D"wiraredi is offline" border=3D"0"=
> </div> <span class=3D"usertitle">
				Registered User
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Nov 20=
08</dd> <dt>Posts</dt> <dd>5</dd> </dl> <div class=3D"imlinks"> </div> </di=
v> <div class=3D"postbody"> <div class=3D"postrow has_after_content"> <div=
 class=3D"content"> <div id=3D"post_message_803210"> <blockquote class=3D"p=
ostcontent restore " style=3D"overflow: visible"> <!-- google_ad_section_st=
art --><div class=3D"bbcode_container"> <div class=3D"bbcode_description">C=
ode:</div> <div><div id=3D"highlighter_501919" class=3D"syntaxhighlighter=
 bbcode_code cpp"><div class=3D"toolbar"><span><a href=3D"http://cboard.cpr=
ogramming.com/#" class=3D"toolbar_item command_help help">?</a></span></div=
><table border=3D"0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td cla=
ss=3D"gutter"><div class=3D"line number1 index0 alt2">1</div><div class=3D"=
line number2 index1 alt1">2</div><div class=3D"line number3 index2 alt2">3<=
/div><div class=3D"line number4 index3 alt1">4</div><div class=3D"line numb=
er5 index4 alt2">5</div><div class=3D"line number6 index5 alt1">6</div><div=
 class=3D"line number7 index6 alt2">7</div><div class=3D"line number8 index=
7 alt1">8</div><div class=3D"line number9 index8 alt2">9</div><div class=3D=
"line number10 index9 alt1">10</div><div class=3D"line number11 index10 alt=
2">11</div><div class=3D"line number12 index11 alt1">12</div><div class=3D"=
line number13 index12 alt2">13</div><div class=3D"line number14 index13 alt=
1">14</div><div class=3D"line number15 index14 alt2">15</div><div class=3D"=
line number16 index15 alt1">16</div><div class=3D"line number17 index16 alt=
2">17</div><div class=3D"line number18 index17 alt1">18</div><div class=3D"=
line number19 index18 alt2">19</div><div class=3D"line number20 index19 alt=
1">20</div><div class=3D"line number21 index20 alt2">21</div><div class=3D"=
line number22 index21 alt1">22</div><div class=3D"line number23 index22 alt=
2">23</div><div class=3D"line number24 index23 alt1">24</div><div class=3D"=
line number25 index24 alt2">25</div><div class=3D"line number26 index25 alt=
1">26</div><div class=3D"line number27 index26 alt2">27</div><div class=3D"=
line number28 index27 alt1">28</div><div class=3D"line number29 index28 alt=
2">29</div><div class=3D"line number30 index29 alt1">30</div><div class=3D"=
line number31 index30 alt2">31</div><div class=3D"line number32 index31 alt=
1">32</div><div class=3D"line number33 index32 alt2">33</div><div class=3D"=
line number34 index33 alt1">34</div><div class=3D"line number35 index34 alt=
2">35</div><div class=3D"line number36 index35 alt1">36</div><div class=3D"=
line number37 index36 alt2">37</div><div class=3D"line number38 index37 alt=
1">38</div><div class=3D"line number39 index38 alt2">39</div><div class=3D"=
line number40 index39 alt1">40</div><div class=3D"line number41 index40 alt=
2">41</div><div class=3D"line number42 index41 alt1">42</div><div class=3D"=
line number43 index42 alt2">43</div><div class=3D"line number44 index43 alt=
1">44</div><div class=3D"line number45 index44 alt2">45</div><div class=3D"=
line number46 index45 alt1">46</div><div class=3D"line number47 index46 alt=
2">47</div><div class=3D"line number48 index47 alt1">48</div><div class=3D"=
line number49 index48 alt2">49</div><div class=3D"line number50 index49 alt=
1">50</div><div class=3D"line number51 index50 alt2">51</div><div class=3D"=
line number52 index51 alt1">52</div><div class=3D"line number53 index52 alt=
2">53</div><div class=3D"line number54 index53 alt1">54</div><div class=3D"=
line number55 index54 alt2">55</div><div class=3D"line number56 index55 alt=
1">56</div><div class=3D"line number57 index56 alt2">57</div><div class=3D"=
line number58 index57 alt1">58</div></td><td class=3D"code"><div class=3D"c=
ontainer"><div class=3D"line number1 index0 alt2"><code class=3D"cpp prepro=
cessor">#include &lt;stdio.h&gt;</code></div><div class=3D"line number2 ind=
ex1 alt1"><code class=3D"cpp preprocessor">#include &lt;unistd.h&gt;</code>=
</div><div class=3D"line number3 index2 alt2"><code class=3D"cpp preprocess=
or">#include &lt;stdlib.h&gt;</code></div><div class=3D"line number4 index3=
 alt1"><code class=3D"cpp preprocessor">#include &lt;termios.h&gt;</code></=
div><div class=3D"line number5 index4 alt2"><code class=3D"cpp preprocessor=
">#include &lt;unistd.h&gt;</code></div><div class=3D"line number6 index5=
 alt1"><code class=3D"cpp preprocessor">#include &lt;fcntl.h&gt;</code></di=
v><div class=3D"line number7 index6 alt2">=A0</div><div class=3D"line numbe=
r8 index7 alt1"><code class=3D"cpp color1 bold">int</code> <code class=3D"c=
pp plain">kbhit(</code><code class=3D"cpp keyword bold">void</code><code cl=
ass=3D"cpp plain">)</code></div><div class=3D"line number9 index8 alt2"><co=
de class=3D"cpp plain">{</code></div><div class=3D"line number10 index9 alt=
1"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp keyword bold"=
>struct</code> <code class=3D"cpp plain">termios oldt, newt;</code></div><d=
iv class=3D"line number11 index10 alt2"><code class=3D"cpp spaces">=A0=A0</=
code><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">c=
h;</code></div><div class=3D"line number12 index11 alt1"><code class=3D"cpp=
 spaces">=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code clas=
s=3D"cpp plain">oldf;</code></div><div class=3D"line number13 index12 alt2"=
>=A0</div><div class=3D"line number14 index13 alt1"><code class=3D"cpp spac=
es">=A0=A0</code><code class=3D"cpp plain">tcgetattr(STDIN_FILENO, &amp;old=
t);</code></div><div class=3D"line number15 index14 alt2"><code class=3D"cp=
p spaces">=A0=A0</code><code class=3D"cpp plain">newt =3D oldt;</code></div=
><div class=3D"line number16 index15 alt1"><code class=3D"cpp spaces">=A0=
=A0</code><code class=3D"cpp plain">newt.c_lflag &amp;=3D ~(ICANON | ECHO);=
</code></div><div class=3D"line number17 index16 alt2"><code class=3D"cpp=
 spaces">=A0=A0</code><code class=3D"cpp plain">tcsetattr(STDIN_FILENO, TCS=
ANOW, &amp;newt);</code></div><div class=3D"line number18 index17 alt1"><co=
de class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">oldf =3D fcn=
tl(STDIN_FILENO, F_GETFL, 0);</code></div><div class=3D"line number19 index=
18 alt2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">=
fcntl(STDIN_FILENO, F_SETFL, oldf | O_NONBLOCK);</code></div><div class=3D"=
line number20 index19 alt1">=A0</div><div class=3D"line number21 index20 al=
t2"><code class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">ch =
=3D </code><code class=3D"cpp functions bold">getchar</code><code class=3D"=
cpp plain">();</code></div><div class=3D"line number22 index21 alt1">=A0</d=
iv><div class=3D"line number23 index22 alt2"><code class=3D"cpp spaces">=A0=
=A0</code><code class=3D"cpp plain">tcsetattr(STDIN_FILENO, TCSANOW, &amp;o=
ldt);</code></div><div class=3D"line number24 index23 alt1"><code class=3D"=
cpp spaces">=A0=A0</code><code class=3D"cpp plain">fcntl(STDIN_FILENO, F_SE=
TFL, oldf);</code></div><div class=3D"line number25 index24 alt2">=A0</div>=
<div class=3D"line number26 index25 alt1"><code class=3D"cpp spaces">=A0=A0=
</code><code class=3D"cpp keyword bold">if</code><code class=3D"cpp plain">=
(ch !=3D EOF)</code></div><div class=3D"line number27 index26 alt2"><code=
 class=3D"cpp spaces">=A0=A0</code><code class=3D"cpp plain">{</code></div>=
<div class=3D"line number28 index27 alt1"><code class=3D"cpp spaces">=A0=A0=
=A0=A0</code><code class=3D"cpp functions bold">ungetc</code><code class=3D=
"cpp plain">(ch, stdin);</code></div><div class=3D"line number29 index28 al=
t2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp keywor=
d bold">return</code> <code class=3D"cpp plain">1;</code></div><div class=
=3D"line number30 index29 alt1"><code class=3D"cpp spaces">=A0=A0</code><co=
de class=3D"cpp plain">}</code></div><div class=3D"line number31 index30 al=
t2">=A0</div><div class=3D"line number32 index31 alt1"><code class=3D"cpp=
 spaces">=A0=A0</code><code class=3D"cpp keyword bold">return</code> <code=
 class=3D"cpp plain">0;</code></div><div class=3D"line number33 index32 alt=
2"><code class=3D"cpp plain">}</code></div><div class=3D"line number34 inde=
x33 alt1">=A0</div><div class=3D"line number35 index34 alt2">=A0</div><div=
 class=3D"line number36 index35 alt1"><code class=3D"cpp plain">main( </cod=
e><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp plain">argc=
, </code><code class=3D"cpp color1 bold">char</code><code class=3D"cpp plai=
n">** argv )</code></div><div class=3D"line number37 index36 alt2"><code cl=
ass=3D"cpp plain">{</code></div><div class=3D"line number38 index37 alt1"><=
code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp color1 bold=
">char</code> <code class=3D"cpp plain">*input =3D argv[0];</code></div><di=
v class=3D"line number39 index38 alt2"><code class=3D"cpp spaces">=A0=A0=A0=
=A0</code><code class=3D"cpp color1 bold">int</code> <code class=3D"cpp pla=
in">nomor =3D argc;</code></div><div class=3D"line number40 index39 alt1"><=
code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">pid_=
t pid =3D 0;</code></div><div class=3D"line number41 index40 alt2"><code cl=
ass=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp comments">/* set=
 stuff up */</code></div><div class=3D"line number42 index41 alt1"><code cl=
ass=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp comments">/* accep=
t command line args */</code></div><div class=3D"line number43 index42 alt2=
"><code class=3D"cpp spaces">=A0=A0=A0=A0</code>=A0</div><div class=3D"line=
 number44 index43 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code=
 class=3D"cpp plain">pid =3D fork();</code></div><div class=3D"line number4=
5 index44 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=
=3D"cpp keyword bold">if</code><code class=3D"cpp plain">( pid =3D=3D 0 ){<=
/code></div><div class=3D"line number46 index45 alt1"><code class=3D"cpp sp=
aces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp comments">/* this=
 is the "background" process.=A0 Execute process loop here */</code></div><=
div class=3D"line number47 index46 alt2"><code class=3D"cpp spaces">=A0=A0=
=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp color1 bold">int</code> <code=
 class=3D"cpp plain">x=3D0;=A0=A0=A0 </code></div><div class=3D"line number=
48 index47 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code>=
<code class=3D"cpp keyword bold">while</code><code class=3D"cpp plain">(1)<=
/code></div><div class=3D"line number49 index48 alt2"><code class=3D"cpp sp=
aces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp plain">{</code></di=
v><div class=3D"line number50 index49 alt1"><code class=3D"cpp spaces">=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">if=
</code><code class=3D"cpp plain">(kbhit())</code></div><div class=3D"line=
 number51 index50 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0</code><code class=3D"cpp functions bold">printf</code><c=
ode class=3D"cpp plain">(</code><code class=3D"cpp string">"you hit keyboar=
d"</code><code class=3D"cpp plain">);</code></div><div class=3D"line number=
52 index51 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code>=
<code class=3D"cpp plain">}</code></div><div class=3D"line number53 index52=
 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp pla=
in">}</code></div><div class=3D"line number54 index53 alt1"><code class=3D"=
cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp keyword bold">else</code>=
 <code class=3D"cpp plain">{</code></div><div class=3D"line number55 index5=
4 alt2"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=A0=A0=A0</code><code cla=
ss=3D"cpp comments">/* "foreground" process exits */</code></div><div class=
=3D"line number56 index55 alt1"><code class=3D"cpp spaces">=A0=A0=A0=A0=A0=
=A0=A0=A0</code><code class=3D"cpp functions bold">exit</code><code class=
=3D"cpp plain">(0);</code></div><div class=3D"line number57 index56 alt2"><=
code class=3D"cpp spaces">=A0=A0=A0=A0</code><code class=3D"cpp plain">}</c=
ode></div><div class=3D"line number58 index57 alt1"><code class=3D"cpp plai=
n">}</code></div></div></td></tr></tbody></table></div></div> </div>why thi=
s kbhit doesnt work in child process??<!-- google_ad_section_end --> </bloc=
kquote> </div> </div> </div> <div class=3D"after_content"> <div class=3D"vb=
seo_buttons" id=3D"lkbtn_1.63166.803210"> <ul class=3D"vbseo_links" style=
=3D"visibility:visible"> <li class=3D"vbseo_share"><a href=3D"#">Share</a>=
 <ul class=3D"vbseo_share_body"> <li class=3D"share_header">Share this post=
 on</li> <li class=3D"right"><img src=3D"http://cboard.cprogramming.com/vbs=
eo/resources/images/forum/digg.gif" alt=3D"" height=3D"18px" width=3D"18px"=
><a rel=3D"nofollow" href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhtt=
p%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html%=
23post803210&amp;title=3Dkbhit%28%29+for+linux.">Digg</a></li> <li class=3D=
"left"><img src=3D"http://cboard.cprogramming.com/vbseo/resources/images/fo=
rum/technorati.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofol=
low" href=3D"http://technorati.com/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post803210">Technorati=
</a></li> <li class=3D"right"><img src=3D"http://im.cprogramming.com/images=
/vbseo/facebook.gif" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofo=
llow" href=3D"http://www.facebook.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cpr=
ogramming.com%2Fc-programming%2F63166-kbhit-linux.html%23post803210">Share=
 on Facebook</a></li> <li class=3D"left"><img src=3D"http://im.cprogramming=
.com/images/vbseo/twitter.png" alt=3D"" height=3D"18px" width=3D"18px"><a=
 rel=3D"nofollow" href=3D"http://twitter.com/home?status=3Dkbhit%28%29+for+=
linux.%20http%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit=
-linux.html%23post803210">twitter</a></li> </ul> </li> </ul> <div class=3D"=
vbseo_liked" style=3D"display:none"></div> </div> </div> <div class=3D"clea=
rdiv"></div> </div> </div> <div class=3D"postfoot">  <div class=3D"textcont=
rols floatcontainer"> <span class=3D"postcontrols"> <img style=3D"display:n=
one" id=3D"progress_803210" src=3D"http://im.cprogramming.com/images/misc/p=
rogress.gif" alt=3D""> </span> <span class=3D"postlinking"> </span>  </div>=
 </div> <hr> </li> <li class=3D"postbitlegacy postbitim postcontainer old"=
 id=3D"post_803212">  <div class=3D"posthead"> <span class=3D"postdate old"=
> <span class=3D"date">11-03-2008</span> </span> <span class=3D"nodecontrol=
s"> <a name=3D"post803212" href=3D"#post803212" class=3D"postcounter">#12</=
a><a id=3D"postcount803212" name=3D"12"></a> </span> </div> <div class=3D"p=
ostdetails"> <div class=3D"userinfo"> <div class=3D"username_container"> <d=
iv id=3D"yui-gen23" class=3D"popupmenu memberaction"> <a rel=3D"nofollow"=
 class=3D"username offline " href=3D"http://cboard.cprogramming.com/member.=
php?u=3D26843" title=3D"matsp is offline"><strong><!-- google_ad_section_st=
art(weight=3Dignore) -->matsp<!-- google_ad_section_end --></strong></a> </=
div> <img title=3D"matsp is offline" class=3D"inlineimg onlinestatus" src=
=3D"http://im.cprogramming.com/images/statusicon/user-offline.png" alt=3D"m=
atsp is offline" border=3D"0"> </div> <span class=3D"usertitle">
				Kernel hacker
			</span> <hr> <dl class=3D"userinfo_extra"> <dt>Join Date</dt> <dd>Jul 20=
07</dd> <dt>Location</dt> <dd>Farncombe, Surrey, England</dd> <dt>Posts</dt=
> <dd>15,677</dd> </dl> <div class=3D"imlinks"> </div> </div> <div class=3D=
"postbody"> <div class=3D"postrow has_after_content"> <div class=3D"content=
"> <div id=3D"post_message_803212"> <blockquote class=3D"postcontent restor=
e " style=3D"overflow: visible"> <!-- google_ad_section_start -->Keep it to=
 ONE thread:<br> <a href=3D"http://cboard.cprogramming.com/c-programming/10=
8832-what-if-i-want-run-kbhit-background-process-like-why-not-work-proprely=
.html" target=3D"_blank">what if i want to run kbhit in background process=
 like this, why not work proprely</a><br> <br>
--<br>
Mats<!-- google_ad_section_end --> </blockquote> </div> </div> </div> <div=
 class=3D"after_content"> <div class=3D"vbseo_buttons" id=3D"lkbtn_1.63166.=
803212"> <ul class=3D"vbseo_links" style=3D"visibility:visible"> <li class=
=3D"vbseo_share"><a href=3D"#">Share</a> <ul class=3D"vbseo_share_body"> <l=
i class=3D"share_header">Share this post on</li> <li class=3D"right"><img=
 src=3D"http://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gi=
f" alt=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http=
://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fcboard.cprogramming.com=
%2Fc-programming%2F63166-kbhit-linux.html%23post803212&amp;title=3Dkbhit%28=
%29+for+linux.">Digg</a></li> <li class=3D"left"><img src=3D"http://cboard.=
cprogramming.com/vbseo/resources/images/forum/technorati.gif" alt=3D"" heig=
ht=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://technorati.co=
m/faves/?add=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166=
-kbhit-linux.html%23post803212">Technorati</a></li> <li class=3D"right"><im=
g src=3D"http://im.cprogramming.com/images/vbseo/facebook.gif" alt=3D"" hei=
ght=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://www.facebook=
.com/share.php?u=3Dhttp%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F6=
3166-kbhit-linux.html%23post803212">Share on Facebook</a></li> <li class=3D=
"left"><img src=3D"http://im.cprogramming.com/images/vbseo/twitter.png" alt=
=3D"" height=3D"18px" width=3D"18px"><a rel=3D"nofollow" href=3D"http://twi=
tter.com/home?status=3Dkbhit%28%29+for+linux.%20http%3A%2F%2Fcboard.cprogra=
mming.com%2Fc-programming%2F63166-kbhit-linux.html%23post803212">twitter</a=
></li> </ul> </li> </ul> <div class=3D"vbseo_liked" style=3D"display:none">=
</div> </div> <blockquote class=3D"signature restore"><div class=3D"signatu=
recontainer"><!-- google_ad_section_start(weight=3Dignore) -->Compilers can=
 produce warnings - make the compiler programmers happy: Use them!<br>
Please don't PM me for help - and no, I don't do help over instant messenge=
rs.<!-- google_ad_section_end --></div></blockquote> </div> <div class=3D"c=
leardiv"></div> </div> </div> <div class=3D"postfoot">  <div class=3D"textc=
ontrols floatcontainer"> <span class=3D"postcontrols"> <img style=3D"displa=
y:none" id=3D"progress_803212" src=3D"http://im.cprogramming.com/images/mis=
c/progress.gif" alt=3D""> </span> <span class=3D"postlinking"> </span>  </d=
iv> </div> <hr> </li> </ol> <div class=3D"separator"></div> <div class=3D"p=
ostlistfoot"> </div> </div> <div id=3D"below_postlist" class=3D"noinlinemod=
 below_postlist"> <div id=3D"pagination_bottom" class=3D"pagination_bottom"=
> </div> </div>  <div class=3D"navlinks"> <strong>=AB</strong> <a href=3D"h=
ttp://cboard.cprogramming.com/c-programming/63166-kbhit-linux-prev-thread.h=
tml" rel=3D"nofollow">Previous Thread</a>
			|
			<a href=3D"http://cboard.cprogramming.com/c-programming/63166-kbhit-linu=
x-next-thread.html" rel=3D"nofollow">Next Thread</a> <strong>=BB</strong>=
 </div>  <div id=3D"thread_info" class=3D"thread_info block"> <div style=3D=
"font-size:14px;padding:10px;margin-top:5px;margin-bottom:5px;"> <b>Popular=
 pages</b> <ul> <li style=3D"list-style-type: disc; list-style-position: in=
side"><a href=3D"http://www.cprogramming.com/begin.html">Exactly how to get=
 started with C++ (or C) today</a> </li><li style=3D"list-style-type: disc;=
 list-style-position: inside"><a href=3D"http://www.cprogramming.com/tutori=
al/c-tutorial.html">C Tutorial</a> </li><li style=3D"list-style-type: disc;=
 list-style-position: inside"><a href=3D"http://www.cprogramming.com/tutori=
al/c++-tutorial.html">C++ Tutorial</a> </li><li style=3D"list-style-type:=
 disc; list-style-position: inside"><a href=3D"http://www.cprogramming.com/=
how_to_learn_to_program.html">5 ways you can learn to program faster</a> </=
li><li style=3D"list-style-type: disc; list-style-position: inside"><a href=
=3D"http://www.cprogramming.com/beginner_programming_mistakes.html">The 5=
 Most Common Problems New Programmers Face</a> </li><li style=3D"list-style=
-type: disc; list-style-position: inside"><a href=3D"http://www.cprogrammin=
g.com/code_blocks/">How to set up a compiler</a> </li><li style=3D"list-sty=
le-type: disc; list-style-position: inside"><a href=3D"http://www.cprogramm=
ing.com/tutorial/common.html">8 Common programming Mistakes</a> </li><li st=
yle=3D"list-style-type: disc; list-style-position: inside"><a href=3D"http:=
//www.cprogramming.com/c++11/what-is-c++0x.html">What is C++11?</a> </li><l=
i style=3D"list-style-type: disc; list-style-position: inside"><a href=3D"h=
ttp://www.cprogramming.com/tutorial/game_programming/same_game_part1.html">=
Creating a game, from start to finish</a> </li></ul> <b>Recent additions</b=
> <a href=3D"http://feeds2.feedburner.com/Cprogrammingcom" rel=3D"alternate=
" type=3D"application/rss+xml"><img title=3D"subscribe to a feed" src=3D"ht=
tp://www.feedburner.com/fb/images/pub/feed-icon16x16.png" alt=3D"subscribe=
 to a feed" style=3D"border:0" height=3D"16" width=3D"16"></a> <ul> <li sty=
le=3D"list-style-type: disc; list-style-position: inside"><a href=3D"http:/=
/www.cprogramming.com/tutorial/shared-libraries-linux-gcc.html">How to crea=
te a shared library on Linux with GCC</a> - December 30, 2011</li> <li styl=
e=3D"list-style-type: disc; list-style-position: inside"> <a href=3D"http:/=
/www.cprogramming.com/c++11/c++11-nullptr-strongly-typed-enum-class.html">E=
num classes and nullptr in C++11</a> - November 27, 2011</li> <li style=3D"=
list-style-type: disc; list-style-position: inside"><a href=3D"http://www.c=
programming.com/tutorial/computersciencetheory/hash-table.html">Learn about=
 The Hash Table</a> - November 20, 2011</li> <li style=3D"list-style-type:=
 disc; list-style-position: inside"><a href=3D"http://www.cprogramming.com/=
c++11/rvalue-references-and-move-semantics-in-c++11.html">Rvalue References=
 and Move Semantics in C++11</a> - November 13, 2011</li> <li style=3D"list=
-style-type: disc; list-style-position: inside"><a href=3D"http://www.cprog=
ramming.com/java/c-and-c++-for-java-programmers.html">C and C++ for Java Pr=
ogrammers</a> - November 5, 2011</li> <li style=3D"list-style-type: disc;=
 list-style-position: inside"><a href=3D"http://www.cprogramming.com/tutori=
al/c++-iostreams.html">A Gentle Introduction to C++ IO Streams</a> - Octobe=
r 10, 2011</li> </ul> </div> <div id=3D"similar_threads"> <h4 class=3D"thre=
adinfohead blockhead">Similar Threads</h4> <div id=3D"similar_threads_list"=
 class=3D"thread_info_block blockbody formcontrols"> <ol class=3D"similar_t=
hreads"> <li class=3D"floatcontainer"> <div class=3D"titleblock"> <h6><a hr=
ef=3D"http://cboard.cprogramming.com/linux-programming/27736-detecting-esc-=
any-other-key-kbhit-alternative.html" title=3D"I am writing an application=
 in Linux to display certin text and hex images on a large LCD screen and=
 everything seems to be working fine except: I wrote a &quot;commander&quot=
; to issue instructions, I have it set on a loop to refresh the display dat=
a and if want to stop it (break) to issue a new command...">Detecting esc..=
. or any other key (kbhit()) alternative.</a></h6> <div class=3D"starter_fo=
rum">
       By Staz in forum Linux Programming
    </div> </div> <div class=3D"dateblock"> <span class=3D"shade">Replies:<=
/span> 5
      <div class=3D"starter_forum"> <span class=3D"shade">Last Post:</span>=
 11-30-2007, <span class=3D"time">09:46 AM</span> </div> </div> </li><li cl=
ass=3D"floatcontainer"> <div class=3D"titleblock"> <h6><a href=3D"http://cb=
oard.cprogramming.com/cplusplus-programming/77638-kbhit-enter-key-not-worki=
ng.html" title=3D"I'm trying to make a loop to build a string while the pro=
gram is running.  When the enter key is hit I want to process the string.=
  Basically I want gets() without blocking.  So I'm trying to use kbhit()=
 to do this.=20
=20
=20
			if (kbhit())=20
				{=20
					str =3D getch();=20
                    cout &lt;&lt; str;...">kbhit() for enter key?  not work=
ing</a></h6> <div class=3D"starter_forum">
       By yahn in forum C++ Programming
    </div> </div> <div class=3D"dateblock"> <span class=3D"shade">Replies:<=
/span> 4
      <div class=3D"starter_forum"> <span class=3D"shade">Last Post:</span>=
 04-03-2006, <span class=3D"time">03:44 AM</span> </div> </div> </li><li cl=
ass=3D"floatcontainer"> <div class=3D"titleblock"> <h6><a href=3D"http://cb=
oard.cprogramming.com/cplusplus-programming/47103-implicit-declaration-int-=
kbhit-%3B.html" title=3D"I have conio.c included in my file, but i get impl=
icit declaration of int kbhit(...);=20
=20
Can someone send me the Kbhit() function? Thanks.=20
=20
Oh, i also tried it with conio.h and still got the same thing.">implicit de=
claration of int kbhit(...);</a></h6> <div class=3D"starter_forum">
       By Blizzarddog in forum C++ Programming
    </div> </div> <div class=3D"dateblock"> <span class=3D"shade">Replies:<=
/span> 14
      <div class=3D"starter_forum"> <span class=3D"shade">Last Post:</span>=
 11-13-2003, <span class=3D"time">05:39 PM</span> </div> </div> </li><li cl=
ass=3D"floatcontainer"> <div class=3D"titleblock"> <h6><a href=3D"http://cb=
oard.cprogramming.com/cplusplus-programming/18046-pausing-input-kbhit-still=
-detecting-keys.html" title=3D"OK, I've been messing around with kbhit() an=
d getch() and all that. But I've run into a problem. I got kbhit() to work,=
 and the key detection works fine, thanks to you guys. But how would I let=
 pause the program until the user presses a key and still let kbhit() detct=
 it? Obviously your average...">Pausing for input, with kbhit() still detec=
ting keys</a></h6> <div class=3D"starter_forum">
       By Da-Spit in forum C++ Programming
    </div> </div> <div class=3D"dateblock"> <span class=3D"shade">Replies:<=
/span> 5
      <div class=3D"starter_forum"> <span class=3D"shade">Last Post:</span>=
 05-23-2002, <span class=3D"time">06:04 AM</span> </div> </div> </li><li cl=
ass=3D"floatcontainer"> <div class=3D"titleblock"> <h6><a href=3D"http://cb=
oard.cprogramming.com/cplusplus-programming/15814-need-more-help-kbhit.html=
" title=3D"Im tryin to make a text game(first one of course)=20
first of all is it wise to call every room as a function(room1()room2()ect)=
 second I want to simulate rolling dice. My use of rand is working but I us=
e a while(!kbhit()) to stop rand() when the function is called the second=
 third and fourth time to...">need more help on kbhit()</a></h6> <div class=
=3D"starter_forum">
       By lordvlaad() in forum C++ Programming
    </div> </div> <div class=3D"dateblock"> <span class=3D"shade">Replies:<=
/span> 0
      <div class=3D"starter_forum"> <span class=3D"shade">Last Post:</span>=
 04-20-2002, <span class=3D"time">03:07 AM</span> </div> </div> </li> </ol>=
 </div> </div> <div class=3D"options_block_container"> </div> </div> <div=
 style=3D"clear: left"> </div> <div id=3D"footer" class=3D"floatcontainer=
 footer"> <form action=3D"http://cboard.cprogramming.com/" method=3D"get"=
 id=3D"footer_select" class=3D"footer_select"> <select name=3D"styleid" onc=
hange=3D""> <optgroup label=3D"Quick Style Chooser"><option class=3D"hidden=
"></option></optgroup> <optgroup label=3D"=A0Standard Styles"> <option valu=
e=3D"6" class=3D"" selected=3D"selected">-- Normal Style</option> </optgrou=
p> <optgroup label=3D"=A0Mobile Styles"> <option value=3D"13" class=3D"">--=
 Mobile Style</option> <option value=3D"14" class=3D"">-- Default Mobile St=
yle</option> </optgroup> </select> </form> <ul id=3D"footer_links" class=3D=
"footer_links"> <li><a href=3D"http://www.cprogramming.com/email.html" rel=
=3D"nofollow" accesskey=3D"9">Contact Us</a></li> <li><a href=3D"http://www=
.cprogramming.com/">C and C++ Programming at Cprogramming.com</a></li> <li>=
<a href=3D"http://cboard.cprogramming.com/sitemap/">Archive</a></li> <li><a=
 href=3D"http://glowhost.com/" target=3D"_blank">Web Hosting</a></li> <li><=
a href=3D"http://www.cprogramming.com/privacy.html">Privacy Statement</a></=
li> <li><a href=3D"#top" onclick=3D"">Top</a></li> </ul> <script type=3D"te=
xt/javascript"><!--

/* Script removed by snapshot save */

--></script> </div> </div>  <div class=3D"below_body"> <div id=3D"footer_ti=
me" class=3D"shade footer_time">All times are GMT -6. The time now is <span=
 class=3D"time">05:23 PM</span>.</div> <div id=3D"footer_copyright" class=
=3D"shade footer_copyright">=20
	Powered by <a href=3D"https://www.vbulletin.com/" id=3D"vbulletinlink">vBu=
lletin=AE</a> Version 4.2.2 <br>Copyright =A9 2014 vBulletin Solutions, Inc=
. All rights reserved.=20
=09
<br><!-- google_ad_section_start(weight=3Dignore) -->Search Engine Optimiza=
tion by <a rel=3D"nofollow" href=3D"http://www.crawlability.com/vbseo/">vBS=
EO</a> 3.6.1<!-- google_ad_section_end --> </div> <div id=3D"footer_morecop=
yright" class=3D"shade footer_morecopyright">   </div> <div class=3D" fb_re=
set" id=3D"fb-root"><div style=3D"position: absolute; top: -10000px; height=
: 0px; width: 0px;"><div><iframe src=3D"urn:snapshot-4A9D050B:http://static=
.ak.facebook.com/connect/xd_arbiter.php?version=3D29" style=3D"border: medi=
um none;" tab-index=3D"-1" title=3D"Facebook Cross Domain Communication Fra=
me" aria-hidden=3D"true" id=3D"fb_xdm_frame_http" allowtransparency=3D"true=
" name=3D"fb_xdm_frame_http" frameborder=3D"0" scrolling=3D"no"></iframe><i=
frame src=3D"urn:snapshot-29D7130A:https://s-static.ak.facebook.com/connect=
/xd_arbiter.php?version=3D29" style=3D"border: medium none;" tab-index=3D"-=
1" title=3D"Facebook Cross Domain Communication Frame" aria-hidden=3D"true"=
 id=3D"fb_xdm_frame_https" allowtransparency=3D"true" name=3D"fb_xdm_frame_=
https" frameborder=3D"0" scrolling=3D"no"></iframe></div></div><div style=
=3D"position: absolute; top: -10000px; height: 0px; width: 0px;"><div></div=
></div></div> <script type=3D"text/javascript" src=3D"urn:snapshot-E1EB0763=
:http://js.cprogramming.com/clientscript/vbulletin_facebook.js?v=3D422"></s=
cript> <script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script> </div> <br><div style=3D"z-index:3" class=3D"smallfont" align=
=3D"center"><a href=3D"http://cboard.cprogramming.com/sitemap/f-17.html">1<=
/a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-20.html">2</a> <a=
 href=3D"http://cboard.cprogramming.com/sitemap/f-3.html">3</a> <a href=3D"=
http://cboard.cprogramming.com/sitemap/f-4.html">4</a> <a href=3D"http://cb=
oard.cprogramming.com/sitemap/f-13.html">5</a> <a href=3D"http://cboard.cpr=
ogramming.com/sitemap/f-6.html">6</a> <a href=3D"http://cboard.cprogramming=
.com/sitemap/f-28.html">7</a> <a href=3D"http://cboard.cprogramming.com/sit=
emap/f-14.html">8</a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-3=
8.html">9</a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-21.html">=
10</a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-7.html">11</a>=
 <a href=3D"http://cboard.cprogramming.com/sitemap/f-9.html">12</a> <a href=
=3D"http://cboard.cprogramming.com/sitemap/f-35.html">13</a> <a href=3D"htt=
p://cboard.cprogramming.com/sitemap/f-36.html">14</a> <a href=3D"http://cbo=
ard.cprogramming.com/sitemap/f-22.html">15</a> <a href=3D"http://cboard.cpr=
ogramming.com/sitemap/f-34.html">16</a> <a href=3D"http://cboard.cprogrammi=
ng.com/sitemap/f-24.html">17</a> <a href=3D"http://cboard.cprogramming.com/=
sitemap/f-10.html">18</a> <a href=3D"http://cboard.cprogramming.com/sitemap=
/f-19.html">19</a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-18.h=
tml">20</a> <a href=3D"http://cboard.cprogramming.com/sitemap/f-33.html">21=
</a> </div>

<script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script>
 <script type=3D"text/javascript" src=3D"urn:snapshot-62DE798E:http://stati=
c.cprogramming.com/syntax-highlight/scripts/XRegExp.js"></script> <script=
 type=3D"text/javascript" src=3D"urn:snapshot-EB442692:http://static.cprogr=
amming.com/syntax-highlight/scripts/shCore-vb.js"></script> <script type=3D=
"text/javascript" src=3D"urn:snapshot-CD4A1521:http://static.cprogramming.c=
om/syntax-highlight/scripts/shBrushCpp.js"></script> <script type=3D"text/j=
avascript"><!--

/* Script removed by snapshot save */

--></script> <iframe src=3D"urn:snapshot-8F32946E:http://generated.test/gen=
erated-content" style=3D"display: none; width: 0px; height: 0px;" name=3D"g=
oogle_osd_static_frame" id=3D"google_osd_static_frame_4002138877869"></ifra=
me></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/head/cprog.png

[encoded data, 10108 characters]
AzI8LG6lyPMAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/misc/facebook_login.gif

R0lGODlhWQAVANU/ADtZmP///0FemlZxp0RgnJmpymiAsGZ+r2qCsV94q2F6rU9qomR8rkhknlt0
qUtmoFlyp1NupUJck56pxT5Zk9LY5jtTiz1Wj0lhlaCtyM3T49zh63WJtOjr8kFYjfT1+XqOuX6S
unmMtE9nnbK91Gl8pkZfl7jC2VRvpoWXvVNomFJsoW1/qG6BqVVtoaezzGyDsmqBscPK3Gd/sJSi
wa240HGDq2N5qZumw4udwXOGsGF2o2N8rmuCsl1yn////yH5BAEAAD8ALAAAAABZABUAAAb/wB9g
SCwaj8ikcslsKoWDgnRKrUoB1qx2y+16qYMhDEEum89kAAjNbrvf8HgZNuwZ7vi8/q7e+/+AgYKD
eD1DMQeJiosHJB0BAYkAHIyVlpeYmZqZMUMGDKChoiSQAR2gk6KqoTkkJAUcPKuztLW2tAZDMwq8
vb6PGiC7CpO+xrwapQEvEAnHz9DRvSInBc7RM0MHCdzd3pDW3QAw3uUJIQEVKhgqNy4O5vHy890p
y+/zB9oO/P3+kCD8jfNH0IG9DBJGrHCBgsaGAB9k3HBwouKjGgNEbMiQrEMMCCAqQCQxgOIHUyEe
dqjAAUJBfvoA8IBAsybNZMoC0ATw0abP/4MYXNBU8OFDBhkBMqwQ+aFCUQzoAmx4iGOByBpIQ+SQ
mqHGjhMBNEzYscJnTR5DFAxYy3YtzlIa1gKY0bYuCnQTTKxYiy6DBwlhMYjE4CGZBxHLPNgIMAGD
VBY0GL8IYOMvBsQTPGBYgKLuWmIAFEQYTXq0FEgapIwGwKC06wh4JSwYHbtBWAkiLQgO4IED496M
ASubkCFACxMjFoAIrvD1aNAJFkifTh0c9dDUsysP/kD68gkSHoS9kHu3Bd/gMQPeUIJFCxXFWZjw
zl379ARDotuXbn06AP37KWCKCBykIEICjxUQAAnkBWABAbnpwBgF6FHQwQc6tEDDCFuRYP9DCg8g
JkMLDXRnH34AOPDAiiy2CE6LKbYo44rFlZKBCTWaokKDFpgQYQA4XOAbDh7YU8oNIzwEyQgEKDlC
iTM+4MAQDjRg5ZVYgoNlilh2aSUBGJRQgg8WUCBAmGRaIIEAF1ggAAFtCiBBmQTMSYEJYZYgwQUS
SLBDCTsKMAILKjzopZVTAgBBAwQw6mijBGgJqaKQPvooAQJQcMEFZmKqKQUSEIBpqKNiKsCbp6Kq
KadvSvBpqxSYaSmkEAwBgai45hppAAXkCsAAugYraqpvDnuqsMjmSiyuqRpbrLC1/moqsdRSC0AE
1War7bbcduvtsWEA8EBnnpUr17jmpqsV7rrstjsACg8AIIQT9NZr771M/BAEADs=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/misc/navbit-home.png

iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAuElEQVQoz2P4//8/AzL++fMXDHOC
aHR5bIpVdF0jXwHxByBbF10TumJpoMInTuGZ/5Mqev6DNIIMQNaErFgUqOASSDEMQzXdBhkE0wR3
L1DiJLJiNE2XgGr4QWpBitmAAtuxKUbTdBhkMAOQsRSI/xOhAYRXg90OxDbImqCSKIphwQ3ztAFM
AVQS7ElQ0EI1fIZ7GqpBHU0DP5qGD+ga5NA0MKBpeI6uQQjmbmhkwTUA8R8g3gLTAADFhV1s1B2q
HwAAAABJRU5ErkJggg==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/vbseo/resources/images/forum/linkback_url.gif

R0lGODlhEgASANUAAAAAAJzOIU1hlbvHzv//AHGBq7zeaMTL3GZmZpCcvc7nkBUVFanUP1Vomv//
/5ijwtnsqev103yLsbPZVKewy6TSM5mZmWN0ooaTt8LgdAsLCyIiIqy1znuMtd7vtcPherDYTrXa
WLrC1lFkl57PJltunqjUO8bjfwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAAMALAAAAAASABIAAAanwIFQ
CCgah8ihZnG5mCokQTEp1FwKEkkIxNAIpEmrBJMoGySMQAA8XBQwDwqH8sAUKmrAEHCRJCgiBxYK
CRIXa2x8Eg8cBxEeCggSG1+JfQkKEB4QChkhlF96AwAlbw8KqCcGIIiJI31kHxkGEwyViQINV1lb
treio18lTRtGUkdEvw7LBAAEz817oQ5G1UXRRNcAodjOwETN1kbYSM7Q5s/f5UfVQkEAOw==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/vbseo/resources/images/forum/linkback_about.gif

R0lGODlhEAAQAMQAAAAAAHeGrk1hlf///7vHzlZpm4WTt2R1owcHB5Gevmt8p3yLsVBjl1ttnZij
wg0NDYmWuXuMtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEH
AAQALAAAAAAQABAAAAVwICGKQGmOKIE8TVswTJkizaHcRwPHI20HwEBOQASIHraFYcAcHApFAqCh
CCwHiWuDKChRFxCmIzzYFqdVQ8KRYCrMXUAhaSArDtw4o1YNMIdcJUR8OHBRAEQFLUx5XSSNjHlG
j42SKYKNMikkJpojIQA7
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/statusicon/user-offline.png

iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAQAAAD4MpbhAAAAWElEQVQoU2P8z4AfMA4uBeVSDGkM
oUDGaoZZnc+wKWiwq9cD0pcYDjV2NmBTcDVHS4DhH8NHhqnXOrVxKOBj+M/wCaeCBlugFf8ZLjMc
xmEFIUdiB8NDAQCN4zEB1yrxHwAAAABJRU5ErkJggg==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/vbseo/resources/images/forum/digg.gif

R0lGODlhFAAUALMAAFxcXP//zMzMzPj4+N7e3uXl5WZmZtbW1u7u7v///wAAAAAAAAAAAAAAAAAA
AAAAACH5BAEHAAEALAAAAAAUABQAAARsMMhJq704602N9wAGjJORnEloAeegmgNSqBSbxLOXyATg
1TfZATAwFQjDIVAoII6eAOWEVTgImgOC9sCVTqE6WeFIWpUS42NPdB5vabWykWDgwiW2VMCkrXun
AzEhfAd+dwFQIYlPHI2OjxkRADs=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/vbseo/resources/images/forum/technorati.gif

R0lGODlhFQAUANUAAFW7AN3yzI3RU+f13GjDHKzehP///1q9CHnKNsfoq5nWZvj88P//zLjjlWPA
EqTbdm3FJYLNQtDsuLXelJDTWvj99u/55nPILYfPSmXBGL/mn1W7BZ3YbfL67MrqsGnDHozWUnzM
QWzEMnXIMIzOSgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAAwALAAAAAAVABQAAAaIQIZw
SCwaj8ikcsngHDISg7RCrUiPHMChIO08CNqLxmp0AD4WgyUEaLu5xjZEmnDbD4s4YG7w2N0OFXoZ
AQYLCn8AHgZ6AAJTDRgREQoeZEV2D1JSCwubFo0AIp6bXQ0IoREGAxQUDw8YIxsboQINZokAZYAH
uQAORlm+dhxYuLkOFEzLzM3LQQA7
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/vbseo/facebook.gif

R0lGODlhFAAUANUAABUVFWN+sRA3h+Pn8Z2tz0ViojJUmcTN4SdLk1RyqPj5/HKIuLXA2TVXmtXa
636SvU1qpll2q0Nhny9Ql+/x9156r////xg9i77J3myEtUdkoYWaw+Hn8VJrpaSz0RpBjDpanO/3
9zpSnHWNuilSlGN+r2WAsrTB2wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEHAAAALAAAAAAUABQAAAaTQIBw
SCwaj8ikEglqOp2GaNP4fE5AGs20WG1OMhgOx2SgVhEJioUyyJS5VUHAooBcGiDzE0JYZwpbRFYN
DhaGhhETeiAGIA8HdAwEEA2LTRcZaxJ3eVwNUVGYaxofjVQSWVkGD2sVIBKdgiYjC7UVHoYbGSWx
QyAJEcERECMYJwEJCb1CIA3Ozw0TE8/LS9bX2EhBADs=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/vbseo/twitter.png

[encoded data, 4332 characters]
+0WaC9Ee1IyPtUPRZv99Yv8cAJn5BRi6AIoeAAAAAElFTkSuQmCC
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/misc/progress.gif

R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh
/h1CdWlsdCB3aXRoIEdJRiBNb3ZpZSBHZWFyIDQuMAAh/hVNYWRlIGJ5IEFqYXhMb2FkLmluZm8A
IfkECQoAAAAsAAAAABAAEAAAAzMIutz+MMpJaxNjCDoIGZwHTphmCUWxMcK6FJnBti5gxMJx0C1b
GDndpgc5GAwHSmvnSAAAIfkECQoAAAAsAAAAABAAEAAAAzQIutz+TowhIBuEDLuw5opEcUJRVGAx
GSBgTEVbGqh8HLV13+1hGAeAINcY4oZDGbIlJCoSACH5BAkKAAAALAAAAAAQABAAAAM2CLoyIyvK
QciQzJRWLwaFYxwO9BlO8UlCYZircBzwCsyzvRzGqCsCWe0X/AGDww8yqWQan78EACH5BAkKAAAA
LAAAAAAQABAAAAMzCLpiJSvKMoaR7JxWX4WLpgmFIQwEMUSHYRwRqkaCsNEfA2JSXfM9HzA4LBqP
yKRyOUwAACH5BAkKAAAALAAAAAAQABAAAAMyCLpyJytK52QU8BjzTIEMJnbDYFxiVJSFhLkeaFlC
Kc/KQBADHuk8H8MmLBqPyKRSkgAAIfkECQoAAAAsAAAAABAAEAAAAzMIuiDCkDkX43TnvNqeMBnH
HOAhLkK2ncpXrKIxDAYLFHNhu7A195UBgTCwCYm7n20pSgAAIfkECQoAAAAsAAAAABAAEAAAAzII
utz+8AkR2ZxVXZoB7tpxcJVgiN1hnN00loVBRsUwFJBgm7YBDQTCQBCbMYDC1s6RAAAh+QQJCgAA
ACwAAAAAEAAQAAADMgi63P4wykmrZULUnCnXHggIwyCOx3EOBDEwqcqwrlAYwmEYB1bapQIgdWIY
gp5bEZAAADsAAAAAAAAAAAA=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://av.cprogramming.com/customavatars/avatar380_2.gif

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAA3ADcDASIA
AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQA
AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3
ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm
p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEA
AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSEx
BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElK
U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3
uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDya5gl
lnETRMjyTybQwweSO1bF34K1GwslupoyYyM5GMVhK11cLbkMxlQswdjgY4wQe/Q113jbXZr7U2EV
wxtWjj2JEudxCgN9DnNcc1W54xhazvc7ac6STckcsIbfccqy46gCoGSIMcDjtkUjXCpIwaIZx/y1
fJ/IVbhvo/LaKVAInXG1UCge+Sea2cHESqwlpaxXAhUAknI7EYqSIwjaSTu9M9K2fDPhVNYD3Wp3
j2ljGdodV+aUnj5c/wD161n0LwxLc/Yke9sZ3JSGeSQSKzjjDAdM/T1qKr9nHmadvIVOq27JIzIr
mBNHmt5Ljy45HRnwMklR2yfeis+7e70iWTTJSrhSfmAyrg4IYflRWapX1i9GbrE20ZlWbq5ihcl0
MigZHTJ/z+VWb/7PFN5cE8ksIB2iQ7NvzHjA/wA81d12x0+zlWexuEcSAM0GOY88gg9PwrGkkTvu
57fd6e/Wu7S5519ERu2MFeD0wFx/9c0qqTzgDPGW4P680Pc/LsRQueu0Y/U81HlmOOTnsOtJ2JPQ
9HuLVdEtTdQy3Mc26PEQOFIHUn09eO1Raxpc+j6oJmtlltnZZPtAXG3jtz79T3FZen3d1a+GLe4t
p2gNncsWyoxvJ3KwOOvABHtWtb62mo6DHDrc2z7SSieWCRsGMsQOnIPqTzSfNLR7GmiSfUvaxos/
iLw1p80cSfbLb5H8tPlZeeQR17dPeitzwxrNhYwkW0sLwKMCTeWz6cHkfQ4or5n67iaDcIRur6Hr
PC06tpNnk0d5YBG86G48zoq4Upj9DVuOx0vU7O4mivo4ZLdTLILhirygnoo+7n8axh3Ib8KaiPJM
scYLO5wAOpr6KUW9U2eSny9Liv5R5RCB6Fs5pm8kbRgD0Ap80LwSvHLlXU4Ze4PvUYUs2ApyegAy
a0MzX03Sb/UNMnaGaOO23DCvIR5rj+6Mc49TxUOsBILhLKGfz47dRGHHQnqcc9Mk02RtRtLNEZJ4
YWBAJUqDmqA2856dgKrmVtHcTRJDPJCf3bFQeo7UVF04I/Cis+SL3RXPJbMcWX3xSozI6yROyOpy
GU4IooqmC1NjTJLHUSLK/tpGvLiWNIbmN8FSzAEtn73HavQbiXwt4BiD2tibnUd3yzTKWwRgcZ6f
55oorlqRvUjG+jNKctG7bHH3N5rnjzUZZXkRIol3SZbCov0HJ/Cse+tbeznNpaM00m0bpHGMn2HY
UUU6Mn9ZdNbI3lTj9VVXq2UpbSSMDeQp7AnNFFFd0oJOxxH/2Q==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://av.cprogramming.com/customavatars/avatar944_3.gif

[encoded data, 6600 characters]
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/misc/quote_icon.png

iVBORw0KGgoAAAANSUhEUgAAABIAAAALCAYAAAByF90EAAABOUlEQVQoz2P4//8/Awy7ZDb1A/F7
IP4PxPuB2AAqLgDE66HiIDwfJIasF9mQhvCqSf+nbTkBxvFNM0Ea7kPl9kfWTIHLgdggw3AZ9B6k
qHDSCjAGsUEGA8ULYBYgy4FchssgFMUgHF03FaShAUSjy+Ez6D6yYpjXgFjBK68dxSBCXpsP0gxS
mNm1EKTwPFJg38/qWQSWS2qZ/R8a8DgD28CnsBPFS0hy4HACyfkX94DkHJANARtUXFwMxyBXgZyd
27f0PzQZCCDJ3Qe5GOqi/cj6QBjdIFB6uR9TPw0cDq6ZTZeB4qIgHJBT5whyMcggaGz2oxvECcT6
QBwExJnpBeU1XlkNN0Gx4pHV+BgkBsNx+VX97lmNb0By/tl1e4FikUBsBsQ8yC4SBmItJKwNxPZo
WB9NjRRMPwA1ebkteTxD/wAAAABJRU5ErkJggg==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://im.cprogramming.com/images/smilies/wink.png

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJ
bWFnZVJlYWR5ccllPAAAAsRJREFUeNqkk01LVGEUx//Pvc7LdcbUoWwaK/KlFirqqkUE6iJ7MSIr
adWivkAkUSSzUQh0E/gBRDE3hWUuhCGwpoIRoheS0qamNLOxhiydGe/MfX06z6RmuezCuc/hcs7v
/M95zmWcc/zPk/fvB6OfeW0b7dzCEcvCfvJB/lPyQ3Te8F3m6Y3xbKMCSm6wLfRLtY1lzN8IruwE
bBN26hPM+ATUifAMgc77O/ijTQCjj7XaO/x35cqT4IXbYCy/gKX+BNc1inJB9laCaRLUyRDU2NdT
u7v4iMiTxEvrYz6LY1CuugBL4dB/RMDV75ScgW1kkfiQwGB3GAuzU1Dq2mCZGIxdZb51APXWLtc1
e7kCqhpD18W36Loyj+vBBEkzEQlr8Co2xke+wFCjKGxo9loG2teHSH215AUOwUxTZT2LYHcgJ902
DfCsjuMnKIZAdtaEsTANd8UZUnG/hVKDa4Aq5JfASi7BJvTzBz5IzgKSR/PJzej3nDTdQLU/Ql5G
CCtbV0CTz3A95YRpkmQDNa1Bak7563o5gbds34fFO+U5qGVD/gMwMAMtWQ84KdBEsb8Isqdm09Jw
cwWS7KB2HNAyiOWGyBgTLYxl5x6DKXuEGhiJIYo2NgG0+QE4S8qQmoshq2FM5Eput5uI6E2Oh9LQ
iyErAWQ+jkJ9fw1Wdm61cgrZmV6o0QHYnjq8uxVKE6DX5XKBiWUSFuvAaU9l6W1P7VFqbBlG/BWM
pFgkE8zpgmNrBQxUYOHJQ8Rffm47NsqH1wB5DoejgE7fpYNm09kq3ll6uDGg7KqH7KI5WTp01cRS
dBqTw+H4vVnWOTQlj5P8RbIlMqYQYC+ttEOsdaFi5/c02efKi3DA60S12ORvKbyJLiLS84zdTOuS
Knons8heCwVecmRJkrzki7tzEUj8I65c/wQVCWKGq0kCsLJa3fwlwADnrWBsOi/okQAAAABJRU5E
rkJggg==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://www.feedburner.com/fb/images/pub/feed-icon16x16.png

iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0
U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKOSURBVHjadJNNSFRRGIbfc+6dO6OOOplD
ykSZaRCtnKRc+ANRUBFEm0gicxG0bGoVhERRYIvIjRAtW+UmW5QQQS6qRWQSWJRaUcjkT0LiVWfm
/pzTd869M5LShe+eufC973m+n2Fj55KJymTt9ZgVy3AGMHoxvvEs/qZgDL4AlhbsAfv34g1TiRPx
RMZbWwU3GQzO9clNhGcYBpkY4UlGiWRd5scnMvx5tUWano9IMoXy1pOUBPgz4xC/xv8r1hSexNKi
B1Nhq6RIbQoVhy6i+MiCDffDEPyJITBvZZPYLwiQFFzVZ0Q45Moc8q8fwP34FGJ5FixaCevgBZT1
DMNs7Nok9iikL8GyfWkZ3VgvhbljP6yOy2BbmzWR/+o2vM/PSmLfkchTaAIlsHa1ourSS5Sfvg8r
3Q38mYb7+DzE9Ig2MDquAan2kth3AgKu0JSBapLCNranEWnPIHp2GDzZDEE3+1OBiXW4D4LHtViZ
CB/rBHJuHPmHp+CO3oK0Zyk7DvP4IGR1EwrPb673JX0mELslgvVRYW0O8usIvCe9AboyOdIPn1Ug
9+Kupihr69ZiZSJFsYRwztbRO4icGARv6IT3ZkCTsKp68J2dyE2MQuZtsFgllbZHTyMsAVqsaldC
Vt8CtvsYPHsZzvtH+tZIc5e+sfBtLOhFYytRFAlYuGGED2clGNn8lO62m53U37y6XmM7M8E3onEI
IpCSLp/vPyC31Bp6SUSsjmIbnO9jpVEZqbROzn15F5RDZs5CFs58FmaNBTZ5Ze+9hn11Genl/1mS
0qjChumaCVvo2iViNXHkuD1g9Daxt7lVEQPMNpcSdah1pQb5kqho4yVXQc2iacHiMMpNFPia/jv/
FWAAUTVTOunExzkAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/buttons/search.png

iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAmklEQVQ4y2P4//8/Ay0ww6jBA2Yw
ExBPB+LHQPwXih9DxZjINRik8cB/3OAAMYZjE5wONeApENcDsRYU10PF/kPVkGzwY6jmeixy9VC5
x+QY/BeqWQuLnBZU7u+gMpiYoHhOq8j7DsTq1E5uMPAan+GkZJAnQHyPWMNJzapsQLwWi+FUKSuw
GU61QgjZ8HZql27MQCw1WtATxABL1O/72685iwAAAABJRU5ErkJggg==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-0D9F102C:http://static.cprogramming.com/syntax-highlight/styles/shCore.css

/* Effective stylesheet produced by snapshot save */
.syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syn=
taxhighlighter table, .syntaxhighlighter table td, .syntaxhighlighter table=
 tr, .syntaxhighlighter table tbody, .syntaxhighlighter table thead, .synta=
xhighlighter table caption, .syntaxhighlighter textarea { background: none=
 repeat scroll 0% 0% transparent ! important; border: 0px none ! important;=
 bottom: auto ! important; float: none ! important; height: auto ! importan=
t; left: auto ! important; line-height: 1.1em ! important; margin: 0px ! im=
portant; outline: 0px none ! important; overflow: visible ! important; padd=
ing: 0px ! important; position: static ! important; right: auto ! important=
; text-align: left ! important; top: auto ! important; vertical-align: base=
line ! important; width: auto ! important; font-family: "Consolas","Bitstre=
am Vera Sans Mono","Courier New",Courier,monospace ! important; font-weight=
: normal ! important; font-style: normal ! important; font-size: 1em ! impo=
rtant; min-height: inherit ! important; }
.syntaxhighlighter { width: 100% ! important; margin: 1em 0px ! important;=
 position: relative ! important; overflow: auto ! important; font-size: 1em=
 ! important; }
.syntaxhighlighter .bold { font-weight: bold ! important; }
.syntaxhighlighter .line { white-space: pre ! important; }
.syntaxhighlighter table { width: 100% ! important; }
.syntaxhighlighter table td.code { width: 100% ! important; }
.syntaxhighlighter table td.code .container { position: relative ! importan=
t; }
.syntaxhighlighter table td.gutter .line { text-align: right ! important;=
 padding: 0px 0.5em 0px 1em ! important; }
.syntaxhighlighter table td.code .line { padding: 0px 1em ! important; }
.syntaxhighlighter .toolbar { position: absolute ! important; right: 1px !=
 important; top: 1px ! important; width: 11px ! important; height: 11px !=
 important; font-size: 10px ! important; z-index: 10 ! important; }
.syntaxhighlighter .toolbar a { display: block ! important; text-align: cen=
ter ! important; text-decoration: none ! important; padding-top: 1px ! impo=
rtant; }

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-195883A0:http://static.cprogramming.com/syntax-highlight/styles/shThemeDefault.css

/* Effective stylesheet produced by snapshot save */
.syntaxhighlighter { background-color: white ! important; }
.syntaxhighlighter .line.alt1 { background-color: white ! important; }
.syntaxhighlighter .line.alt2 { background-color: white ! important; }
.syntaxhighlighter .gutter { color: rgb(175, 175, 175) ! important; }
.syntaxhighlighter .gutter .line { border-right: 3px solid rgb(108, 226, 10=
8) ! important; }
.syntaxhighlighter .toolbar { color: white ! important; background: none re=
peat scroll 0% 0% rgb(108, 226, 108) ! important; border: medium none ! imp=
ortant; }
.syntaxhighlighter .toolbar a { color: white ! important; }
.syntaxhighlighter .toolbar a:hover { color: black ! important; }
.syntaxhighlighter .plain, .syntaxhighlighter .plain a { color: black ! imp=
ortant; }
.syntaxhighlighter .comments, .syntaxhighlighter .comments a { color: rgb(0=
, 130, 0) ! important; }
.syntaxhighlighter .string, .syntaxhighlighter .string a { color: blue ! im=
portant; }
.syntaxhighlighter .keyword { color: rgb(0, 102, 153) ! important; }
.syntaxhighlighter .preprocessor { color: gray ! important; }
.syntaxhighlighter .functions { color: rgb(255, 20, 147) ! important; }
.syntaxhighlighter .color1, .syntaxhighlighter .color1 a { color: gray ! im=
portant; }
.syntaxhighlighter .keyword { font-weight: bold ! important; }

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/x-icon
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/favicon.ico

AAABAAEAEBAQAAAAAAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAwAAAAAAAAAAAAAAAEAAA
AAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAwMDAAICAgAAAAP8AAP8AAAD//wD/AAAA
/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAACZkAAJAACQCQAJAAkAAJAJAAAJmZmZmZkAAAAJAACQCQAJAAkAAJAAmZAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///////////////////////////////+Pe///d3v/
/3wA//9/e///d3v//4//////////////////////////
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-551B6973:http://js.cprogramming.com/clientscript/vbulletin_css/style00006l/main-rollup.css?d=1381646760

@charset "UTF-8";
/* Effective stylesheet produced by snapshot save */
.bbcode_container { margin: 5px 20px 20px; display: block; }
.bbcode_container div.bbcode_code, .bbcode_container pre.bbcode_code { marg=
in: 0px; padding: 6px; border: 1px inset; text-align: left; overflow: scrol=
l; direction: ltr; background: none repeat-x scroll 0% 0% rgb(242, 246, 248=
); font-size: 12px; }
.bbcode_container div.bbcode_quote { margin: 0px 10px 10px; background: non=
e repeat scroll 0% 0% rgb(242, 246, 248); border-radius: 5px; border: 1px=
 solid; font: italic 13px Tahoma,Calibri,Verdana,Geneva,sans-serif; positio=
n: relative; top: 0px; }
.bbcode_container .bbcode_quote_container { background: url("http://cboard.=
cprogramming.com/images/misc/quote-left.png") no-repeat scroll left center=
 transparent; display: block; width: 9px; height: 13px; position: absolute;=
 left: -9px; }
.bbcode_quote div.quote_container { border-radius: 5px; padding: 5px 10px; }
.bbcode_quote .bbcode_postedby img { position: relative; top: 1px; }
.bbcode_container div.bbcode_quote div.message { padding: 8px 0px; }
.bbcode_postedby { font: 12px Tahoma,Calibri,Verdana,Geneva,sans-serif; }
.bbcode_postedby img { margin: 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button .cke_icon { background=
: url("urn:not-loaded:http://cboard.cprogramming.com/images/editor/sprite.p=
ng") no-repeat scroll left top transparent; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_openAttachmentWindow=
 .cke_icon { background-position: 0px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_enhancedsource .cke_ic=
on { background-position: -1597px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_pastetext .cke_icon {=
 background-position: -2480px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_pastefromword .cke_ico=
n { background-position: -2430px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_removeFormat .cke_icon=
 { background-position: -1447px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_bold .cke_icon { backg=
round-position: -50px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_italic .cke_icon { bac=
kground-position: -897px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_underline .cke_icon {=
 background-position: -2247px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_subscript .cke_icon {=
 background-position: -2147px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_superscript .cke_icon=
 { background-position: -2197px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_table .cke_icon { back=
ground-position: -2047px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbTableProperties .cke=
_icon { background-position: -1797px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_tableDelete .cke_icon=
 { background-position: -1847px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbRowInsertBefore .cke=
_icon { background-position: -1997px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbRowInsertAfter .cke_=
icon { background-position: -1947px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbRowDelete .cke_icon=
 { background-position: -1897px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbColumnInsertBefore=
 .cke_icon { background-position: -1747px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbColumnInsertAfter .c=
ke_icon { background-position: -1697px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_vbColumnDelete .cke_ic=
on { background-position: -1647px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_horizontalrule .cke_ic=
on { background-position: -2097px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_smiley .cke_icon { bac=
kground-position: -1497px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_iespell .cke_icon { ba=
ckground-position: -1547px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_link .cke_icon { backg=
round-position: -300px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_Email .cke_icon { back=
ground-position: -401px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_unlink .cke_icon { bac=
kground-position: -2346px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_image .cke_icon, .cke_=
skin_kama span:not(.cke_browser_ie) .cke_button_vbimage .cke_icon { backgro=
und-position: -747px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_videotag .cke_icon {=
 background-position: -2397px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_Quote .cke_icon { back=
ground-position: -1347px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_Code .cke_icon { backg=
round-position: -151px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_Html .cke_icon { backg=
round-position: -451px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_Php .cke_icon { backgr=
ound-position: -1297px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_PageBreak .cke_icon {=
 background-position: -1147px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_PreviewBreak .cke_icon=
 { background-position: -100px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_textcolor .cke_icon {=
 background-position: -201px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_undo .cke_icon { backg=
round-position: -2297px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_undo .cke_ico=
n { background-position: -1397px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_redo .cke_icon { backg=
round-position: -1397px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_redo .cke_ico=
n { background-position: -2297px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_numberedlist .cke_icon=
 { background-position: -797px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_bulletedlist .cke_icon=
 { background-position: -847px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_outdent .cke_icon { ba=
ckground-position: -1097px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_indent .cke_icon { bac=
kground-position: -697px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_justifyleft .cke_icon=
 { background-position: -997px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_justifycenter .cke_ico=
n { background-position: -947px 0px; }
.cke_skin_kama span:not(.cke_browser_ie) .cke_button_justifyright .cke_icon=
 { background-position: -1047px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_undo .cke_ico=
n { background-position: -1397px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_redo .cke_ico=
n { background-position: -2297px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_outdent .cke_=
icon { background-position: -697px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_indent .cke_i=
con { background-position: -1097px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_columnInsertB=
efore .cke_icon { background-position: -1697px 0px; }
.cke_skin_kama .cke_rtl span:not(.cke_browser_ie) .cke_button_columnInsertA=
fter .cke_icon { background-position: -1747px 0px; }
.popupmenu { position: relative; }
.popupmenu a.popupctrl { background-image: url("http://cboard.cprogramming.=
com/images/misc/black_downward_arrow.png"); background-position: right cent=
er; background-repeat: no-repeat; padding-right: 15px; }
.popupgroup .popupmenu a.popupctrl { font-size: 11px; padding: 2px 15px 2px=
 4px; border: 0px none; background-color: transparent; text-decoration: non=
e; margin-left: 5px; }
.popupgroup .popupmenu:hover a.popupctrl { border: 0px none; background-col=
or: transparent; }
.popupgroup .popupmenu { float: left; }
.popupbody { font: 11px Tahoma,Calibri,Verdana,Geneva,sans-serif; color: rg=
b(62, 62, 62); padding: 2px; background: none repeat scroll 0% 0% rgb(225,=
 225, 225); border: 1px solid; position: absolute; z-index: 1000; top: 1.5e=
m; left: 0px; display: none; min-width: 200px; }
.popupbody li { border-top: 1px solid rgb(225, 225, 225); }
.popupbody > li:first-child { border-top: medium none; }
.popupbody li a, .popupbody li label { display: block; color: rgb(62, 62,=
 62); background: none repeat scroll 0% 0% rgb(241, 241, 241); padding: 5.7=
35px 10px; text-decoration: none; text-align: left; white-space: nowrap; }
.popupbody li > a:hover, .popupbody li > label:hover { color: rgb(62, 62,=
 62); background: none repeat scroll 0% 0% rgb(255, 255, 204); }
.memberaction.popupmenu { position: relative; top: 0px; display: inline-blo=
ck; }
.postdetails .memberaction.popupmenu { position: static; }
html { color: rgb(0, 0, 0); background: none repeat scroll 0% 0% rgb(255,=
 255, 255); }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form,=
 fieldset, legend, input, button, textarea, p, blockquote, th, td { margin:=
 0px; padding: 0px; }
table { border-collapse: collapse; border-spacing: 0px; }
fieldset, img { border: 0px none; }
address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-sty=
le: inherit; font-weight: inherit; }
del, ins { text-decoration: none; }
li { list-style: none outside none; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
input, button, textarea, select, optgroup, option { font-family: inherit;=
 font-size: inherit; font-style: inherit; font-weight: inherit; }
input, button, textarea, select {  }
body { font: 13px/1.231 arial,helvetica,clean,sans-serif; }
select, input, button, textarea, button { font: 99% arial,helvetica,clean,s=
ans-serif; }
table { font-size: inherit; }
pre, code, kbd, samp, tt { font-family: monospace; line-height: 100%; }
html { background: none repeat scroll 0% 0% white; }
em {  }
strong {  }
body { width: auto; min-width: 650px; margin: 0px 35px; font-size: 13px; co=
lor: rgb(0, 0, 0); line-height: 1.23; }
a:active, a:focus { outline: 0px none; }
body a { color: red; text-decoration: none; }
body a:hover, body a:hover .time, body a:hover .shade, body a:hover .unders=
tate { color: red; text-decoration: underline; }
.body_wrapper { padding: 10px 1px; background: none repeat scroll 0% 0% rgb=
(255, 255, 255); border-radius: 5px; }
input, textarea, button, select { font-family: Tahoma,Calibri,Verdana,Genev=
a,sans-serif; }
body, legend { font-family: Verdana,Geneva,Tahoma,Calibri,sans-serif; }
.shade { color: rgb(119, 119, 119); }
.time { color: rgb(62, 62, 62); }
.block { clear: both; }
.blockhead { font: 12px Tahoma,Calibri,Verdana,Geneva,sans-serif; color: rg=
b(255, 255, 255); background: url("http://cboard.cprogramming.com/images/bu=
ttons/newbtn_middle.png") repeat-x scroll 0% 0% rgb(57, 90, 132); padding:=
 5px; border: 1px solid rgb(90, 127, 151); border-top-right-radius: 5px; bo=
rder-top-left-radius: 5px; }
.blockbody { background: none no-repeat scroll 0% 0% rgb(255, 255, 255); pa=
dding-left: 0px; padding-right: 0px; }
.hidden { display: none ! important; }
.floatcontainer:after, .formcontrols .blockrow:after, dl.stats:after { cont=
ent: "."; display: block; height: 0px; clear: both; visibility: hidden; }
.floatcontainer, .formcontrols .blockrow, dl.stats { display: inline-block;=
 font-weight: normal; }
.floatcontainer, .formcontrols .blockrow, dl.stats { display: block; }
.restore h1, .restore h2, .restore h3, .restore h4, .restore h5, .restore=
 h6, .restore strong, .restore dt { font-weight: bold; }
.restore th, .restore td { border: 1px solid rgb(0, 0, 0); padding: 0.5em; }
.restore p, .restore fieldset, .restore table, .restore pre { margin-bottom=
: 1em; }
.navlinks { background: none repeat scroll 0% 0% rgb(245, 245, 245); border=
-top: 0px solid rgb(231, 231, 231); padding: 10px 0px; text-align: center;=
 color: rgb(93, 93, 93); font-size: 13px; margin-top: 20px; margin-bottom:=
 20px; width: 100%; clear: both; }
.clear, .cleardiv { clear: both; }
.content img { max-width: 100%; }
.above_body { background: none repeat-x scroll 0% 0% white; margin: 0px 0px=
 10px; padding: 0px; border-bottom-left-radius: 5px; border-bottom-right-ra=
dius: 5px; }
.doc_header { color: black; font: 11px Arial,Tahoma,Calibri,Verdana,Geneva,=
sans-serif; position: relative; min-height: 35px; }
.doc_header a {  }
.doc_header a:hover { color: white; }
.doc_header hr { display: none; }
.logo-image { float: left; clear: right; min-height: 2em; height: auto ! im=
portant; }
.toplinks { position: absolute; right: 20px; top: 0px; color: rgb(255, 255,=
 255); font: 11px Arial,Tahoma,Calibri,Verdana,Geneva,sans-serif; text-alig=
n: right; background: none repeat scroll 0% 0% rgb(57, 90, 132); border-bot=
tom-left-radius: 5px; border-bottom-right-radius: 5px; }
.toplinks ul.isuser li#fb_headerbox a, .toplinks ul.nouser li#fb_headerbox=
 a { padding-top: 0px; background: none repeat scroll 0% 0% transparent; cu=
rsor: pointer; }
.toplinks ul.isuser, .toplinks ul.nouser { display: block; float: right; cl=
ear: left; list-style: none outside none; }
.toplinks ul.nouser li { display: inline; }
.toplinks ul.nouser li a { display: block; float: right; clear: left; color=
: rgb(255, 255, 255); position: relative; padding: 6px 10px 0px; background=
: none repeat scroll 0% 0% rgb(113, 146, 168); border-bottom-left-radius:=
 5px; border-bottom-right-radius: 5px; height: 20px; font-weight: bold; fon=
t-size: 12px; margin-right: 10px; }
.toplinks ul.nouser li a:hover { background: none repeat scroll 0% 0% rgb(1=
13, 146, 168); color: rgb(255, 255, 255); }
.toplinks form { min-width: 220px; display: block; margin-right: 10px; text=
-align: left; float: right; clear: left; }
.toplinks .logindetails { padding: 0px 10px; text-align: center; background=
: none repeat scroll 0% 0% rgb(113, 146, 168); border-bottom-left-radius:=
 5px; border-bottom-right-radius: 5px; height: 26px; }
.toplinks form input { margin: 3px 0px 0px; vertical-align: baseline; font-=
size: 11px; padding: 1px; border: 0px none; }
.toplinks form input.textbox { color: rgb(0, 0, 0); }
.toplinks form input.default-value { color: rgb(119, 119, 119); }
.toplinks .remember { margin: -3.33333px 0px 0px 20px; font-size: 10px; col=
or: rgb(255, 255, 255); }
.toplinks .remember input { vertical-align: baseline; }
.cb_cookieuser_navbar { position: relative; top: 2px; }
.notifications a.popupctrl:link, .notifications a.popupctrl:visited, .topli=
nks a:link, .toplinks a:visited { color: rgb(255, 255, 255); text-decoratio=
n: none; }
.navbar { position: relative; height: 53px; background: none repeat scroll=
 0% 0% rgb(47, 68, 86); margin: 10px 0px 0px; color: rgb(255, 255, 255); fo=
nt: 11px Arial,Calibri,Verdana,Geneva,sans-serif; border: 0px solid rgb(255=
, 255, 255); border-bottom-left-radius: 5px; border-bottom-right-radius: 5p=
x; }
.navbar a { color: rgb(255, 255, 255); }
.navbar a:hover { color: rgb(255, 255, 255); }
.navtabs { background: url("http://cboard.cprogramming.com/images/buttons/n=
ewbtn_middle.png") repeat-x scroll 0% 0% rgb(57, 90, 132); padding: 0px 20p=
x; height: 26px; }
.navtabs li:first-child { border-left: 1px solid rgb(113, 146, 168); }
.navtabs ul { position: absolute; top: 26px; left: 0px; width: 100%; border=
-top: 1px solid rgb(113, 146, 168); border-bottom-left-radius: 5px; border-=
bottom-right-radius: 5px; margin-right: -80px; direction: ltr; }
.navtabs li { float: left; border-right: 1px solid rgb(113, 146, 168); }
.navtabs ul li:first-child { margin-left: 20px; border-left: 0px none; }
#navtabs .popupmenu ul li:first-child { margin-left: 0px; }
.navtabs ul li { border-right: 0px none; position: relative; }
.navtabs li a { height: 26px; line-height: 26px; padding: 0px 10px; }
.navtabs li a.navtab { border-top: 0px solid rgb(241, 241, 241); border-lef=
t: 0px solid rgb(241, 241, 241); display: block; background: url("http://cb=
oard.cprogramming.com/images/buttons/newbtn_middle.png") repeat-x scroll 0%=
 0% rgb(57, 90, 132); min-width: 60px; width: auto ! important; text-align:=
 center; color: white; font: bold 12px/26px Arial,Calibri,Verdana,Geneva,sa=
ns-serif; text-decoration: none; padding: 0px 10px; }
.navtabs li a.navtab:hover { background: url("http://cboard.cprogramming.co=
m/images/gradients/selected-tab-gradient-with-top-alpha.png") repeat-x scro=
ll 0px -1px rgb(113, 146, 168); color: rgb(0, 0, 0); }
.navtabs li.selected { height: 26px; color: rgb(0, 0, 0); }
.navtabs li.selected a.navtab { color: rgb(0, 0, 0); background: url("http:=
//cboard.cprogramming.com/images/gradients/selected-tab-gradient-with-top-a=
lpha.png") repeat-x scroll 0% 0% rgb(113, 146, 168); position: relative; to=
p: -1px; padding-top: 1px; z-index: 10; }
.navtabs > ul.floatcontainer li a, .navbar_advanced_search li a { text-deco=
ration: none; font: 11px/26px Arial,Calibri,Verdana,Geneva,sans-serif; }
.navbar_advanced_search li { height: 26px; display: block; clear: both; }
.navbar_advanced_search li a { color: rgb(255, 255, 255); }
.navbar_advanced_search li a:hover { color: rgb(255, 255, 255); text-decora=
tion: underline; }
.navtabs .popupbody { border: 1px solid rgb(57, 90, 132); background: none=
 repeat scroll 0% 0% rgb(57, 90, 132); width: auto; }
.navtabs .popupbody li { float: none; border-top: 1px solid rgb(57, 90, 132=
); }
#navtabs .popupmenu ul, #navtabs .popupmenu ul li a { height: auto; }
.globalsearch { position: absolute; width: 180px; right: 20px; top: 0px; fl=
oat: right; clear: left; text-align: right; line-height: 1em; display: bloc=
k; }
.navbar_search { position: relative; right: -21px; display: block; }
.navbar_search input { font-size: 11px; vertical-align: middle; padding: 1p=
x; border: 1px solid rgb(107, 145, 171); }
.globalsearch .textboxcontainer { height: 26px; border-left: 1px solid rgb(=
113, 146, 168); display: inline-block; float: left; text-align: center; }
.globalsearch .textboxcontainer span { border-top: 0px solid rgb(241, 241,=
 241); border-left: 0px solid rgb(241, 241, 241); display: inline-block; he=
ight: 22px; padding-left: 2px; padding-right: 2px; padding-top: 3px; margin=
-bottom: 1px; width: 147px; }
.globalsearch input.textbox { width: 120px; }
.toplinks form input.loginbutton { font-size: 11px; padding: 0px 5px; borde=
r: 1px solid rgb(65, 93, 141); }
.globalsearch .buttoncontainer { height: 26px; border-left: 1px solid rgb(1=
13, 146, 168); display: inline-block; border-right: 1px solid rgb(113, 146,=
 168); width: 25px; overflow: hidden; float: left; }
.globalsearch .buttoncontainer span { border-top: 0px solid rgb(241, 241,=
 241); border-left: 0px solid rgb(241, 241, 241); height: 23px; padding-lef=
t: 4px; padding-top: 2.5px; display: inline-block; }
.globalsearch .searchbutton { border: 0px none; padding: 0px; width: 22px;=
 margin-top: -2px; margin-left: -2px; }
.breadcrumb .navbit { float: left; background-image: url("http://cboard.cpr=
ogramming.com/images/misc/navbit-arrow-right.png"); background-position: ri=
ght center; background-repeat: no-repeat; padding-right: 10px; padding-left=
: 3px; }
.breadcrumb .navbit:first-child { padding-left: 0px; }
.breadcrumb .navbit.lastnavbit { background: none repeat scroll 0% 0% trans=
parent; }
.breadcrumb .navbit.lastnavbit span { float: left; background: none repeat=
 scroll 0% 0% transparent; padding-right: 10px; padding-left: 3px; }
.breadcrumb .navbit > a, .breadcrumb .lastnavbit > span { display: block;=
 padding: 2px 4px; float: left; background-color: transparent; border: 1px=
 solid transparent; border-radius: 5px; }
.breadcrumb .navbit a { text-decoration: none; }
.breadcrumb hr { display: none; }
#pagetitle { padding: 5px 0px 0px; clear: both; background: none repeat scr=
oll 0% 0% transparent; }
#pagetitle h1 { color: rgb(0, 0, 0); font: bold 14px Tahoma,Calibri,Verdana=
,Geneva,sans-serif; }
.footer { clear: both; margin-top: 15px; text-align: right; display: block;=
 box-shadow: -2px 2px 2px rgb(200, 200, 200); background: url("http://cboar=
d.cprogramming.com/images/buttons/newbtn_middle.png") repeat-x scroll 0% 0%=
 rgb(57, 90, 132); padding: 1px; border: 1px solid rgb(57, 90, 132); font:=
 13px Tahoma,Calibri,Verdana,Geneva,sans-serif; }
.footer a { color: white; }
.footer a:hover { color: white; }
.footer_copyright, .footer_morecopyright { padding-bottom: 5px; color: rgb(=
102, 102, 102); font: 11px Tahoma,Calibri,Verdana,Geneva,sans-serif; margin=
-top: 10px; text-align: center; display: block; }
.footer_time { color: rgb(102, 102, 102); font: 11px Tahoma,Calibri,Verdana=
,Geneva,sans-serif; padding-top: 10px; text-align: center; }
.footer_select { float: left; text-align: left; margin-left: 10px; margin-t=
op: 0px; }
.footer_links { margin-right: 10px; margin-top: 2px; }
.footer_links li { display: inline; margin-left: 5px; }
.below_body .time { color: rgb(62, 62, 62); }
.notices { background: none repeat scroll 0% 0% rgb(255, 255, 255); margin:=
 5px 0px; }
.notices li { background: none repeat scroll 0% 0% rgb(255, 235, 144); font=
-size: 12px; color: rgb(0, 0, 0); padding: 5px 10px; margin-bottom: 5px; bo=
x-shadow: -2px 2px 2px rgb(200, 200, 200); text-align: left; clear: both;=
 }
.breadcrumb .navbithome { float: left; padding: 3.5px 0px; }
.ad_global_header {  }
.formcontrols input, select, textarea { -moz-box-sizing: border-box; }
.formcontrols { border-right: 1px solid rgb(107, 145, 171); border-left: 1p=
x solid rgb(107, 145, 171); border-bottom: 1px solid rgb(107, 145, 171); }
.formcontrols > :first-child, .formcontrols .blocksubhead + .blockrow, .for=
mcontrols .section .blockrow:first-child { border-top: medium none; }
.textbox, textarea, select { font: 11px Tahoma,Calibri,Verdana,Geneva,sans-=
serif; color: rgb(0, 0, 0); background: none repeat scroll 0% 0% rgb(255,=
 255, 255); border: 1px solid rgb(107, 145, 171); padding: 4px; outline: 0p=
x none; border-radius: 3px; }
.vbseo_buttons { font-size: 11px; position: relative; }
.vbseo_buttons .vbseo_links { visibility: hidden; padding: 10px; margin: 0p=
x; width: auto; }
.vbseo_buttons .vbseo_share, .vbseo_buttons .vbseo_like, .vbseo_buttons .se=
perator { display: inline-block; float: right; padding: 0px 4px; }
.vbseo_buttons .vbseo_liked { border-color: rgb(213, 213, 213) rgb(179, 179=
, 179) rgb(153, 153, 153); border-style: solid; border-width: 1px; backgrou=
nd: url("urn:not-loaded:http://cboard.cprogramming.com/vbseo/resources/imag=
es/forum/vbseo_like.png") no-repeat scroll 5px center rgb(223, 223, 223);=
 border-radius: 5px; clear: both; display: block; padding: 7px 7px 7px 25px=
; margin: 10px; }
.vbseo_share_body { width: 280px; border: 1px solid rgb(239, 239, 239); bac=
kground: none repeat scroll 0% 0% rgb(223, 223, 223); border-radius: 5px;=
 position: absolute; right: 0px; visibility: hidden; z-index: 9000; box-sha=
dow: 0px 4px 7px; }
.vbseo_share:hover .vbseo_share_body { visibility: visible; }
.vbseo_share_body li { width: 140px; border: medium none; }
.vbseo_share_body li:hover { background: none repeat scroll 0% 0% rgb(255,=
 235, 144); }
.vbseo_share_body li.share_header { background: none repeat scroll 0% 0% rg=
b(221, 221, 221); font-size: 120%; width: 270px; padding: 3px 5px; border-r=
adius: 5px 5px 0px 0px; }
.vbseo_share_body li.left { float: left; clear: left; }
.vbseo_share_body li.right { float: right; clear: right; }
.vbseo_share_body li img { float: left; padding: 4px; position: relative;=
 top: -2px; margin: 0px; }
.vbseo_share_body li > a { padding: 4px; display: block; color: rgb(52, 52,=
 52); text-decoration: none; }

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/misc/quote-left.png

iVBORw0KGgoAAAANSUhEUgAAAAkAAAANCAYAAAB7AEQGAAAA4klEQVQY02NwLJ7CgA3HtMzXB9I3
Pn77sRirgoimeXmuZdO+Z05YOQ2o6D+GgrDGuRtcSqf+mrj2wOlP334sQlEU27pAzL9m1h3Pihmf
bj559R+oAI5hxru6l0//GN40/+mrD59RFIAVhTbMaQMZXzZzwxV0Sbgiz4rpb4AOvINLAVhRYsfC
KA+gVTmTVt/GqQjkpuTORVrelTNehjXNf/bm4xfsisCB1zqfz69m1nWf6plvn739iF0RDAfVzd4G
9OkX5GDAGuIBNbO6gCH+49TNR/8/4lIEwn41M8OBNMikzQCHVCtRrszWWAAAAABJRU5ErkJggg==

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/misc/black_downward_arrow.png

iVBORw0KGgoAAAANSUhEUgAAABIAAAAVCAQAAADhwnZkAAAATklEQVQoz2P8z0AYMI4qgisKUGfg
QZF5tOE1piIbhl0MnHAlB1cdYavBYh2SMhQlaG4KsGfYDlSGpgTD4UBlFavOoirB5rsGIByNYHQA
AJWPKAGR/oJfAAAAAElFTkSuQmCC
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/buttons/newbtn_middle.png

iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAYAAADKmiUPAAAAJklEQVQIW2P4//+/PhMDA8N/JgYG
hn9w4i9cDMFCk8CmDqcSJHUAAJ0ZK08xfj8AAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/gradients/selected-tab-gradient-with-top-alpha.png

iVBORw0KGgoAAAANSUhEUgAAADIAAABoCAYAAACzKqMgAAAAm0lEQVR42u3auw3AMAhAQRxl/x0y
Zn4iE6SkMD42OD0qm5GZRzSYkZkdHLFFk2kD2SMiu0BeEJAayKOIIjWQWxFFQECmglyKKAICAgIC
0ghyKgJitRRRBAQEBARkGYjnIEVAQOaC+HpTpAjiYEARkP9xnAkCAgICAgICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgKyJuQDXAk7zfRIxeEAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/misc/navbit-arrow-right.png

iVBORw0KGgoAAAANSUhEUgAAAAcAAAALCAYAAACzkJeoAAABC0lEQVQY02P4//8/Ay7MMHfuXIb5
8+czAunSmTNnGk+ZMoWhtbWVoby8nIFhwoQJIAUgyfVAyYrJkyczwiVra2vBKlesWHHgxIkTP3p6
ekpaWlpYwJL19fUNFRUVvdOnT79348aN/3v37v0MFCstKSlhZZg3b95/oI7/+/fv/79z504wvWbN
mi9AySYGoD2/Ll269H/Pnj3/Ozs7/wON/Q/SkJ+fv54hMzPzeFFR0c3i4uKPQJf+7+rq+h8XF7ci
KSlJhkFJSYnBzMyMITIycj9IIjw8fKm1tbW4mpoaAwiwsbCwsNnb2x8CCm7g5+eXZmVlBYkzgghN
INYRFBTMYGdntwWyZYFYBIhZAFCakWbJMX2wAAAAAElFTkSuQmCC
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-2484C0F0:http://js.cprogramming.com/clientscript/vbulletin_css/style00006l/showthread-rollup.css?d=1381646760

@charset "UTF-8";
/* Effective stylesheet produced by snapshot save */
.toolsmenu { background: url("http://cboard.cprogramming.com/images/buttons=
/newbtn_middle.png") repeat-x scroll 0% 0% rgb(233, 233, 233); width: 100%;=
 display: block; border: 1px solid rgb(206, 206, 206); float: left; clear:=
 both; margin: 0.5em 0px; }
.toolsmenu div { text-align: right; color: rgb(78, 78, 78); width: 100%; cl=
ear: both; float: left; }
.toolsmenu ul { padding: 5px 0px; float: right; margin-right: 10px; }
.toolsmenu .popupgroup a.popupctrl, .toolsmenu .popupgroup .popupmenu a.pop=
upctrl, .toolsmenu .nopopupgroup li a { font-size: 11px; color: rgb(78, 78,=
 78); display: block; float: left; clear: right; padding: 0.2em 0.4em; }
.toolsmenu .popupgroup a.popupctrl, .toolsmenu .popupgroup .popupmenu a.pop=
upctrl, .toolsmenu .popupgroup .popupmenu:hover a.popupctrl, .toolsmenu .po=
pupgroup .popupmenu:hover .popupctrl a.popupctrl.active { border: 0px none;=
 color: rgb(78, 78, 78); padding-right: 15px; }
.toolsmenu li { position: relative; display: block; clear: right; }
.toolsmenu .popupgroup ul { text-align: left; float: left; }
.toolsmenu .popupgroup .popupbody { padding: 2px; }
.toolsmenu .popupgroup .popupbody a, .toolsmenu .popupgroup .popupbody li=
 label { font-size: 11px; }
.toolsmenu .popupgroup .popupbody li { width: 100%; }
blockquote { overflow: hidden; }
.lastedited { font-style: italic; padding-top: 1em; color: rgb(0, 0, 0); fo=
nt-size: 11px; }
.signature { padding-top: 1em; border-top: 1px solid rgb(221, 221, 221); ma=
rgin-top: 2em; }
.postbit, .postbitlegacy, .eventbit { margin-bottom: 2px; display: block;=
 width: 100%; clear: both; position: relative; float: left; color: rgb(0,=
 0, 0); border: 1px solid rgb(233, 233, 233); }
.postrow { overflow: auto; }
.postbit .posthead, .postbitlegacy .posthead, .eventbit .eventhead { backgr=
ound: url("http://cboard.cprogramming.com/images/buttons/newbtn_middle.png"=
) repeat-x scroll 0% 0% rgb(57, 90, 132); border: 1px solid rgb(90, 127, 15=
1); clear: both; display: block; float: left; width: 100%; color: rgb(255,=
 255, 255); margin: -1px -1px 0px; font: 12px Tahoma,Calibri,Verdana,Geneva=
,sans-serif; padding: 4px 0px; }
.postbit .posthead .postdate, .postbitlegacy .posthead .postdate { display:=
 block; float: left; clear: right; width: 49%; margin-left: 10px; font: 12p=
x Tahoma,Calibri,Verdana,Geneva,sans-serif; padding-left: 15px; }
.postbit .posthead .postdate.old, .postbitlegacy .posthead .postdate.old {=
 background: url("http://cboard.cprogramming.com/images/statusicon/post_old=
.png") no-repeat scroll left center transparent; }
.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_=
noavatar .contact { display: inline-block; height: auto ! important; }
.postcontent { word-wrap: break-word; }
.postbitlegacy hr, .eventbit hr { display: none; }
.postbitlegacy .postdetails, .eventbit .eventdetails { float: left; width:=
 100%; background: none repeat scroll 0% 0% rgb(223, 223, 223); }
.postbit .posthead .nodecontrols, .postbitlegacy .posthead .nodecontrols,=
 .eventbit .eventhead .nodecontrols { position: absolute; color: rgb(255,=
 255, 255); right: 0px; top: 0px; width: 50%; padding: 4px 10px 0px; text-a=
lign: right; font: 12px Tahoma,Calibri,Verdana,Geneva,sans-serif; vertical-=
align: middle; }
.postbit .posthead .nodecontrols a, .postbitlegacy .posthead .nodecontrols=
 a, .eventbit .eventhead .nodecontrols a { color: rgb(255, 255, 255); top:=
 -2px; position: relative; }
.postbitlegacy .postbody, .eventbit .eventdetails .eventbody { margin-left:=
 200px; border-left: 1px solid rgb(239, 239, 239); background: none repeat=
 scroll 0% 0% rgb(241, 241, 241); padding-bottom: 1em; }
.postbitlegacy .postrow, .eventbit .eventrow, .postbitdeleted .postrow, .po=
stbitignored .postrow { padding: 5px 10px 10px; font: 13px Verdana,Arial,Ta=
homa,Calibri,Geneva,sans-serif; color: rgb(51, 51, 51); }
.postbitlegacy .userinfo { float: left; position: relative; width: 180px;=
 padding: 2px 10px 5px; font-size: 11px; display: block; background: none=
 repeat scroll 0% 0% rgb(223, 223, 223); clear: both; }
.postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle { font-=
size: 11px; display: block; clear: both; }
.postbitlegacy .userinfo .username_container { margin-bottom: 8px; }
.postbitlegacy .userinfo .username_container .memberaction { display: inlin=
e; }
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuserava=
tar { display: block; margin: 3.33333px auto 0px; text-align: left; width:=
 auto; float: left; clear: both; }
.postbitlegacy .userinfo .postuseravatar img, .eventbit .userinfo .eventuse=
ravatar img { max-width: 180px; }
.postbitlegacy .userinfo a.username, .eventbit .userinfo a.username { clear=
: right; font-size: 13px; font-weight: normal; width: auto; max-width: 160p=
x; word-wrap: break-word; }
.postbitlegacy dl.userinfo_extra, .postbitlegacy dl.user_rep { margin: 5px=
 0px; display: block; float: left; width: 180px; }
.postbitlegacy dl.userinfo_extra dt, .postbitlegacy dl.user_rep dt { float:=
 left; text-align: left; margin-right: 10px; margin-left: 0px; min-width:=
 60px; width: auto ! important; }
.postbitlegacy dl.userinfo_extra dt:after, .postbitlegacy dl.user_rep dt:af=
ter { content: ":"; }
.postbitlegacy dl.userinfo_extra dd, .postbitlegacy dl.userinfo_extra dd a,=
 .postbitlegacy dl.user_rep dd { padding-bottom: 3px; }
.postbitlegacy .imlinks { width: 100%; float: left; }
.postbitlegacy .title, .eventbit .title { display: block; padding: 10px 10p=
x 10px 0px; font: bold 14px Tahoma,Calibri,Verdana,Geneva,sans-serif; }
.postbit .postfoot, .postbitlegacy .postfoot, .eventbit .eventfoot { displa=
y: block; position: relative; right: 0px; float: left; clear: both; backgro=
und: none repeat scroll 0% 0% transparent; font: bold 11px Tahoma,Calibri,V=
erdana,Geneva,sans-serif; width: 100%; }
.postbitlegacy .postrow.has_after_content { padding-bottom: 0.5em; }
.postbitlegacy .after_content { position: relative; width: 100%; clear: bot=
h; }
.postbitlegacy .signature, .postbitlegacy .lastedited { margin-top: 1em; pa=
dding: 1em 10px 0px; }
.postbit .postfoot .textcontrols, .postbitlegacy .postfoot .textcontrols,=
 .eventbit .eventfoot .eventcontrols { padding: 6px 0px 4px; display: block=
; background: none repeat scroll 0% 0% rgb(223, 223, 223); font: bold 11px=
 Tahoma,Calibri,Verdana,Geneva,sans-serif; width: 100%; margin-right: 10px;=
 }
.postbitlegacy .postfoot .postcontrols, .postbit .postfoot .postcontrols {=
 float: right; padding-right: 10px; text-align: right; width: 50%; }
.postbitlegacy .postfoot .postlinking, .postbit .postfoot .postlinking { pa=
dding-left: 10px; }
img.onlinestatus { position: relative; top: 5px; left: -4px; }
.postbody img.inlineimg { vertical-align: bottom; }
.postbitlegacy .userinfo .userinfo_extra { width: 180px; float: left; font-=
size: 11px; }
.postbit .posttitle, .postbitlegacy .title { border-bottom: 1px solid rgb(2=
00, 200, 200); padding-bottom: 5px; margin-bottom: 5px; }
.postlist, #postlist { clear: both; margin-top: 5px; margin-bottom: 10px;=
 position: relative; }
.posts, #message_list { margin: 10px 0px; }
.postlistfoot { display: block; width: 100%; height: 2em; clear: both; posi=
tion: relative; }
.below_postlist { display: block; clear: both; position: relative; float:=
 right; margin-top: 45px; margin-bottom: 1em; width: 100%; }
.noinlinemod.below_postlist { margin-top: -2.5em; }
.below_postlist .pagination_bottom { float: right; margin-top: 5px; width:=
 100%; }
.forum_info .options_block_container, .thread_info .options_block_container=
 { width: 100%; float: left; display: block; position: relative; top: 0px;=
 padding-top: 0px; margin-top: 0px; }
.thread_info { float: left; width: 100%; clear: both; position: relative;=
 top: -10px; margin-bottom: 0px; color: rgb(0, 0, 0); }
.thread_info a {  }
.thread_info h4 { font-size: 12px; font-weight: bold; color: rgb(255, 255,=
 255); background: url("http://cboard.cprogramming.com/images/buttons/newbt=
n_middle.png") repeat-x scroll 0% 0% rgb(57, 90, 132); border: 1px solid rg=
b(96, 96, 96); margin-top: 5px; box-shadow: -2px 2px 2px rgb(200, 200, 200)=
; }
.thread_info .blockbody { border-bottom: 1px solid rgb(196, 196, 196); bord=
er-left: 1px solid rgb(196, 196, 196); border-right: 1px solid rgb(196, 196=
, 196); background: url("http://cboard.cprogramming.com/images/gradients/gr=
adient-greytowhite.png") repeat-x scroll 0% 0% rgb(223, 223, 223); box-shad=
ow: -2px 2px 2px rgb(200, 200, 200); }
.similar_threads { clear: both; }
.similar_threads li { padding: 5px 10px; }
ol.similar_threads li h6 a {  }
.similar_threads .starter_forum { font-size: 11px; }
.similar_threads .titleblock { float: left; }
.similar_threads .dateblock { float: right; text-align: right; }
.pagetitle { width: 100%; }
.postlist {  }
.postrow { overflow: visible; min-height: 1px; }

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/statusicon/post_old.png

iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAQAAADY4iz3AAAAoklEQVQY03XJvQqCUBxA8T+2Bra1
BbWWDdWbNChKvkZjXegxGiPo0YSQKOvqvcJpsC+zzhl/Io478QLPrx77Q7/dl2eLFbW2+07vQZGC
G1cyTiRYLLtDdyAiIqGCggJNxpECgPnyRSUlBs2ZlASINzUqsWgupECkvqjEkJP9JkuBBsI6WSwG
Q/6fTJMqtNg3xYpG8VpExHFnXjDyP/cCdyqtOxah2vdabDU7AAAAAElFTkSuQmCC
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://cboard.cprogramming.com/images/gradients/gradient-greytowhite.png

iVBORw0KGgoAAAANSUhEUgAAAAEAAAAMCAYAAACji9dXAAAAKUlEQVQI123KoQ0AIBAEsOYmZ9Zf
AcIHh0NhqqqqRnCCDnawgvlhvdIXyp8NxIUqMigAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-5D1BB251:http://js.cprogramming.com/clientscript/vbulletin_css/style00006l/additional.css?d=1381646760

/* Effective stylesheet produced by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/css
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-0C5C59A0:http://js.cprogramming.com/clientscript/vbulletin_css/style00006l/additional.css?d=1381646760

/* Effective stylesheet produced by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-60096CC8:http://generated.test/generated-content

<html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"><s=
tyle><!--

/* Effective stylesheet produced by snapshot save */

a:link { color: rgb(0, 0, 0); }

a:visited { color: rgb(0, 0, 0); }

a:hover { color: rgb(0, 0, 0); }

a:active { color: rgb(0, 0, 0); }

--></style><script async=3D"" src=3D"urn:snapshot-C45F67C5:https://apis.goo=
gle.com/_/scs/apps-static/_/js/k=3Doz.gapi.pt_BR.-_wPeoG1fhQ.O/m=3Dauth/exm=
=3Dplusone/rt=3Dj/sv=3D1/d=3D1/ed=3D1/am=3DIQ/rs=3DAItRSTMPhLwuYz7vHTdA_EK8=
Bgn9jE03Mg/cb=3Dgapi.loaded_1"></script><script async=3D"" src=3D"urn:snaps=
hot-B40917BE:https://apis.google.com/_/scs/apps-static/_/js/k=3Doz.gapi.pt_=
BR.-_wPeoG1fhQ.O/m=3Dplusone/rt=3Dj/sv=3D1/d=3D1/ed=3D1/am=3DIQ/rs=3DAItRST=
MPhLwuYz7vHTdA_EK8Bgn9jE03Mg/cb=3Dgapi.loaded_0"></script><script><!--

/* Script removed by snapshot save */

--></script></head><body leftmargin=3D"0" topmargin=3D"0" style=3D"backgrou=
nd:transparent" marginheight=3D"0" marginwidth=3D"0"><div id=3D"google_imag=
e_div" style=3D"overflow:hidden; position:absolute"><a id=3D"aw0" target=3D=
"_top" href=3D"http://www.googleadservices.com/pagead/aclk?sa=3DL&amp;ai=3D=
CUWAI3MfyUozvM5GKlwenkoGQDqmA8JMEyeXjpHCJrvSrvQEQASCGyvQBUP7R9Udgzeiyj5gDoA=
HV-5H_A8gBA-ACAKgDAcgDnQSqBM4BT9Dy_Gg5azrfc-krywsaxbuEO2HsL_ODNZft3nWyXJO40=
BD7HFUJrM1SoZrClV4DcHLaSTmujwbzFoCRXBz3CuQf664EnSTritPOzD_1vzMKkYbdUjJIH99W=
6R7vYqaWbjUggpcGWkk6eRB3mH3kOLWpTxV_KXgtw5tgnhIiHn82OopZ-LU23J8qYF_KCLhN3Ui=
A3g5KbjQ6faLEXq4KAnCSyC53aewY_5kpw3fZF-irSH5ya8GwLEop_h_u0G1GDi4HbazETMaUWH=
mziYTgBAGIBgGgBgOAB5OEbg&amp;num=3D1&amp;cid=3D5Gi4dJpInpLJPo4NZ4FiypGQ&amp=
;sig=3DAOD64_3gHyKMlNUtt_Q0Zo11kfm3TLAIeA&amp;client=3Dca-pub-2560316224908=
115&amp;adurl=3Dhttp://www.server4you.com/vserver" onfocus=3D"" onmousedown=
=3D"" onmouseover=3D"" onclick=3D""><img src=3D"http://pagead2.googlesyndic=
ation.com/simgad/3618181836758228864" alt=3D"" class=3D"img_ad" height=3D"2=
50" border=3D"0" width=3D"300"></a><style><!--

/* Effective stylesheet produced by snapshot save */

div, ul, li { margin: 0px; padding: 0px; }

#abgc { height: 15px; position: absolute; right: 0px; text-rendering: geome=
tricprecision; top: 0px; width: 19px; z-index: 9010; }

#abgb { height: 100%; }

#abgc img { display: block; }

#abgs { display: none; height: 100%; }

#abgl { text-decoration: none; }

--></style><div id=3D"abgc"><div id=3D"abgb"><img alt=3D"AdChoices" src=3D"=
http://pagead2.googlesyndication.com/pagead/images/ad_choices_i.png" height=
=3D"15" border=3D"0" width=3D"19"></div><div id=3D"abgs"><a id=3D"abgl" hre=
f=3D"https://www.google.com/url?ct=3Dabg&amp;q=3Dhttps://www.google.com/ads=
ense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://cboard.cprog=
ramming.com/c-programming/63166-kbhit-linux.html%26gl%3DBR%26hl%3Den%26clie=
nt%3Dca-pub-2560316224908115%26ai0%3DCUWAI3MfyUozvM5GKlwenkoGQDqmA8JMEyeXjp=
HCJrvSrvQEQASCGyvQBUP7R9Udgzeiyj5gDoAHV-5H_A8gBA-ACAKgDAcgDnQSqBM4BT9Dy_Gg5=
azrfc-krywsaxbuEO2HsL_ODNZft3nWyXJO40BD7HFUJrM1SoZrClV4DcHLaSTmujwbzFoCRXBz=
3CuQf664EnSTritPOzD_1vzMKkYbdUjJIH99W6R7vYqaWbjUggpcGWkk6eRB3mH3kOLWpTxV_KX=
gtw5tgnhIiHn82OopZ-LU23J8qYF_KCLhN3UiA3g5KbjQ6faLEXq4KAnCSyC53aewY_5kpw3fZF=
-irSH5ya8GwLEop_h_u0G1GDi4HbazETMaUWHmziYTgBAGIBgGgBgOAB5OEbg&amp;usg=3DAFQ=
jCNE85LgSotPWFceG55L5idaAiris8A" target=3D"_blank"><img alt=3D"AdChoices"=
 src=3D"http://pagead2.googlesyndication.com/pagead/images/ad_choices_en.pn=
g" height=3D"15" border=3D"0" width=3D"77"></a></div></div><script><!--

/* Script removed by snapshot save */

--></script><script src=3D"urn:snapshot-018D59BB:http://pagead2.googlesyndi=
cation.com/pagead/js/r20140130/r20110914/abg.js"></script></div><div id=3D"=
pbc" style=3D"position: absolute; left: 0px; bottom: 0px; z-index: 10000;=
 height: 28px; overflow: hidden; background: none repeat scroll 0% 0% trans=
parent; width: 40px;"><div style=3D"margin:2px 14px 2px 2px;"><div id=3D"x-=
button" style=3D"position: absolute; right: 5px; top: 5px; line-height: 0;=
 display: none;"><a href=3D"javascript:void(0);" style=3D"font-size:7px;"><=
img src=3D"http://pagead2.googlesyndication.com/pagead/images/close_button.=
png" height=3D"7px" border=3D"0" width=3D"7px"></a></div><script src=3D"urn=
:snapshot-4C86E5A3:http://pagead2.googlesyndication.com/pagead/js/r20140130=
/r20110914/plusonejs.js"></script><script><!--

/* Script removed by snapshot save */

--></script><script src=3D"urn:snapshot-17B909C3:http://pagead2.googlesyndi=
cation.com/pagead/js/r20140130/r20110914/hide_plusone_annotations_on_mouseo=
ut.js"></script><script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script><script><!--

/* Script removed by snapshot save */

--></script><div id=3D"___plusone_0" style=3D"text-indent: 0px; margin: 0px=
; padding: 0px; background: none repeat scroll 0% 0% transparent; border-st=
yle: none; float: none; line-height: normal; font-size: 1px; vertical-align=
: baseline; display: inline-block; width: 39px; height: 24px;"><iframe titl=
e=3D"+1" data-gapiattached=3D"true" src=3D"urn:snapshot-410B79F8:https://ap=
is.google.com/u/0/_/+1/fastbutton?usegapi=3D1&amp;bsv=3Do&amp;db=3D1&amp;te=
xtcolor=3DFFFFFF&amp;ag=3D8271149481&amp;cr=3D30078802401&amp;ad=3Dtrue&amp=
;annotation=3Dnone&amp;drm=3Dtrue&amp;autosize=3Dtrue&amp;align=3Dleft&amp;=
source=3Ddisplayad&amp;size=3Dstandard&amp;hl=3Den-US&amp;origin=3Dhttp%3A%=
2F%2Fcboard.cprogramming.com&amp;url=3Dhttp%3A%2F%2Fwww.server4you.com%2Fvs=
erver&amp;gsrc=3D3p&amp;ic=3D1&amp;jsh=3Dm%3B%2F_%2Fscs%2Fapps-static%2F_%2=
Fjs%2Fk%3Doz.gapi.pt_BR.-_wPeoG1fhQ.O%2Fm%3D__features__%2Fam%3DIQ%2Frt%3Dj=
%2Fd%3D1%2Ft%3Dzcms%2Frs%3DAItRSTMPhLwuYz7vHTdA_EK8Bgn9jE03Mg" name=3D"I0_1=
391642591597" id=3D"I0_1391642591597" vspace=3D"0" tabindex=3D"0" style=3D"=
position: static; top: 0px; width: 39px; margin: 0px; border-style: none;=
 left: 0px; visibility: visible; height: 24px;" marginwidth=3D"0" marginhei=
ght=3D"0" hspace=3D"0" frameborder=3D"0" scrolling=3D"no" width=3D"100%"></=
iframe></div></div></div><script><!--

/* Script removed by snapshot save */

--></script><script gapi_processed=3D"true" async=3D"" type=3D"text/javascr=
ipt" src=3D"urn:snapshot-16AE5379:https://apis.google.com/js/platform.js"><=
/script><iframe style=3D"width: 1px; height: 1px; position: absolute; top:=
 -100px;" src=3D"urn:snapshot-4AE335A2:https://accounts.google.com/o/oauth2=
/postmessageRelay?parent=3Dhttp%3A%2F%2Fcboard.cprogramming.com" id=3D"oaut=
h2relay865154103" name=3D"oauth2relay865154103"></iframe></body><iframe src=
=3D"#" style=3D"display: none;"></iframe></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://pagead2.googlesyndication.com/simgad/3618181836758228864

[encoded data, 95076 characters]
lAMy8IEmcSAEJ+g3CloQJhK8oAYTEhAAOw==
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://pagead2.googlesyndication.com/pagead/images/ad_choices_i.png

iVBORw0KGgoAAAANSUhEUgAAABMAAAAPCAYAAAAGRPQsAAABNElEQVQ4jWP4////ZmphBmyCbBvO
/WVYd/Z/xZWnVyg2DGQQMp5899VZigxrvP7sEojtd/zOI5ihW55/OEKWYTPvvz6NLKa+6+p7kDjn
xvO/L338tpdsw8S3Xvq6/cXHw6fefd3PATQMJK+088qnR99+7iTZsOn3Xp9Blq+++vQyzOtJZx/c
Jtqwe19/7gK5ZvGjtyeQ1QSfuPsAZiBBw5pvPL8IYoO8BuKnnHsId0HHzRcXYAblXnx0g6BhNUCv
gNhH3345AOK3Ag2fce/1aZghJvuvv/r5998W9DBbgc+wx99+7QTFIMt6SEKW2X7pM3rAIxvWic2w
1HMPb934/H0PjM+8/ty/s++/7iOUznSAeCO6YRLbLn0F0bjSFC7DQDgE3TBSshG6YTAX1gDxIlIM
QMYAC+7NyvoASYYAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://pagead2.googlesyndication.com/pagead/images/ad_choices_en.png

iVBORw0KGgoAAAANSUhEUgAAAE0AAAAPCAYAAAChmULXAAACz0lEQVRYw+2Yz2sTQRTHFxWpEPCo
AU8e4j+QmyfJ3UP8CyJ69JCbqAgSBK8iQb1qDzlZxdqaklrxBy3WRHdNbdQ2NpF2S0Nta91IKu26
X/VbnsPudKO2l+TwmJ1fb9585r03kxiu697vSntidPLm994trRt3iu7Z8my5Cy3s5j1gUq5NLxS7
0EJAuzQ5Z+H7+OhUnfD67eVn/wwtl8uNRiKRNdu2HwaNicfjDYzDdzabfRmLxZYNw3AxL51Ov91c
0MCS4TYFfdC7ndBufmyMy7YjQxNLaN9379V3a6U5/NfQkslkDZLJZMytoBEYAZqmOYw657YDbSc8
TUI78MByBudXnr747Iz0eNDQfzhf/lJvtvJtQYN3YdMsZTtAAgKAERRKgJM6CoXCE7ZhfCqVmkJJ
vWiHN8IrpWdiHsbKfs5nfzQaddAGW6iL+tGn2qKDdr3a+GPs+YnZNwzZk8WZD6GhwVhuIpFIzMFQ
tqMOQwELRrLUnq7XL/Xhm5uHV0LwDV0MT79+lrQH0KCLB4c2eLdMDTpoVac1BO+6XV8ck2NOjE3P
EJyE1qvbJAzDyRESjFNzmKyHgaYeiDwY2U5oar/Ms+inp6PEIaIddczR5WGAyFTsn2kDIYn6qVJt
06OuvJt/TWBnzHpFQruoS8RcnAKIMCQIGko1JOAVAP6/oEEfbaNHQuh1sA9ehrmwVwftgheC+H6+
+PUx6pc9iDeqjXHCio9MLrTWN/rVnHYsSCk2qgKg1wWFZ9BFwE37QWsnPJlbAQUexXUYnlifdmEe
xoSB9qm5lseNuafv14P30KC1ql4AEtouT66qHTDQb0FuQCZceRHwycEErXtySA/yuwjkk8PvIpDr
MDQZBVxbd+MDzulS7X1l9VuB9d19pY3ikvNoq3caJOrJrU583B4csByUQW8yHTTIfk/OdeLPqLA/
n/ygUY7+vhx6u/9o+MsPf1++/f0oVhYAAAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Location: http://pagead2.googlesyndication.com/pagead/images/close_button.png

iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAQAAABuW59YAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
AEgAAABIAEbJaz4AAAAJdnBBZwAAAAcAAAAHAEeWG3YAAABpSURBVAjXBcEhCsJQAADQ57as8E8g
mHRdPniGxTXBYNAimH7+eSfQIIKHWbS5O1gGJqO+N7lmK0ej4GIo1FqduU6rrhx87Cyt3aSy+XqK
Nnon70KQRb0oC2XzsHV3NrO3qLz8JKNkavgD0cEYBrqV/NIAAAAldEVYdGRhdGU6Y3JlYXRlADIw
MTEtMDgtMThUMTk6MDY6NDktMDM6MDBS/+6FAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDExLTA4LTE4
VDE5OjA2OjQ5LTAzOjAwI6JWOQAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwA
AAAASUVORK5CYII=
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-410B79F8:https://apis.google.com/u/0/_/+1/fastbutton?usegapi=1&bsv=o&db=1&textcolor=FFFFFF&ag=8271149481&cr=30078802401&ad=true&annotation=none&drm=true&autosize=true&align=left&source=displayad&size=standard&hl=en-US&origin=http%3A%2F%2Fcboard.cprogramming.com&url=http%3A%2F%2Fwww.server4you.com%2Fvserver&gsrc=3p&ic=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.pt_BR.-_wPeoG1fhQ.O%2Fm%3D__features__%2Fam%3DIQ%2Frt%3Dj%2Fd%3D1%2Ft%3Dzcms%2Frs%3DAItRSTMPhLwuYz7vHTdA_EK8Bgn9jE03Mg

<!DOCTYPE html><html dir=3D"ltr" lang=3D"en"><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"><b=
ase href=3D""><style><!--

/* Effective stylesheet produced by snapshot save */

body {  }

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("urn:not-loaded:https://ssl.gstatic.com/fonts/roboto/v10/grlryt2=
bdKIyfMSOhzd1eA.woff") format("woff");
}

--></style><style type=3D"text/css"><!--

/* Effective stylesheet produced by snapshot save */

* html .d-k-l, :first-child + html .d-k-l { display: inline; }

.FP { border: 1px solid rgba(0, 0, 0, 0.17); border-radius: 2px; box-shadow=
: 0px 1px 0px rgba(0, 0, 0, 0.05); -moz-box-sizing: border-box; transition:=
 background-color 0.218s ease 0s, border-color 0.218s ease 0s, box-shadow=
 0.218s ease 0s; -moz-user-select: none; background-color: rgb(255, 255, 25=
5); background-image: none; color: rgb(38, 38, 38); cursor: pointer; outlin=
e: medium none; overflow: hidden; position: relative; text-align: center;=
 vertical-align: middle; white-space: nowrap; width: auto; }

.FP:hover { border: 1px solid rgba(0, 0, 0, 0.25); box-shadow: 0px 1px 0px=
 rgba(0, 0, 0, 0.1); }

.FP:active { background-color: rgb(229, 229, 229); border: 1px solid rgba(0=
, 0, 0, 0.25); box-shadow: 0px 1px 0px rgb(221, 221, 221) inset; color: rgb=
(38, 38, 38); }

.s7 { float: left; }

.u7 { display: block; }

.Ul { height: 100%; width: 100%; }

.q7, .GP { display: none; height: 100%; width: 100%; }

.hva, .iva { margin-left: auto; margin-right: auto; }

.HP, .HP:hover, .HP:active { color: rgb(221, 75, 57); }

.uzlpSb { fill: rgb(221, 75, 56); }

.dIa { float: left; white-space: nowrap; }

.Ina { cursor: pointer; display: block; outline: 0px none; position: relati=
ve; text-decoration: none; }

.kv8eNc { background-color: transparent; margin: 0px; padding: 0px; }

--></style><script><!--

/* Script removed by snapshot save */

--></script></head><body class=3D"kv8eNc "><div id=3D"root"><script type=3D=
"text/javascript"><!--

/* Script removed by snapshot save */

--></script><div id=3D"plusone" dir=3D"ltr" style=3D"float: left" class=3D"=
Jg"><span style=3D"" id=3D"widget_bounds"><div class=3D"dIa"><div aria-pres=
sed=3D"false" style=3D"height:24px;width:38px;" class=3D"FP HP Gib Ina mEc"=
 id=3D"button" title=3D"Click here to publicly +1 this as Rogerio Schwind=
 (root@installdat.com.br)." role=3D"button" tabindex=3D"0"><div class=3D"Ul=
"><div style=3D"margin:0px 0px 0 0px;" class=3D"s7"><svg version=3D"1.1" xm=
lns=3D"http://www.w3.org/2000/svg" preserveAspectRatio=3D"xMidYMid meet" wi=
dth=3D"36.0px" height=3D"22px" viewBox=3D"-7.0 -4.0 36.0 22.0" class=3D"u7=
 uzlpSb"><path d=3D"m6.165,5.363c.438-.427 .478-1.019 .478-1.351 0-1.33-.82=
1-3.397-2.407-3.397-.496,0-1.031,.239-1.337,.61-.325,.388-.42,.883-.42,1.35=
8 0,1.236 .745,3.287 2.388,3.287 .476,.009 .991-.212 1.298-.507m-1.248,3.49=
1c0,0-1.062,.092-1.865,.354-.419,.146-1.529,.535-1.529,1.854 0,1.312 1.318,=
2.252 3.362,2.252 1.833,0 2.809-.852 2.809-1.994 0-.938-.92-1.893-2.083-2.4=
38-.219-.003-.694-.028-.694-.028zm2.426-7.942c.321,.381 .98,.987 .98,2.252=
 0,1.367-.804,2.014-1.604,2.623-.248,.239-.535,.498-.535,.905 0,.406 .287,.=
63 .496,.793l.688,.519c.841,.687 1.592,1.312 1.592,2.588 0,1.736-1.728,3.40=
8-5.011,3.408-2.771,0-3.949-1.189-3.949-2.561 0-.666 .185-1.744 1.312-2.396=
 1.185-.695 2.536-.771 3.394-.814-.268-.333-.318-.575-.318-1.147 0-.313 .09=
8-.5 .193-.723-.211,.02-.422,.037-.613,.037-2.024,0-3.171-1.459-3.171-2.898=
 0-.852 .403-1.793 1.223-2.477 1.089-.867 2.388-1.021 3.418-1.021h3.521l-.6=
82,.904h-.937l.003,.008z"></path><path d=3D"m6.165,5.363c.438-.427 .478-1.0=
19 .478-1.351 0-1.33-.821-3.397-2.407-3.397-.496,0-1.031,.239-1.337,.61-.32=
5,.388-.42,.883-.42,1.358 0,1.236 .745,3.287 2.388,3.287 .476,.009 .991-.21=
2 1.298-.507m-1.248,3.491c0,0-1.062,.092-1.865,.354-.419,.146-1.529,.535-1.=
529,1.854 0,1.312 1.318,2.252 3.362,2.252 1.833,0 2.809-.852 2.809-1.994 0-=
.938-.92-1.893-2.083-2.438-.219-.003-.694-.028-.694-.028zm2.426-7.942c.321,=
.381 .98,.987 .98,2.252 0,1.367-.804,2.014-1.604,2.623-.248,.239-.535,.498-=
.535,.905 0,.406 .287,.63 .496,.793l.688,.519c.841,.687 1.592,1.312 1.592,2=
.588 0,1.736-1.677,3.408-4.96,3.408-2.771,0-4-1.189-4-2.561 0-.666 .185-1.7=
44 1.312-2.396 1.185-.695 2.536-.771 3.394-.814-.268-.333-.318-.575-.318-1.=
147 0-.313 .098-.5 .193-.723-.211,.02-.422,.037-.613,.037-2.024,0-3.171-1.4=
59-3.171-2.898 0-.852 .403-1.793 1.223-2.477 1.089-.867 2.388-1.021 3.418-1=
.021h3.521l-.682,.904h-.937l.003,.008z"></path><path d=3D"M15,4h-2v2h-2v2h2=
v2h2V8h2V6h-2V4z M18.004,2v2h2v8h1.987L22,1L18.004,2z"></path></svg><div cl=
ass=3D"xuwmvb xuwmvb-Dy7EIf"></div></div></div><div class=3D"GP"><svg versi=
on=3D"1.1" xmlns=3D"http://www.w3.org/2000/svg" preserveAspectRatio=3D"xMid=
YMid meet" width=3D"22px" height=3D"22px" viewBox=3D"-1.5555555555555554 -1=
.5555555555555554 17.11111111111111 17.11111111111111" class=3D"u7 u7 iva">=
<g id=3D"Q0N8Vc" fill=3D"#aaaaaa" transform=3D"rotate(0,7,7)"><path d=3D"M5=
.5,1.5h3v4h4v3h-4v4h-3v-4h-4v-3h4z"><animateTransform attributeName=3D"tran=
sform" attributeType=3D"XML" type=3D"rotate" from=3D"0 7 7" to=3D"360 7 7"=
 dur=3D"2s" repeatCount=3D"indefinite"></animateTransform></path></g></svg>=
<div class=3D"C9sAve C9sAve-Dy7EIf"></div></div><div class=3D"q7"><svg vers=
ion=3D"1.1" xmlns=3D"http://www.w3.org/2000/svg" preserveAspectRatio=3D"xMi=
dYMid meet" width=3D"20px" height=3D"22px" viewBox=3D"0.0 -2.0 20.0 22.0"=
 class=3D"u7 u7 hva"><path fill=3D"#DD4B39" d=3D"m19.8059,16.041-8.74-15.40=
4c-.223-.394-.635-.637-1.078-.637-.443,0-.855,.243-1.078,.637l-8.739,15.404=
c-.227,.396-.227,.9-.005,1.299 .223,.398 .637,.66 1.283,.66h17.279c.445,0=
 .859-.262 1.082-.66 .22-.399 .22-.902-.004-1.299zm-9.798-1.041c-.552,0-1-.=
463-1-1.02 0-.555 .448-1.002 1-1.002 .552,0 1,.447 1,1.002-.001,.557-.448,1=
.02-1,1.02zm.999-9-.375,5h-1.25l-.374-5h.004l-.004-.02c0-.551 .448-.996 1-.=
996 .552,0 1,.449 1,1-.001,.007-.004,.016-.004,.016h.003z"></path></svg><di=
v class=3D"tapvDe tapvDe-Dy7EIf"></div></div></div></div></span></div><scri=
pt type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script><script type=3D"text/javascript"><!--

/* Script removed by snapshot save */

--></script></div><script><!--

/* Script removed by snapshot save */

--></script><script><!--

/* Script removed by snapshot save */

--></script></body><iframe src=3D"urn:snapshot-625BA78A:http://generated.te=
st/generated-content" style=3D"display: none;"></iframe></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-625BA78A:http://generated.test/generated-content

<html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"></=
head><body></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-4AE335A2:https://accounts.google.com/o/oauth2/postmessageRelay?parent=http%3A%2F%2Fcboard.cprogramming.com

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.=
w3.org/TR/html4/loose.dtd"><html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"><t=
itle>Retransmiss=C3=A3o de postMessage</title><meta http-equiv=3D"content-t=
ype" content=3D"text/html; charset=3DUTF-8"><meta http-equiv=3D"X-UA-Compat=
ible" content=3D"IE=3Dedge"><script gapi_processed=3D"true" type=3D"text/ja=
vascript" src=3D"urn:snapshot-CA1828A6:https://oauth.googleusercontent.com/=
gadgets/js/core:rpc:shindig.random:shindig.sha1.js?c=3D2"></script><script=
 type=3D"text/javascript" src=3D"urn:snapshot-96B2DB88:https://ssl.gstatic.=
com/accounts/o/1618667077-postmessagerelay.js"></script>
</head><body></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-CA1828A6:https://oauth.googleusercontent.com/gadgets/js/core:rpc:shindig.random:shindig.sha1.js?c=2

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-96B2DB88:https://ssl.gstatic.com/accounts/o/1618667077-postmessagerelay.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-C45F67C5:https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.pt_BR.-_wPeoG1fhQ.O/m=auth/exm=plusone/rt=j/sv=1/d=1/ed=1/am=IQ/rs=AItRSTMPhLwuYz7vHTdA_EK8Bgn9jE03Mg/cb=gapi.loaded_1

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-B40917BE:https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.pt_BR.-_wPeoG1fhQ.O/m=plusone/rt=j/sv=1/d=1/ed=1/am=IQ/rs=AItRSTMPhLwuYz7vHTdA_EK8Bgn9jE03Mg/cb=gapi.loaded_0

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-018D59BB:http://pagead2.googlesyndication.com/pagead/js/r20140130/r20110914/abg.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-4C86E5A3:http://pagead2.googlesyndication.com/pagead/js/r20140130/r20110914/plusonejs.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-17B909C3:http://pagead2.googlesyndication.com/pagead/js/r20140130/r20110914/hide_plusone_annotations_on_mouseout.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-16AE5379:https://apis.google.com/js/platform.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-4A9D050B:http://static.ak.facebook.com/connect/xd_arbiter.php?version=29

<!DOCTYPE html><html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"><t=
itle>Facebook Cross-Domain Messaging helper</title></head><body><script><!--

/* Script removed by snapshot save */

--></script><b id=3D"warning" style=3D"display: none; color:red">SECURITY=
 WARNING: Please treat the URL above as you would your password and do not=
 share it with anyone.</b><script><!--

/* Script removed by snapshot save */

--></script></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-29D7130A:https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=29

<!DOCTYPE html><html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"><t=
itle>Facebook Cross-Domain Messaging helper</title></head><body><script><!--

/* Script removed by snapshot save */

--></script><b id=3D"warning" style=3D"display: none; color:red">SECURITY=
 WARNING: Please treat the URL above as you would your password and do not=
 share it with anyone.</b><script><!--

/* Script removed by snapshot save */

--></script></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-8F32946E:http://generated.test/generated-content

<html><head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8"></=
head><body></body></html>
------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-6432DF31:http://www.google-analytics.com/ga.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-6089C68B:http://yui.yahooapis.com/combo?2.9.0/build/yuiloader-dom-event/yuiloader-dom-event.js&2.9.0/build/connection/connection-min.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-070BAA59:http://js.cprogramming.com/clientscript/vbulletin-core.js?v=422

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-62A84C8A:http://partner.googleadservices.com/gampad/google_service.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-48A5A4DC:http://partner.googleadservices.com/gampad/google_ads.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-DF792182:http://cboard.cprogramming.com/vbseo/resources/scripts/vbseo_ui.js?v=a4

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-5E6F0CD9:http://pagead2.googlesyndication.com/pagead/osd.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-E1170782:http://connect.facebook.net/en_US/all.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-6D67D1C4:http://js.cprogramming.com/clientscript/vbulletin_md5.js?v=422

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: application/x-javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-0BFBD093:http://pubads.g.doubleclick.net/gampad/ads?correlator=1194816438467605&output=json_html&callback=GA_googleSetAdContentsBySlotForSync&impl=s&client=ca-pub-2560316224908115&slotname=Message_board_box_sync_tag&page_slots=Message_board_box_sync_tag&cookie=ID%3Da2c3b6ccf76fc228%3AT%3D1391640638%3AS%3DALNI_MY0y8q3Qv8oWX0HIgNA6ZWCS_em-A&url=http%3A%2F%2Fcboard.cprogramming.com%2Fc-programming%2F63166-kbhit-linux.html&ref=http%3A%2F%2Fwww.google.com.br%2Furl%3Fsa%3Dt%26rct%3Dj%26q%3D%26esrc%3Ds%26source%3Dweb%26cd%3D1%26ved%3D0CCsQFjAA%26url%3Dhttp%253A%252F%252Fcboard.cprogramming.com%252Fc-programming%252F63166-kbhit-linux.html%26ei%3DNMDyUpH2G87IkAfTloDQCA%26usg%3DAFQjCNEdnxtwVkNev2t55yTDTtP1UH5W4w%26bvm%3Dbv.60799247%2Cd.eW0%26cad%3Drja&lmt=1391642587&dt=1391642589073&cc=50&biw=1263&bih=583&adk=1590449067&adx=248&ady=374&ifi=1&oid=3&u_tz=-120&u_his=1&u_java=true&u_h=768&u_w=1280&u_ah=738&u_aw=1280&u_cd=24&u_nplug=12&u_nmime=59&flash=12.0.0&gads=v2&ga_vid=1398633969.1391640638&ga_sid=1391642589&ga_hid=2104374878&ga_fc=true&ga_wpids=UA-7820175-1

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-E1EB0763:http://js.cprogramming.com/clientscript/vbulletin_facebook.js?v=422

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-62DE798E:http://static.cprogramming.com/syntax-highlight/scripts/XRegExp.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-EB442692:http://static.cprogramming.com/syntax-highlight/scripts/shCore-vb.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7
Content-Type: text/javascript
Content-Transfer-Encoding: quoted-printable
Content-Location: urn:snapshot-CD4A1521:http://static.cprogramming.com/syntax-highlight/scripts/shBrushCpp.js

/* Script removed by snapshot save */

------=_NextPart_000_0000_3ABA21D1.F7924CC7--
