C Programming Tutorial Chapter 1 - Page 2
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: C Programming Tutorial Chapter 1

  1. #11
    Junior Member
    Join Date
    Feb 2002
    Posts
    29
    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?

  2. #12
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    There's already a chapter 2. Those interested can find it at http://www.antionline.com/showthread...hreadid=140166
    Cheers,
    cgkanchi
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

  3. #13
    Junior Member
    Join Date
    Feb 2003
    Posts
    11
    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 ???
    Lord Optix

  4. #14
    Junior Member
    Join Date
    Feb 2003
    Posts
    6
    Thanks bro
    -newbie-

  5. #15
    Senior Member
    Join Date
    Jan 2003
    Posts
    242

    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

  6. #16
    Antionline Herpetologist
    Join Date
    Aug 2001
    Posts
    1,165
    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
    Buy the Snakes of India book, support research and education (sorry the website has been discontinued)
    My blog: http://biology000.blogspot.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides