February 22nd, 2002 05:52 AM
Thanx a lot!! It's a good introduction to C. I'm looking forward to Chapter 2.
Can I get out of this prison?
Can I stay this prison forever?
February 22nd, 2002 06:03 AM
There's already a chapter 2. Those interested can find it at http://www.antionline.com/showthread...hreadid=140166
February 14th, 2003 10:01 PM
I've tried the above program in bloodshed dev-c++. I did everything to spec and tried to run it. The onlything that happens is my dos prompt screen flashes once then dissapears. Is there a solution for this problem ???
February 15th, 2003 12:41 AM
February 15th, 2003 02:31 AM
m$ visual studio6c++
I might be wrong but if you use visual studio You use cin>> and cout<< statements instead of the printf. Also, I think you use <iostream> instead of <stdio.h> I am learning c++ with visual studio and it is difficult as I need to unlearn a few things.
ANybody agree or disagree with me?? Is this just a visual studio thing????
the only way to fix it is to flush it all away-tool
February 15th, 2003 02:21 PM
You're right that is the way to do IO if you're doing C++. The printf() / scanf() method is the correct way to do that in pure C. So, it's not a Visual Studio thing, just a C++ thing.