Recent content by zyh

  1. 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.
  2. 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.
  3. Z

    MATLAB I with C ++ or MATLAB : Simpson's rule

    I hate this too big image. could you type these words in post instead?
  4. 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.
  5. Z

    Cross-Platform GUI: Compatible Windows & Linux Solutions

    WxWidgets allow you to use it for both GPL and commercial usage for free.
  6. 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
  7. 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
  8. 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
  9. 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...
  10. Z

    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?
  11. 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
  12. 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.
  13. 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...
  14. 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
Back
Top