The UNIX and Linux Forums  


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
How to pass an array from SHELL to C function elthox Shell Programming and Scripting 1 02-21-2009 01:08 PM
Pass array variabel to awk from shell appsguy616 Shell Programming and Scripting 1 10-20-2008 04:12 PM
pass the input to invoking script vastare Shell Programming and Scripting 6 07-10-2008 02:30 AM
pass input arguements to DB2 SQL script mpang_ Shell Programming and Scripting 0 12-12-2006 11:27 PM
read a file as input and pass each line to another script sajjad02 Shell Programming and Scripting 0 09-25-2004 12:13 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-30-2009
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 256
How to pass C array as input to Shell script

Hi,

In the below C code , i want to pass the array to a unix shel script.

my script should called as ex myscript 1,2,3

#include <stdio.h>
int main()
{
int a[2]={1,2,3};
}

Thanks,
Arun
 

Bookmarks

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 06:20 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