MasterConsole,make,programs,program
Quick Search for:  in language:    
MasterConsole,make,programs,program
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
C/ C++ Stats

 Code: 399,639 lines
 Jobs: 651 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for C/ C++.
MatrixLAB
By Abdullah Sayed Karar on 5/29


Click here to see a screenshot of this code!A Logarithm Panel
By M.Faizan on 5/28

(Screen Shot)

Click here to see a screenshot of this code!EditPath control
By marcus gesing on 5/28

(Screen Shot)

A Control Panel Applet Framework
By Len Holgate on 5/28


Create a DLL in C++ for use in VB
By Nick Brabant on 5/27


Pointers and Arrays
By Yusuf Jakoet on 5/27


Screen Saver - Win32
By Paulo Jorente on 5/27


Namespace tutorial .
By Jared Bruni on 5/26


Click here to see a screenshot of this code!Sort Folders
By Yusuf Jakoet on 5/26

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

MasterConsole 3

Print
Email
 

Submitted on: 12/9/2001 6:28:44 PM
By: Jared Bruni  
Level: Beginner
User Rating: By 21 Users
Compatibility:C++ (general), Microsoft Visual C++

Users have accessed this article 3574 times.
 

(About the author)
 
     MasterConsole 3, make console programs for this program in C and C++.

 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
1) You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for langauges that allow it) freely and with no charge.   
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
MasterConsole 3



MasterConsole is a MasterX application that lets you code programs for it in C and C++
Built in Commands

please note case sensitivity

flush - The flush command takes 0 arguments, and clears the buffer
about - The about command takes 0 arguments, and display the about message
time - The time command takes 0 arguments, and displays the time
:) - The :) command takes 0 arguments and displays a happy message
add - The add command takes 2 arguments, adds the numbers together and displays the result
sub - The sub command takes 2 arguments, subtracts the numbers and displays the result
mul - The mul command takes 2 arguments, and multiplys the numbers togehter
div - The div command takes 2 arguments, and dividies them and displays the result
dump - The dump command takes 1 argument, and that is of the file to dump the buffer data to
settextcolor The settextcolor command takes 1 argument that being a color ( white , green , red, blue, black )
setbkcolor The setbkcolor command takes 1 argument that being a color (white, green, red, blue, black )
pause - The pause command, pauses until a key is pressed. Similar to system("pause");

lost - The lost message is displayed

echo - The echo command, causes whatever you typed to be repeated

batch - 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.

exit - The exit command takes 0 arguments, and terminates the application>





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.


#include"masterstream.h"

int mastermain(char* argument)
{
console << "hello world" << endl;
console.pause();
return(0);
}
Download

MasterConsole
comes with source code, as well as a app skeleton to write your own programs for the console (masterstream)


a MasterX Console program MXC FTP written by Lee Trager


Other 271 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this article(in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
12/9/2001 6:45:13 PM:bO
nice one again J!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/9/2001 6:51:45 PM:Jared Bruni
ps to call another application, use the following syntax call program.exe
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/9/2001 9:14:23 PM:Lee Trager
nice. ill code more stuff for MasterConsole soon.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/9/2001 9:20:38 PM:Lee Trager
MXC FTP works on this version. yay!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/11/2001 12:07:37 PM:Jared Bruni
yeah it was mostly internal updates I changed, but it still is backwards compaible with the older programs
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/11/2001 7:34:48 PM:KingZumby
dude jared, ur a fu-ck-ing maniack! i could swear ur stealing all ur ideas from God himself (even tho im athiest)... ALL 5's FROM ME BUDDY! w00t!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/11/2001 8:58:52 PM:Deslock
Cool work again Jared !! you still rock this planet =)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/12/2001 6:43:44 PM:Lee Trager
lol @ kingzumby
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | C/ C++ Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.