Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionObject return by value Pin
tom groezer14-Jul-07 9:30
tom groezer14-Jul-07 9:30 
AnswerRe: Object return by value Pin
DevMentor.org14-Jul-07 10:04
DevMentor.org14-Jul-07 10:04 
GeneralRe: Object return by value Pin
tom groezer14-Jul-07 13:54
tom groezer14-Jul-07 13:54 
GeneralRe: Object return by value Pin
DevMentor.org14-Jul-07 16:37
DevMentor.org14-Jul-07 16:37 
GeneralRe: Object return by value Pin
Mark Salsbery14-Jul-07 16:43
Mark Salsbery14-Jul-07 16:43 
GeneralRe: Object return by value Pin
tom groezer14-Jul-07 21:12
tom groezer14-Jul-07 21:12 
GeneralRe: Object return by value Pin
Mark Salsbery14-Jul-07 21:29
Mark Salsbery14-Jul-07 21:29 
QuestionRandom text Pin
dellthinker14-Jul-07 9:26
dellthinker14-Jul-07 9:26 
Hi all. Im trying to make something that will have a random word every time it starts up. I made a two word array and its not working like i had hoped.

<br />
#include <iostream><br />
using namespace std;<br />
<br />
char* randomlist[]={<br />
	"Test", "Testing"<br />
};<br />
<br />
<br />
<br />
int main(){<br />
	cout << "Random list is: " << randomlist << endl;<br />
	system("pause");<br />
	return 0;<br />
}<br />


With the output of:


Random list is: 00475DC0
Press any key to continue . . .


Hardly what im trying to do. Any suggestions? Thanx in advance!
AnswerRe: Random text Pin
Perspx14-Jul-07 10:59
Perspx14-Jul-07 10:59 
AnswerRe: Random text Pin
#realJSOP15-Jul-07 2:01
professional#realJSOP15-Jul-07 2:01 
Questionwrong code Pin
tom groezer14-Jul-07 7:05
tom groezer14-Jul-07 7:05 
AnswerRe: wrong code Pin
Paul Conrad14-Jul-07 7:25
professionalPaul Conrad14-Jul-07 7:25 
AnswerRe: wrong code Pin
Mark Salsbery14-Jul-07 7:27
Mark Salsbery14-Jul-07 7:27 
AnswerRe: wrong code Pin
Mark Salsbery14-Jul-07 7:32
Mark Salsbery14-Jul-07 7:32 
GeneralRe: wrong code Pin
Paul Conrad14-Jul-07 7:37
professionalPaul Conrad14-Jul-07 7:37 
AnswerRe: wrong code Pin
#realJSOP15-Jul-07 2:03
professional#realJSOP15-Jul-07 2:03 
QuestionFP Question Pin
Cmania14-Jul-07 7:02
Cmania14-Jul-07 7:02 
AnswerRe: FP Question Pin
Mike Dimmick14-Jul-07 9:22
Mike Dimmick14-Jul-07 9:22 
QuestionNull pointer Pin
tom groezer14-Jul-07 7:02
tom groezer14-Jul-07 7:02 
AnswerRe: Null pointer Pin
Mark Salsbery14-Jul-07 7:37
Mark Salsbery14-Jul-07 7:37 
AnswerRe: Null pointer Pin
c_explorer14-Jul-07 11:54
c_explorer14-Jul-07 11:54 
AnswerRe: Null pointer Pin
#realJSOP15-Jul-07 2:07
professional#realJSOP15-Jul-07 2:07 
QuestionClosing several ui threads together. Pin
neha.agarwal2714-Jul-07 1:50
neha.agarwal2714-Jul-07 1:50 
AnswerRe: Closing several ui threads together. Pin
saravananr_mca15-Jul-07 19:10
saravananr_mca15-Jul-07 19:10 
QuestionHow to disable entire menu bar. Pin
shivditya14-Jul-07 1:21
shivditya14-Jul-07 1:21 

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.