The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
socket program bubba112557 Shell Programming and Scripting 1 03-28-2009 11:27 AM
Unix: socket & Co bounkolh UNIX for Advanced & Expert Users 0 05-20-2008 06:48 PM
Fedora Linux for Socket Program Development venkatesh.n UNIX for Advanced & Expert Users 0 01-16-2008 04:14 AM
Help Socket program mhetfield High Level Programming 0 04-01-2007 11:13 PM
Problem in HP-Unix while writing into socket AshokG HP-UX 0 02-25-2005 02:19 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-19-2002
sanjohn sanjohn is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 4
Question How can I program socket in unix?

Excuse me . I'm a beginner . In windows , MFC can be used , but how to do in Unix ? And does unix support c++like VC++ ? How can I get developing tools in Unix ?
  #2 (permalink)  
Old 06-19-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
In unix you can perform the same as how you were doing on MS with using compilers such as gcc & g++ gcc compiles and run c codes & g++ compile, build and run c++ codes. Do check your unix system man pages for more information "man gcc" or "man g++".
  #3 (permalink)  
Old 06-19-2002
sanjohn sanjohn is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 4
Lightbulb

So ...
The compiler is named gcc or g++ ?
And it is embedded by Unix ?
  #4 (permalink)  
Old 06-19-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
As i explained on my previous post the compiler g++ can be used to compile and build c++ codes. gcc is a same variant of the compiler but mainly used to compile c codes. Yes it is embeded by Unix. The only diffrences between MS and Unix on this situation is MS c++ Compiler do have a Visually build compiler. In g++ commands is been used instead.
  #5 (permalink)  
Old 06-19-2002
sanjohn sanjohn is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 4
But the MFC(Microsoft Foundation Class) is inviable in g++ ?
  #6 (permalink)  
Old 06-19-2002
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Im not so sure about this. But from my experience, to transfer and compile a source files and the MFC header files on a Solaris UNIX-machine with the gcc or g++. Tried, to compile the header files from the MFC in my project with both compilers (gcc and g++), but the resolution is, that there are too many bugs to
continue the transfer to the crosscompiler. The conclussion is, MS MFC Embeded code is very hard to be translated to Unix running compilers. Even if somehow you did managed to get it done, im sure the results will be not as what you expected.
  #7 (permalink)  
Old 06-19-2002
sanjohn sanjohn is offline
Registered User
  
 

Join Date: Jun 2002
Posts: 4
Anyhow , I wanna program networking in unix . I think , there must be a way to program handily just like what I perform in VC++ . While programming with VC++ , I can use MFC to make many tasks easier , you know .
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0