I know that it is possible to output and get input from the console without using iostream and it's cout and cin using the Windows API. I don't know how to do this because I'm new to c++ but I know it has something to do with kernel32. Can anyone help?
pedza95 0 Newbie Poster
Recommended Answers
Jump to PostIf your new to C++, you should start on something much easier. I don't even know how to do this, but I can guess it involves some pretty complex stuff, so I don't think you're going to get this done unless someone literally gives you the entire code.
Jump to PostThe implementation of cin and cout is compiler/os dependent. On MS-Windows I suspect Microsoft implemented it by using win32 api console functions. And, as others have said, this is very advanced programming. Here is some source code if you are up to the task.
You will …
All 7 Replies
William Hemsworth 1,339 Posting Virtuoso
pedza95 0 Newbie Poster
Phil++ 31 Posting Whiz in Training
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
MosaicFuneral 812 Nearly a Posting Virtuoso
MattIbbotson 0 Newbie Poster
MosaicFuneral 812 Nearly a Posting Virtuoso
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.