Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Another "Which programming language" thread
New Posts  All Forums:Forum Nav:

Another "Which programming language" thread

post #1 of 9
Thread Starter 
hey guys. I am new to programming, so i decided to begin to look at programming languages. the only one I know about was c++, so I started there. I compiled a basic program, and went into the visual basic folder in my documents and found the .exe file of my program i sent it to my friend to show it to him, but it didn't work on his system.

So what programming language, when compiled fully, can work on any computer, without any additional software installed?
post #2 of 9
C++ should work, were there other files within the folder that you didnt send?

Edit: You wrote it in visual studio so i suppose that you used the .net framework libraries in which case that program will not work unless your friend has the .net framework installed.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
I5 760 GA-H55N GTX 470 PNY Optima 8GB 
Hard DriveMonitorPowerCase
Spinpoint F4 LG227WTG sg07 PSU Sugo sg07 
Mouse
CM Sentinel 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
I5 760 GA-H55N GTX 470 PNY Optima 8GB 
Hard DriveMonitorPowerCase
Spinpoint F4 LG227WTG sg07 PSU Sugo sg07 
Mouse
CM Sentinel 
  hide details  
Reply
post #3 of 9
Java?
post #4 of 9
Thread Starter 
Quote:
Originally Posted by mykah89 View Post
C++ should work, were there other files within the folder that you didnt send?
yea there were, but they didn't seem relevant. ill see what happens if i send them too
post #5 of 9
Thread Starter 
Quote:
Originally Posted by JTD92 View Post
Java?
I think java needs some special program to work
post #6 of 9
Thread Starter 
Another question. Is there a language that can be written entirely in notepad, without any other software?
post #7 of 9
Quote:
Originally Posted by prn1357 View Post
Another question. Is there a language that can be written entirely in notepad, without any other software?
Batch probably

Try notepad++
I did java in a compiler that was practically notepad

Any language can be written in notepad just not compiled
AzuraChan
(13 items)
 
Haruna
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II x6 1055T Asus M4A88TD-V Evo/Usb3 EVGA GTX460 1GB SC + 9800GT Phsyx 2x2GB Corsair 1333MHZ 
Hard DriveOSMonitorPower
6.8TB Total w7 + ubuntu 19" something Seasonic S12II 520W 
Case
modded antec 902 
CPUGraphicsRAMHard Drive
I7 3630QM GTX660M 2GB + HD4000 8GB 1600Mhz 1TB  
Optical DriveOSCase
Blu Ray thing Win8 64bit Lenovo Y580 
  hide details  
Reply
AzuraChan
(13 items)
 
Haruna
(7 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II x6 1055T Asus M4A88TD-V Evo/Usb3 EVGA GTX460 1GB SC + 9800GT Phsyx 2x2GB Corsair 1333MHZ 
Hard DriveOSMonitorPower
6.8TB Total w7 + ubuntu 19" something Seasonic S12II 520W 
Case
modded antec 902 
CPUGraphicsRAMHard Drive
I7 3630QM GTX660M 2GB + HD4000 8GB 1600Mhz 1TB  
Optical DriveOSCase
Blu Ray thing Win8 64bit Lenovo Y580 
  hide details  
Reply
post #8 of 9
Quote:
hey guys. I am new to programming,


Quote:
so i decided to begin to look at programming languages.
Excellent idea!

Quote:
the only one I know about was c++, so I started there.
So you heard of C++, great! How did you start? Did you look up a tutorial on how to write a Hello World? Did you go to Amazon and immediately order the best C++ book you could find? Did you...

Quote:
I compiled a basic program,
Oh.

Quote:
and went into the visual basic folder in my documents
Wait, what? Visual Basic and C++ are two different things. What IDE did you use to write this program?

Quote:
and found the .exe file of my program i sent it to my friend to show it to him,
I'm thinking you compiled something in VB and not C++. But either way, there's more to it than that.

Quote:
but it didn't work on his system.
Yuh, I bet. That's because you probably wrote it in VB and he didn't have the proper runtimes installed.

Quote:
So what programming language, when compiled fully, can work on any computer, without any additional software installed?
No language can. The lower you go in language level, the more difficult and hardware specific it becomes. The higher you go, the more runtimes and/or virtual machines that you need to run it. C++ is a good middle ground, and should work on most systems that you target the compiler for.

Quote:
Originally Posted by prn1357 View Post
Another question. Is there a language that can be written entirely in notepad, without any other software?
Only every programming language in existence, fortunately.

Quote:
I think java needs some special program to work
Yeah, it needs a JRE, or Java Runtime Environment. You should know, however, that Java is still the most portable language by a pretty long shot, especially when you're considering cross-platform compatibility.
Intellect v2
(9 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-6700K Processor ASUS ROG MAXIMUS VIII HERO LGA1151 DDR4 M.2 SAT... EVGA GTX 1080 SC ACX 3.0 Crucial Ballistix Sport 32GB DDR4 2400 MT/s (PC... 
CoolingKeyboardPowerCase
Noctua NH-D15 Das Keyboard 4 Professional (Brown) Corsair AX860 Fractal Design Define R5 
Mouse
MIONIX NAOS 7000 
  hide details  
Reply
Intellect v2
(9 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7-6700K Processor ASUS ROG MAXIMUS VIII HERO LGA1151 DDR4 M.2 SAT... EVGA GTX 1080 SC ACX 3.0 Crucial Ballistix Sport 32GB DDR4 2400 MT/s (PC... 
CoolingKeyboardPowerCase
Noctua NH-D15 Das Keyboard 4 Professional (Brown) Corsair AX860 Fractal Design Define R5 
Mouse
MIONIX NAOS 7000 
  hide details  
Reply
post #9 of 9
Python.

If the question you are asking IS are the any languages that can be written entirely in notepad, the answer is yes, every single one, its all just text.

If the question you are asking are there any languages that you can just run without anything, you will be sad to know that you wouldn't have a computer if it weren't for something running a program. Things like batch files, shell scripts, etc. are all natively handled, but your higher level languages all need some of compilation/interpretation environment.

But start with Python. It's an easy language that all but forces you to write code that is at the very least somewhat organized. Oh and I definitely second Notepad++, it's my third favorite environment, behind 1. Gedit (YUP!) and 2. Eclipse.

To be fair I'm starting to warm up to Code::Blocks however. For anyone who's interested.
Edited by LetThereBeDwight - 3/14/11 at 11:44pm
Lappy 3001
(13 items)
 
  
CPUMotherboardGraphicsRAM
i3-560 @ 3.85 GHz ASRock H55M-LE PNY XLR8 GTX 460 4G Corsair XMS3 DDR3 @ 1600 MHz 
OSMonitorPowerCase
Windows 7 / Ubuntu Samsun SyncMaster 226bw 22" Corsair CX600 Cooler Master HAF 932 
  hide details  
Reply
Lappy 3001
(13 items)
 
  
CPUMotherboardGraphicsRAM
i3-560 @ 3.85 GHz ASRock H55M-LE PNY XLR8 GTX 460 4G Corsair XMS3 DDR3 @ 1600 MHz 
OSMonitorPowerCase
Windows 7 / Ubuntu Samsun SyncMaster 226bw 22" Corsair CX600 Cooler Master HAF 932 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Another "Which programming language" thread