vector<Date> 
Author Message
 vector<Date>

Hi,

To use vector<Date>, what preparation should I take? I
included header files <vector> and <ctime> and applied:
using namespace std, but the complier still complained
about the Date type when I defined a variable of
vector<Date> type. Can anyone correct me?

I am using VC 6.0 to set up a project of Win32 Console
Application.

Thanks in advance,

Andy



Fri, 24 Dec 2004 01:56:50 GMT  
 vector<Date>

Quote:

> Hi,

> To use vector<Date>, what preparation should I take? I
> included header files <vector> and <ctime> and applied:
> using namespace std, but the complier still complained
> about the Date type when I defined a variable of
> vector<Date> type. Can anyone correct me?

There is no Date type in standard C++.

--
Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)



Fri, 24 Dec 2004 02:45:08 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. <<<<<<<Parsing help, please>>>>>>>>

2. File Format conversion, ascii freeform -->.csv <-->.wk1<-->dbf<-->?HELP

3. <<<>>>Need C code advice with functions and sorting.<<<>>>

4. <><><>HELP<><><> PCMCIA Motorola Montana 33.6

5. >>>Windows Service<<<

6. vector<vector<T>> doesn't work

7. vector<string> data loss

8. problem with vector <string>

9. vector<bool> problem with VC++ 6.0

10. Warnings for std::vector<std::string>

11. vector<string> causes LNK2005/4006 errors

12. vector <string>

 

 
Powered by phpBB® Forum Software