<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-576072117325558717</id><updated>2024-02-19T20:00:58.807-08:00</updated><title type='text'>Turbo C++</title><subtitle type='html'>Siempre he querido realizar un blog cuyo contenido este relacionado con los pequeños programas de juegos y proyectos que hace algun tiempo(Mucho tiempo ) realice en Turbo C++. Espero que les sea de ayuda.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://programaturboc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://programaturboc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Víctor Endara Manosalvas</name><uri>http://www.blogger.com/profile/01699300124746387828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HStwI-psg6L32Vs5jSj8H_JxyJypSFfbhuH-Bl39uqhMllO5qSq2C8Pfh3bNYuS9sJFvd7QyPK8ZWkiYG3ahONTlaGc40zrKdcaEoO2Ywmj58agVGRemaqbGi1dkG02eGbG2S_5VLs2rav9Ln4U6ntTT0udF2hM6AXK1cFeGpNGh6nw/s220/foto_vendara.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-576072117325558717.post-8185645781551067143</id><published>2011-10-14T09:38:00.001-07:00</published><updated>2011-10-14T10:04:39.131-07:00</updated><title type='text'>Desarrolla con gráficos (GRAPHICS.H), juego buscaminas y buscabarcos</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Saludos,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Para crear programas de mejor aspecto en C++, podemos ayudarnos de la función initgraph(&amp;amp;gdriver, &amp;amp;gmode, &quot;..\\bgi&quot;) que lo que hace es cargar las funciones gráficas del sistema.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Al inicializar con la función &lt;strong&gt;initgraph &lt;/strong&gt;ya podemos hacer uso de las funciones asociadas a la librería &lt;strong&gt;GRAPHICS.H &lt;/strong&gt;y realizar nuestros programas con mejor aspecto.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 89px;&quot;&gt;&lt;col style=&quot;width: 345px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr style=&quot;height: 20px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: 0.5pt solid; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;&lt;strong&gt;Argument &lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: 0.5pt solid; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;&lt;strong&gt;What It Is/Does&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 76px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;*graphdriver&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;Integer that specifies the graphics driver to be used.&lt;br /&gt;You can give graphdriver a value using a constant of the graphics_drivers enumeration type.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 152px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;*graphmode &lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;Integer that specifies the initial graphics mode (unless *graphdriver = DETECT).&lt;br /&gt;If *graphdriver = DETECT, initgraph sets *graphmode to the highest resolution available for the detected driver.&lt;br /&gt;You can give *graphmode a value using a constant of the graphics_modes enumeration type.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 152px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;pathtodriver&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial;&quot;&gt;Specifies the directory path where initgraph looks for graphics drivers (*.BGI) first.&lt;br /&gt;■ If they&#39;re not there, initgraph looks in the current directory.&lt;br /&gt;■ If pathtodriver is null, the driver files must be in the current directory.&lt;br /&gt;This is also the path settextstyle searches for the stroked character font files (*.CHR).&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;A continuación un ejemplo de uso de las funciones gráficas con las funciones de la librería GRAPHICS.H que nos ayudaran a realizar recuadros, círculos y presentar en pantalla letras con estilos.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; style=&quot;background: #d6e3bc; border-collapse: collapse;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 599px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: black 0.5pt solid; border-left: black 0.5pt solid; border-right: black 0.5pt solid; border-top: black 0.5pt solid; padding-left: 7px; padding-right: 7px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Courier New; font-size: 10pt;&quot;&gt;/*&lt;br /&gt;PROGRAMA: GRAFICO&lt;br /&gt;AUTOR: Victor Endara&lt;br /&gt;OBJETIVO: Realizar una demostracion del uso de las&lt;br /&gt;funciones graficas&lt;br /&gt;*/&lt;br /&gt;#include&amp;lt;graphics.h&amp;gt;&lt;br /&gt;#include&amp;lt;conio.h&amp;gt;&lt;br /&gt;#include&amp;lt;stdio.h&amp;gt;&lt;br /&gt;&lt;br /&gt;void main (void)&lt;br /&gt;{&lt;br /&gt;int gdriver = DETECT, gmode, errorcode;&lt;br /&gt;//Lo primoro que hay que hacer es inicializar &lt;br /&gt;//los graficos&lt;br /&gt;initgraph(&amp;amp;gdriver, &amp;amp;gmode, &quot;..\\bgi&quot;);&lt;br /&gt;setpalette (0,4);&lt;br /&gt;&lt;br /&gt;settextstyle(4,0,8);&lt;br /&gt;outtextxy(1,1,&quot;V&quot;);&lt;br /&gt;outtextxy(3,60,&quot;¡&quot;);&lt;br /&gt;outtextxy(3,120,&quot;c&quot;);&lt;br /&gt;outtextxy(3,190,&quot;t&quot;);&lt;br /&gt;outtextxy(3,240,&quot;o&quot;);&lt;br /&gt;outtextxy(3,300,&quot;r&quot;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;settextstyle(10,0,9);&lt;br /&gt;outtextxy(580,1,&quot;B&quot;);&lt;br /&gt;outtextxy(580,60,&quot;a&quot;);&lt;br /&gt;outtextxy(580,120,&quot;n&quot;);&lt;br /&gt;outtextxy(580,180,&quot;g&quot;);&lt;br /&gt;outtextxy(580,240,&quot;u&quot;);&lt;br /&gt;outtextxy(570,320,&quot;e&quot;);&lt;br /&gt;outtextxy(570,380,&quot;r&quot;);&lt;br /&gt;outtextxy(570,440,&quot;a&quot;);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;setcolor(14);&lt;br /&gt;setlinestyle(0,1,3);&lt;br /&gt;setfillstyle(10,9);&lt;br /&gt;bar3d(50,50,520,350,50,1);&lt;br /&gt;&lt;br /&gt;circle(120,31,15);&lt;br /&gt;circle(200,31,15);&lt;br /&gt;circle(280,31,15);&lt;br /&gt;circle(360,31,15);&lt;br /&gt;circle(440,31,15);&lt;br /&gt;circle(510,31,15);&lt;br /&gt;circle(545,70,20);&lt;br /&gt;circle(545,100,20);&lt;br /&gt;circle(545,130,20);&lt;br /&gt;circle(545,160,20);&lt;br /&gt;circle(545,190,20);&lt;br /&gt;circle(545,220,20);&lt;br /&gt;circle(545,250,20);&lt;br /&gt;circle(545,280,20);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;settextstyle(4,0,7);&lt;br /&gt;setcolor(13);&lt;br /&gt;outtextxy(80,60,&quot;Programa para&quot;);&lt;br /&gt;outtextxy(180,120,&quot;ejecutar&quot;);&lt;br /&gt;outtextxy(110,180,&quot;las funciones&quot;);&lt;br /&gt;outtextxy(70,240,&quot;de modo grafico&quot;);&lt;br /&gt;&lt;br /&gt;setcolor(13);&lt;br /&gt;settextstyle(4,0,5);&lt;br /&gt;outtextxy(53,380,&quot;Presione enter para continuar&quot;);&lt;br /&gt;&lt;br /&gt;setcolor(14);&lt;br /&gt;setlinestyle(2,1,3);&lt;br /&gt;rectangle(50,380,570,450);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//bar(50,450,570,370);&lt;br /&gt;&lt;br /&gt;getch();&lt;br /&gt;&lt;br /&gt;cleardevice( );&lt;br /&gt;closegraph ();&lt;br /&gt;}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Aquí les dejos links del fuente y exe de programas Buscaminas y Buscabarcos&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-JCyupd3V6mUUAGdOTtNv_d34nugJ6y2mtMMSwceR9l-n6s45MeNLxQVOnjg-zxs6JzVdjEO9djeRaWP-sxFO_FFVJGEW-l4g4SWoSfwDOvxOlMiejA8dmJviZ96CzpG_YTvvie5RH0h/s1600/PIC_0462.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-JCyupd3V6mUUAGdOTtNv_d34nugJ6y2mtMMSwceR9l-n6s45MeNLxQVOnjg-zxs6JzVdjEO9djeRaWP-sxFO_FFVJGEW-l4g4SWoSfwDOvxOlMiejA8dmJviZ96CzpG_YTvvie5RH0h/s320/PIC_0462.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;Fuente&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/leaf?id=0B_qsvRk_1kpaMmI3MTc5YTEtYzYyOC00MjUxLThiNDQtYmQ3ZWYzMWE4Njk3&amp;amp;hl=es&quot;&gt;Buscaminas&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/leaf?id=0B_qsvRk_1kpaNWI2ZmE2N2EtNzkwMi00ZGI0LWEyMDctZmE2ZGUwM2IxZTlk&amp;amp;hl=es&quot;&gt;Buscabarcos&lt;/a&gt;&amp;nbsp;y &lt;a href=&quot;https://docs.google.com/leaf?id=0B_qsvRk_1kpaMjcxZWEyNjEtZTYyYS00NWY3LWE5YTQtZGI4Y2MwNTU0OGFk&amp;amp;hl=es&quot;&gt;FUNCION.H&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;strong&gt;Ejecutables&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaNjhlYTcxZjUtY2Q3YS00ZTQzLWIxMDUtNjdjYTIyOGIwMDJm&amp;amp;hl=es&quot;&gt;Buscaminas&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaMTJlYzA1OGQtNDQ3Ni00ZDhlLWJiYzItNGMwZjQ0OWU0YzNi&amp;amp;hl=es&quot;&gt;Buscabarcos&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaturboc.blogspot.com/feeds/8185645781551067143/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaturboc.blogspot.com/2011/10/desarrolla-con-graficos-graphicsh-juego.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/8185645781551067143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/8185645781551067143'/><link rel='alternate' type='text/html' href='http://programaturboc.blogspot.com/2011/10/desarrolla-con-graficos-graphicsh-juego.html' title='Desarrolla con gráficos (GRAPHICS.H), juego buscaminas y buscabarcos'/><author><name>Víctor Endara Manosalvas</name><uri>http://www.blogger.com/profile/01699300124746387828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HStwI-psg6L32Vs5jSj8H_JxyJypSFfbhuH-Bl39uqhMllO5qSq2C8Pfh3bNYuS9sJFvd7QyPK8ZWkiYG3ahONTlaGc40zrKdcaEoO2Ywmj58agVGRemaqbGi1dkG02eGbG2S_5VLs2rav9Ln4U6ntTT0udF2hM6AXK1cFeGpNGh6nw/s220/foto_vendara.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW-JCyupd3V6mUUAGdOTtNv_d34nugJ6y2mtMMSwceR9l-n6s45MeNLxQVOnjg-zxs6JzVdjEO9djeRaWP-sxFO_FFVJGEW-l4g4SWoSfwDOvxOlMiejA8dmJviZ96CzpG_YTvvie5RH0h/s72-c/PIC_0462.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-576072117325558717.post-7254644324954763654</id><published>2011-10-13T20:44:00.000-07:00</published><updated>2011-10-13T20:44:25.275-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Saludos,&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Aqui les dejo a disposición el programa Turbo C++ para que los descarguen.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaMmQwMmI0MDAtMTBmOS00NTk3LWIzYTgtMjM4OGMxMGNhN2Nj&amp;amp;hl=es&quot;&gt;Link de descarga.&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOc2O0dpZVBMdDDGSEv7qCjHFIxWWSb6e_OUDZMLwo4zqPy3g-NQENKzH3Qo8xmd9etse9lu0KRewxgni-o1p5RL3fIn1jLjHuOLtPX-fW_SCBqha1gftJm_qySn3P4ZmVne38SJ6sQESW/s1600/TC.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOc2O0dpZVBMdDDGSEv7qCjHFIxWWSb6e_OUDZMLwo4zqPy3g-NQENKzH3Qo8xmd9etse9lu0KRewxgni-o1p5RL3fIn1jLjHuOLtPX-fW_SCBqha1gftJm_qySn3P4ZmVne38SJ6sQESW/s400/TC.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Solo deben descromprimir el archivo adjunto en alguna unidad de su pc.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Para ejecutar vayan a la ruta donde los descomprimieron en mi caso en la unidad D:\TC\BIN\TC.EXE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Para que no tengan problemas al momento de ejecutar los programas por favor verificar la configuración de los directorios correspondan a la unidad en donde lo descomprimieron.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1F_R7FDsiSq7YbtY5A71jyqmtVF1R8Xsa70bQPZtx3t9fIGKjqVGee5QSqVczhJNhmR4AOcbpc8kepKxvgePyCDFkKyDFZe4yLrein2eSlGolXxIv9igNN9ptJg1vEYE5_Omj6-_0eoZK/s1600/TC_CONF.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;202&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1F_R7FDsiSq7YbtY5A71jyqmtVF1R8Xsa70bQPZtx3t9fIGKjqVGee5QSqVczhJNhmR4AOcbpc8kepKxvgePyCDFkKyDFZe4yLrein2eSlGolXxIv9igNN9ptJg1vEYE5_Omj6-_0eoZK/s400/TC_CONF.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9wyr7mL9h2HGPbmK7frtp5aDpdh-tXjkLovQf0BwGHoADD9_TjtNuoFRWlOR-v-mrK2ijyBs6vsJG4rkKxYday6uOMWt_FLthkdncyV3hTGdJP0PQmedVnjXwJurCT5FH1VJO5gxsG4ck/s1600/TC_DIRECTORIO.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9wyr7mL9h2HGPbmK7frtp5aDpdh-tXjkLovQf0BwGHoADD9_TjtNuoFRWlOR-v-mrK2ijyBs6vsJG4rkKxYday6uOMWt_FLthkdncyV3hTGdJP0PQmedVnjXwJurCT5FH1VJO5gxsG4ck/s400/TC_DIRECTORIO.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaturboc.blogspot.com/feeds/7254644324954763654/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaturboc.blogspot.com/2011/10/saludos-aqui-les-dejo-disposicion-el.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/7254644324954763654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/7254644324954763654'/><link rel='alternate' type='text/html' href='http://programaturboc.blogspot.com/2011/10/saludos-aqui-les-dejo-disposicion-el.html' title=''/><author><name>Víctor Endara Manosalvas</name><uri>http://www.blogger.com/profile/01699300124746387828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HStwI-psg6L32Vs5jSj8H_JxyJypSFfbhuH-Bl39uqhMllO5qSq2C8Pfh3bNYuS9sJFvd7QyPK8ZWkiYG3ahONTlaGc40zrKdcaEoO2Ywmj58agVGRemaqbGi1dkG02eGbG2S_5VLs2rav9Ln4U6ntTT0udF2hM6AXK1cFeGpNGh6nw/s220/foto_vendara.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOc2O0dpZVBMdDDGSEv7qCjHFIxWWSb6e_OUDZMLwo4zqPy3g-NQENKzH3Qo8xmd9etse9lu0KRewxgni-o1p5RL3fIn1jLjHuOLtPX-fW_SCBqha1gftJm_qySn3P4ZmVne38SJ6sQESW/s72-c/TC.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-576072117325558717.post-2777726738876096771</id><published>2011-10-13T18:01:00.001-07:00</published><updated>2011-10-13T20:12:02.129-07:00</updated><title type='text'>Métodos Numéricos</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaNDc4ZmIwZDItY2M1Yy00MDE1LTkzNDAtMzkzZDU3MWRlNmQ5&amp;amp;hl=es&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Saludos,&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;A continuación un programa realizado en Turbo C++ para la resolución de ecuaciones no lineales con una sola incógnita, esta resoluciones se la hace por métodos matemáticos iterativos que dan un valor aproximado de la solución a la ecuación.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Los métodos iterativos aplicados para la resolución de las ecuaciones son:&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Punto Fijo&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Newton Rapson&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Bisección&lt;/span&gt;&lt;/li&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Lin Baistom&lt;/span&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPKp344EjonGCRJeYjLxb4aXcijcG2MJ7a3QQKrD81PMvk082ZX_px5wYgzylBqITu3PyTbWfDuTBdmIbOqmerg0t9O88STgOAjWza0OObfXflLOaciSek4psoOO6smZyViwgD-ohQxoLL/s1600/METODOS_NUMERICOS.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;154&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPKp344EjonGCRJeYjLxb4aXcijcG2MJ7a3QQKrD81PMvk082ZX_px5wYgzylBqITu3PyTbWfDuTBdmIbOqmerg0t9O88STgOAjWza0OObfXflLOaciSek4psoOO6smZyViwgD-ohQxoLL/s320/METODOS_NUMERICOS.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Adicionalmente el programa permite la evaluación de los polinomios previamente configurados o de uno nuevo ingresado por el usuario, así mismo permite graficar el polinomio señalando en la gráfica cual es la solución de la ecuación (La solución de la ecuación es la intersección de la gráfica con el eje X).&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Punto Fijo&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Esta es la resolución de la ecuación por el método de punto fijo&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhU4z8QX0Ze84VG9p5AQ-9K5UejCoy2UC1jiGc-LlEOcELjf1LQXXcd_Umqlr5xgj-URCYyxYfftAtJH0E4qgNSDL4dBBu94UO9LSxPJssZedyvgqaX7E5bnZjV7TzEFIquGZRuM99yiBa/s1600/METODOS_PF.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;157&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhU4z8QX0Ze84VG9p5AQ-9K5UejCoy2UC1jiGc-LlEOcELjf1LQXXcd_Umqlr5xgj-URCYyxYfftAtJH0E4qgNSDL4dBBu94UO9LSxPJssZedyvgqaX7E5bnZjV7TzEFIquGZRuM99yiBa/s320/METODOS_PF.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Donde i es el número de iteración Xi el valor que se le da inicialmente a Xi, Fx el valor siguiente recomendado para ajusta Xi y fx es el resultado de la función que lo ideal es que este los mas aproximado a cero en este caso manejamos una cota de error de 0.001&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;En el caso de que el valor no se aproxime a un resultado satisfactorio, pueden cambiar el valor inicial en la configuración que aparece en el menú principal. Esto para que la evaluación arranque desde un valor que nos dé el valor más aproximado.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Newton Rapson&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Si el valor resultado no se acerca a la solución, pueden cambiarlo en las configuraciones.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYMKio-Ocpj6eGAT8Gitce1TZ8Ve-DJZ_CHlzEsNvE2w7ZjfWq8vveCumj2OHjD4iL6kRTCaWN3fBqjHUmHgsUnNMYt9fZcnXjLpS_LEkTnlhOdQwWIiadwOQAAvWkPZwsqycz81_JofQT/s1600/METODOS_NR.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;159&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYMKio-Ocpj6eGAT8Gitce1TZ8Ve-DJZ_CHlzEsNvE2w7ZjfWq8vveCumj2OHjD4iL6kRTCaWN3fBqjHUmHgsUnNMYt9fZcnXjLpS_LEkTnlhOdQwWIiadwOQAAvWkPZwsqycz81_JofQT/s320/METODOS_NR.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Bisección&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0JrxVJDieXW-tEm_PPsMdIJcuv_-PuPVDWkp52HBAdoXpEY6x0tkMqTLqaHZzcBIicvqRd6nYfT4PbmPmlUm-j9wadP3dIu-2N_5bh0dxnUNCRS6uN8x6D8lRv2jeo6z9uVDVv31lZc1Y/s1600/METODOS_BI.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0JrxVJDieXW-tEm_PPsMdIJcuv_-PuPVDWkp52HBAdoXpEY6x0tkMqTLqaHZzcBIicvqRd6nYfT4PbmPmlUm-j9wadP3dIu-2N_5bh0dxnUNCRS6uN8x6D8lRv2jeo6z9uVDVv31lZc1Y/s320/METODOS_BI.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Lin Baiston&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUs_VMHtl2flneDB9ntxD4YBIqaBR-sA6QY0euHcwuQVIzfnhE4039qGCsEytGxfgkHdpG_cSz97WWka7JywGmv5AqX2AmJlCJ4WtvyJoTyW5ssGpsXH7CEr_aazrwainxC_KT_kMxn3Wh/s1600/METODOS_LB.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUs_VMHtl2flneDB9ntxD4YBIqaBR-sA6QY0euHcwuQVIzfnhE4039qGCsEytGxfgkHdpG_cSz97WWka7JywGmv5AqX2AmJlCJ4WtvyJoTyW5ssGpsXH7CEr_aazrwainxC_KT_kMxn3Wh/s320/METODOS_LB.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Graficar&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-TYWmPFe8JJ1oC3sqVrphOc7bMr9iFFBMpJWVdYpzvd2eZeONmMWXlBWSGhggUhBgFTyUO_N4jT-oqQ0X44Bc1byr1wHjT1zI6WUcbJZ-urRbDnEJeJw2buUaMNrxAzB5SbCbuz_wMl61/s1600/IMGA0414.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-TYWmPFe8JJ1oC3sqVrphOc7bMr9iFFBMpJWVdYpzvd2eZeONmMWXlBWSGhggUhBgFTyUO_N4jT-oqQ0X44Bc1byr1wHjT1zI6WUcbJZ-urRbDnEJeJw2buUaMNrxAzB5SbCbuz_wMl61/s320/IMGA0414.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Espero les sirva de ayuda el programa, dejo el link de descarga del código y exe. Dentro del código fuente encontraran tres archivos PROY_MET.CPP (Programa principal), POLINOM.H (Clase objeto metodos que permite evaluar por los distintos metodos al polinomio) y FUNC_R.H (Funciónes varias)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaODQyZmVlMWUtMDY0NC00ZDM5LWI3ZTYtYmIzYTU5ZmY3ZDFi&amp;amp;hl=es&quot;&gt;Código Fuente&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaNDc4ZmIwZDItY2M1Yy00MDE1LTkzNDAtMzkzZDU3MWRlNmQ5&amp;amp;hl=es&quot;&gt;Ejecutable&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaturboc.blogspot.com/feeds/2777726738876096771/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaturboc.blogspot.com/2011/10/metodos-numericos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/2777726738876096771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/2777726738876096771'/><link rel='alternate' type='text/html' href='http://programaturboc.blogspot.com/2011/10/metodos-numericos.html' title='Métodos Numéricos'/><author><name>Víctor Endara Manosalvas</name><uri>http://www.blogger.com/profile/01699300124746387828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HStwI-psg6L32Vs5jSj8H_JxyJypSFfbhuH-Bl39uqhMllO5qSq2C8Pfh3bNYuS9sJFvd7QyPK8ZWkiYG3ahONTlaGc40zrKdcaEoO2Ywmj58agVGRemaqbGi1dkG02eGbG2S_5VLs2rav9Ln4U6ntTT0udF2hM6AXK1cFeGpNGh6nw/s220/foto_vendara.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPKp344EjonGCRJeYjLxb4aXcijcG2MJ7a3QQKrD81PMvk082ZX_px5wYgzylBqITu3PyTbWfDuTBdmIbOqmerg0t9O88STgOAjWza0OObfXflLOaciSek4psoOO6smZyViwgD-ohQxoLL/s72-c/METODOS_NUMERICOS.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-576072117325558717.post-1604309440516714690</id><published>2011-10-13T15:54:00.001-07:00</published><updated>2011-10-13T16:20:38.666-07:00</updated><title type='text'>Juego de PINPON en Turbo C++</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span xmlns=&quot;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Saludos,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Unos de mis pasatiempos del cole y universidad era programar, no sabia para que pero por lo menos me entretenía. Un día quería realizar un programa diferente por lo que decide realizar el juego de PINPON en Turbo C++.&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Mi incógnita para realizar el juego era como hacerlo (Pero eso lo que lo hace emocionante)?, como podía realizar que un programa secuencial que procesa línea a línea(esperando una entrada por teclado)&amp;nbsp;que no espere a esa entrada por teclado para que se siga&amp;nbsp;con su ejecución?&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Para solución a este problema está la función &lt;strong&gt;kbhit() &lt;/strong&gt;de la librería &lt;strong&gt;conio.h&lt;/strong&gt;. Esta función lo que hace es si existe una entrada por teclado retorna un valor diferente de cero y si no se ingresa nada por teclado retorna.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Kbhit()&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Retorna un valor entero diferente de cero si existe una entrada por teclado.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Retorna cero si no se registra una entrada por teclado.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;El kbhit por sí solo no va a funcionar como queremos, que podemos hacer con dos valores que retorna el &lt;strong&gt;kbhit()&lt;/strong&gt;? Para eso nos ayudaremos de la función &lt;strong&gt;getch()&lt;/strong&gt; ya que esta captura el código de tecla ingresada (No solo sirve para hacer una pausa). Entonces combinando estas dos funciones podremos realizar el juego, pero antes veamos un pequeño ejemplo.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; style=&quot;background: #d6e3bc; border-collapse: collapse;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 599px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr&gt;&lt;td style=&quot;border-bottom: black 0.5pt solid; border-left: black 0.5pt solid; border-right: black 0.5pt solid; border-top: black 0.5pt solid; padding-left: 7px; padding-right: 7px;&quot;&gt;&lt;span style=&quot;color: black; font-family: Courier New;&quot;&gt;/*&lt;br /&gt;Desarrollado por: Victor Endara Manosalvas&lt;br /&gt;Objetivo : Realizar una demostración con el&lt;br /&gt;la funcion kbhit de Turbo C++. Se mostraran &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: Courier New;&quot;&gt;Las los codigos de teclas digitadas, para salir presionar ESC&lt;br /&gt;*/&lt;br /&gt;#include &amp;lt;conio.h&amp;gt;&lt;br /&gt;#include &amp;lt;process.h&amp;gt;&lt;br /&gt;void main(void)&lt;br /&gt;{&lt;br /&gt;//Limpiamos la pantalla&lt;br /&gt;clrscr();&lt;br /&gt;while (1)&lt;br /&gt;{&lt;br /&gt;int x;&lt;br /&gt;//Si existe una entrada por teclado entonces entra&lt;br /&gt;if(kbhit()!=0)&lt;br /&gt;{&lt;br /&gt;//Esto captura el codigo de tecla presionado&lt;br /&gt;x=getch(); &lt;br /&gt;//Se saldra de la ejecucion si presiono la tecla&lt;br /&gt;//ESC cuyo código es 27&lt;br /&gt;if(x==27)&lt;br /&gt;exit(1);&lt;br /&gt;if(x!=0)&lt;br /&gt;cprintf(&quot;Codigo de tecla %i \r\n&quot;,x);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Dejo los link de descarga de la fuente y exe del programa PINPON.&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/leaf?id=0B_qsvRk_1kpaYjMxMzA0ZTMtMGRjZS00ZjM1LWE5MTEtZjFmYWVjZDY0MmVi&amp;amp;hl=es&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;PINPON.CPP&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;/span&gt;&lt;a href=&quot;https://docs.google.com/viewer?a=v&amp;amp;pid=explorer&amp;amp;chrome=true&amp;amp;srcid=0B_qsvRk_1kpaZjdjMmIxOGMtYWM0My00NmI4LWEyZTUtNDhhMDdkZjRlZDdk&amp;amp;hl=es&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;PINPON.EXE&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;El juego consite en que no debes dejar que la pelotita toque la pared izquierda, para ello te apollaras de la paleta utilizando las teclas direccionales arriba y abajo.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Cada 10 puntos acumulados la velocidad aumentará y la mesa de juego se achicará. Para salir del juego solo presiona ESC&lt;/span&gt;﻿ &lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_X1UBpvU-FZSaRF_cxP30nuX7KDcOoNp-qgyBHEPOdS6ZnpyZoCQFfTRqy40XbmLNK4bn6egZxcIxShOAeoy-2afrFYzMd7jLiv9I4HUlRDnXQzfhkxxIusS8lrO8McDcK1I3_llY0XP/s1600/PINPON_INTRO.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_X1UBpvU-FZSaRF_cxP30nuX7KDcOoNp-qgyBHEPOdS6ZnpyZoCQFfTRqy40XbmLNK4bn6egZxcIxShOAeoy-2afrFYzMd7jLiv9I4HUlRDnXQzfhkxxIusS8lrO8McDcK1I3_llY0XP/s400/PINPON_INTRO.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Pantalla intro al juego&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZXXcWlIfvN4Ii8V-mtHE3Ir7l2UxIfj3zw27Xu2WOB6zpRYLZJVvpuqczflCsrEuxpeVCYnTS8LH43fQtMP11sMFyaZBLABSW4c1s7NgLtqJewCtQ_qBhSLy7XKumiomJE86AOYkqsQ4_/s1600/PINPON_GAME.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZXXcWlIfvN4Ii8V-mtHE3Ir7l2UxIfj3zw27Xu2WOB6zpRYLZJVvpuqczflCsrEuxpeVCYnTS8LH43fQtMP11sMFyaZBLABSW4c1s7NgLtqJewCtQ_qBhSLy7XKumiomJE86AOYkqsQ4_/s400/PINPON_GAME.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Pantalla en donde se jueja&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqImoCG21JLrHWwiFRlDFPeNF7X4NBWS4_YXfgTOn7OnuohCIwzvbta5qREkX9sj0V5FcyN0qXQZyWwDFwsLk8QusQx1wRIczXrKwUpiSJqzS4aUh2HeyaKG_vSI9qwpzvyjSrVUkfk78f/s1600/PINPON_PAUSA.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; oda=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqImoCG21JLrHWwiFRlDFPeNF7X4NBWS4_YXfgTOn7OnuohCIwzvbta5qREkX9sj0V5FcyN0qXQZyWwDFwsLk8QusQx1wRIczXrKwUpiSJqzS4aUh2HeyaKG_vSI9qwpzvyjSrVUkfk78f/s400/PINPON_PAUSA.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Pausa al juego con la tecla P y reinicia el juego con cualquier tecla&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
﻿ &lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;Los códigos de la tecla usadas son:&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;table border=&quot;0&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;width: 87px;&quot;&gt;&lt;col style=&quot;width: 64px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody valign=&quot;top&quot;&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: 0.5pt solid; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Tecla&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: 0.5pt solid; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;&lt;strong&gt;Código&lt;/strong&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;↑&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;72&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;↓&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;80&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;←&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;75&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;→&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;77&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 21px;&quot;&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: 0.5pt solid; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;ESC&lt;/span&gt;&lt;/td&gt;&lt;td style=&quot;border-bottom: 0.5pt solid; border-left: medium none; border-right: 0.5pt solid; border-top: medium none; padding-left: 5px; padding-right: 5px;&quot; valign=&quot;bottom&quot;&gt;&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;color: black; font-family: Arial; font-size: 12pt;&quot;&gt;27&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://programaturboc.blogspot.com/feeds/1604309440516714690/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://programaturboc.blogspot.com/2011/10/juego-de-pinpon-en-turbo-c.html#comment-form' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/1604309440516714690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/576072117325558717/posts/default/1604309440516714690'/><link rel='alternate' type='text/html' href='http://programaturboc.blogspot.com/2011/10/juego-de-pinpon-en-turbo-c.html' title='Juego de PINPON en Turbo C++'/><author><name>Víctor Endara Manosalvas</name><uri>http://www.blogger.com/profile/01699300124746387828</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='30' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0HStwI-psg6L32Vs5jSj8H_JxyJypSFfbhuH-Bl39uqhMllO5qSq2C8Pfh3bNYuS9sJFvd7QyPK8ZWkiYG3ahONTlaGc40zrKdcaEoO2Ywmj58agVGRemaqbGi1dkG02eGbG2S_5VLs2rav9Ln4U6ntTT0udF2hM6AXK1cFeGpNGh6nw/s220/foto_vendara.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEip_X1UBpvU-FZSaRF_cxP30nuX7KDcOoNp-qgyBHEPOdS6ZnpyZoCQFfTRqy40XbmLNK4bn6egZxcIxShOAeoy-2afrFYzMd7jLiv9I4HUlRDnXQzfhkxxIusS8lrO8McDcK1I3_llY0XP/s72-c/PINPON_INTRO.jpg" height="72" width="72"/><thr:total>1</thr:total></entry></feed>