|
hi,...im new to C++ but how in the hell do you save it as an app/exe. and whats the process,...
any and all help would be appreciated!!!!!!
|
|
|
|
|
Hi there--I am fairly new to C++, and I was wondering which of the source files would be needed (and what would have to be added to them and taken away, etc.) to get rid of the GUI surrounding the application and make it display in CMD. If anyone could help me out then I would be grateful...
P.S. ( Great program, I watched the Matrix the other day by coincidence and it's very realistic to the actual code, good use of Markov chains! )
|
|
|
|
|
Well, on WinXP it would be pretty good, if you would use Unicode to insert Japanese katakana...
waitig!..
|
|
|
|
|
Will you make a Screen saver , because I think it is Pure Genius Staff my friend
Congratulations!!!!!!!!!!
|
|
|
|
|
Your program is rather good but itisn't perfect so
I want you send all code of the program to internet or
can you send me this code to study .I'll be pleasan if you send it to me .
I think it stll not perfect so i want to develope it.
What do you think about that
my Address :dongoctu2002@yahoo.com
|
|
|
|
|
lol from what tree did you fall off of.
|
|
|
|
|
I'm not sure if this was intentional but the streams of text painted on the Pane 'leak' downward onto the main window. I hacked the code a little by adding the 'bool gen' parameter to the MatrixBlitter::Init function. Then on the Init call to the Pane window I set it to true and on the Init call to the main window I set it to false. Again this was simply a hack based on a few minutes of code review.
void MatrixBlitter::Init(HDC hdc, unsigned cx, unsigned cy, unsigned total, bool gen)
{
Clear();
m_total = m_now = total;
m_cx = cx;
m_cy = cy;
m_hdc = CreateCompatibleDC(hdc);
m_bmp = CreateCompatibleBitmap(hdc, cx, cy);
m_unused = (HBITMAP)SelectObject(m_hdc, m_bmp);
_ASSERTE(m_hdc);
_ASSERTE(m_bmp);
HFONT h = (HFONT)::SelectObject(m_hdc, m_font);
TEXTMETRIC tm;
GetTextMetrics(m_hdc, &tm);
::SelectObject(m_hdc, h);
m_char_cy = tm.tmHeight;
m_char_cx = tm.tmAveCharWidth;
m_height = m_cy / m_char_cy;
m_width = m_cx / m_char_cx;
if (gen) Generate();
}
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
SendDlgItemMessage(IDC_SLIDER1, TBM_SETRANGE, 0, MAKELONG(0, 10));
SendDlgItemMessage(IDC_SLIDER1, TBM_SETPOS, TRUE, LPARAM(10));
HWND hPane = GetDlgItem(IDC_PANE);
HDC hdc = ::GetDC(hPane);
RECT rc;
::GetClientRect(hPane, &rc);
m_blitter2.SetSpeed(0, 10);
m_blitter2.Init(hdc, rc.right - rc.left, rc.bottom - rc.top, 25, true);
GetClientRect(&rc);
m_blitter.SetColor(RGB(221, 221, 221));
m_blitter.SetHeadColor(RGB(225, 192, 192));
m_blitter.SetBackColor(GetSysColor(COLOR_BTNFACE));
m_blitter.Init(hdc, rc.right - rc.left, rc.bottom - rc.top, 40, false);
::ReleaseDC(hPane, hdc);
m_pane.SubclassWindow(hPane);
m_timer = SetTimer(0, 30);
UIUpdate();
return 1; // Let the system set the focus
}
|
|
|
|
|
Hello,
Would you please update the link you've already provided in your article that is supposed to address the "markov chains"?
Thanks a lot
M.Mousavi
|
|
|
|
|
|
Cool program, but it does not look as good as the real matrix.
You should add some pseudo 3D to the app using transparency and different font sizes
Signature? I've no need for it!
|
|
|
|
|
If you look closely at the matrix code running on the monitors when they are on the Nebuchadnezzar (Morpheus' ship) you can see it is two dimensional matrix of glyphs only one font size (I love DVD slow motion ). The glpyhs are in an Asian font with the English numerals 0 through 9.
|
|
|
|
|
Henry Jacobs wrote:
glpyhs are in an Asian font
In fact, it's Japanese katakana, mirrored horizontally.
- Jason
(SonorkID 100.611)
In the beginning, teachers taught the 5 W's: who, what, where, when, why. Now it's just a big damn G
|
|
|
|
|
The fact that you know that scares me
Kryo
|
|
|
|
|
Welcome to the real world.
- Jason
(SonorkID 100.611)
The Code Project - Orange makes the art grow fonder
|
|
|
|
|
hi
why not change it to a screen saver
Moz
Tunis - Tunisia
|
|
|
|
|
There are a lot of Matrix screensavers in Internet. I don't want to do one more
In fact I much more interested into Markov Chains than in any drawing code.
|
|
|
|
|
I have some some questions for you e mail at iebenja@ppc.edu
|
|
|
|