answersLogoWhite

0


Best Answer

#include<iostream>

int main()

{

std::cout << "Hello world!" << std::endl;

return(0);

}

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you give an example of a basic 'Hello World' program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Hello world is the easiest thing to program on any device but what is its purpose?

"Hello World", is a simple computer prgram, mainly used to demonstrate and teach beginners the most basic syntax of programming languages. This is the first program that many people learn the basics of programming with, and is easily explained to novices.


Comparison between visual basic and Microsoft visual basic?

There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.


What are the steps involved in creating visual basic programs?

The traditional way to learn any programming language is to start by writing a "Hello, World" program; this program should write "Hello, World" to the screen. To write such a program, you have to work out how to edit text, and run it through the compiler. Visual Basic, is almost like that, but window environment programs are event driven - they consist of routines that react to events - a button being clicked, a timer expering and so on. Visual Basic is also object orientated. Windows, buttons, every component of a program are objects or part of objects. With this in mind, its useful to read up on events and objects to see how to approach Visual programming. With a little knowledge, think of a project and try and write a program. Writing programs is by far the quickest way to become proficient in a language.


What is the use of visual?

Visual Basic is a program that i myself use alot to make my web browsers. But VB is a program made by Microsoft&Acirc;&copy; to help people make and understand their own programs. VB has a wide variety of programs that can be made with it, i would give it a try if you havent already. But note that you have to understand basic script, example (MsgBox("hello world") or (button1.textbox.go). Good luck and enjoy VB.


What is basic computer programming?

It could be one of two things:Programming using the programming language BASICSimple programs, like the ones that you learn to make when you first start programming, like a hello program.

Related questions

Hello world program?

A "Hello world" program is usually the very first program you write when learning a new programming language, it simply prints out the text "Hello World". Below are a few examples: PHP: echo "Hello World"; _____________________________________ JavaScript: document.write("Hello World"); _____________________________________ Visual Basic: Module Hello Sub Main() MsgBox("Hello, World!") ' Display message on computer screen. End Sub End Module


Hello world is the easiest thing to program on any device but what is its purpose?

"Hello World", is a simple computer prgram, mainly used to demonstrate and teach beginners the most basic syntax of programming languages. This is the first program that many people learn the basics of programming with, and is easily explained to novices.


What are the two?

#1: 10 PRINT "Hello world from BASIC" #2: int main (void) { puts ("Hello world from C"); }


What are the two programs?

#1: 10 PRINT "Hello world from BASIC" #2: int main (void) { puts ("Hello world from C"); }


How much time does it take to learn c language?

That depends on you. If you know another functional language it will be easy just learn the C keywords and structure you should be good to go. If you are new to coding it will certainly take you a bit longer to understand, but the more work you put in the more you will get out of it. here is some basic C code for a hello world program. //coment: hello world program #include &lt;stdio.h&gt; void main(){ printf("Hello World"); }


Give some ideas to learn visual basic?

You could start with Visual Basic Express; this is a free download from Microsoft and you can write real programs in VBE. Although there are several books on VBE that are aimed at beginners, in my experience, the best way to learn how to use a language is to have a project to do. Start with a "hello, world" program - to open a window displaying Hello, World". This is a simple program and to write it you'll have to have installed VBE correctly, created a project, entered the code and run the program. Having done that, think of a project - perhaps a simple appointment calender, or basic word processor and write that.


Comparison between visual basic and Microsoft visual basic?

There is no difference. Microsoft Visual Basic and Visual Basic are the same thing. Visual Basic is a language that was developed by Microsoft. There is however a difference between Visual Basic and Visual Basic .NET (Now known as just Visual Basic and VB.Net). VB.Net is basically Visual Basic, the only difference is that VB.Net supports the Microsoft .NET Framework. There is a similar language, called BASIC, from which Visual Basic was derived.


What Visual Basic command terminates a running program?

...the END statement. Example code... END


What are the steps involved in creating visual basic programs?

The traditional way to learn any programming language is to start by writing a "Hello, World" program; this program should write "Hello, World" to the screen. To write such a program, you have to work out how to edit text, and run it through the compiler. Visual Basic, is almost like that, but window environment programs are event driven - they consist of routines that react to events - a button being clicked, a timer expering and so on. Visual Basic is also object orientated. Windows, buttons, every component of a program are objects or part of objects. With this in mind, its useful to read up on events and objects to see how to approach Visual programming. With a little knowledge, think of a project and try and write a program. Writing programs is by far the quickest way to become proficient in a language.


What has the author John Smiley written?

John Smiley has written: 'Learn to Program Databases With Visual Basic (Learn to Program)' 'Learn to Program Visual Basic Objects (Learn to Program)' 'Learn to Program with Visual Basic 6' -- subject(s): BASIC (Computer program language), Microsoft Visual BASIC, Visual Basic (Computer program), Visual programming (Computer science), Windows (Computer programs) 'Learn to Program Visual Basic 6 Examples' 'Introduction to Programming with Visual Basic 6 Part 2' 'Learn to Program Visual Basic Examples (Miscellaneous)' -- subject(s): Microsoft Visual Basic for Windows, BASIC (Computer program language)


What the basic Concepts of Olympic Games?

hello


Explain briefly each part of basic structure of C program?

#include &lt;stdio.in&gt; /* This program prints a message*/ main() { printf("Hello World"); } Hello World.c The first line refers to a standard C library 2. Including this library in our program makes standard functions related to input/output available for use the printf function. later in the program. All C programs consist of one or more functions. Each function consists of one or more lines of code called statements that, together, accomplish a specific task.