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

C / C++ / MFC

 
GeneralRe: Object Design Question Pin
Paul M Watt7-Oct-02 20:17
mentorPaul M Watt7-Oct-02 20:17 
GeneralClistctrl and insertItem Pin
ns7-Oct-02 9:08
ns7-Oct-02 9:08 
GeneralRe: Clistctrl and insertItem Pin
Joaquín M López Muñoz7-Oct-02 10:04
Joaquín M López Muñoz7-Oct-02 10:04 
GeneralRe: Clistctrl and insertItem Pin
ns8-Oct-02 1:15
ns8-Oct-02 1:15 
GeneralQuick SDI Question Pin
Anonymous7-Oct-02 9:02
Anonymous7-Oct-02 9:02 
GeneralRe: Quick SDI Question Pin
Jörgen Sigvardsson7-Oct-02 10:02
Jörgen Sigvardsson7-Oct-02 10:02 
GeneralRe: Quick SDI Question Pin
Anonymous7-Oct-02 10:12
Anonymous7-Oct-02 10:12 
Generalc++ to c# question Pin
Duckworth7-Oct-02 8:57
Duckworth7-Oct-02 8:57 
Hi,

I am trying to convert a small piece of c++ code to c# however I am not familiar with c++.

I have a BSTR called sToChange, and an unsigned int called i
the string sToChange is "ZYX123".

in c++ when i is set to sToEncode[0] (which is 90, the char code for Z) it equals 12:

i = sToEncode[0]

//i now equals 12

in c# the same code i equals 90.

What is happening in the c++ code?

Thanks,
John


GeneralRe: c++ to c# question Pin
Jörgen Sigvardsson7-Oct-02 10:09
Jörgen Sigvardsson7-Oct-02 10:09 
GeneralSerial Ports and WaitCommEvent( ) Pin
SportyDan7-Oct-02 8:35
SportyDan7-Oct-02 8:35 
GeneralRe: Serial Ports and WaitCommEvent( ) Pin
Joaquín M López Muñoz7-Oct-02 9:56
Joaquín M López Muñoz7-Oct-02 9:56 
Questionwhat's wrong here? Pin
Kash7-Oct-02 8:29
Kash7-Oct-02 8:29 
GeneralCreating new View Pin
Goa7-Oct-02 8:27
Goa7-Oct-02 8:27 
GeneralRe: Creating new View Pin
valikac7-Oct-02 10:38
valikac7-Oct-02 10:38 
QuestionHow do I ....??? Pin
JohnnyG7-Oct-02 7:58
JohnnyG7-Oct-02 7:58 
AnswerRe: How do I ....??? Pin
Joaquín M López Muñoz7-Oct-02 10:08
Joaquín M López Muñoz7-Oct-02 10:08 
GeneralRe: How do I ....??? Pin
JohnnyG7-Oct-02 10:26
JohnnyG7-Oct-02 10:26 
GeneralRe: How do I ....??? Pin
JohnnyG8-Oct-02 17:21
JohnnyG8-Oct-02 17:21 
GeneralADO and ADOX Pin
arthivjii7-Oct-02 7:20
arthivjii7-Oct-02 7:20 
GeneralRe: ADO and ADOX Pin
Joaquín M López Muñoz7-Oct-02 9:49
Joaquín M López Muñoz7-Oct-02 9:49 
Generalneed help with shell extensions tutorial Pin
Brakanjan7-Oct-02 6:36
Brakanjan7-Oct-02 6:36 
GeneralRe: need help with shell extensions tutorial Pin
jmkhael7-Oct-02 6:45
jmkhael7-Oct-02 6:45 
GeneralRe: need help with shell extensions tutorial Pin
Brakanjan7-Oct-02 6:57
Brakanjan7-Oct-02 6:57 
QuestionHow do i format a number with digit grouping? Pin
Redeemer-dk7-Oct-02 6:17
Redeemer-dk7-Oct-02 6:17 
AnswerRe: How do i format a number with digit grouping? Pin
Chris Richardson7-Oct-02 6:44
Chris Richardson7-Oct-02 6:44 

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.