why is it not working? help from any geek?

Write here if you have problems with your C++ source code

Moderator: Board moderators

Post Reply
dulon
New poster
Posts: 6
Joined: Sat Jun 23, 2007 6:03 am

why is it not working? help from any geek?

Post by dulon »

hi there,
can any geek help me out? i am very new here. i was trying problem 202(this gonna my first program here). it works fine in my pc(borland c++). but OJ showing erros. what to do?

it says:: 05687323_24.c??? it was C++ program???

errors
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


05687323_24.c: In function `class string doDivision(basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >, int)':
05687323_24.c:46: no matching function for call to `vector<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >,allocator<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> > > >::at (int &)'

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

thanks
Last edited by dulon on Mon Jun 25, 2007 7:45 am, edited 1 time in total.

chunyi81
A great helper
Posts: 293
Joined: Sat Jun 21, 2003 4:19 am
Location: Singapore

Post by chunyi81 »

Use operator[]. STL vector's at() is not supported in this OJ

This question has been asked many times before. Search before you post.

dulon
New poster
Posts: 6
Joined: Sat Jun 23, 2007 6:03 am

Post by dulon »

thank you very much.

Post Reply

Return to “C++”