Iam new to C++!

Hi Experts!

Iam new to C++ language!

Iam having Visual Studio 6.0!

Can u help me about creating simple executable project with step by step instructions or any site providing the help!

Also i want to know what kind of things can be made with VC++!

Thanx a lot!
LVL 1
Sankar_VAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

makerpCommented:
open VC++
select file -> new -> projects -> Win32 Console Application
enter a name for the project in the right hand box
now the wizard will launch, accept the default (empty project)
now select file -> new -> files -> C++ source file
enter a file name in the right hand box and select OK
now paste the following into the file

/* my program */
#include <stdio.h>
void main()
{
  printf("Hello World..");
}

now select build -> ! Execute

your progran should now run..

In VC++ you can make practically anyapplication of you choice.. Windows services, windows GUI applications, console applications like the one you just made. basically any type of application listed in the new -> projects disloag you saw a minute ago. VC++ has extensive class libraries such as the MFC and ATL to help simplify writing various applications
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
braindudeCommented:
Go here:
http://www.gametutorials.com

They have lots of C/C++ Tutorials for VC++.

bd
0
Sankar_VAuthor Commented:
Thanks Makerp!

Can u give me some more like some input / output functions??
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Sankar_VAuthor Commented:
Thanks Braindude!

The link u specified gives many codes.........

I will get ba 2 u soon after going through that!

May be with some doubts!
0
makerpCommented:
for input and output try either C functions such as printf and gets or C++ iostream classes like cin and cout. personally i would go with the later.

#include <string>
#include <iostream>
using namespace std;

void main()
{
  string str;
  cout<<"Enter a string: ";
  cin>>str;
  cout<<str<<endl;
}

here we also use the string class..

all of these things can be looked up in the help or MSDN
0
MuugokszhiionCommented:
Well, here are some little things with quick explanations.

#include <iostream.h>         //This is necessary to us cin and cout

int main()        //A special function, this usually serves as the main body of your program
{
    int Age;      // This declares the variable "Age" to be an interger.
    cout << "Hello." <<endl;      //This outputs "Hello" to the screen and then <<endl goes to the next line.
    cout << "How old are you?" <<endl;
    cin >> Age; // cin waits for your input, in this case, answering the question how old you are. Notice the way the arrows face.
    cout << "You are " <<Age << "years old." <<endl;   //That's how old you are! ^_^
    return 0;        //Tells main to return 0... basically ends the program.
}  // Don't forget the closing brace.

That was a very simple breakdown of a basic program.
0
Sankar_VAuthor Commented:
Sorry Guys........Sorry 4 the delay!

I was busy with VB projects!

Thanx 4 ur help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.