Member Avatar

Hi I'm coding in C++ XAML to make a windows 8 store app. Now, there are two objects in my main window: a textBox and a textBlock. What i want to do is that the user will write an equation in the textBox and the textBlock will show all the literals in that equation. The textBlock should keep updating as soon as the user changes the data, without the user pressing enter or clicking another button or something. What i'm trying to do is, the Text in the textBlock will be equal to a string that the function "return_literals" returns. …

+0 forum 0
Member Avatar

I'm making a class for boolean expressions, a simpler version of bool. I need three operators, one for AND, one for OR and one for NOT. I can easily make **+** for OR, by overloading, but how can i declare **.** for AND and **'** for NOT? Can i even do this? Thanks in advance P.S, i'm a beginner :)

Member Avatar
+0 forum 3
Member Avatar

Hi, I want to output [chess symbols](http://en.wikipedia.org/wiki/Chess_symbols_in_Unicode) from unicode to console in c++, please tell me how to do that. Im using Dev c++, windows8 and console. Im just a beginner so please keep it simple for me (also tell me the libraries to include please)

Member Avatar
+0 forum 16
Member Avatar

This code is supposed to write everything the user writes, and keep writing until the user presses ALT key. do{ //declaration string A; getline(cin,A); ofstream file; ifstream file1; //file opening file.open("C:\\Dev-Cpp\\file.txt"); file1.open("C:\\Dev-Cpp\\file.txt"); //file input file<<A; file.close(); file1.getline(B,1000); file1.close(); //file output cout<<B; } while (wParam!=VK_MENU); The problem is, it says: wParam undeclared! I want to keep checking the last key pressed, **without disturbing the input**. Anyone got any solution?

Member Avatar
+0 forum 3

The End.