Thread: just starting out. Just need a little info

  1. #1
    Unregistered
    Guest

    just starting out. Just need a little info

    I was just woundering how i should go about learning c++. Are there any good sites i should know about or an good books? any help would be great thanks.

  2. #2
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    One way would be to try out the tutorials of this site

  3. #3
    Unregistered
    Guest
    Yes i tried that but i am to stupid to figure this out. I have visual c++ and i dont understand the #include <iostream.h> part. do i have to make a header or something? it dose not say to. but i always get an error.

    #include <iostream.h>
    int main()
    {
    cout<<"HEY, you, I'm alive! Oh, and Hello World!";
    return 0;
    }

  4. #4
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    603
    So what error do you get?
    Visit entropysink.com - It's what your PC is made for!

  5. #5
    Unregistered
    Guest
    I think your problem is that you're not creating a project properly. Your code is fine.

    Here's how you do it:
    Run VC++
    Go to file | New
    click the Projects tab
    create an empty Win 32 Console Application
    now go to file | New
    create a C++ source file (it's on the file tab)

    paste your code back in and compile. It's that simple. Good luck!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help displaying info from structure
    By kisiellll in forum C Programming
    Replies: 6
    Last Post: 04-04-2009, 12:51 PM
  2. Interpreter.c
    By moussa in forum C Programming
    Replies: 4
    Last Post: 05-28-2008, 05:59 PM
  3. Question about getting an info class from another Form
    By Joelito in forum C# Programming
    Replies: 0
    Last Post: 10-16-2006, 01:02 PM
  4. Help doing an e-mail program in c...
    By Tyler_Durden in forum C Programming
    Replies: 88
    Last Post: 01-02-2005, 03:12 PM
  5. Binary trees search problem...
    By Umoniel in forum C Programming
    Replies: 2
    Last Post: 02-22-2004, 02:29 PM