codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  looping problem ... a lil help please  070190 at 12:12 on Monday, September 01, 2008
 

for (vector<T>::const_iterator i = v.begin(); i < v.begin+v.size()-1;i++)
cout << *i<<' ';
cout << *i<<")\n";


hello friends ... this loop is not working .. it gives an error on the line
for (vector<T>::const_iterator i = v.begin(); i < v.begin+v.size()-1;i++)

the error msg is "expected ; before i" ..
please help me out with this one ...
ur friend in need .... 07-190









CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Need help to modify a formula for calculating in Javascript ?
•  Re: Passing value through function then print... GONE WRONG!!
•  form/cgi help
•  looping problem ... a lil help please
•  Re: Help: Trouble with z-Index and SELECT lists
•  Re: google search results in a new window?
•  javascript: Cannot successfully pass data from popup to parent
•  javascript to open a pop up then close opener window
•  C++ Design Problem


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2008