Advertisement
AbraaoAllysson

for para CSV

May 3rd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. for(int j=0; j<vCompany.size(); j+=4)
  2. {
  3.     for( i=0; i<4; i++)
  4.     {              
  5.         if(i%3==0 && i!=0)
  6.         std::cout<<vCompany[i+j]<<std::endl;
  7.         else
  8.         std::cout<<vCompany[i+j]<<",";
  9.     }
  10.  
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement