Skip to content

bradylange/string-to-integer-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

string-to-integer-converter

Parses string values to integer values like the C atoi library method.

Brady Lange

03/12/18

Op Sys Programming

Assignment 3

src/my_atoi.c

This program converts strings to integers uses a while loop to handle white space and uses an algorithm that calculates the integer value of the string.

Input:

a.out 567

Output:

The string '567' was parsed to the integer 567

Issues:

  • my_atoi.c: Converts -4506 to -25494

About

Parses string values to integer values like the C `atoi` library method.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages