Search Results

Showing results 1 to 26 of 26
Search took 0.01 seconds.
Search: Posts Made By: programmer321
Forum: C Jul 1st, 2008
Replies: 5
Views: 2,027
Posted By programmer321
Well precisely, can anyone help me writing a C code for converting Unicode data to ASCII data. Unicode data to be read from a particular file. like the file contains (नमस्ते) 10 times in seperate...
Forum: C Jun 27th, 2008
Replies: 5
Views: 2,027
Posted By programmer321
Hello,

Please guide me to write how to write a C code for converting Unicodes (like 0905 for अ). the output i.e. अ should be written to a text file.

Regards.
Forum: Shell Scripting Jun 25th, 2008
Replies: 4
Views: 3,844
Posted By programmer321
Hello,

I need to create a shell script to telnet to a remote server. Perform some action and then exit from that server.

I am trying with a dummy script:
#!/bin/bash

telnet 172.11.11.21...
Forum: Legacy and Other Languages Jun 24th, 2008
Replies: 5
Views: 2,283
Posted By programmer321
But this thing is definitely possible in Linux.
Forum: Legacy and Other Languages Jun 20th, 2008
Replies: 5
Views: 2,283
Posted By programmer321
Hello,

I have a query regarding a DOS command. I know this link is not the right place to ask queres about DOS but didnt find any another link in this forum.

I need to send Cntrol +C to a...
Forum: Java May 20th, 2008
Replies: 5
Views: 1,568
Posted By programmer321
Well this didnt make any difference.
Forum: Java May 20th, 2008
Replies: 5
Views: 1,568
Posted By programmer321
I agree with u that exception is caused by split function. As per my understanding Readline function should idly read on complete line, but here readline function is reading once a complete line and...
Forum: Java May 20th, 2008
Replies: 5
Views: 1,568
Posted By programmer321
Hello,

I am writing a small java code which read from a text file line by line and parses each read line(hash seperated).

Here is the code snippet:
in =new BufferedReader(new...
Forum: Shell Scripting May 8th, 2008
Replies: 3
Views: 4,015
Posted By programmer321
Thanks Blater. It worked.
Forum: Shell Scripting May 8th, 2008
Replies: 3
Views: 4,015
Posted By programmer321
Can any one guie me how to find yesterday's date (taking care of the leap years as well)in the format yymmdd using a shell script.

Regards.
Forum: Shell Scripting May 1st, 2008
Replies: 5
Views: 930
Posted By programmer321
Forum: Shell Scripting May 1st, 2008
Replies: 5
Views: 930
Posted By programmer321
Thanks Salem for the response. Can u suggest me a solution for finding a list of missing number from a given range say between 1 and 120.

Regards.
Forum: Shell Scripting Apr 30th, 2008
Replies: 5
Views: 930
Posted By programmer321
Hello,

I need to search from a text file all those number from the lines which which lie in the range 1 to 120. Say I have a file with number:
1
2
3
900
1200
so on...
Forum: C Apr 11th, 2008
Replies: 3
Views: 1,455
Posted By programmer321
Thanks Mitrmkar,

My issue is resolved by using SetConsoleCtrlHandler. Regarding the responses you gave me:
1. "Inside Signal Handler" is printed each time I press Cntrl+C on linux. But the Exe...
Forum: C Apr 9th, 2008
Replies: 3
Views: 1,455
Posted By programmer321
Hello,

I have written a test code for signal handling. The code is compataable for both Windows and Linux. The code is as:

#include <signal.h>
#include<stdio.h>
#include<string.h>
#include...
Forum: C Apr 7th, 2008
Replies: 11
Views: 4,062
Posted By programmer321
Definitely Jephthah. I will take definitely work upon ur advice. Thanks.

Regards.
Forum: C Apr 7th, 2008
Replies: 11
Views: 4,062
Posted By programmer321
Hello,

Thanks everybody, the issue is resolve. The problem was - the same logging function was being called by two threads without any mutex or concurrency checks being appiled on the functions....
Forum: C Apr 4th, 2008
Replies: 7
Views: 850
Posted By programmer321
It has worked. I was making a silly mistake of include the #define _WIN32_WINNT 0x0500 after #include <windows.h>.

Thanks a lot for help.

Regards.
Forum: C Apr 4th, 2008
Replies: 7
Views: 850
Posted By programmer321
Forum: C Apr 4th, 2008
Replies: 7
Views: 850
Posted By programmer321
Dear Narue,

Thanks for your response. Possible this would solve my problem. But i am struck up at the inital levels for incorporating this code into my main code . I tried to run the code provided...
Forum: C Apr 2nd, 2008
Replies: 7
Views: 850
Posted By programmer321
-The compiler is VC++.
-Operating system is windows server 2003/ windows NT.
-This is a command line program.
Forum: C Apr 1st, 2008
Replies: 7
Views: 850
Posted By programmer321
Hello,

I need my C code Exe to exit only using Cntrol + C and the cross should be disabled. Can anyone help me with this.

Regards.
Forum: C Mar 16th, 2008
Replies: 11
Views: 4,062
Posted By programmer321
Thanks for ur response.. Well I do understand its difficult to understand from a code snippet. I ll try to explain wat I am trying to do. I hv taken a global file pointer. I open a file wit that file...
Forum: C Mar 15th, 2008
Replies: 11
Views: 4,062
Posted By programmer321
Hey I just forgot to specify that i am initially opening a file pointer before calling this function. Basicaaly, I am trying to implement cyclic logging i.e. if the my file size increeasies say 10...
Forum: C Mar 14th, 2008
Replies: 11
Views: 4,062
Posted By programmer321
Hello,
In one of my C codes, I have written a function for logging into a files. When the size of the file exceeds 10 MB, I close that file and open a new file. But at run time my Code is crashing...
Forum: C Aug 9th, 2007
Replies: 2
Views: 674
Posted By programmer321
Hi All,

I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can...
Showing results 1 to 26 of 26

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC