Warning: The magic method Slickr_Flickr_Plugin::__wakeup() must have public visibility in /home/kenbauer/public_kenscourses/tc101winter2015/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/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930

Warning: Cannot modify header information - headers already sent by (output started at /home/kenbauer/public_kenscourses/tc101winter2015/wp-content/plugins/slickr-flickr/classes/class-plugin.php:152) in /home/kenbauer/public_kenscourses/tc101winter2015/wp-includes/rest-api/class-wp-rest-server.php on line 1930
{"id":12255,"date":"2015-04-29T19:23:28","date_gmt":"2015-04-30T00:23:28","guid":{"rendered":"https:\/\/joshuabg96.withknown.com\/2015\/wsq16-tc1017"},"modified":"2015-04-29T19:23:28","modified_gmt":"2015-04-30T00:23:28","slug":"wsq16-tc1017-2","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101winter2015\/2015\/wsq16-tc1017-2\/","title":{"rendered":"#WSQ16 #TC1017"},"content":{"rendered":"
\n

#include<\/a> <iostream><\/p>\n

#include<\/a> <fstream><\/p>\n

#include<\/a> <string><\/p>\n

#include<\/a> <cstdlib><\/p>\n

using namespace std;<\/p>\n

 <\/p>\n

double sumam=0;<\/p>\n

float lineas=0;<\/p>\n

double sumac=0;<\/p>\n

double sumah=0;<\/p>\n

int main ()<\/p>\n

{<\/p>\n

string line;<\/p>\n

  ifstream myfile (“93cars.data.txt”);<\/p>\n

  if (myfile.is_open())<\/p>\n

  {<\/p>\n

  bool cond=true;<\/p>\n

    while ( getline (myfile,line) )<\/p>\n

    {<\/p>\n

      if (cond) <\/p>\n

      {<\/p>\n

 <\/p>\n

      string a=line.substr(42,4);<\/p>\n

      sumam += atof(a.c_str());<\/p>\n

      string b=line.substr(52,2);<\/p>\n

sumac +=atof(b.c_str());<\/p>\n

string c=line.substr(55,2);<\/p>\n

sumah +=atof(c.c_str());<\/p>\n

cond=false;  <\/p>\n

lineas++;    <\/p>\n

 }<\/p>\n

      else<\/p>\n

      {<\/p>\n

      cond=true;<\/p>\n

      }<\/p>\n

    }<\/p>\n

    myfile.close();<\/p>\n

  }<\/p>\n

  else {<\/p>\n

    cout << “Unable to open file”;<\/p>\n

  }<\/p>\n

  double promediom=sumam\/lineas;<\/p>\n

  cout<<sumam<<endl;<\/p>\n

  cout<<sumac<<endl;<\/p>\n

  cout<<sumah<<endl;<\/p>\n

  cout<<lineas<<endl;<\/p>\n

  double promedioc=sumac\/lineas;<\/p>\n

  double promedioh=sumah\/lineas;<\/p>\n

 <\/p>\n

  cout<<“the average gas mileage in city is: “<<promedioc<<endl;<\/p>\n

  cout<<“the average gas mileage on highway is: “<<promedioh<<endl;<\/p>\n

  cout<<“the average midrange price of the vehicles in the set is: “<<promediom<<endl;<\/p>\n

 <\/p>\n

  return 0;<\/p>\n

}<\/p>\n

\"\"<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

#include <iostream>#include <fstream>#include <string>#include <cstdlib>using namespace std; double sumam=0;float lineas=0;double sumac=0;double sumah=0;int main (){string line;  ifstream myfile (“93cars.data…. Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":88,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[95],"class_list":["post-12255","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","category-tc1017blogs","tag-include"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=12255"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12255\/revisions"}],"predecessor-version":[{"id":13167,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12255\/revisions\/13167"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=12255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=12255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=12255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}