Click here to Skip to main content
15,916,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linking Error Pin
Nish Nishant30-May-02 19:56
sitebuilderNish Nishant30-May-02 19:56 
Questionhow to add a new toolbar to vs.net ide in the vs.net add-in? Pin
G.Richard30-May-02 15:57
G.Richard30-May-02 15:57 
AnswerRe: how to add a new toolbar to vs.net ide in the vs.net add-in? Pin
James R. Twine31-May-02 10:34
James R. Twine31-May-02 10:34 
GeneralDev Studio... Pin
Max Santos30-May-02 15:17
Max Santos30-May-02 15:17 
GeneralRe: Dev Studio... Pin
benjymous30-May-02 22:35
benjymous30-May-02 22:35 
GeneralRe: Dev Studio... Pin
Max Santos31-May-02 0:34
Max Santos31-May-02 0:34 
Generalexperimenting... "to understand pointers more" Pin
SilverShalkin30-May-02 15:20
SilverShalkin30-May-02 15:20 
GeneralRe: experimenting... "to understand pointers more" Pin
Paul M Watt30-May-02 16:02
mentorPaul M Watt30-May-02 16:02 
Two problems:

1) pchar is an array of char*, not char. So you will not be able to access the elements in the pchar array as a string. Which means that you will not be able to send that array to strcpy.

What you would actually do with an array like pchar is point to 6 different strings. Then when you wanted to use one of the strings you would access the string in the array like so:

strcpy(pchar[0], ...);

2) character is a char array, which is equivalent to one char*. Therefore you do not need to take the address of the character array, you could directly pass it into strcpy like this:

strcpy(..., character);

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: experimenting... "to understand pointers more" Pin
SilverShalkin30-May-02 16:18
SilverShalkin30-May-02 16:18 
GeneralRe: experimenting... "to understand pointers more" Pin
Roger Broomfield30-May-02 18:04
Roger Broomfield30-May-02 18:04 
GeneralRe: experimenting... "to understand pointers more" Pin
Nish Nishant30-May-02 17:56
sitebuilderNish Nishant30-May-02 17:56 
GeneralRe: experimenting... "to understand pointers more" Pin
SilverShalkin30-May-02 18:11
SilverShalkin30-May-02 18:11 
GeneralRe: experimenting... "to understand pointers more" Pin
Nish Nishant30-May-02 18:18
sitebuilderNish Nishant30-May-02 18:18 
GeneralRe: experimenting... "to understand pointers more" Pin
Matt Gullett30-May-02 19:55
Matt Gullett30-May-02 19:55 
GeneralRe: experimenting... "to understand pointers more" Pin
SilverShalkin31-May-02 11:19
SilverShalkin31-May-02 11:19 
GeneralIs it me, or does there seem to be a bubble of questions with long subjects and nothing of any merit in the actual body of the message. Pin
Tim Smith30-May-02 13:38
Tim Smith30-May-02 13:38 
Generalall fixed :) Pin
SilverShalkin30-May-02 15:39
SilverShalkin30-May-02 15:39 
GeneralRe: Is it me, or does there seem to be a bubble of questions with long subjects and nothing of any merit in the actual body of the message. Pin
Nish Nishant30-May-02 17:57
sitebuilderNish Nishant30-May-02 17:57 
Generaldevice context of picture box control Pin
Speedy30-May-02 13:10
Speedy30-May-02 13:10 
QuestionHow do i catch when the user selects an item in a listview control with the RIGHT mouse button? Pin
redeemer30-May-02 13:03
redeemer30-May-02 13:03 
AnswerRe: How do i catch when the user selects an item in a listview control with the RIGHT mouse button? Pin
Tomasz Sowinski30-May-02 13:05
Tomasz Sowinski30-May-02 13:05 
GeneralRe: How do i catch when the user selects an item in a listview control with the RIGHT mouse button? Pin
redeemer30-May-02 13:28
redeemer30-May-02 13:28 
GeneralOveriding mouse events Pin
30-May-02 11:51
suss30-May-02 11:51 
GeneralVariable issues Pin
Stew30-May-02 11:37
Stew30-May-02 11:37 
GeneralRe: Variable issues Pin
Bill Wilson30-May-02 11:43
Bill Wilson30-May-02 11:43 

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.