Frequently Asked Questions (FAQ)
-- regarding the --
CS Libraries for PC's running Windows
back to: [ top of site ] [ Library overview handout ]
This is an archive of questions and answers relating to the PC
version of the CS Libraries. If (and only if!) you don't see what
you're looking for here, contact cs106-pchelp@cs.stanford.edu.
Questions:
- I'm getting an error about "unable to open file
somename.obj" and I don't even recognize that
filename.
Answer
-- briefly, make sure you didn't use spaces in the
name of the project you created.
- What about using compilers other than Microsoft Visual C
6?
Answer -- no. The libraries and other files are not supported on PC platforms other than Visual C++ 6.0 (that includes Linux/GCC, Visual C++ 7.0, and anything else you can think of).
- When I take my code on a floppy from a PC to a Mac, I get
weird boxes in the code and/or everything ends up on one
line. What's going on?
Answer -- basically, a
simple conversion is necessary.
- How can I use Error() to aid my debugging?
Answer -- read the whole
thing, there's no good short answer.
- How do I print the output from my assignments?
Answer -- use the Save
commands in the graphics window's File menu.
- I am getting the link error "unresolved external
symbol" for functions that were provided with the
assignment starter project. I checked and the
function name is the same as listed in the .h file...
what's going on?
Answer -- there's a
difference between interface and implementation; .h files
are only the interface. You've probably forgotten
to add some library to your project.