-
February 22nd, 2002, 06:52 AM
#11
Junior Member
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, 07:03 AM
#12
There's already a chapter 2. Those interested can find it at http://www.antionline.com/showthread...hreadid=140166
Cheers,
cgkanchi
-
February 14th, 2003, 11:01 PM
#13
Junior Member
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, 01:41 AM
#14
Junior Member
-
February 15th, 2003, 03:31 AM
#15
Senior Member
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, 03:21 PM
#16
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.
Cheers,
cgkanchi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|