Skip to content

Commit 6faf533

Browse files
authored
Update README.md
1 parent cc3e293 commit 6faf533

File tree

1 file changed

+1
-1
lines changed
  • lcof/面试题67. 把字符串转换成整数

1 file changed

+1
-1
lines changed

lcof/面试题67. 把字符串转换成整数/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class Solution {
148148
```cpp
149149
class Solution {
150150
public:
151-
int StrToInt(string str) {
151+
int strToInt(string str) {
152152
int res = 0, bndry = INT_MAX / 10;
153153
int i = 0, sign = 1, length = str.size();
154154
if (length == 0) {

0 commit comments

Comments
 (0)