![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| awk program to select a portion of a line | anju | Shell Programming and Scripting | 3 | 01-11-2008 06:33 AM |
| Line works in solo but not in program? | nortypig | Shell Programming and Scripting | 4 | 08-21-2006 07:52 AM |
| linux command line admin tool | jarkvarma | UNIX for Dummies Questions & Answers | 1 | 11-19-2003 12:55 AM |
| Command line parameter for C program | Wing m. Cheng | High Level Programming | 3 | 05-18-2002 09:43 AM |
| about wave file integrating. | livic | High Level Programming | 1 | 08-19-2001 10:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Integrating Linux command Line and C program..
Hi.. I am pretty new to Linux . Jus joined 2 weeks ago. My problem is I need to design a particular Application which needs to communicate the Value calclulate by a C++ program 2 another computer..I have done a bit of socket programming to acheive this(The 2 computers are connected via LAN ) ..Now is there any way 2 automate this , as in , Can i integrate the socket programming commands ( to run them I have to compile n ru n in the terminal) and the Program,. That is to say , is it possible 4 me 2 jus give an input say run the prog. and it starts running the program and communicates the value 2 ..? ?
Pls reply if u didn't understand So thats my problem. thnx Addy |
|
||||
|
Once the program is compiled, you can run it over and over, just like in DOS or Windows.
Suppose you compiled a program myprog.cpp -> myprog. It lives in this directory: /path/to/code. Code:
/path/to/code/myprog Code:
/path/to/code/myprog arg1 arg2 |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| linux commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|