Stanford Engineering Everywhere CS106B Library

后端 未结 7 1955
长发绾君心
长发绾君心 2020-12-17 06:31

I am currently a C# programmer and have been interested in learning more about C++ and data structures. I found the CS106B class offered free online through the Stanford E

相关标签:
7条回答
  • 2020-12-17 07:35

    Thanks to Dani, with his help, I succeed in installing the library on vs2008(both express and professinal are OK) on win7. With Dani's help, I have finished the first three assignments in cs106X(winter2010) - life, ADT, boggle - so far. I'm just a undergraduate in China, thanks so much to the great education of stanford and power of internet. http://abloggingattempt.blogspot.com/2010/05/stanford-cs106-lib-and-vs2008-express.html

    the following are copied mainly from Dani's blog.

    Stanford CS106 Lib and VS2008 Express The CS106B is a great CS Stanford course available online (iTunes e.g.) in video and for free. All assignments and the course itself use an in-house developed library (not sure if it has a name, cslib, cs106 lib, dunno) available in all of the assignment zips as well as installable with the Xcode/VS2005 wizard installs. The problem - the VS custom wizard will install on VS2005 only (could be that a newer version exists but I couldn't find one). So how to port the VS wizard to VS2008 Express(professional)? - I got the 2005 custom wizard setup, PCLibs-VS2005-ADT-Installer.zip and used a small tool , the LessMSIerables(Universal Extractor also works well) in order to extract the contents of the msi file. The msi contains four folders with all the stuff needed to create a new custom wizard. So, the tool extracted the following:

    SourceDir |- Includes Folder |- Library Folder |- Project Folder |- Wizard Folder

    • Now some copying:
      1. The CS106CPPInc folder inside the 'Includes Folder' goes to C:\Program Files\Microsoft Visual Studio 9.0\VC\include (as a subfolder!)
      2. 'Library Folder'\CS106CPPLib.lib goes to C:\Program Files\Microsoft Visual Studio 9.0\VC\lib
      3. 'Wizard Folder\AppWiz\CS106 Assignment Wizard' to C:\Program Files\Microsoft Visual Studio 9.0\VC\VCWizards\AppWiz (meaning CS106... should appear as a sub-folder of AppWiz)
      4. The three files in 'Project Folder' will go into C:\Program Files\Microsoft Visual Studio 9.0\VC\Express\VCProjects\Stanford. One of those three files, the CS106 Assignment Wizard.vsz, needs to be edited (a text file) and its second line should become:

    Wizard=VsWizard.VsWizardEngine.9.0

    0 讨论(0)
提交回复
热议问题