Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Hello I'm having troubles doing conversions of vectors and chars :(.

Heres my vector:

vector<char> file_data;

Heres my const char :

const char file_char;

How do I convert it??.

share|improve this question
This is off topic for the site, and if you can't ask questions on SO you shouldn't ask them here. – Tetrad May 1 '12 at 21:51
but to answer your question it's &file_data[0] – Tetrad May 1 '12 at 21:51
1  
questions about programming in general should be addressed to Programming.stackexchange, or stackoverflow this sight is generally concerned with topics directly related to game development – gardian06 May 1 '12 at 21:56

closed as off topic by Tim Holt, Tetrad May 1 '12 at 21:52

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.