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
need_uconvert(3alleg4)						  Allegro manual					    need_uconvert(3alleg4)

NAME
need_uconvert - Tells if a string requires encoding conversion. Allegro game programming library. SYNOPSIS
#include <allegro.h> int need_uconvert(const char *s, int type, int newtype); DESCRIPTION
Given a pointer to a string (`s'), a description of the type of the string (`type'), and the type that you would like this string to be converted into (`newtype'), this function tells you whether any conversion is required. No conversion will be needed if `type' and `new- type' are the same, or if one type is ASCII, the other is UTF-8, and the string contains only character values less than 128. As a conve- nience shortcut, you can pass the value U_CURRENT as either of the type parameters, to represent whatever text encoding format is currently selected. Example: if (need_uconvert(text, U_UTF8, U_CURRENT)) { /* conversion is required */ } RETURN VALUE
Returns non-zero if any conversion is required or zero otherwise. SEE ALSO
set_uformat(3alleg4), get_uformat(3alleg4), do_uconvert(3alleg4), uconvert(3alleg4) Allegro version 4.4.2 need_uconvert(3alleg4)