Solved

display subscript or superscript text to command window?

Posted on 2006-07-22
2
205 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

808 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