Solved

display subscript or superscript text to command window?

Posted on 2006-07-22
2
202 Views
Last Modified: 2011-10-03
Hello,

 I am currently working on a project for my class and want to make it above and beyond. I am working with Microsoft Visual C++.net 2003 on a windowsXP operating system. The programming that I am having to work on takes is run in the windows command.com.
 This being said, I was needing to know if there is a way to display text in a <subscript> or <superscript> position. (ie. f(x) = 5x<sub 1>+3x<sub 2>.....).


Thank you
William S. Grant
0
Comment
Question by:grantws
2 Comments
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 125 total points
Comment Utility
Command windows is not a rich text editor, So I am not sure if you would be able to display it in the desired way.
However with a rich edit text box you would be able to do it. Please refer to this link
http://msdn2.microsoft.com/en-us/library/system.windows.forms.richtextbox.selectioncharoffset.aspx
0
 

Author Comment

by:grantws
Comment Utility
I did some checking around and you are correct. Thank you for the answer.
William Sean Grant
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now