Recent content by zyh
-
Z
How can I add an icon to my MinGW compiled program for Windows?
Oh, I'm using code::blocks and Mingw under windows, so, with application wizard, it is easy to generate a gui application. You can use include an icon file as it's resource file. That all I know.- zyh
- Post #4
- Forum: Programming and Computer Science
-
Z
How can I add an icon to my MinGW compiled program for Windows?
It is a GUI app or Console app? You should try some windows API function such as LoadIcon. You should read books such as <<windows programming>> by Charles Petzold.- zyh
- Post #2
- Forum: Programming and Computer Science
-
Z
MATLAB I with C ++ or MATLAB : Simpson's rule
I hate this too big image. could you type these words in post instead?- zyh
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Z
C/C++ C++ Collision Program for Physics Project
you can try http://code.google.com/p/bullet/ It is a physics dynamic library, and has a lot of examples.- zyh
- Post #10
- Forum: Programming and Computer Science
-
Z
Cross-Platform GUI: Compatible Windows & Linux Solutions
WxWidgets allow you to use it for both GPL and commercial usage for free.- zyh
- Post #6
- Forum: Programming and Computer Science
-
Z
Can different document classes be merged into one PDF document?
I'm sorry I can't help you. But I suggest that you could ask in http://www.latex-community.org- zyh
- Post #2
- Forum: Programming and Computer Science
-
Z
C/C++ Creating Threads in Java or C++: Balancing Writing and Deleting in Shared Files
Welcome to this forum. But You run in the wrong door, because you post a homework question here which is not allowed. Try here: https://www.physicsforums.com/forumdisplay.php?f=152- zyh
- Post #2
- Forum: Programming and Computer Science
-
Z
How to Implement Classes in a CSI 101 Homework Assignment?
Never post homework question here. Please post here: https://www.physicsforums.com/forumdisplay.php?f=152- zyh
- Post #2
- Forum: Programming and Computer Science
-
Z
C/C++ Problem in c++ in writing an algorithm
This works fine for me, since you code is VERY HARD to read. I change the variable names. And it take me 30 minutes to find your bug through debugging in the code:cry:. #include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <iomanip> #define MAX 30 using...- zyh
- Post #4
- Forum: Programming and Computer Science
-
Z
Graduate Proving the Properties of Pseudo Inverse and Transpose
I tried for 20 minutes, and can't figure it out. But I think you can refer to: http://en.wikipedia.org/wiki/Moore-Penrose_pseudoinverse. By the way, does the x and y are arbitrary matrix?- zyh
- Post #2
- Forum: Linear and Abstract Algebra
-
Z
MATLAB Help with Matlab Project: Extra Time Offered, Don't Want Incomplete
You should ask question in a "homework" sub forums see: https://www.physicsforums.com/forumdisplay.php?f=152- zyh
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Z
MATLAB MATLAB: Simple Loop - Storing Arrays as Variables
What do you want to do with matrix operation. I read you post, but I'm sorry I can't understand your question. Please give a more specific piece of code. The m file you give us is too long to understand.- zyh
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
Z
C/C++ Problem in c++ in writing an algorithm
where is "in.txt" ?- zyh
- Post #2
- Forum: Programming and Computer Science
-
Z
C/C++ Question about pointers in C/C++
I draw a picture to explain you question. Like Hurkyl said. In a 32 bit intel CPU (which is little endian see:http://en.wikipedia.org/wiki/Little_endian) the pointer p which is defined " char *p " is a pointer each ONE BYTE memory. But an int variable occupy Four Bytes. So, if you use...- zyh
- Post #4
- Forum: Programming and Computer Science
-
Z
In C how would i write an array to a file
a page on wiki has a good tutorial on C File IO, and a Google search give a lot result. http://en.wikipedia.org/wiki/Fwrite#fwrite- zyh
- Post #3
- Forum: Programming and Computer Science