Click here to Skip to main content
15,889,651 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How To Dynamically Create and Display CListView object Pin
David Crow30-Jun-09 10:49
David Crow30-Jun-09 10:49 
AnswerRe: How To Dynamically Create and Display CListView object Pin
CodeMacDaddy8-Jul-09 3:33
CodeMacDaddy8-Jul-09 3:33 
QuestionQuestion! Pin
Razanust30-Jun-09 8:42
Razanust30-Jun-09 8:42 
AnswerRe: Question! [modified] Pin
Nuri Ismail30-Jun-09 9:01
Nuri Ismail30-Jun-09 9:01 
AnswerRe: Question! Pin
thebeekeeper30-Jun-09 9:05
thebeekeeper30-Jun-09 9:05 
GeneralRe: Question! Pin
Luc Pattyn30-Jun-09 10:38
sitebuilderLuc Pattyn30-Jun-09 10:38 
GeneralRe: Question! Pin
thebeekeeper30-Jun-09 10:52
thebeekeeper30-Jun-09 10:52 
AnswerRe: Question! Pin
Stuart Dootson30-Jun-09 9:48
professionalStuart Dootson30-Jun-09 9:48 
OK - that's not how sizeof works - it tells you the size of a type, either via the typename ('sizeof (char)') or a compile-time static expression ('sizeof (3 * 4.0)'). The WIkipedia entry[^] is quite accurate.

I presume you know you can use n to tell you how many characters have been entered...

Razanust wrote:
printf("\n\nWant to delete the array?");
dec=getche();
if (dec=='y')
{
for (i=0;i<99;i++)
ch[i]=0;
}


Can I suggest you read up how strings (specifically null terminated strings) and arrays work in C?

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

AnswerRe: Question! Pin
David Crow30-Jun-09 10:45
David Crow30-Jun-09 10:45 
Questionhow to use inpout32.dll in vc++208 clr project Pin
PIYUSH196630-Jun-09 8:11
PIYUSH196630-Jun-09 8:11 
AnswerRe: how to use inpout32.dll in vc++208 clr project Pin
Sarath C30-Jun-09 9:43
Sarath C30-Jun-09 9:43 
QuestionCreate a C++ dll to be called from JAVA and PHP Pin
Galo Vinueza S.30-Jun-09 7:37
Galo Vinueza S.30-Jun-09 7:37 
AnswerRe: Create a C++ dll to be called from JAVA and PHP Pin
Stuart Dootson30-Jun-09 9:43
professionalStuart Dootson30-Jun-09 9:43 
QuestionVS and Qt linking differences Pin
thebeekeeper30-Jun-09 7:16
thebeekeeper30-Jun-09 7:16 
AnswerRe: VS and Qt linking differences Pin
Stuart Dootson30-Jun-09 9:29
professionalStuart Dootson30-Jun-09 9:29 
QuestionConstructing and Accessing a RecordSet from COM in C++ Pin
BeerFizz30-Jun-09 5:14
BeerFizz30-Jun-09 5:14 
AnswerRe: Constructing and Accessing a RecordSet from COM in C++ Pin
Stuart Dootson30-Jun-09 5:44
professionalStuart Dootson30-Jun-09 5:44 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ [modified] Pin
BeerFizz30-Jun-09 6:10
BeerFizz30-Jun-09 6:10 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
Stuart Dootson30-Jun-09 7:04
professionalStuart Dootson30-Jun-09 7:04 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
BeerFizz30-Jun-09 6:13
BeerFizz30-Jun-09 6:13 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
Stuart Dootson30-Jun-09 6:59
professionalStuart Dootson30-Jun-09 6:59 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
BeerFizz30-Jun-09 10:38
BeerFizz30-Jun-09 10:38 
GeneralRe: Constructing and Accessing a RecordSet from COM in C++ Pin
Stuart Dootson30-Jun-09 11:24
professionalStuart Dootson30-Jun-09 11:24 
Questioncreating and writing data to an xml file in vc++6.0 Pin
kir_MFC30-Jun-09 3:44
kir_MFC30-Jun-09 3:44 
AnswerRe: creating and writing data to an xml file in vc++6.0 Pin
Naveen30-Jun-09 4:30
Naveen30-Jun-09 4:30 

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.