LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   How to Run code (https://www.linuxquestions.org/questions/programming-9/how-to-run-code-677561/)

barkat 10-19-2008 08:31 AM

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

Nylex 10-19-2008 08:32 AM

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..

dwhitney67 10-19-2008 10:58 AM

Quote:

Originally Posted by barkat (Post 3315484)
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.


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