Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 4 Weeks Ago   #11 (permalink)
PC Gamer
 
chemicalfan's Avatar
 
intel ati

Join Date: May 2008
Location: Portsmouth, UK
Posts: 1,384
Blog Entries: 3

Rep: 117 chemicalfan is acknowledged by manychemicalfan is acknowledged by many
Unique Rep: 91
Trader Rating: 1
Default

In Python, a program to produce "Hello World!" is:

Code:
print "Hello World!"
Couldn't be simpler - I <3 Python for this!
__________________
Intel Processor Finder - essential knowledge for OC'ers
OCCT - essential tool for OC'ers
Quote:
Originally Posted by Inuyasha1771
I hate it when they are like " LET'S WATCH A MOVIE >=3" and you're like "No, it's 6 PM, I just got off work, I need to overclock." and they can't relate. Give me a girl who overclocks, and I'll give you a miracle.

System: Black 'n' blue II
CPU
Core i7 860
Motherboard
MSI P55-GD60
Memory
4GB G.Skill Ripjaw
Graphics Card
Xpertvision Radeon HD4850
Hard Drive
150Gb Velociraptor & 250Gb Samsung
Sound Card
ESI Maya USB
Power Supply
Thermaltake Purepower RX 550
Case
Galaxy II
CPU cooling
Noctua NH-U12P SE2
GPU cooling
Stock
OS
Vista Home Premium x64
Monitor
Hyundai BlueH H224W 22" LCD
chemicalfan is offline   Reply With Quote
Old 4 Weeks Ago   #12 (permalink)
<3 Music
 
Sin100's Avatar
 
amd ati

Join Date: Jan 2006
Location: England
Posts: 4,419

FAQs Submitted: 1
Hardware Reviews: 6
Trader Rating: 3
Default

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


System: Th3 Rig!
CPU
Athlon 64 4600+ X2
Motherboard
Biostar Cheap
Memory
2Gig DDR2
Graphics Card
XFX HD4830
Hard Drive
500GB SATA + 250GB SATA
Sound Card
Creative Audigy Sound Blaster
Power Supply
Hiper Type-R 580W
Case
Aspire X-Infinity
CPU cooling
Some Cheap Cooler (My BT wont fit my MAXT mobo:( )
GPU cooling
Stock
OS
Win XP Pro
Monitor
23" Samsung 2333HD (Widescreen)
Sin100 is offline Overclocked Account Sin100's Gallery   Reply With Quote
Old 3 Weeks Ago   #13 (permalink)
Programmer
 
sailerboy's Avatar
 
intel ati

Join Date: Jun 2008
Location: Huntington Beach, CA
Posts: 785

Rep: 61 sailerboy is acknowledged by some
Unique Rep: 55
Trader Rating: 0
Default

Code:
echo hello world
most simple language ever. Comes with windows. Just type that into command prompt
__________________




Join the deaf club if you are deaf
http://www.overclock.net/off-topic/5...deaf-club.html

System: TPSPC
CPU
Q6600
Motherboard
Gigabyte EP35-DS3L
Memory
4 GB Mushkin
Graphics Card
ATI Raedon HD 4850
Hard Drive
250 GB Western Digital 2500AAKS
Sound Card
None
Power Supply
Rosewill RD600N
Case
Coolermaster HAF932
CPU cooling
Heatkiller v3.0+XSPC RX360+Swifttech MCP655
GPU cooling
Arctic Cooling S1 Rev 2
OS
XP SP3
Monitor
HP w2207
sailerboy is offline   Reply With Quote
Old 3 Weeks Ago   #14 (permalink)
4.0 GHz
 
31337's Avatar
 
intel nvidia

Join Date: Aug 2007
Location: The darkness of your mind
Posts: 785

Rep: 49 31337 is acknowledged by some
Unique Rep: 46
Trader Rating: 4
Default

In Basic it's:
Code:
print "Hello world!"
In C++ it's:
Code:
#include <iostream>
using namespace std;

int main()
{
      cout << "Hello world!" <<endl;

return 0;
}
So as you can see, very different from language to language. Personally I would recommend Basic as a first language to sort of test the waters to see if you like programming. I went part way through a tutorial for Liberty Basic, and found that I liked programming, which is why I'm in my first year of Computer Science now. 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.

System: Obelisk
CPU
E8600
Motherboard
ASUS Rampage Formula X48
Memory
2x2GB G.Skill DDR2-1000
Graphics Card
EVGA 9800GTX+
Hard Drive
PERC5: 2x160GBVelociRaptors(RAID0) 2xWD500GB(RAID0
Sound Card
X-Fi Xtreme Music
Power Supply
Corsair 750TX
Case
Thermaltake Armor
CPU cooling
TRUE Black 120 (2x Ultra Kaze 3000)
GPU cooling
Stock
OS
Windows 7 Ultimate RTM x64
Monitor
Samsung 2253BW
31337 is offline   Reply With Quote
Old 3 Weeks Ago   #15 (permalink)
Programmer
 
Korben's Avatar
 
intel nvidia

Join Date: Oct 2008
Location: Florida
Posts: 2,408

Rep: 85 Korben is acknowledged by some
Unique Rep: 76
Trader Rating: 13
Default

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
__________________
Currently Playing: Aion
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

System: Core i7 Build
CPU
i7 920 | 3.8Ghz
Motherboard
Asus | P6T Deluxe
Memory
Corsair | 6GB | 1600Mhz
Graphics Card
2x | EVGA | GTX 260 | SLI
Hard Drive
2x | VR 300GB + 1TB | Raid 0
Sound Card
Asus | Xonar DX
Power Supply
Corsair | 1000HX
Case
Antec 1200 | Window Mod
CPU cooling
TRUE 1366 | 2x Ultra Kaze
GPU cooling
Stock
OS
Windows 7 Ultimate| x64
Monitor
Samsung | T260
Korben is offline   Reply With Quote
Old 3 Weeks Ago   #16 (permalink)
First Time Build
 
Seakros's Avatar
 
intel nvidia

Join Date: Oct 2009
Location: Montreal
Posts: 129

Rep: 4 Seakros Unknown
Unique Rep: 4
Trader Rating: 0
Default

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:
public class HelloWorld{
public static void main(String[] args){

System.out.println("Hello World");
}
}
Save as .java
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.
__________________
System: My upcoming "First build"
CPU
Core I7 920 D0 (or 930)
Motherboard
ASUS P6T Deluxe V2
Memory
G.Skill 6Gb 2000 Trident ???
Graphics Card
Saphire HD 5850
Hard Drive
2 X WD 640GB AALS
Power Supply
Corsair 850HX
Case
Antec 1200
CPU cooling
Prolimatech Megahalems
OS
Windows 7 + Ubuntu 9.10
Monitor
Samsung 2443BW
Seakros is offline   Reply With Quote
Old 2 Weeks Ago   #17 (permalink)
Overclocker in Training
 
Exutus's Avatar
 
amd nvidia

Join Date: Oct 2009
Location: Au Quebec
Posts: 138

Rep: 6 Exutus Unknown
Unique Rep: 5
Trader Rating: 0
Default

Quote:
Originally Posted by Reflux View Post
I can do nothing but recommend AutoIt3 as a first language, it's incredibly good to start off with.

There are alot of tutorials spread over the net if you have found the language you would like to use already.
That's funny, that's what they use at IBM to manage commands in a intranet web page.. I opened it in "edit" to see the code this morning and I was wondering if it was widely spread or if it was an IBM internal language(*script).

I started learning C with Hello World.
__________________
System: Audio Prod and some Gaming
CPU
Athlon 64 X2 Dual Core Processor 6000+
Motherboard
ASUS M2N-E
Memory
Kingston HyperX (2 x 2 Gb) DDR2 - 800 MHz / PC2-64
Graphics Card
GeForce 9800 GT 512MB DDR3
Hard Drive
.5TB SeaGate Barracuda, 1TB Western Digital 10EADS
Sound Card
FA-66 FireWire, SB Audigy II, SoundMAX HD (Integ)
Power Supply
Antec EarthWatts 500
Case
Sonata III
CPU cooling
Has its fan on the heatsink, pipe on motherboard
GPU cooling
It has a fan in it...
OS
Linux, XP, Vista, Windows 7
Monitor
Samsung HDTV 19" 1360x768, Samsung 21.5" 1920x1080
Exutus is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 04:12 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.10107 seconds with 8 queries