LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-19-2008, 08:31 AM   #1
barkat
LQ Newbie
 
Registered: Jul 2008
Location: Malaysia
Posts: 1

Rep: Reputation: 0
How to Run code


hye i new to linux i m trying this code tcp and i reciver too many error plz any can help me out how to run this code

gcc tcp.cc -o tcp
i recieve many errors in header file
 
Old 10-19-2008, 08:32 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
My God, does it not occur to you to tell us the errors you're getting and to post your code? We can't see your screen..
 
Old 10-19-2008, 10:58 AM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by barkat View Post
hye i new to linux i m trying this code tcp and i reciver too many error plz any can help me out how to run this code

gcc tcp.cc -o tcp
i recieve many errors in header file
After you get the code to compile/link, run the executable using the following statement:
Code:
./tcp



Oh.. you are having trouble compiling! Well, then please post some code so we can see what you are attempting to do.
 
  


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
Automake Need Help Forcing Code to Run First binarybob0001 Programming 1 08-03-2008 05:38 AM
getting code to run on Debian Etch? knobby67 Programming 1 03-27-2007 08:10 PM
How to make a code to run as deamon?? makkays Programming 13 01-22-2007 06:59 AM
how will i run a exe from java code? ambuj Programming 6 01-24-2004 08:32 AM
The code cause a run time error Linh Programming 9 07-11-2003 08:17 AM

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

All times are GMT -5. The time now is 05:11 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