|
Last change
on this file since 1504 was
1504,
checked in by rgrieder, 17 years ago
|
|
Once again, set all the svn:eol-style property to native. I really hope this doesn't pose more problems than it solves..
|
-
Property eol-style set to
native
|
|
File size:
257 bytes
|
| Line | |
|---|
| 1 | #include "Convert.h" |
|---|
| 2 | #include <iostream> |
|---|
| 3 | |
|---|
| 4 | int main(int argc, char** argv) |
|---|
| 5 | { |
|---|
| 6 | int input = rand(); |
|---|
| 7 | std::string sub; |
|---|
| 8 | int output = 0; |
|---|
| 9 | |
|---|
| 10 | ConvertValue(&sub, input); |
|---|
| 11 | ConvertValue(&output, sub); |
|---|
| 12 | |
|---|
| 13 | if (input == output) |
|---|
| 14 | return 0; |
|---|
| 15 | else |
|---|
| 16 | return -1; |
|---|
| 17 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.