Advertisement
2002ASP Complete Applications #7693

MasterConsole 3

MasterConsole 3, make console programs for this program in C and C++.

AI

Ringkasan AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kode Sumber
original-source
<HTML>
<FONT COLOR="#BD0000" FACE="FIXEDSYS">
<b> MasterConsole 3 </b><br><br>
<img src="http://www.lostsidedead-software.com/con1.jpg"><img src="http://www.lostsidedead-software.com/con2.jpg"><br>
<img src="http://www.lostsidedead-software.com/con3.jpg"><img src="http://www.lostsidedead-software.com/con4.jpg"><br>
MasterConsole is a MasterX application
that lets you code programs for it in C
and C++
<br>
<b> Built in Commands </b><br><br>
<b>please note case sensitivity</b><br><br>
<u> flush </u> - The flush command takes 0 arguments, and clears the buffer<br>
<u> about </u> - The about command takes 0 arguments, and display the about message<br>
<u> time </u> - The time command takes 0 arguments, and displays the time </br>
<u> :) </u> - The :) command takes 0 arguments and displays a happy message</br>
<u> add </u> - The add command takes 2 arguments, adds the numbers together and displays the result <br>
<u> sub </u> - The sub command takes 2 arguments, subtracts the numbers and displays the result<br>
<u> mul </u> - The mul command takes 2 arguments, and multiplys the numbers togehter<br>
<u> div </u> - The div command takes 2 arguments, and dividies them and displays the result<br>
<u> dump </u> - The dump command takes 1 argument, and that is of the file to dump the buffer data to<br>
<u> settextcolor </u> The settextcolor command takes 1 argument that being a color ( white , green , red, blue, black ) <br>
<u> setbkcolor </u> The setbkcolor command takes 1 argument that being a color (white, green, red, blue, black )<br>
<u> pause </u> - The pause command, pauses until a key is pressed. Similar to system("pause"); <br><br>
<u> lost </u> - The lost message is displayed <br><br>
<u> echo </u> - The echo command, causes whatever you typed to be repeated <br><br>
<u> batch </u> - The batch commad, takes one argument that of the batch file to proccess. Simply make a text file, and on each line put one command, and it will batch proccess them.<br><br>
<u> exit </u> - The exit command takes 0 arguments, and terminates the application><br><br>
<br><br> <br><br> Well here it is, a header file called masterstream which you can use to create console applications that run under masterconsole with C++. It is fairly similar to iostream , however is different in many respects. Below is a code snipit of a simple masterstream application.<br><br><br>
#include"masterstream.h"<br>
<br>
int mastermain(char* argument)<br>{<br>
console << "hello world" << endl;<br>
console.pause();<br>return(0);<br>}<br>
<b> Download </b><br><br>
<a href="http://www.lostsidedead-software.com/ms_mc.zip"> MasterConsole </a><br>
comes with source code, as well as a app skeleton to write your own programs for the console (masterstream)<br><br><br> a MasterX Console program <a href="http://www.planetsourcecode.com/xq/ASP/txtCodeId.2351/lngWId.3/qx/vb/scripts/ShowCode.htm">MXC FTP </a>written by Lee Trager<br><br>
</FONT>
</HTML>
Komentar Asli (3)
Dipulihkan dari Wayback Machine