LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-05-2005, 10:27 PM   #1
ravikumarG
Member
 
Registered: Feb 2005
Location: India
Distribution: Fedora -2 ,Rhel3.0,CentOs 4.0-rc2
Posts: 60

Rep: Reputation: 15
Question c c++ compiler


Hi,

At this url http://www.research.att.com/~bs/applications.html, mentiond
list of applications written in C++.

1. Applications written for windows will use Visual C++ or any other?
whats the difference between vc++ and c++ on windows?

Suppose Adobe products developd in c++ means vc++ ?

What i want to know is if i learn c++ on linux , will i need to learn again vc++
if i want to write programs on Windows?
 
Old 05-05-2005, 10:31 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
Visual C++ is C++ with a few minor differences. I strongly suggest you learn standard C++ first, then move on to VC++ and the Windows API. (Or just forget windows entirely)
 
Old 05-05-2005, 10:33 PM   #3
oblivious69
Member
 
Registered: May 2005
Distribution: debian
Posts: 79

Rep: Reputation: 15
C++ is the language...they are the same on linux and windows.

Visual C++ is just a tool for writing C++ code for Windows. It comes with the libraries needed to specifically program for windows, but you'll still be programming in C++.

There are other Visual C++ like tools on Windows, like Borland and Watcom.
 
Old 05-06-2005, 04:32 AM   #4
ravikumarG
Member
 
Registered: Feb 2005
Location: India
Distribution: Fedora -2 ,Rhel3.0,CentOs 4.0-rc2
Posts: 60

Original Poster
Rep: Reputation: 15
Hi,
Thanks for your information.

So to do programming on Windows , we must learn vc++ ? or c++ is enough ?

i mean i know c++ on linux, But i can;t directly do windows GUI programing with

c++ knowledge in linux. So whats the way to do programming on Windows

without using Vc++ but using my knowledge of c++ in linux.


-Thanks for your time.
 
Old 05-06-2005, 05:29 AM   #5
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
Think of VC as the microsoft kdevelop version. It eats C and C++, and as long as you stay within the language, most code written under linux will compile directly under VC (inline assembly will not).

Further components under linux, and their functional counterpart (roughly) under windows:

GTK : MFC (microsoft foundation classes) (there is also a windows port of GTK)
SDL: DirectDraw (for blt ops), DirectShow (video output), Direct3D (OpenGL), DirectSound (guess what)
 
Old 05-06-2005, 06:20 AM   #6
oblivious69
Member
 
Registered: May 2005
Distribution: debian
Posts: 79

Rep: Reputation: 15
There are plenty of free compilers for windows that let you do non-GUI programming and GUI programming, check out http://www.thefreecountry.com/compilers/cpp.shtml.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

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

All times are GMT -5. The time now is 08:20 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration