'vector' was not declared in this scope

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GCC says that in line 10 there's the error: 'vector' was not declared in this
scope. An extract of the source code is the following:

typedef struct {

float etx, pf, pr;
struct in_addr addr;	

}neigh;

std::vector<neigh>neigh_list; 	(here is line 10)

Please somebody help me!!!!
-- 
View this message in context: http://old.nabble.com/%27vector%27-was-not-declared-in-this-scope-tp31455480p31455480.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux