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

C / C++ / MFC

 
GeneralRe: MSVC STL threadsafe? Pin
peterchen23-May-02 3:07
peterchen23-May-02 3:07 
GeneralRe: MSVC STL threadsafe? Pin
Mike Nordell23-May-02 3:40
Mike Nordell23-May-02 3:40 
GeneralRe: MSVC STL threadsafe? Pin
Matt Gullett23-May-02 3:52
Matt Gullett23-May-02 3:52 
GeneralLookupAccountName Pin
Mazdak23-May-02 1:54
Mazdak23-May-02 1:54 
GeneralRe: LookupAccountName Pin
Prem Kumar23-May-02 2:02
Prem Kumar23-May-02 2:02 
GeneralRe: LookupAccountName Pin
Mazdak23-May-02 2:34
Mazdak23-May-02 2:34 
GeneralRe: LookupAccountName Pin
Prem Kumar23-May-02 2:55
Prem Kumar23-May-02 2:55 
GeneralDisplay some weird number instead of conten of the ARRAY Pin
tongc23-May-02 1:40
tongc23-May-02 1:40 
Hi all!

I have 2 dimensional array but whenever i make a loop to travers it and output the result, it display some weird number such as -858933448 ans so on

Here is my function call:

pDoc->A.getLadder(ladder);

	for(row = 0; row <4; row++)	
	{
		CString team = pDoc->A.getTeam(ladder[row][TEAM]);	//error start from here!!!!
		int played = ladder[row][PLAYED];
		int won = ladder[row][WON];
		int draw= ladder[row][DRAW];
		int lost  = ladder[row][LOST];
		int f0r  = ladder[row][FOR];	//f0r because for is reserved
		int against = ladder[row][AGN];
		int points= ladder[row][POINTS];
		CString tempString;
		
		tempString.Format("%s = %d = %d = %d = %d == %d == %d == %d",
				team, played, won, draw, lost, f0r, against, points);
		
			
		
		
		lineArray.push_back(tempString);
		tempString = " ";
	}


thanks!
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
Nish Nishant23-May-02 1:45
sitebuilderNish Nishant23-May-02 1:45 
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
tongc23-May-02 2:16
tongc23-May-02 2:16 
GeneralRe: Display some weird number instead of conten of the ARRAY Pin
Prem Kumar23-May-02 1:53
Prem Kumar23-May-02 1:53 
GeneralDirectories in CTree View Pin
Sameer Maggon23-May-02 0:53
Sameer Maggon23-May-02 0:53 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:00
sitebuilderNish Nishant23-May-02 1:00 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 1:04
Sameer Maggon23-May-02 1:04 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:13
sitebuilderNish Nishant23-May-02 1:13 
GeneralRe: Directories in CTree View Pin
Prem Kumar23-May-02 1:17
Prem Kumar23-May-02 1:17 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 1:22
Sameer Maggon23-May-02 1:22 
GeneralRe: Directories in CTree View Pin
Alexandru Savescu23-May-02 1:30
Alexandru Savescu23-May-02 1:30 
GeneralRe: Directories in CTree View Pin
Nish Nishant23-May-02 1:24
sitebuilderNish Nishant23-May-02 1:24 
GeneralRe: Directories in CTree View Pin
Prem Kumar23-May-02 1:39
Prem Kumar23-May-02 1:39 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 2:08
Sameer Maggon23-May-02 2:08 
GeneralRe: Directories in CTree View Pin
Sameer Maggon23-May-02 2:09
Sameer Maggon23-May-02 2:09 
GeneralRe: Solved Pin
Sameer Maggon23-May-02 2:03
Sameer Maggon23-May-02 2:03 
GeneralRe: Directories in CTree View Pin
Ravi Bhavnani23-May-02 3:31
professionalRavi Bhavnani23-May-02 3:31 
GeneralActiveX Please Help Pin
Sameer Maggon23-May-02 0:10
Sameer Maggon23-May-02 0:10 

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.