1 2 3 4 5 6 7 8 9 10 11
| faisceau.h: In member function void faisceau::initialise(long long int):
faisceau.h:19: error: aggregate photon photon_lu has incomplete type and cannot be defined
faisceau.h: In member function void faisceau::affichefaisceau(const std::vector<photon, std::allocator<photon> >&):
faisceau.h:27: error: no match for operator= in iter = ((const std::vector<photon, std::allocator<photon> >*)vector_a_afficher)->std::vector<_Tp, _Alloc>::begin [with _Tp = photon, _Alloc = std::allocator<photon>]()
/usr/include/c++/4.1.3/bits/stl_iterator.h:634: note: candidates are: __gnu_cxx::__normal_iterator<photon*, std::vector<photon, std::allocator<photon> > >& __gnu_cxx::__normal_iterator<photon*, std::vector<photon, std::allocator<photon> > >::operator=(const __gnu_cxx::__normal_iterator<photon*, std::vector<photon, std::allocator<photon> > >&)
faisceau.h:29: error: cout was not declared in this scope
main.cpp: In function int main():
main.cpp:13: error: variable std::ifstream ifs has initializer but incomplete type
faisceau.h:13: error: std::vector<photon, std::allocator<photon> > faisceau::tab_photon is private
main.cpp:19: error: within this context
main.cpp:19: error: affichefaisceau was not declared in this scope |