LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-27-2008, 05:48 PM   #1
gamer4lyf3
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Transferring from windows C++ environment to Linux.


Hey, I was wondering if anyone could please give me a good IDE for someone who just came from programming in windows. Any way that the header files can be the same so when I run some of my programs in Linux so I don't have to edit them when I get to a windows computer. The reason for this is that at my high shcool we use Windows XP and I need to program at home and can't install Visual studio via WINE. Any help please .
 
Old 04-27-2008, 06:04 PM   #2
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Hopefully your school teaches programming and not IDEs, that way you can switch over the "proper" way and use a text editor and gcc in a terminal. Are you writing GUI programs, or just command-line?
ta0kira
 
Old 04-27-2008, 06:27 PM   #3
gamer4lyf3
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Original Poster
Rep: Reputation: 0
To be honest I got the term IDE from the sticky in this forum. I figured that IDEs were just like the visual programming lay out. But were learning programming like classes, pointers(Hard concept for me to grasp), arrays, and what not. Were just writing console programs wring now. Next year we get into GUI programs.
 
Old 04-27-2008, 09:25 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by gamer4lyf3 View Post
To be honest I got the term IDE from the sticky in this forum. I figured that IDEs were just like the visual programming lay out.
You might want to something like vim (a good vi superset). For many this is all the IDE you ever need. If, however, this does not appeal to you, you can try the graphical ones listed in—you guessed it—the sticky.
Quote:
Originally Posted by gamer4lyf3 View Post
Were just writing console programs wring now. Next year we get into GUI programs.
Standard C++ programs are cross platform (thus the “standard”), so you won’t have any problems with missing headers and such. GUI programs, however, are usually platform-specific (e.g., win32), although there are cross-platform ones as well (e.g., qt4), in addition to things like winelib which allow you compile win32 code on *nix machines.
 
Old 04-27-2008, 10:06 PM   #5
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by gamer4lyf3 View Post
Hey, I was wondering if anyone could please give me a good IDE for someone who just came from programming in windows.
And what IDE did you use in Windows? (I suppose it was Visual Studio)
Anyway, I recommend to work without IDE. You can pick a good text editor (Emacs, vim, Kate, or something else). If you can't live without IDE - take a look at Eclipse, KDevelop, Anjuta.

Quote:
Originally Posted by gamer4lyf3 View Post
Any way that the header files can be the same so when I run some of my programs in Linux so I don't have to edit them when I get to a windows computer.
This will be possible only if something of the following apply:
1) you are use only standart C++ library functions.
2) you don't use any platform-dependant API (CreateFile() on Windows, fork() on Linux)

or if
3) you are using cross-platform framework, like Qt, wxWidgets, or something like that.

Even in those cases there might be trouble in some situations - not-fully-standart functions can be named differently or they can have different number parameters in Windows and Linux (example: vswprintf. 4 parameters on linux, 3 on Windows, Windows version version is missing target buffer length.).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Transferring files from linux to windows (using terminal server) hondo Linux - General 1 08-13-2007 07:36 AM
Transferring files/folder into Linux from Windows XP environment sheenawee Linux - General 1 01-25-2006 12:19 PM
Transferring data from Linux to Windows satyatechie Linux - Newbie 1 07-13-2005 08:24 AM
Transferring emails from windows to Linux nappy501 Linux - Software 5 01-09-2005 09:10 AM
Transferring Files from linux to windows on floppys? rverlander Linux - General 6 06-23-2002 12:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration