So, I want to program a card playing engine**, but the engine needs to be able to calculate while it's the opponent's turn (so it makes moves quicker and for other obvious reasons). Meaning there has...
Type: Posts; User: random
So, I want to program a card playing engine**, but the engine needs to be able to calculate while it's the opponent's turn (so it makes moves quicker and for other obvious reasons). Meaning there has...
I found strcat() to solve my problem.
I searched the web for these, but couldn't find anything.
1) How do you find a file's extention (type)?
2) How do you link strings together in one variable or string?
(eg. newstring =...
Empty as in no value, it's for a char and an int array, so I can write over it with a smaller string, but not have the end of the old one print out.
How do you clear array values (or the entire array) so they're empty?
Sorry to be a pest, but is there a way to check if a file is binary or ASCII?
One question: Why is it necessary to use reinterpret_cast? Is it because you didn't declare it the first time around?
Well, like the title says, I've been looking for file I/O information (for both ASCII and binary), but have had little luck (Note: I'm quite new to C++ this just my third day reading tutorials [but...