Debugging

I’m going to have to get Emacs for my own laptop, unless gedit has some hidden debugger. I’ll ask the professor later. This is just a self reminder, cause I know I’ll forget.

About "int" – Pea Pods and Decimals

Oh Dear Lord! What logic is that!?[X ~]$ g++ -Wall -o MyFirstProgram MyFirstSource.cpp[X ~]$ ./MyFirstProgramHello.Press return after entering a number.Enter the number of pods:4Enter the number of peas in a pod:0Floating point exception[X ~]$ emacs&am…

Program Fail 0__0

So yesterday I was doing the copy/paste program thing again and it failed on me. Last time, it divided and told me I had 0 peas if I had 3 pods and 6 peas in every pod, but I do know why it was giving me that. Now the / has changed into a * and the thi…

Introduction to Computer Programing

Yay! My first blog! Something makes me think I should fear it, but I’m trying to be positive anyway. Don’t be surprised if this results in epic destruction…Welcome to class… from my point of view. Hopefully, I won’t say anything dumb here–but if I…