Top "Formatted-input" questions

Anything related to the reading of input that shall be compliant with a predefined format

C# equivalent of C sscanf

Possible Duplicate: Is there an equivalent to 'sscanf()' in .NET? sscanf in C is a nice way to read …

c# c string formatted-input
How to extract mixed format using istringstream

Why does my program not output: 10 1.546 ,Apple 1 instead of 10 1 <empty space> here's my program: #include <iostream> #…

c++ istringstream formatted-input
Use scanf with Regular Expressions

I've been trying to use regular expressions on scanf, in order to read a string of maximum n characters and …

c unix scanf expression formatted-input
Read numbers from file into a dynamically allocated array

I need a function that reads grades (integers) from from file and returns a dynamically allocated array in which they …

c arrays file-io dynamic-memory-allocation formatted-input
C++ stringstream value extraction

I am trying to extract values from myString1 using std::stringstream like shown below: // Example program #include <iostream> #…

c++ stream formatted-input
Initializing a vector from a text file

I am attempting to write a program which can read in a text file, and store each word in it …

c++ string file-io vector formatted-input
problems with scanf("%d\n",&i)

For this code: int i; scanf("%d\n",&i); I am not able to stop my program until I …

c++ c format scanf formatted-input
Does anyone actually use stream extraction operators?

I've written tons of operator<<(std::ostream &, const T &) functions -- they're incredibly useful. I've never …

c++ iostream formatted-input
loading formatted data in VBA from a text file

I'm looking for the best way of loading formatted data in VBA. I’ve spent quite some time trying to …

vba formatted-input