posted 15 years ago
first thing:
Write a function that takes a string and an int as parameters, and prints them out.
Once you have that done, come back, and we'll work towards the next step.
Now, that may not seem like much help, but if I were writing this, that is exactly how far I would go before I compile and test. Actually, the first time I compile and test is after writing a main() method that does nothing but prints "I'm in main". I start EVERY SINGLE PROJECT this way.
What is important is that you never try and do too much at once. Always code the smallest amount you can before you recompile and test. just go one step at a time.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors