00:37:01 user_0: YESS 00:38:21 user_1: what about the extra credit? 00:38:24 user_0: will that quiz overwrite the grade of another quiz? 00:38:31 user_1: NICE! 00:38:41 user_0: YESS 00:38:46 user_2: Thank you! 00:38:49 user_0: THANK YOU! 00:43:06 user_1: good 00:43:06 user_3: good 00:43:07 user_4: all good 00:43:07 user_5: Good 00:43:07 user_6: good 00:43:08 user_7: good 00:43:08 user_2: Yes 00:43:08 user_8: good 00:43:08 user_9: good 00:43:08 user_10: yep 00:43:09 user_11: good 00:43:09 user_12: yes 00:43:09 user_13: good 00:43:09 user_14: good 00:43:10 user_15: good 00:43:10 user_16: yup 00:43:16 user_17: pretty good 00:43:43 user_18: \* 00:43:48 user_19: \* 00:43:49 user_18: \* 00:43:49 user_12: \* 00:43:50 user_20: \* 00:43:52 user_21: \* 00:43:53 user_22: \* 00:43:53 user_23: \* 00:43:54 user_24: \* 00:43:54 user_25: \* 00:43:54 user_26: \* 00:43:54 user_0: \* 00:43:55 user_27: \* 00:43:55 user_28: \* 00:43:56 user_11: \* 00:43:56 user_14: \* 00:43:56 user_7: \* 00:43:56 user_29: \* 00:43:56 user_30: \* 00:43:57 user_19: /* 00:43:57 user_31: \* 00:43:58 user_8: PrintAsterisk(personNum); 00:43:59 user_3: PrintAsterisks(personNum); 00:44:00 user_32: PrintAsterisks(personNum); 00:44:03 user_33: cout << PrintAsterisks 00:44:07 user_34: \* 00:44:09 user_33: Wait what was the functions name again? 00:44:13 user_35: PrintAsterisks(personNum); 00:44:15 user_36: PrintAsterisks 00:44:15 user_37: PrintAsterisks(personNum) 00:44:15 user_38: PrintAsterisks(personNum) 00:44:15 user_18: is it not \*? 00:44:17 user_19: ooh 00:44:22 user_28: PrintAsterisks(personNum); 00:44:22 user_2: cout << PrintAstericks (personNum); 00:44:23 user_0: PrintAsterisks(personNum); 00:44:24 user_1: what is \* ???? 00:44:25 user_39: PrintAsterisks (personNum); 00:44:26 user_33: PrintAsterisks(personNum) 00:44:26 user_14: cout << PrintAsterisks(personNum) 00:44:26 user_36: doesn’t need cout? 00:44:28 user_18: OHH THATS FOR DOUBLE QUOTES 00:44:30 user_21: cout << PrintAsteriks(persoNum); 00:44:30 user_11: cout << PrintAsterisks(personNum); 00:44:31 user_2: I was wondering the same thing! 00:44:31 user_24: PrintAsterisks(personNum) 00:44:31 user_18: \" 00:44:31 user_13: cout << PrintAsterisks(personNum); 00:44:33 user_16: cout << PrintAsterisks(personNum) 00:44:36 user_23: PrintAstericks(personNum); 00:44:37 user_19: PrintAstricks(personNum); 00:44:38 user_22: PrintAsterisks(personNum); 00:44:39 user_29: cout < -1 feels better I think 00:52:13 user_1: can I see the while loop again? 00:52:16 user_2: It is beautiful 00:52:47 user_1: so we can do that or while personName > Done right? 00:52:57 user_56: can I see the whole code again 00:53:00 user_6: != 00:53:09 user_1: ohh yeah yeah okay thank you! 00:55:06 user_1: return *; 00:55:15 user_40: return the string? 00:55:26 user_46: add to the string 00:55:41 user_3: "*" 00:55:43 user_10: The *’s? 00:55:43 user_46: * 00:55:44 user_38: an asterisk 00:55:45 user_33: currString = “*”? 00:55:46 user_52: currstring + "*" 00:55:47 user_27: the asterisk 00:55:48 user_56: * 00:55:48 user_22: * 00:55:49 user_57: * 00:55:55 user_0: * 00:55:57 user_17: set the string = to the asterisk? 00:56:04 user_1: whaatattt 00:56:12 user_0: that was so confusinggg in the PA 00:56:13 user_21: ew 00:56:15 user_18: like add an appendage 00:56:37 user_3: is this in one of the libraries? 00:56:45 user_17: So that means combine a string of (Nothing) to a string of (*) ? 00:56:59 user_44: Yes @Justin! 00:57:03 user_12: return 00:57:07 user_1: return currString; 00:57:08 user_3: cout << currString; 00:57:08 user_0: return currString 00:57:12 user_38: return currString; 00:57:12 user_58: return currString; 00:57:14 user_22: return currString 00:57:14 user_21: return currString; 00:57:16 user_27: return currString; 00:57:17 user_28: Return currString; 00:57:17 user_6: return currString; 00:57:18 user_11: return currString; 00:57:19 user_55: Return kurrstring; 00:57:19 user_52: return currstring; 00:57:19 user_39: return currString; 00:57:20 user_49: return currString; 00:57:20 user_35: return currString; 00:57:21 user_13: return currString; 00:57:21 user_29: return currString; 00:57:21 user_16: return currString; 00:57:23 user_5: return currString; 00:57:23 user_59: Return kurrstring; 00:57:24 user_56: return currString; 00:57:25 user_7: return currString; 00:57:26 user_60: return CurrString; 00:57:26 user_61: return currString; 00:57:28 user_34: return currString; 00:57:28 user_14: return currString 00:57:31 user_41: return currString; 00:57:34 user_42: return Currstring; 00:57:34 user_30: return currString; 00:57:35 user_45: return currString; 00:57:40 user_17: return currString; 00:57:41 user_62: return currString; 00:57:44 user_50: return currString; 00:57:49 user_24: return currString; 00:58:32 user_1: that's not really a neat way 00:59:04 user_37: return CurrString; 00:59:13 user_53: When would you use get line would that be for sentences and not for this since it has a number? 00:59:29 user_63: is still not impressed. make it 1,000! 00:59:38 user_1: LOL! 00:59:43 user_63: <3 :) 00:59:52 user_1: <3 01:00:58 user_0: that's cool! 01:01:09 user_10: Looks good just have to get used to it 01:01:42 user_11: can we put anything in the .append("---")? 01:02:26 user_16: so we can use void functions whenever we want as long as we include the cout statements in the function? 01:02:32 user_44: @Emerald - you can append any string to any string like that, yes! 01:02:44 user_11: Thank you! 01:04:02 user_17: Am I correct with my analogy for return vs cout: the function is where you tell your assistant to fetch you an pencil with defined parameters "return" has your assistant give you the pencil for you to write something with it. On the other hand, "cout" has your assistant write something with the pencil, but he/she doesn't hand it to you to use 01:04:38 user_55: *** 01:04:38 user_11: *** 01:04:39 user_41: *** 01:04:39 user_13: *** 01:04:39 user_53: *** 01:04:40 user_10: *** 01:04:40 user_33: *** 01:04:40 user_64: 3 01:04:40 user_50: *** 01:04:40 user_59: *** 01:04:41 user_28: *** 01:04:41 user_5: *** 01:04:41 user_65: *** 01:04:41 user_57: *** 01:04:41 user_15: *** 01:04:41 user_66: *** 01:04:41 user_31: *** 01:04:42 user_45: *** 01:04:42 user_2: *** 01:04:42 user_38: *** 01:04:42 user_4: *** 01:04:42 user_12: *** 01:04:42 user_67: *** 01:04:42 user_21: *** 01:04:43 user_40: *** 01:04:43 user_48: *** 01:04:43 user_68: *** 01:04:43 user_69: *** 01:04:43 user_8: *** 01:04:43 user_3: *** 01:04:43 user_34: *** 01:04:43 user_70: *** 01:04:44 user_71: *** 01:04:44 user_20: *** 01:04:45 user_39: *** 01:04:45 user_25: *** 01:04:45 user_42: *** 01:04:45 user_72: *** 01:04:45 user_61: *** 01:04:45 user_14: *** 01:04:45 user_60: *** 01:04:46 user_54: *** 01:04:46 user_47: *** 01:04:46 user_30: *** 01:04:46 user_35: *** 01:04:46 user_37: *** 01:04:46 user_73: *** 01:04:47 user_74: *** 01:04:47 user_46: ** 01:04:47 user_75: *** 01:04:47 user_22: *** 01:04:47 user_0: *** 01:04:48 user_76: *** 01:04:49 user_36: *** 01:04:49 user_17: asteriskasteriskasterisk 01:04:50 user_62: *** 01:04:52 user_6: Don't be shy, put some more 01:04:53 user_17: *** 01:04:55 user_43: *** 01:04:58 user_9: *** 01:05:01 user_12: **** 01:05:01 user_1: error 01:05:02 user_29: nothing 01:05:02 user_0: yey 01:05:03 user_26: *** 01:05:03 user_33: WHAT 01:05:03 user_32: nothing 01:05:03 user_61: no output? 01:05:05 user_2: Oh no 01:05:12 user_21: oop 01:05:16 user_27: look at us :( 01:05:29 user_16: don’t follow the herd people 01:05:42 user_3: If it was void would it have been ***? 01:05:43 user_0: mistakes means we can learn from it 01:05:49 user_4: I got baited 01:05:49 user_33: oh, so we only need to not define for void, right? 01:06:24 user_72: what is #include 01:07:31 user_44: that is including a library for your program to use. I am not too familiar with the library itself, but that's the idea 01:09:45 user_17: Could you do if(val1 == val2 == val3) ? 01:11:55 user_16: need to use an and 01:11:58 user_27: do you need to use && 01:12:01 user_3: is it only reading thhe first equal 01:12:03 user_33: Because this sets x is y is z 01:12:05 user_16: x == y && y == z 01:12:06 user_41: is it reading left to right 01:12:13 user_17: 6==1 is true, and it outputs "1". 1 is 1, so that is true as well\ 01:12:18 user_2: I think because it just only reads the first part 01:12:18 user_29: I think this is like -1= 0; —i 01:27:18 user_67: start the for loop at i = size and go i— 01:27:33 user_67: sry i was going for that way haha 01:27:38 user_67: - 1 01:27:41 user_24: s.size() - 1 01:27:41 user_15: - 1 01:27:43 user_46: Size - 1 01:27:44 user_16: size -1 01:27:45 user_12: -1 01:27:45 user_77: size -1 01:27:45 user_22: -1 01:27:47 user_21: -1 01:27:47 user_14: -1 01:27:48 user_7: -1 01:27:49 user_28: -1 01:27:49 user_59: -1 01:27:49 user_29: -1 01:27:50 user_38: -1 01:27:50 user_45: -1 01:27:52 user_20: -1 01:27:53 user_23: -1 01:28:25 user_27: what if you didn't do --i? 01:28:26 user_53: I have to go is there anything else I should know? 01:28:41 user_0: can i ask why its i >= 0? 01:28:43 user_67: what if youre trying to do the full name 01:28:50 user_6: Can you save that please 01:28:58 user_1: ^ 01:29:27 user_44: make sure to ask that if Dr. Vahid doesn't see that! Excellent question 01:30:02 user_0: actually i think i get it 01:30:07 user_16: because 0 is the value given to the first index 01:30:11 user_0: yea 01:30:29 user_0: the getline thing is weird 01:30:41 user_33: so there is a difference in the size of input and the index values? 01:30:54 user_33: I kind of don’t understand the .size function :’( 01:31:12 user_16: yes because the index values start with 0 01:31:18 user_44: yes there is! index begins at 0 and .size() starts counting at 1 so there is an 'off by 1' notion 01:31:29 user_16: so a string with 5 characters is going to be 0,1,2,3,4 01:32:12 user_63: lol 01:32:27 user_63: oh i put an extra "s" in there reading that 01:32:30 user_44: just think that .size() evaluates to how many 'things' in this case, characters, are in the string. So "abc" is size 3, "abcd" is size 4, and "abcdefg" is size 7 -- does this help? 01:32:47 user_33: ^^ yes! Thanks yall :) 01:33:15 user_1: yes sir 01:33:18 user_9: yes 01:33:18 user_15: yes 01:33:18 user_2: Yes 01:34:37 user_33: int 01:34:43 user_0: int 01:34:44 user_61: int 01:34:44 user_27: int 01:34:45 user_20: int 01:34:45 user_4: int 01:34:45 user_28: int 01:34:46 user_10: Int 01:34:46 user_21: int 01:34:46 user_35: int 01:34:46 user_51: int 01:34:46 user_39: int 01:34:46 user_15: int 01:34:46 user_24: int 01:34:47 user_42: int 01:34:47 user_11: int 01:34:47 user_14: int 01:34:47 user_72: int 01:34:47 user_22: int 01:34:47 user_37: int 01:34:48 user_5: int 01:34:49 user_63: throw it into a while loop that finds commas then removes them? 01:34:52 user_13: int 01:37:13 user_33: Isdigit? 01:37:19 user_8: replace? 01:37:23 user_58: we covered it but I don't remember 01:37:24 user_17: I don't recall 01:37:33 user_7: statistic something? 01:37:35 user_2: Are you talking about the Ascii table? 01:37:35 user_0: it was really confusing so nope 01:37:35 user_58: we changed int to double 01:38:40 user_0: curr Digit 01:39:36 user_7: isn't it something like static_cast(_) 01:40:13 user_67: do we play around with ascii values to do this 01:40:23 user_7: ohhh okay 01:41:11 user_10: Its mostly remembering the new stuff everything looks pretty good so far 01:41:22 user_27: is there a way to make it store the full string with the commas, and then somehow trash the commas and keep the numbers to convert? 01:41:24 user_1: Thanks! Thanks! Byeeeeeee!! 01:41:25 user_40: except python master race 01:41:30 user_4: Thank you! Have a great day. 01:41:33 user_8: Thank you 01:41:33 user_73: thanks Professor! Have a great day! 01:41:35 user_58: thank you! 01:41:36 user_63: thank you!! 01:41:38 user_32: thank you 01:41:39 user_10: Thank you!!! 01:41:39 user_68: Thanks