?
Solved

display subscript or superscript text to command window?

Posted on 2006-07-22
2
Medium Priority
?
213 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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