3
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by skatamatic
0

Why are you are you useing a C-string(const char *) for p?

Actually this is a tad "weird," and over complicated(IMO).

0

Wait, I just figured this out on my own! I figured out my problem.

Sorry for the trouble, this is my first C++ game. Its a Text Adventure and its comming along great!

0

How about you don't edit your posts to tell us it's solved. How about you post your solution. That way people can learn from your mistakes. Keep editing for fixing typos and improving clarity.

0

because im a noob at C++ scripting and most of my code wouldn't make sense to any one but me (because its huge and might be known as "Speghetti Code") Also, most of my variables that I have, have names that dont make sense to any one but me.

0

because im a noob at C++ scripting and most of my code wouldn't make sense to any one but me (because its huge and might be known as "Speghetti Code") Also, most of my variables that I have, have names that dont make sense to any one but me.

Lol. Well here is as good a place as any to get helpful tips on 'untangling' your code. And it's bad practice to write code with meaningless identifiers, since you may want to understand it a few months from now and it will all be meaningless! Also, C++ isn't a script - those use interpreters to understand code, whereas C++ is compiled into a self describing executable.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.