| ??? 01/11/04 15:37 Read: times |
#62343 - RE: Convert string to integer Responding to: ???'s previous message |
One way is to write your C program wherein the subroutine converts the string into an unsigned long variable. Then the comparison to check the result can look like if(var <= 65535L) . If the comparison shows a valid value you can then move a copy of the unsigned long variable to the unsigned int working variable.
Michael Karas |
| Topic | Author | Date |
| Convert string to integer | 01/01/70 00:00 | |
| RE: Convert string to integer | 01/01/70 00:00 | |
| RE: Convert string to integer | 01/01/70 00:00 | |
| RE: Convert string to integer | 01/01/70 00:00 | |
| RE: Convert string to integer | 01/01/70 00:00 | |
RE: Convert string to integer | 01/01/70 00:00 |



