Thursday, December 23, 2010

inputstring.cpp

I was wondering about this problem. And somehow, so curious as to how to solve it. So, um, I think I solved it my way. Wonder if that user accidentally click my signature link and read this? haha

inputch.cpp

It is a simple thing. Yeah. But I found out about characters can be changed using add operator. Well, just kinda happy to find it on my own while trying to help others.

The Beginning of my Java Adventure

Hello World!

Hehe. It took me quite a while to find out how to compile without using eclipse IDE and understand how to getting started. I don't want to use eclipse IDE first because to just click and click to get the auto-generated class name and main class is not a good learning process. Anyway, I accidentally found out how to make new line of text output when I just want to modified the code a bit.

Saturday, December 18, 2010

FizzBuzz Problem

I was reading some threads in Dream.In.Code when I crossed this link. Interesting enough, it takes about 2 minutes for me to solve it. It supposed to be 1 minute, but I changed my mind about my code design when I realized there is a special specification of it that make it so simple. The FizzBuzz.

Thursday, December 16, 2010

C++ Coding Challenge #1

It is a challenge in Dream.In.Code. My program isn't like the expected because of my lack of knowledge, so it is really simple compared to others. But at least, I can practically use part of < algortihm > members now.

Wednesday, December 15, 2010

Row Reduction(Corrected)

It was simply I forgot to change float to double for type temp in function swaprow(). I should have known. Thanks to those that helps in Dream.In.Code.

Monday, December 13, 2010

Row Reduction

I was trying to help someone here. And I got curious, as I didn't have experience of writing this program. So this is my try. I stuck when I try input of this matrix.

0 1 2
3 4 5
6 7 8

For some reason, when it reach

1 4/3 4/5
0 1 2
0 -1 -2

It becomes

1 4/3 4/5
0 1 2
0 0 -1.33227e-015

Where it supposed to be 0 instead. = =" I will take a look at it again. Maybe something to do with my algorithm.