Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
50% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
2 Commented Posts
0 Endorsements
~12.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Dave Sinkula

Many times [inlinecode]strtok[/inlinecode] is recommended for parsing a string; I don't care for [inlinecode]strtok[/inlinecode]. Why? [list][*]It modifies the incoming string, so it cannot be used with string literals or other constant strings. [*]The identity of the delimiting character is lost. [*]It uses a static buffer while parsing, so it's not …

Member Avatar for anti_neoliberal
0
10K
Member Avatar for sanushks

Hi all, I'm unable to get the below update SQL to run in Oracle, it's giving me th below error ORA-00933: SQL command not properly ended. Any help appreciated. UPDATE PDR.PH_Family_Match_by_Chassis a SET a.Launched = 'Y' INNER JOIN PDR.domCHASSIS ON a.chassis_id = PDR.domCHASSIS.chassis_id INNER JOIN PDR.domCHASSIS_MODULE ON PDR.domCHASSIS.chassis_id = PDR.domCHASSIS_MODULE.chassis_id …

Member Avatar for rch1231
0
260
Member Avatar for sanushks

Hi, Below is the makeFile i tried executing on SuSe linux and getting many undefined reference errors. Anybody can shed light on this. SHELL = /bin/sh CFLAGS = -O -DSVR4 CC = /usr/bin/cc SO_LIBS = channel.so all: $(SO_LIBS) channel.so: channel_limit.o chglobals.o chinit_windup.o chprocess.o files_n_pipes.o list.o tree.o ld channel_limiting.o chglobals.o \ …

Member Avatar for sanushks
-1
127
Member Avatar for sanushks

Hi, I'm running a Perl script as a service which moves files from a particular source directory to the target directory in Windows server 2003 . It polls the source directory and runs in an infinite loop. The service hangs and perl script does not move files from source to …

Member Avatar for KevinADC
-1
241
Member Avatar for sanushks

Hi All, Currently i'm using `sprintf` to copy from pointer variable to a character array. `sprintf(length,"%.*s",(int)len,part1);` where part1 is a pointer to a character array.. length is a characteter array too. Is there a way i can do the above thingy to copy the part1 to a integer variable? Thanks …

Member Avatar for sanushks
0
158
Member Avatar for sanushks

Is there a function in C which can read dual delimiters, there is strtok which works using a single delimiter.. Is i need to decode a file as such 123#!45!2#!678#!666#!45!6#! in the above case #! is the delimter, if i use strtok and use(#! as delimiter) 45!2 in the above …

Member Avatar for cool_zephyr
0
208
Member Avatar for sanushks

Hi All, I'm using gdb to debug a C code which does file processing. The file i'm processing has about 100,000 records. The code runs fine until the 30,000 records and after that it produces garbage value. Could i use gdb to run the code until it reaches 30,000 records …

Member Avatar for sanushks
0
104
Member Avatar for sanushks

Hi All, I'm running a C code on cygwin compiled with gcc, the code basically does file processing, it runs fine on my PC, but when run on a Solaris machine, it gives Bus error and core dumps. Is it a known issue? If not, is there any way i …

Member Avatar for sanushks
0
284
Member Avatar for sanushks

Hi All, i'm executing a C program in unix, is there a way i would be able to capture abnormal termination of the C program. i observed that abnormal termintion results in the segmentation fault message being displayed. Would i be able to capture the return count in Unix to …

Member Avatar for kenji
0
171
Member Avatar for sanushks

Hi All. I've compiled my code in Turbo C++ in a WinXp machine, Will i be able to execute the compiled code(.exe file) in Windows server 2003 or Unix Machine.If yes, is there any libraries or software i need to copy on the other machine. Thanks in advance

Member Avatar for jbennet
0
116
Member Avatar for sanushks

I'm a C novice, require help on parsing text files and storing in an array or another text file: Below is the data which are partly pipe delimited values and part of it are name-value pairs, for instance the "cma{PL}Ind{1}man{6}gal{0}cif{}" mentioned below cma is the field name and PL is …

Member Avatar for sanushks
0
129