can any one help about this data type __int8, visual studia.net c++. How to define it.And if u can, can you show mee alittle program to see how it works. Thanks alot

Recommended Answers

All 3 Replies

Its a built-in data type so you don't have to define it anywhere. The sizeof(__int8) is 1, so its the same as a char.

#include <iostream>
using namespace std;

int main()
{
    cout << "sizeof(__int8) = " << sizeof(__int8) << "\n";
}

thank you

can you give me an example to use for aritmetic operation

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.