|
Search Forums:
|
|||||||
| Forums | Register | Forum Rules | Linux and Unix Links | Man Pages | Albums | FAQ | Users | 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 !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Sponsored Links | |
|
|
|
#2
|
|||
|
|||
|
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 If it accepts arguments via **argv -> Code:
/path/to/code/myprog arg1 arg2 |
| Sponsored Links | ||
|
|
![]() |
| Tags |
| linux commands |
| Thread Tools | Search this Thread |
| Display Modes | |
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 05: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-18-2003 11:55 PM |
| Command line parameter for C program | Wing m. Cheng | Programming | 3 | 05-18-2002 09:43 AM |
| about wave file integrating. | livic | Programming | 1 | 08-19-2001 10:47 PM |
|
|