c++.windows.32-bits - Console I/O with the Win32 API
- Kenneth Roger (134/134) Oct 30 2001 Some common conio functions are attached for those of you who wonder how
- Walter (3/8) Oct 31 2001 Thank-you!
Some common conio functions are attached for those of you who wonder how WordStar could be written using the win32 API (no dos interrupts). Functions like gotoxy(), insline(), and delline() needed, but aren't in standard C. Credits are in the package. begin 666 yyconio.zip M-]\[`%[>._0=WCN554V/VS80O1?H?Q XA] +2XDW0(!- *"(4S1!LEV NTB1 MDT&1(XDP30HDM;;ZZSM#ZF,W0 \]2:3FS<>;-Z,7NK8*:S <?OS8W_WYY>[P M^7#X M[JV,VMD`L141A$?[,H*V$**P2G %^P1Z:!'.VKZY!M%IT 'Z &I+(/3(*+ . ME N$C.A]W\50)MP](JRD1Z5C6 %%( 10-N!J>B4_M398CIGM*0]G$-:7[;#A M;8,ALI8+A6:^8%=G+N[R_#C,QP9CQ$O,L7=C\/%YN1[/])2M\'!5]?4$[/H$ MA/^/I)"R73\[72<O5Z'5Q$U"7LGHS?CZ>&3CQ.V(!8^Q]ZG=U+< M89'87K, M!S'!_6>E:^=3GAL2=&Q=G^O1MED*%K[I3VAC %5BEI1+>:Z8V=64;FU$0_(E M9WW7H0<IJ$HR2TXXYIZLF3H>I8A;6#T>5\^2RO/T_>MAJ9F(^>ABRY_S1( N M?'/RF.+?<RJ+QY#FCA ,6I$R59I:$B55,J4]$4.=F?BG?&>:6F*XHMY1[L;P M.'/*Q7Y.,K/V9J[JK(U)`EA: 1>4/?>!,D_HCQ[%,5LN5H+W12_,E,^X$-ZE M(NI*&QV'.2B7\C<WMRQ+MJ 5Y\=]^.$[O2;9EJ]A?4^%XZDB]>QN;FXVH\F> M*.1TJP$^":O1P!\]$<FC=:L]MXHVHQ(-7?[6(-$4-08.-#EX8 :"Z[W$/$ET MP]RC<<FE$WVMBVHH'/^96F$;G!QXW;21PHSZJES/_YQA"7P2:OX[%,57M!9) M3;M9W<&QY8T1U\[93M/ <!!DB8X(JZ*/DN)D7_[[S9"2+,E2KL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+ '(;> T EK`5Y???J3 1IM60CT(- 7 >"Z()N X(<.60NT&F - MT$: %J ?`$6,'A.-DNXSRM\&A$G_(=!30!WX[ #Z MV VT%V ?4"?0LT"_`'H-Z!30(- PT-^!IH'F 4AWF&B_ ^UHOT'X-<*O$'H1 M?H;P4X3G$9Y%.(9P%*$+X4<(!Q$.(+0AB M"$&$)H1&A.\"D)ZMA'X$KK$= M^*&71UAY\LG]1F0/WF+CX8HEO[%I^DU&2>JI1M./,;KHC447/=D8;_RHI^D7 M&C6?9W1IB)]__\-O+3NNQ =UO^>6^7R$S7;COP16T]L]PVCJ 473[RYJ/L4_ MK^C_\_<O4$L!`A<+% ```` `J7M>*U5;JF^'`P``.P<```D`"0```````0` M`+:!`````'EY8V]N:6\N:%54!0`'SC??.U!+`0(7"Q0````(`,Q[7BL+MC % ` end
Oct 30 2001
Thank-you! "Kenneth Roger" <kennethroger prodigy.net> wrote in message news:9ro1dl$15th$1 digitaldaemon.com...Some common conio functions are attached for those of you who wonder how WordStar could be written using the win32 API (no dos interrupts). Functions like gotoxy(), insline(), and delline() needed, but aren't in standard C. Credits are in the package.
Oct 31 2001