Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php on line 152

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101fall2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101fall2015/wp-includes/feed-rss2.php on line 8
‘#s2n’ Articles at TC101 Fall 2015 https://kenscourses.com/tc101fall2015 Introduction to Programming Python and C++ Mon, 23 Nov 2015 01:03:20 +0000 en hourly 1 https://creativecommons.org/licenses/by/4.0/ Cars #WSQ16 https://kenscourses.com/tc101fall2015/2015/cars-wsq16/ Mon, 23 Nov 2015 01:03:20 +0000 https://interestingstuff.withknown.com/2015/cars-wsq16

Hi! This WSQ was difficult an required a lot of research and failures. It consisted on opening a file, substracting some information and report it to the user. Opening the file was simple, with the use of a ifstream similar to the quiz. After turning it to a string I had issues when I attempted to turn the values in the strings to floats, the first solution I found was: http://www.cplusplus.com/reference/string/stof/. But when it did not compile, I did some research on internet and found a forum in which they mentioned that it wasn't included in the compiler I used but there was another solution. They included this link: http://www.cplusplus.com/articles/D9j2Nwbp/#s2n, which turned to be very useful and allowed me to finish the WSQ.

Here's the code: https://github.com/CarlosGallegosT/Codes007/blob/master/Cars.cpp

Thanks!

               

]]>

Hi! This WSQ was difficult an required a lot of research and failures. It consisted on opening a file, substracting some information and report it to the user. Opening the file was simple, with the use of a ifstream similar to the quiz. After turning it to a string I had issues when I attempted to turn the values in the strings to floats, the first solution I found was: http://www.cplusplus.com/reference/string/stof/. But when it did not compile, I did some research on internet and found a forum in which they mentioned that it wasn’t included in the compiler I used but there was another solution. They included this link: http://www.cplusplus.com/articles/D9j2Nwbp/#s2n, which turned to be very useful and allowed me to finish the WSQ.

Here’s the code: https://github.com/CarlosGallegosT/Codes007/blob/master/Cars.cpp

Thanks!

               

]]>
https://creativecommons.org/licenses/by/4.0/