|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
How to "hello world"?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#11 (permalink) | ||||||||||||||
|
PC Gamer
![]() |
In Python, a program to produce "Hello World!" is:
Code:
print "Hello World!"
__________________
Quote:
|
||||||||||||||
|
|
|
|
|
#12 (permalink) | |||||||||||||
|
<3 Music
![]() |
Java = System.out.println("Hello World");
I have only ever tried basic Java and C so I can't really advice but perhaps search google for the easiest language/s to start on, most start on Visual Basic or something like Alice (Real time, code is wrote for you but you can view it and see whats going on)
__________________
Counter Strike Source OCN Server = 66.150.214.50:27015 COD4 OCN Server = 208.167.251.231:28960
|
|||||||||||||
|
|
|
|
#13 (permalink) | |||||||||||||
|
Programmer
![]()
Join Date: Jun 2008
Location: Huntington Beach, CA
Posts: 785
Rep: 61
![]() Unique Rep: 55
Trader Rating: 0
|
Code:
echo hello world
__________________
Join the deaf club if you are deaf http://www.overclock.net/off-topic/5...deaf-club.html
|
|||||||||||||
|
|
|
|
|
#14 (permalink) | |||||||||||||
|
4.0 GHz
![]()
Join Date: Aug 2007
Location: The darkness of your mind
Posts: 785
Rep: 49
![]() Unique Rep: 46
Trader Rating: 4
|
In Basic it's:
Code:
print "Hello world!" Code:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" <<endl;
return 0;
}
Basically, all you need to worry about is if you get programming logic. If you can get the logic down, then you can learn any language.
|
|||||||||||||
|
|
|
|
|
#15 (permalink) | |||||||||||||
|
Programmer
![]() |
I recommend starting off with either C++ or Java both are fairly easy to learn and will benefit you greatly. Starting off with others languages like Visual Basic or even C aren't bad either though.
You should try learning LOLCODE awesome language for more information see wiki -> Here Code:
HAI CAN HAS STDIO? VISIBLE "HAI WORLD!" KTHXBYE
__________________
Steam - KForKorben X-Fire - kforkorben I did Latty's Linux Challenge and I now have tried Linux! ![]() I am 54% addicted to Counterstrike. What about you? 4Ghz
|
|||||||||||||
|
|
|
|
|
#16 (permalink) | ||||||||||||
|
First Time Build
|
At the moment, I'm with JAVA. I want to try Python as I have heard it very easy to use, and therefore recommend it (build up from there, i.e. Python --> Java --> C++). However, I also agree with the argument that learning a difficult language first to then ride easily on an easier one is a good idea.
__________________For me, I'm not sure whether to go up to C++ or Python. Maybe even try Assembler. BTW, for JAVA, here is your source code for HelloWorld prog: Quote:
Compile it with JDK and then run in CMD (cd to right dir and then "java HelloWorld") Sorry if this sounds too newbish, I don't know how much you know of Programming.
|
||||||||||||
|
|
|
|
|
#17 (permalink) | ||||||||||||||
|
Overclocker in Training
|
Quote:
I started learning C with Hello World.
|
||||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|