Jump to content

Scan C constants from string


Recommended Posts

  • 4 years later...

QUOTE (Minh Pham @ Oct 1 2008, 07:30 PM)

You can probably write a small vi to do this kind of task in 2 mins. Good luck

I did but the idea is to have a format specifier integrated with "Scan From String" so a string containing such constants can be parsed with the rest of the elements (instead of indentify the string, isolate it and convert it separately).

Link to comment

QUOTE (jpdrolet @ Oct 1 2008, 08:12 PM)

I did but the idea is to have a format specifier integrated with "Scan From String" so a string containing such constants can be parsed with the rest of the elements (instead of indentify the string, isolate it and convert it separately).

lol! In C you wouldn't even think about asking for something like that :yes:

I wonder if Perl has it. From all those strange programming languages I would expect it to be the first that would come up with such a universal superduper format specifier.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.