Click here to Skip to main content
15,917,702 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStatusbar and an afxMsg question Pin
ns11-Dec-03 9:41
ns11-Dec-03 9:41 
GeneralWindows app command line args Pin
act_x11-Dec-03 8:19
act_x11-Dec-03 8:19 
GeneralRe: Windows app command line args Pin
David Crow11-Dec-03 9:00
David Crow11-Dec-03 9:00 
GeneralRe: Windows app command line args Pin
Michael Dunn11-Dec-03 9:48
sitebuilderMichael Dunn11-Dec-03 9:48 
GeneralRe: Windows app command line args Pin
act_x11-Dec-03 9:50
act_x11-Dec-03 9:50 
GeneralRe: Windows app command line args Pin
Jörgen Sigvardsson11-Dec-03 11:12
Jörgen Sigvardsson11-Dec-03 11:12 
GeneralRe: Windows app command line args Pin
braddenn11-Dec-03 12:47
braddenn11-Dec-03 12:47 
GeneralArabic characters in a console window Pin
Hosam Aly Mahmoud11-Dec-03 8:03
Hosam Aly Mahmoud11-Dec-03 8:03 
I want to create a console application (using Visual C++ 6.0) that can input and output Arabic characters. I tried the following code:
#define UNICODE
#include <tchar.h>
#include <iostream>
 
int main()
{
   TCHAR in[10];
   std::wcin >> in;
   std::wcout << in;
}


When I run the program I try to type an Arabic word, but strange characters appear (those at the 2nd half of the ASCII table). The "cout" statement does absolutely nothing.

All help would be appreciated. Thank you in advance.

Hosam Aly Mahmoud


GeneralRe: Arabic characters in a console window Pin
Jörgen Sigvardsson11-Dec-03 11:04
Jörgen Sigvardsson11-Dec-03 11:04 
Generalusing methods of .mof files Pin
Aamir Butt11-Dec-03 7:22
Aamir Butt11-Dec-03 7:22 
GeneralRe: using methods of .mof files Pin
David Crow11-Dec-03 7:28
David Crow11-Dec-03 7:28 
QuestionHow to change console background colors Pin
smore11-Dec-03 7:18
smore11-Dec-03 7:18 
AnswerRe: How to change console background colors Pin
Tim Deveaux11-Dec-03 7:34
Tim Deveaux11-Dec-03 7:34 
Generaloutput to *.xls file Pin
mitil2039048230411-Dec-03 7:13
mitil2039048230411-Dec-03 7:13 
GeneralRe: output to *.xls file Pin
David Crow11-Dec-03 7:22
David Crow11-Dec-03 7:22 
GeneralBitmaps Pin
aroraavinash11-Dec-03 7:12
aroraavinash11-Dec-03 7:12 
GeneralRe: Bitmaps Pin
Antti Keskinen11-Dec-03 7:26
Antti Keskinen11-Dec-03 7:26 
GeneralRe: Bitmaps Pin
David Crow11-Dec-03 7:27
David Crow11-Dec-03 7:27 
GeneralRe: Bitmaps Pin
aroraavinash11-Dec-03 8:54
aroraavinash11-Dec-03 8:54 
GeneralRe: Bitmaps Pin
David Crow11-Dec-03 8:59
David Crow11-Dec-03 8:59 
GeneralRe: Bitmaps Pin
aroraavinash11-Dec-03 9:32
aroraavinash11-Dec-03 9:32 
GeneralRe: Bitmaps Pin
aroraavinash11-Dec-03 9:43
aroraavinash11-Dec-03 9:43 
GeneralRe: Bitmaps Pin
David Crow11-Dec-03 10:26
David Crow11-Dec-03 10:26 
Generalfile manager Pin
thes3cr3t111-Dec-03 6:52
thes3cr3t111-Dec-03 6:52 
GeneralRe: file manager Pin
David Crow11-Dec-03 9:01
David Crow11-Dec-03 9:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.