Search Results

Search: Posts Made By: vkca
Forum: Programming 08-21-2012
1,381
Posted By vkca
Linking .so into C program
I have a C binary file(.so as extension) which is delivered by a product.
How do i use this functionalities of this .so file in my C program?
How can in link the .so to my C program?
Forum: Programming 05-14-2012
3,703
Posted By vkca
Mr Corona688, please read my first thread........
Mr Corona688,
please read my first thread..... u will get to know what i am expecting!

i asked the output to be in this format
111aaadescr1222bbbdescr2333ccc 444ddddescr4

but my...
Forum: Programming 05-13-2012
3,703
Posted By vkca
hi Jim, fgets is not working. the output is...
hi Jim,
fgets is not working. the output is same as the input

111 aaa descr1
222 bbb descr2
333 ccc <SPACE> {6 spaces are left after ccc i.e in 3rd column}
444 ddd descr4
Forum: Programming 05-13-2012
3,703
Posted By vkca
#include<stdio.h> #include<conio.h> struct...
#include<stdio.h>
#include<conio.h>
struct buffer {
char data1[255];
char data2[255];
char data3[255];
};
int main(int argc, char *argv[]){

struct buffer dat;
char...
Forum: Programming 05-13-2012
3,703
Posted By vkca
File operations in C pgm
i am reading and writing to a a file in C language. the input file is described as follows

111 aaa descr1
222 bbb descr2
333 ccc <SPACE> {6 spaces are left after ccc i.e in 3rd column}
444 ddd...
3,132
Posted By vkca
it is Linux sytem
it is Linux sytem
3,132
Posted By vkca
Performance calculation for Message Queues
i have a program(C++ Code) that sends/receives information through queue's (Uses MQ)
Is there any UNIX/LINUX tool that calculates the load and performance time for the same.
If not how do i...
1,237
Posted By vkca
Script/SQL configuration
Thank u all for the reply.

i found that it is not the problem with the screen configuration, but it is the problem with the column width that the sql will write into the buffer

i used 'set...
1,237
Posted By vkca
Script/SQL configuration
i have a field in a record which is varchar2(180) and i have stored 180 characters in it
when i query record for the value from sqldeveloper, it is coming properly
when i connect from UNIX and try...
Forum: UNIX and Linux Applications 10-23-2011
10,960
Posted By vkca
Passing the value of a cursor to another cursor
i have 2 cursors. i want to assign the value of first cursor(employee_id) to the where condition of cursor c2(please refer the bold statement).
how do i do if i want to assign the value of c1 to...
2,186
Posted By vkca
the csv file is encoded in UTF8
the csv file is encoded in UTF8
2,186
Posted By vkca
Korn shell to insert cyrillic characters into the databse
i have written a shell script that reads a csv file and inserts tokenized strings into the database.

the problem comes when the csv file has cyrillic characters.

how do i set the parameters...
1,543
Posted By vkca
AWK Query
i have a log file where in i have 3 columns
a 11 test1
b 22 test2

in a script, i want to pass first column as an argument to awk so that i can get the second and third column respectively
...
Forum: Programming 03-13-2011
1,806
Posted By vkca
true. and ofcourse its palindrome
true. and ofcourse its palindrome
Forum: Programming 03-13-2011
1,806
Posted By vkca
C program for generating loophole series
C PROGRAM TO GENERATE THE FOLLOWING SERIES CALLED LOOPHOLE SERIES:-
3,5,53,13,19,7,19,13,53,5,3
How do i do it?
Can somebody explain what is Loophole series and its applications?
2
Sed
867
Posted By vkca
Sed
i have an unix path
/exec/gdb/bin

i want the out expression as

/\exec/\gdb/\bin....

how do i do using seddynamically.(dynamically means the path can change?
8,012
Posted By vkca
kindly let me know the operating system u r...
kindly let me know the operating system u r using..
u can write a script wherein u can list the files and get the user who have modified.
the code goes something like this!
ls -lrt | awk '{print...
1,142
Posted By vkca
what do you mean by IP Address are hardcoded? ...
what do you mean by IP Address are hardcoded?
can u be more clear on this?
do u want the script that converts the domain name into IP address?
8,578
Posted By vkca
Try debugging by using IBM Rational purify
Try debugging by using IBM Rational purify
20,548
Posted By vkca
hi aishsimplesweet In your case, shell script...
hi aishsimplesweet
In your case, shell script can have only one argument i.e $1

what you can do is declare a variable var=$1
then split based on delimiter. (i.e ")

Let us know the complete...
20,548
Posted By vkca
#!/usr/bin/sh var1=$1; var2=$2; ...
#!/usr/bin/sh


var1=$1;
var2=$2;


u can get the parameters in $ variable....
FYI: $0 is the script name itself
3,855
Posted By vkca
Multiple files read error in Shell
Hi All,
there is a script that reads multiple files in a directory starting with CTG_TMPxx where xx is an integer number.
i have a problem in readin the last file. For example, if there are 10...
1,862
Posted By vkca
UNIX file reading
i have a directory that has n files starting with ABC_00x.txt and ABC_00x.txt where x is the integer number.
i want to read the contents of each file and write it into a log file.
can somebody help...
1,254
Posted By vkca
file will be holding static value.... for...
file will be holding static value....
for example ABC_file1
1,254
Posted By vkca
for a single file its OK i am checking multiple...
for a single file its OK
i am checking multiple files.... i.e n number of times if is executed
f1='ABC_'
f2='XYZ_'
f3='DHF_'

if [ ! -f $f1$file ]
then
echo "f1 passed";
if [ ! -f $f1$file ]...
Showing results 1 to 25 of 51

 
All times are GMT -4. The time now is 01:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy