Programming under linux- Ubuntu

Asked by mandza

hi everyone,
i am writing applications and interactive programs with php. Now i want to do the same work with some other programming language, like c++, delphi or something else. But i want my programs to run under linux/ubuntu and if it is posible under windows; what kind of programming language i need to select for this kind of job???
Thank you alls.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
enubuntu
Solved:
Last query:
Last reply:
Revision history for this message
Best enubuntu (mr.tennents) said :
#1

I suggest you C or C++. You can write code that works on Linux and Windows too. You must compile the source on the two platforms separately, because the Windows compilation don't work on Linux and the Linux compilation don't work in Windows.

Revision history for this message
Dorin Ciorescu (dorinciorescu) said :
#2

Hello, I am using Qt framework which is C++ library(or something like that, I am new in this), and as Enrico said you can compile your code on each OS you want. You can simply install IDE, with compiler , it si free for Windows and Linux too.

Revision history for this message
marcus aurelius (adbiz) said :
#3

c, c++ is supposedly portable, but it is not.

freepascal has been reported to be fully portable and it lets you write programs for different environment from one operating system. the site reports that free pascal supports c++ constructs as well.

it used to be available from the software center, but you can download it directly from their website www.freepascal.org. you might want to download lazarus (the object oriented ide) as well.

Revision history for this message
Johan Hake (johan-hake) said :
#4

On Saturday August 27 2011 03:55:56 mandza wrote:
> New question #169311 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/169311
>
> hi everyone,
> i am writing applications and interactive programs with php. Now i want to
> do the same work with some other programming language, like c++, delphi or
> something else. But i want my programs to run under linux/ubuntu and if it
> is posible under windows; what kind of programming language i need to
> select for this kind of job??? Thank you alls.

This is a question and answer section for DOLFIN: A problem solving
environment for ordinary and partial differential equations. Not sure why you
post your question here. You would probably get better answer elsewhere.

You would also be better of by making your question more specific. What kind
of program are you aiming at? Web applications, scientific software? People
dealing with DOLFIN has there largest experience in the latter. Here we have
good experience using C++ together with Python.

Johan

Revision history for this message
marcus aurelius (adbiz) said :
#5

johan, this thread has nothing to do with dolphin and python. you have posted in someone's question about programming with c, c++ and portability.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6
Revision history for this message
mandza (mandza) said :
#7

Thanks Enrico "eNry" Carafa, that solved my question.