inmemory conversion equivalent in c++


 
Thread Tools Search this Thread
Top Forums Programming inmemory conversion equivalent in c++
# 1  
Old 11-23-2002
Hammer & Screwdriver inmemory conversion equivalent in c++

sscanf() is used in c for inmemory conversion. Is there any routine provided in c++ that allows us to perform the same task(i.e inmemory conversion) as performed by sscanf in c.
I f any one knows plz tell me about it. Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Cybersecurity

chage -d equivalent

Hello all, I was wondering if there was a LINUX command equivalent of 'chage -d' on for the following UNIX flavors: HP-UX Solaris AIX I want to be able to change the aging for an account on each system without inadvertently expiring an account that is like with the "/bin/passwd -x" or... (2 Replies)
Discussion started by: LinuxRacr
2 Replies

2. Shell Programming and Scripting

Regex equivalent to ! (not)

I want to have a regex line equivalent to the following: !\bfalse\b basically search for not exact string "false" (5 Replies)
Discussion started by: streetfighter2
5 Replies

3. Shell Programming and Scripting

How to do equivalent of /(regexp){0}/ ?

I don't want to have to resort to /()/ though that does work. Effectively, I need to be able to implement /(?:(?:regexp1){0})(regexp2)\D/ to basically match regexp2 as long as it is present and regexp1 is NOT. So, how to do /(regexp){0}/ ? (2 Replies)
Discussion started by: Vi-Curious
2 Replies

4. UNIX for Dummies Questions & Answers

lseek() equivalent

I know there is lseek() function that will allow to write or read from certain position in the file. Is there similar function that will let do same but for array rather then file? (9 Replies)
Discussion started by: joker40
9 Replies

5. Shell Programming and Scripting

need perl equivalent

Dear All, Good day, can any of you help me in the following problem: I need to find the perl equivalent for the following commandline grep characters |awk '{print \$2}'Expecting your reply and thanks in advance. Warm regards Fredrick. (4 Replies)
Discussion started by: Fredrick
4 Replies

6. HP-UX

pwdx equivalent on HP

In sun solaris, pwdx will give the print working directory. Suppose I have 5 databases running on different oracle versions. If I want to know what database is running on what oracle version, I just give pwdx <process id>. It will show the oracle home details. Could you give me the... (10 Replies)
Discussion started by: oracleuser
10 Replies

7. Shell Programming and Scripting

ps ax equivalent in solaris

I am using "ps ax" command in one of my scripts . AIX has x flag for ps . is there any equilent command for ps ax in solaris ? Thanks (1 Reply)
Discussion started by: talashil
1 Replies

8. Solaris

Equivalent of logCat

I am looking for logCat command in sun solaris unix version. Please help me. (0 Replies)
Discussion started by: aravindj80
0 Replies

9. HP-UX

mcs equivalent in HP-UX

Hi, I need to add some comments in the generated executables ( exes and .sl ). I used to use mcs command in solaris. What is the equivalent in HP. On googling and searching the HP site, it gave me to a link of STK for HP from True64, which isn't working. Is there any substitute or... (5 Replies)
Discussion started by: vibhor_agarwali
5 Replies

10. UNIX for Dummies Questions & Answers

snoop equivalent

is there a snoop equivalent in other flavors of unix? HPUX, SCO or linux. TIA Peter (2 Replies)
Discussion started by: pbonilla
2 Replies
Login or Register to Ask a Question
RKMAPROMA(3)						     Library Functions Manual						      RKMAPROMA(3)

NAME
RkMapRoma - perform Romaji-kana conversion by using a specified Romaji-kana conversion table SYNOPSIS
#include <canna/RK.h> int RkMapRoma(romaji, dst, maxdst, src, srclen, flags, status) struct RkRxDic *romaji; unsigned char *dst; int maxdst; unsigned char *src; int srclen; int flags; int *status; DESCRIPTION
RkMapRoma performs Romaji-kana conversion by using a specified Romaji-kana conversion table. romaji specifies a pointer to the Romaji-kana conversion table that has been returned by RkOpenRoma(3). RkMapRoma interprets the srclen bytes of contiguous data starting at the area src as a Romaji character string and searches through the Romaji-kana conversion table for the rule of Romaji-kana conversion that matches the beginning of the Romaji character string. If the corresponding conversion rule is found, the corresponding kana character string is stored in the area dst. The resulting character string is truncated when its byte length exceeds maxdst -1. dst is padded with null char- acters at the end if possible. flags is a combination of the following Romaji-kana conversion flags connected by or: RK_SOKUON Enables gemination, in which a sequence of two occurrences of the same character, xx, is converted to small kana character "tsu" only if it is not defined in the Romaji-kana conversion table file. RK_FLUSH Converts all Romaji characters compulsorily. Useful for handling n appearing at the end of a character string. The flags listed below specify the type of characters stored in src. These specified code conversion to be performed on the character string derived from the Romaji-kana conversion table. These flags can use one by one. RK_NFER No conversion RK_XFER Hiragana RK_HFER Single-byte character RK_KFER Katakana RK_ZFER Double-byte character status is set to the byte length of the character string set in the area dst. A negative value means that there is no matching Romaji character string. RETURN VALUE
This function returns the starting byte length of the Romaji character string matched by Romaji-kana conversion. RKMAPROMA(3)