User profile: martinlb

User info
User name:martinlb
History
Joined:
Number of posts:38
Latest posts:

Simple algebraic linear equation
I guess it makes more sense to use in both cases [code]b=(y2-sX)[/code], since sX is negative.

what is wrong in my simple code
An empty line (a newline) is not a numerical value, which is what cin >> a[n] expects I would try a...

code line numbers
Testing this feature right now...

converting a simple file from C to C++
Just change the first line for: [code] int calcrc (char* ptr, int count) { [/code]

problems with fwrite on FPGA Power PC
This is probably due to stdout being a stream that operates in text mode. You can try to reopen std...