I was wondering how one would go about declaring a word in msvc++ 6.0. I checked MSDN but the did not have any information on the subject.
-JLBShecky
I was wondering how one would go about declaring a word in msvc++ 6.0. I checked MSDN but the did not have any information on the subject.
-JLBShecky
what do u mean word like a simple sentence?
Code:#include <string> string str = "A simple sentence.";
Luigi
// I use Xcode 1.1 && CodeWarrior 8.3
// When on Mac Os X 10.3.2
// I use Microsoft Visual C++ 6.0
// When on windows XP
It is not possible to declare a word in C++.
The word-length varies from machine to machine.
Often a "short int" is a word, but one cannot be sure.
If you're using Win API, there's a type called WORD. Use it.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
do you mean declearing a word like a int ? if so it is not possible cause int and other number types has fixed sizes but word dont have fixed sizes so use a string you cant define one.