![]() Check the web.Įven if you find something, you will likely have to adapt it to the details of the problem at hand, but this can get you started. Research - is there a known algorithm for addressing this kind of problem? Check your text and the lecture notes. The worst thing you can do is to simply start throwing C++ statements around at random trying to guess at an algorithm design. How do I check before writing and debugging the code? 1.2 I’m not sure I have a correct algorithm to solve this problem. Check out this entry in the Hacker’s Dictionary for a discussion of the origin of these terms. ![]() Just as a mathematician might use “x” or “y” whenever an arbitrary variable name is needed, computer scientists tend to use “foo”, “bar”, and “baz”, in that order. There is a long-standing tradition in computer science of using certain words as sample variable/function/whatever names. ![]() 1 General Programming Questions 1.1 What’s all this “foo” and “bar” stuff? This is a collection of questions (and answers!) that have arisen repeatedly in some of my past classes. 5.7 How do I get my program to read from a file instead of from the keyboard? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |