Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

display subscript or superscript text to command window?

Posted on 2006-07-22
2
Medium Priority
?
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
lakshman_ce earned 500 total points
ID: 17167716
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
ID: 17170992
I did some checking around and you are correct. Thank you for the answer.
William Sean Grant
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

636 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