Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
510 views
in Technique[技术] by (71.8m points)

dos - how to use long long keyword in Turbo C++ 3.2 compiler

I am doing some emnedded work for which I am writing program in CPP. My machine has dos platform. In my program I am using long long keyword which is not working.I am using turboC++ 3.2 compiler.

I have searched a lot and find C99 library has stdint.h file but how can i use this file with my compiler. Or some other comiler to work on embedded keywords which made dos based executable file.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You are using a platform from the 1980s, before C++ even existed as a standard. Even your int is only 16-bit.

It's not clear what you want to use long long for but if you're after a 64-bit type you're out of luck. Either way, your compiler simply does not support this type. You'll have to come up with a workaround that does not require use of this type.

Or use a compiler from now times.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...