Click here to Skip to main content
15,893,487 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to convert a html to bmp? Pin
John R. Shaw11-Mar-07 23:22
John R. Shaw11-Mar-07 23:22 
AnswerRe: How to convert a html to bmp? Pin
ThatsAlok11-Mar-07 22:18
ThatsAlok11-Mar-07 22:18 
GeneralRe: How to convert a html to bmp? Pin
yeahe8312-Mar-07 23:53
yeahe8312-Mar-07 23:53 
QuestionMFC problem Pin
Ali Tavakol11-Mar-07 15:07
Ali Tavakol11-Mar-07 15:07 
AnswerRe: MFC problem Pin
Stephen Hewitt11-Mar-07 16:04
Stephen Hewitt11-Mar-07 16:04 
GeneralRe: MFC problem Pin
John R. Shaw11-Mar-07 17:20
John R. Shaw11-Mar-07 17:20 
Questionchar* p and char *p ....Difference ? Pin
Software_Specialist11-Mar-07 14:00
Software_Specialist11-Mar-07 14:00 
AnswerRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 14:10
Mike_V11-Mar-07 14:10 
You are right. Both are the same.

It is just a stylistic difference. Proponents of char* p say it emphasizes that the type of p is a pointer to a character. Proponents of char *p say it minimizes confusion with the syntax of C/C++. For example:

char* p, n, x;       // p is a char*, n and x are chars
char *p, n, x;      // same thing, but clearer

char* p, n, *x;     // what's that second * doing?  -- confusing
char *p, n, *x;     // clear that p, x, are now pointers.


If you can't tell, I prefer the "char *p" syntax.

HTH,
Mike
GeneralRe: char* p and char *p ....Difference ? Pin
Software_Specialist11-Mar-07 14:23
Software_Specialist11-Mar-07 14:23 
GeneralRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 13:44
Mike_V11-Mar-07 13:44 
GeneralRe: char* p and char *p ....Difference ? Pin
John R. Shaw11-Mar-07 15:22
John R. Shaw11-Mar-07 15:22 
GeneralRe: char* p and char *p ....Difference ? Pin
Mike_V11-Mar-07 15:26
Mike_V11-Mar-07 15:26 
GeneralRe: char* p and char *p ....Difference ? Pin
John R. Shaw11-Mar-07 16:32
John R. Shaw11-Mar-07 16:32 
GeneralRe: char* p and char *p ....Difference ? Pin
jfg211-Mar-07 15:08
jfg211-Mar-07 15:08 
GeneralRe: char* p and char *p ....Difference ? Pin
Software_Specialist12-Mar-07 3:27
Software_Specialist12-Mar-07 3:27 
GeneralRe: char* p and char *p ....Difference ? Pin
John R. Shaw11-Mar-07 16:43
John R. Shaw11-Mar-07 16:43 
GeneralRe: char* p and char *p ....Difference ? Pin
John R. Shaw12-Mar-07 4:04
John R. Shaw12-Mar-07 4:04 
AnswerRe: char* p and char *p ....Difference ? Pin
John R. Shaw11-Mar-07 16:22
John R. Shaw11-Mar-07 16:22 
GeneralRe: char* p and char *p ....Difference ? Pin
Software_Specialist12-Mar-07 3:38
Software_Specialist12-Mar-07 3:38 
Questioncannot get edit box value (QWidget ) Pin
Bilge Kaan11-Mar-07 12:34
Bilge Kaan11-Mar-07 12:34 
AnswerRe: cannot get edit box value (QWidget ) Pin
John R. Shaw11-Mar-07 17:28
John R. Shaw11-Mar-07 17:28 
QuestionBuild error LNK2001 on existing Project Pin
JAG1811-Mar-07 11:09
JAG1811-Mar-07 11:09 
AnswerRe: Build error LNK2001 on existing Project Pin
John R. Shaw11-Mar-07 17:38
John R. Shaw11-Mar-07 17:38 
Questionexport to text file Pin
Kiethnt11-Mar-07 8:41
Kiethnt11-Mar-07 8:41 
AnswerRe: export to text file Pin
John R. Shaw11-Mar-07 16:20
John R. Shaw11-Mar-07 16:20 

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.