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
maran13575’s Articles at TC101 Fall 2015
Introduction to Programming Python and C++

Author Archives: maran13575

#WSQ16 Cars

This WSQ is the last file of the course, so enjoy.

Pd. I´m daying 

Thanks to Carlos Gallego

https://github.com/MarAnMu13575/-WSQ16-CARS/tree/master

#Project Progress 4

This  wasssssss the most depressing, stressful and more difficult in all my projects, well that was my only project, but  trying to instal Magick++ first, then the next  how to write C++ with arrays, vectors, pixels and everything was like (yeah that doesn´t work). The most horrible thing was working in  more that 4 hours in it  and the program even doesn´t compiled, like Ever said…. Yeah, this was a hell of project….. but like in everything something good has to come and the good news is that we created the program and it works (and compiles)

. Pd  here is the project:

https://github.com/kenwbauer/TC101F15_Team01/blob/master/projectfinal_final.cpp

#Project Progress 4

This  wasssssss the most depressing, stressful and more difficult in all my projects, well that was my only project, but  trying to instal Magick++ first, then the next  how to write C++ with arrays, vectors, pixels and everything was like (yeah that doesn´t work). The most horrible thing was working in  more that 4 hours in it  and the program even doesn´t compiled, like Ever said…. Yeah, this was a hell of project….. but like in everything something good has to come and the good news is that we created the program and it works (and compiles)

. Pd  here is the project:

https://github.com/kenwbauer/TC101F15_Team01/blob/master/projectfinal_final.cpp

#Quiz11

11

Hi everyone today I had to do two programs, the first was to create a programm that give you something like the euclides algorithm or the e (exponential) grade, so take a look. The second one was to create a file that reads another file like a text and gave you the words in the text, like Banana.

Github code: 

.1

https://github.com/MarAnMu13575/-WSQ14-Estimating-e

.2

https://github.com/MarAnMu13575/-Quiz11.cpp/tree/master

 

#Project Advance 3

This is not the final final project, and It´s not complete.

¡¡¡¡Hi!!!! this is the advance of the project, but we dont know how to change this to pixels or vectors, 

Link to code: 

https://github.com/kenwbauer/TC101F15_Team01/commit/62ff22fecfd823e3d4496eea9a7cdad78116c46d

 <Magick++.h> 

<iostream>

using namespace std; 

using namespace Magick; 

void newline(){

  cout<<endl;

int main(int argc,char **argv) 

  InitializeMagick(*argv);

  try{

  int x;

  cout<<"Hi, Im a manipulator of images "<<endl;

  newline();

  cout<<"What do you want to do? (press the number in your keyboard) "<<endl;

  newline();

  cout<<"1. Rezise the image to one half of its original size"<<endl;

  cout<<"2. Switch to black and white"<<endl;

  newline();

  cin>>x;

  if(x==1){

     newline();   cout<<"Alright, now introduce the name of the file with its extension; example: new.jpg"<<endl;  

     newline();

     Image image;

     string img;

     cin>>img;

     image.read(img);

     image.minify();

     image.write("resized.jpg");

 }

  if(x==2){

     newline();

     cout<<"Alright, now introduce the name of the file with its extension; example: new.jpg"<<endl;  

     newline();

     Image image2;

     string img2;

     cin>>img2;

     image2.read(img2);

     image2.quantizeColorSpace( GRAYColorspace );

     image2.quantizeColors( 256 );

     image2.quantize( );

     image2.write("blackandwhite.jpg");

 }       

 } 

  catch( Exception &error_ ) 

    {  cout << "Caught exception: " << error_.what() << endl;  return 1

    }return 0

}

 

#WSQ17 Scilab or Cislab or SSilab, whatever that thing is :)

Scilab. ++

 

Hi everyone this is the last WSQ for but don’t be sad,because in this journey called Soulción e problemas con programación, you learned a lot of things like using C++, that is better do the homework with time and don´t put Linux two weeks before finals, so this scilab, can be a lot of things like a calculator, a plotter, a compiler, a thing like atom and can give you pie charts.

If you want to know more about this, take a look to the instructions:

http://www.scilab.org/content/download/849/7901/file/Scilab_beginners.pdf

And if you want to download here:

https://www.scilab.org

#Project Advance 2

Hi everyone this is the “report” of the project.

This time we are using Imagemagick, Magick++; we can half size the image yeah, but we can’t change the color, ooooooooo u.u, so with this problem we are in a hurry, but we can do it and we feel positive with it because we are in the half of the way to complete this task 🙂

I feel like I´m not doing my best with this project, but here I am trying.

Some links that we found, (more Ever) and  this can help:

http://www.imagemagick.org/Magick++/Color.html#ColorGray

http://www.imagemagick.org/script/perl-magick.php

 

The code:

 

using namespace std;
using namespace Magick;

void newline(){
  coutendl;
}

int main(int argc,char **argv)
{
  InitializeMagick(*argv);
  try{
  int x;
  cout"Hi, Im a manipulator of images "endl;
  newline();
  cout"What do you want to do? (press the number in your keyboard) "endl;
  newline();
  cout"1. Rezise the image to one half of its original size"endl;
  cout"2. Switch to black and white"endl;
  newline();
  cin>>x;
 
  if(x==1){
     newline();
     cout"Alright, now introduce the name of the file with its extension; example: new.jpg"endl; 
     newline();
     Image image;
     string img;
     cin>>img;
     image.read(img);
     image.minify();
     image.write("resized.jpg");
 }
  if(x==2){
     newline();
     cout"Alright, now introduce the name of the file with its extension; example: new.jpg"endl; 
     newline();
     Image image;
     string img2;
     cin>>img2;
     image.read(img2);
     image.quantize(colorspace.gray);
     image.write("blackandwhite.jpg");
 }      
 }
  catch( Exception &error_ )
    {
      cout "Caught exception: " error_.what() endl;
      return 1;
    }
  return 0;
}

 

 

#BonusPoints #MyTC101Advice

Hi this is one of the latest videos of the semester and I only can say: go to see the video and see you for now.

 

Link: https://youtu.be/lG7-wdOxizk

 

 

#BonusQuiz #TC101 #TC1017 #ECOAS

Hi Ken, this is my contribution to ECOAS :

For my classmates, if you want extra points, do it, ¡¡¡¡do it now!!!!

#WSQ14 mathematical constant e

Mathematical constant

Hello in this WSQ I am going to show the mathematical constant e or Euler’s number, this was a task really hard and that was because I didn’t know what is constant e after seeing some videos and searching in internet, I found……… 42 hahaha.

(If you get it, maybe we will be friends)

 

So for now, I show my code in github:

 

Some Links if you want to know about this:

http://rosettacode.org/wiki/Euler_method

https://www.youtube.com/watch?v=RGtCw5E7gBc

https://www.youtube.com/watch?v=nYXclUjpFaw

What should you work on?

Week #12 and more partial exams for you.

For this week's readings:
C++ (TC1017) should either be looking at support for your project, ImageMagick C++ libraries are a good start.
Python (TC1014) should be finishing chapter 11 (Dictionaries).