Click here to Skip to main content
16,016,770 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i convert CString to int? Pin
CPallini8-Jul-09 3:27
mveCPallini8-Jul-09 3:27 
GeneralRe: how can i convert CString to int? Pin
Michael Schubert7-Jul-09 21:51
Michael Schubert7-Jul-09 21:51 
JokeRe: how can i convert CString to int? Pin
CPallini7-Jul-09 22:31
mveCPallini7-Jul-09 22:31 
GeneralRe: how can i convert CString to int? Pin
Michael Schubert7-Jul-09 23:02
Michael Schubert7-Jul-09 23:02 
JokeRe: how can i convert CString to int? Pin
CPallini8-Jul-09 0:04
mveCPallini8-Jul-09 0:04 
AnswerRe: how can i convert CString to int? Pin
David Crow8-Jul-09 2:45
David Crow8-Jul-09 2:45 
QuestionHow can a referece to integer constant change value in a function? Pin
Member 39743477-Jul-09 19:30
Member 39743477-Jul-09 19:30 
AnswerRe: How can a referece to integer constant change value in a function? Pin
Naveen7-Jul-09 19:56
Naveen7-Jul-09 19:56 
Member 3974347 wrote:
If so how is the value in 'x' changed to 4


Since the variable x is a reference to the a[0], when ever you use x, keep in mind that you are actually using a[0] itself. And in the for loop, when the value of i = 0, you chnages the value of a[0] and so the x will also points to new value.

Defining the x as constant only prevents directly chaging the value of x, using the x variable itself. something like x = a[2]; will be shown as error.


AnswerRe: How can a referece to integer constant change value in a function? Pin
clayman877-Jul-09 20:20
clayman877-Jul-09 20:20 
Questionfile open dialog Pin
Member 5903107-Jul-09 18:33
Member 5903107-Jul-09 18:33 
AnswerRe: file open dialog Pin
Chandrasekharan P7-Jul-09 18:48
Chandrasekharan P7-Jul-09 18:48 
GeneralRe: file open dialog Pin
Member 5903107-Jul-09 19:00
Member 5903107-Jul-09 19:00 
QuestionString Parsing in C++ (Simple Question) Pin
ksaw1237-Jul-09 18:32
ksaw1237-Jul-09 18:32 
AnswerRe: String Parsing in C++ (Simple Question) Pin
vipin_nvk7-Jul-09 19:05
vipin_nvk7-Jul-09 19:05 
GeneralRe: String Parsing in C++ (Simple Question) Pin
ksaw1237-Jul-09 19:19
ksaw1237-Jul-09 19:19 
GeneralRe: String Parsing in C++ (Simple Question) Pin
Chandrasekharan P7-Jul-09 19:27
Chandrasekharan P7-Jul-09 19:27 
GeneralRe: String Parsing in C++ (Simple Question) Pin
N a v a n e e t h7-Jul-09 20:19
N a v a n e e t h7-Jul-09 20:19 
AnswerRe: String Parsing in C++ (Simple Question) Pin
PrafullaVedante7-Jul-09 20:25
PrafullaVedante7-Jul-09 20:25 
AnswerRe: String Parsing in C++ (Simple Question) Pin
chandu0047-Jul-09 20:26
chandu0047-Jul-09 20:26 
AnswerRe: String Parsing in C++ (Simple Question) Pin
CPallini7-Jul-09 21:17
mveCPallini7-Jul-09 21:17 
AnswerRe: String Parsing in C++ (Simple Question) Pin
Stuart Dootson7-Jul-09 21:31
professionalStuart Dootson7-Jul-09 21:31 
QuestionRe: String Parsing in C++ (Simple Question) Pin
David Crow8-Jul-09 2:51
David Crow8-Jul-09 2:51 
QuestionMaximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman877-Jul-09 12:20
clayman877-Jul-09 12:20 
QuestionRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
harold aptroot7-Jul-09 15:28
harold aptroot7-Jul-09 15:28 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? [modified] Pin
clayman877-Jul-09 15:53
clayman877-Jul-09 15:53 

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.