Solved

display subscript or superscript text to command window?

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses

738 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