Okay, now the teacher has switched the project to C++ with only a week and a half left in the course. Here is my code (it compiles and runs with no errors):
#include <iostream>
#include...
Type: Posts; User: Haggarduser
Okay, now the teacher has switched the project to C++ with only a week and a half left in the course. Here is my code (it compiles and runs with no errors):
#include <iostream>
#include...
Thanks for the help everyone (especially Bubba). I think I can really get to work now.
See, when my teacher told me to use those commands, he told me to look them up instead of teaching how to use them in my situation. I haven't found anything about how to use them for a text adventure...
For parsing words separately from one another, my teacher told me to use strtok. I'll also need to be able to put all the information about each square on the map, the teacher is saying I should use...
Yeah, he said it's got to be in C. :(
So how would I fix those lines? Would I have to use a function other than scanf?
I'm a 15-year-old and I'm making a text adventure game for my computer class. I've learned the most basic commands (printf, scanf, loops) and as I go it just gets more and more confusing. My game is...