Open main menu
Home
Random
Log in
Settings
Give to Wikipedia
About KidzSearch Wiki
Disclaimers
KidzSearch Wiki
Search
Changes
kidzsearch.com
>
wiki
>
C
← Earlier diff
Newer diff →
C
(view source)
Revision as of 20:32, 12 April 2022
15 bytes removed
,
20:32, 12 April 2022
m
KS update 1.2
Line 37:
Line 37:
// Make the I/O standard library available for use in the program.
// Make the I/O standard library available for use in the program.
#include <iostream>
#include <iostream>
−
using namespace std;
+
// We are now defining the main function; it is the function run when the program starts.
// We are now defining the main function; it is the function run when the program starts.
int main()
int main()
{
{
// Printing a message to the screen using the standard output stream std::cout.
// Printing a message to the screen using the standard output stream std::cout.
−
cout << "Hello World!";
+
std::
cout << "Hello World!";
}
}
</syntaxhighlight>
</syntaxhighlight>
Admin
Bureaucrats
,
Interface administrators
,
Suppressors
,
Administrators
993,099
edits