Hello,
I recently purchased the 3rd edition of this book and wanted to see the code for some of the projects that are made with it.
I followed advice on the forums and downloaded the latest copy from the test folder using the svn command. I downloaded the 3rd party libraries and headers, and finally followed the readme instructions.
I am running into a variety of errors.
The first is that (Keep in mind i am using visual studio 2010 standard, not express) is that i am getting errors in the string.cpp file. std:: is underlined with red for some reason and it says
error C2275: 'std::string' : illegal use of this type as an expression
This occurs 6 more times in two different files
there were many shared_ptr ambiguous errors saying that it could come from boost or another std source. I fixed these problems but i assume there was a better work around. Especially because this work around does not work 100 percent of the time.
The last group of errors come from editor global functions with std::string
So far these 3 groups of errors(roughly 40 according to visual studio 2010) have me stumped. Any advice or help you can give? Am i being too vague?
I heard this book was one of the best and i wanted to look at the code before I entered. I also understand that probably not everything is posted in the book, so getting the code working would be great.
thanks
Anthony
Edit: If my grammar or question seems off please tell me. After all I proof read it , but I was never a good English student
I recently purchased the 3rd edition of this book and wanted to see the code for some of the projects that are made with it.
I followed advice on the forums and downloaded the latest copy from the test folder using the svn command. I downloaded the 3rd party libraries and headers, and finally followed the readme instructions.
I am running into a variety of errors.
The first is that (Keep in mind i am using visual studio 2010 standard, not express) is that i am getting errors in the string.cpp file. std:: is underlined with red for some reason and it says
error C2275: 'std::string' : illegal use of this type as an expression
This occurs 6 more times in two different files
there were many shared_ptr ambiguous errors saying that it could come from boost or another std source. I fixed these problems but i assume there was a better work around. Especially because this work around does not work 100 percent of the time.
The last group of errors come from editor global functions with std::string
So far these 3 groups of errors(roughly 40 according to visual studio 2010) have me stumped. Any advice or help you can give? Am i being too vague?
I heard this book was one of the best and i wanted to look at the code before I entered. I also understand that probably not everything is posted in the book, so getting the code working would be great.
thanks
Anthony
Edit: If my grammar or question seems off please tell me. After all I proof read it , but I was never a good English student
The post was edited 1 time, last by ajp29 ().