Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F67339792
sstream_main_arguments.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jun 21, 21:39
Size
209 B
Mime Type
text/x-c
Expires
Sun, Jun 23, 21:39 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18374306
Attached To
R7571 SP4E-TB-TL-FR
sstream_main_arguments.cpp
View Options
#include <sstream>
int
main
(
int
argc
,
char
**
argv
)
{
std
::
stringstream
sstr
;
for
(
int
i
=
1
;
i
<
argc
;
++
i
)
{
sstr
<<
argv
[
i
]
<<
" "
;
}
double
arg1
;
sstr
>>
arg1
;
int
arg2
;
sstr
>>
arg2
;
}
Event Timeline
Log In to Comment