Skip to content

Commit c7e873d

Browse files
committedOct 17, 2011
Begining Vector Support
1 parent 5983f4f commit c7e873d

17 files changed

+5635
-89
lines changed
 

‎TrainShortPath.suo

1 KB
Binary file not shown.

‎TrainShortPath/Debug/CL.read.1.tlog

14.2 KB
Binary file not shown.

‎TrainShortPath/Debug/CL.write.1.tlog

1.87 KB
Binary file not shown.
+66-25
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,72 @@
1-
Build started 10/2/2011 7:21:45 PM.
1+
Build started 10/17/2011 10:28:12 PM.
22
1>Project "C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\TrainShortPath\TrainShortPath.vcxproj" on node 2 (build target(s)).
33
1>InitializeBuildStatus:
4-
Creating "Debug\TrainShortPath.unsuccessfulbuild" because "AlwaysCreate" was specified.
4+
Touching "Debug\TrainShortPath.unsuccessfulbuild".
55
ClCompile:
6-
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:prompt main.cpp
6+
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /ZI /nologo /W3 /WX- /Od /Oy- /D WIN32 /D _DEBUG /D _CONSOLE /D _UNICODE /D UNICODE /Gm /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\\" /Fd"Debug\vc100.pdb" /Gd /TP /analyze- /errorReport:prompt Station.cpp main.cpp
77
main.cpp
8-
ManifestResourceCompile:
9-
All outputs are up-to-date.
10-
Link:
11-
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\Debug\TrainShortPath.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"Debug\TrainShortPath.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\Debug\TrainShortPath.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\Debug\TrainShortPath.lib" /MACHINE:X86 Debug\TrainShortPath.exe.embed.manifest.res
12-
Debug\tinystr.obj
13-
Debug\tinyxml.obj
14-
Debug\tinyxmlerror.obj
15-
Debug\tinyxmlparser.obj
16-
Debug\xmltest.obj
17-
Debug\main.obj
18-
Manifest:
19-
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"Debug\TrainShortPath.exe.embed.manifest" /manifest Debug\TrainShortPath.exe.intermediate.manifest
20-
All outputs are up-to-date.
21-
LinkEmbedManifest:
22-
All outputs are up-to-date.
23-
TrainShortPath.vcxproj -> C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\Debug\TrainShortPath.exe
24-
FinalizeBuildStatus:
25-
Deleting file "Debug\TrainShortPath.unsuccessfulbuild".
26-
Touching "Debug\TrainShortPath.lastbuildstate".
27-
1>Done Building Project "C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\TrainShortPath\TrainShortPath.vcxproj" (build target(s)).
8+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(31): error C2146: syntax error : missing ';' before identifier 'Name'
9+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
10+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
11+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(32): error C2146: syntax error : missing ';' before identifier 'Line'
12+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
13+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(32): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
14+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(35): error C2061: syntax error : identifier 'string'
15+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(37): error C2065: 'Name' : undeclared identifier
16+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(37): error C2065: 'sname' : undeclared identifier
17+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(38): error C2065: 'Line' : undeclared identifier
18+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(38): error C2065: 'sline' : undeclared identifier
19+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(39): error C2065: 'dur' : undeclared identifier
20+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(46): error C2061: syntax error : identifier 'string'
21+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(48): error C2065: 'Name' : undeclared identifier
22+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(48): error C2065: 'sname' : undeclared identifier
23+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(49): error C2065: 'Line' : undeclared identifier
24+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(49): error C2065: 'sline' : undeclared identifier
25+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(50): error C2065: 'StationEdges' : undeclared identifier
26+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(50): error C2065: 'vedges' : undeclared identifier
27+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(110): error C2143: syntax error : missing ')' before '}'
28+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(110): error C2661: 'std::vector<_Ty>::push_back' : no overloaded function takes 0 arguments
29+
with
30+
[
31+
_Ty=StationEdge
32+
]
33+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(110): error C2143: syntax error : missing ';' before '}'
34+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(126): error C2065: 'station_names' : undeclared identifier
35+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(126): error C2109: subscript requires array or pointer type
36+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(126): error C2065: 'station_line' : undeclared identifier
37+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(126): error C2109: subscript requires array or pointer type
38+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(196): error C2065: 'station_names' : undeclared identifier
39+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(196): error C2065: 'station_line' : undeclared identifier
40+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(202): error C2065: 'station_line' : undeclared identifier
41+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(202): error C2065: 'station_names' : undeclared identifier
42+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(231): error C2065: 'station_names' : undeclared identifier
43+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\main.cpp(251): error C2065: 'station_names' : undeclared identifier
44+
Station.cpp
45+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(9): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
46+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(9): warning C4183: 'Station': missing return type; assumed to be a member function returning 'int'
47+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(10): error C2523: 'Edges::~Station' : destructor tag mismatch
48+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(12): error C2146: syntax error : missing ';' before identifier 'Name'
49+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
50+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
51+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(13): error C2146: syntax error : missing ';' before identifier 'Line'
52+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(13): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
53+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\edges.h(13): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
54+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(10): error C2061: syntax error : identifier 'string'
55+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(13): error C2146: syntax error : missing ';' before identifier 'Name'
56+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(13): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
57+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(13): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
58+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(14): error C2146: syntax error : missing ';' before identifier 'Line'
59+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
60+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.h(14): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
61+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(5): error C2065: 'string' : undeclared identifier
62+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(5): error C2146: syntax error : missing ')' before identifier 'sname'
63+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(5): error C2761: '{ctor}' : member function redeclaration not allowed
64+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(5): error C2059: syntax error : ')'
65+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(6): error C2143: syntax error : missing ';' before '{'
66+
1>c:\users\liam\documents\visual studio 2010\projects\trainshortpath\trainshortpath\station.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
67+
Generating Code...
68+
1>Done Building Project "C:\Users\liam\Documents\Visual Studio 2010\Projects\TrainShortPath\TrainShortPath\TrainShortPath.vcxproj" (build target(s)) -- FAILED.
2869

29-
Build succeeded.
70+
Build FAILED.
3071

31-
Time Elapsed 00:00:00.73
72+
Time Elapsed 00:00:01.11
1.6 KB
Binary file not shown.

‎TrainShortPath/Debug/link.read.1.tlog

344 Bytes
Binary file not shown.

‎TrainShortPath/Debug/main.obj

-141 KB
Binary file not shown.

‎TrainShortPath/Debug/vc100.idb

0 Bytes
Binary file not shown.

‎TrainShortPath/Debug/vc100.pdb

40 KB
Binary file not shown.

‎TrainShortPath/Edges.cpp

Whitespace-only changes.

‎TrainShortPath/Edges.h

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#ifndef EDGES
2+
#define EDGES
3+
4+
#include <string>
5+
6+
class Edges
7+
{
8+
public:
9+
Station(void);
10+
~Station(void);
11+
private:
12+
string Name;
13+
string Line;
14+
int Duration;
15+
};
16+
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.