Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan anyone please check my code? Pin
Lord Kixdemp12-Dec-05 11:04
Lord Kixdemp12-Dec-05 11:04 
AnswerRe: Can anyone please check my code? Pin
BlackDice12-Dec-05 11:18
BlackDice12-Dec-05 11:18 
AnswerRe: Can anyone please check my code? Pin
Christian Graus12-Dec-05 11:24
protectorChristian Graus12-Dec-05 11:24 
GeneralRe: Can anyone please check my code? Pin
Lord Kixdemp12-Dec-05 12:13
Lord Kixdemp12-Dec-05 12:13 
GeneralRe: Can anyone please check my code? Pin
Christian Graus12-Dec-05 12:15
protectorChristian Graus12-Dec-05 12:15 
GeneralRe: Can anyone please check my code? Pin
Lord Kixdemp12-Dec-05 13:08
Lord Kixdemp12-Dec-05 13:08 
GeneralRe: Can anyone please check my code? Pin
Christian Graus12-Dec-05 13:10
protectorChristian Graus12-Dec-05 13:10 
GeneralRe: Can anyone please check my code? Pin
Lord Kixdemp12-Dec-05 15:40
Lord Kixdemp12-Dec-05 15:40 
Here's the declaration:
std::vector<Monster> monsters;
And here's how I initialize it:
monsters.resize(f_monsters);<br />
				monsters[f_monsters-1].Location = x-sub;<br />
				monsters[f_monsters-1].VerticalLocation = x-sub / width;<br />
				monsters[f_monsters-1].SteppingChar.Attributes = c_black;<br />
				monsters[f_monsters-1].SteppingChar.Char.AsciiChar = ' ';


Am I doing something wrong? Thanks! Wink | ;-)

Lord Kixdemp
www.SulfurMidis.com
www.SulfurSoft.tk
[ftp://][http://][hotline://]tsfc.ath.cx
GeneralRe: Can anyone please check my code? Pin
Christian Graus12-Dec-05 15:43
protectorChristian Graus12-Dec-05 15:43 
GeneralRe: Can anyone please check my code? Pin
Lord Kixdemp12-Dec-05 15:57
Lord Kixdemp12-Dec-05 15:57 
GeneralRe: Can anyone please check my code? Pin
Christian Graus12-Dec-05 16:00
protectorChristian Graus12-Dec-05 16:00 
GeneralRe: Can anyone please check my code? Pin
Lord Kixdemp12-Dec-05 16:31
Lord Kixdemp12-Dec-05 16:31 
QuestionTemplate member of a template class Pin
hint_5412-Dec-05 8:49
hint_5412-Dec-05 8:49 
AnswerRe: Template member of a template class Pin
John R. Shaw12-Dec-05 20:25
John R. Shaw12-Dec-05 20:25 
QuestionRUNDLL32 w/ Long path name Pin
Tony Teveris12-Dec-05 8:16
Tony Teveris12-Dec-05 8:16 
QuestionRe: RUNDLL32 w/ Long path name Pin
David Crow12-Dec-05 9:43
David Crow12-Dec-05 9:43 
AnswerRe: RUNDLL32 w/ Long path name Pin
Tony Teveris12-Dec-05 10:00
Tony Teveris12-Dec-05 10:00 
QuestionMaking the bitmap background transparent Pin
Shay Harel12-Dec-05 8:11
Shay Harel12-Dec-05 8:11 
QuestionScroll Bars Pin
Jader8912-Dec-05 6:50
Jader8912-Dec-05 6:50 
AnswerRe: Scroll Bars Pin
dicomapi12-Dec-05 7:57
dicomapi12-Dec-05 7:57 
QuestionInterrupt a Loop Pin
ChuckInABQ12-Dec-05 6:21
ChuckInABQ12-Dec-05 6:21 
AnswerRe: Interrupt a Loop Pin
toxcct12-Dec-05 6:32
toxcct12-Dec-05 6:32 
GeneralRe: Interrupt a Loop Pin
BlackDice12-Dec-05 8:06
BlackDice12-Dec-05 8:06 
AnswerRe: Interrupt a Loop Pin
dicomapi12-Dec-05 8:05
dicomapi12-Dec-05 8:05 
AnswerRe: Interrupt a Loop Pin
ChuckInABQ12-Dec-05 9:40
ChuckInABQ12-Dec-05 9:40 

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.