Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello ,

i am working on project where i have to write array output to text box using win from . e.g i have data coming in an array and find the minimum value find its location and correspondingly write a character or integer to text box.

if (location == 1)
print f("letter is %d.\n", 0);
if (location == 2)
print f("letter is %d.\n", 1);

code is working with console output but i want to write to text box this print f.
in textbox like 0176
thank you

What I have tried:

working with multiple textbox but not writing to textbox
Posted
Updated 10-Feb-17 1:52am

I assume you want to use C++/CLI on Windows Forms. See Microsoft Visual C++/CLI - Windows Controls: The Text Box[^]
 
Share this answer
 
https://www.codeproject.com/Questions/148934/Writinhttps://www.codeproject.com/Questions/694309/how-to-show-output-of-value-in-texthttps://www.codeproject.com/Questions/356789/how-to-write-query-for-below-outputboxg-XML-Output
Preview
https://www.codeproject.com/Questions/148934/Writinhttps://www.codeproject.com/Questions/694309/how-to-show-output-of-value-in-texthttps://www.codeproject.com/Questions/356789/how-to-write-query-for-below-outputboxg-XML-Output

Submit your solution!
When answering a question please:
Read the question carefully.
Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
Let's work to help developers, not make them feel stupid.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Print Answers RSS

Top Experts
Last 24hrs This month
OriginalGriff 290
Richard MacCutchan 200
F-ES Sitecore 175
Peter Leow 155
ppolymorphe 145
Peter Leow 1,555
OriginalGriff 1,553
ppolymorphe 1,035
Karthik Bangalore 730
Richard MacCutchan 639
Related Questions
How output the result of this code in a textbox?
Execution of code from one textbox and display output in another textbox
Writing bangla in rich textbox in C#
Compile output to textbox
writing output to a file
Writing XML Output
 
Share this answer
 
Comments
[no name] 10-Feb-17 8:06am    
If you think this is any kind of a solution, maybe you should not be a developer and concentrate on learning the phrase, "Would you like fries with that" instead.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900