Search found 18 matches

by Mavverick
Fri Mar 06, 2009 2:03 pm
Forum: wxDev-C++
Topic: gnuplot & wxDevC++
Replies: 1
Views: 1030

gnuplot & wxDevC++

Hello! I am trying to solve this problem for months! I need to plot graphics from wxDevC++'s data. For example, I have x ranging from 0 to 9 and I have a function that gives me values of f(x). That I have in a C++ code... now I want to get those values and plot a graphic! How can I do that? Does any...
by Mavverick
Thu Nov 20, 2008 10:26 am
Forum: wxDev-C++
Topic: Plot with wxWidgets
Replies: 2
Views: 1301

Plot with wxWidgets

Hi...

Does anyone know how to plot graphics with wxWidgets? Can anyone give me a hint of how to do that?

Thanks
by Mavverick
Thu Nov 13, 2008 10:39 am
Forum: wxDev-C++
Topic: Symbolic Matrix
Replies: 0
Views: 530

Symbolic Matrix

Hi people.. I'm working with matrices, inversions, wxGrid.. using wxDev-C++ and wxWidgets.. But now I need to work with symbolic matrices.. i tried using a library "SymbolicC++", but still didn't get what I need.. What I need is to recognize letters when I'm inserting the elements of a mat...
by Mavverick
Tue Nov 11, 2008 11:06 am
Forum: General Development
Topic: Symbolic Matrix
Replies: 0
Views: 483

Symbolic Matrix

Hi people.. I'm working with matrices, inversions, wxGrid.. using wxDev-C++ and wxWidgets.. But now I need to work with symbolic matrices.. i tried using a library "SymbolicC++", but still didn't get what I need.. What I need is to recognize letters when I'm inserting the elements of a mat...
by Mavverick
Tue Oct 28, 2008 11:31 am
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

I solved it by not using Destroy() anymore..
Thank you very much for the help!
by Mavverick
Fri Oct 24, 2008 10:16 pm
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

Oh man.. almost there! i wrote this: void RobotsDlg::btnOKClick(wxCommandEvent& event) { // insert your code here JuntasFrm* myJuntasFrm; JuntasUmFrm* myJuntasUmFrm; int GetSelection(); if (rdbNumRobots->GetSelection() == 1) { myJuntasFrm = new JuntasFrm(this); myJuntasFrm->Show(); } else { myJu...
by Mavverick
Fri Oct 24, 2008 7:27 pm
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

ah yea.. that is what happens i think!! like.. when the program starts, a dialog opens.. so there u have 2 options, u are gonna choose one e click OK.. now that dialog closes (i forgot about that.. i didnt make it to close yet) and it opens the frame! does it have to be modal?? if yes, how can i do ...
by Mavverick
Fri Oct 24, 2008 1:43 pm
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

ah yea.. i think i can't use .Show with a Frame...
so do u know how could i do to open a frame with a button click?
by Mavverick
Fri Oct 24, 2008 11:57 am
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

yea.. i tried this: /* * btnOKClick */ void RobotsDlg::btnOKClick(wxCommandEvent& event) { // insert your code here int GetSelection(); if (rdbNumRobots->GetSelection() == 0) { JuntasFrm TempJuntasFrm(this); TempJuntasFrm.Show(); } ) and it's compiling.. but when i press the button OK, it's not ...
by Mavverick
Thu Oct 23, 2008 4:38 pm
Forum: wxDev-C++
Topic: whick radio box is checked?
Replies: 9
Views: 2345

whick radio box is checked?

Hi! I have a radiobox with 2 options: 1 robot or 2 robots. and i need to open a certain frame if option 1 is checked and open a different frame if option 2 is checked. so what do i have to use to get that? like... void RobotsDlg::btnOKClick(wxCommandEvent& event) { if (rdbNumRobots[1].checked ==...
by Mavverick
Tue Oct 07, 2008 12:05 pm
Forum: Open Discussion
Topic: inverting symbolic matrix
Replies: 4
Views: 2525

I tried inserting cos(pi/3.0) and it's not that. The fact is that I have already an interface to work with matrix inversion.. but until now, it works with numerical matrix.. and now I need it to work with symbolic too.. like: cos(), sin(), with variables... The code I use to convert the string - fro...
by Mavverick
Mon Oct 06, 2008 7:23 pm
Forum: Open Discussion
Topic: inverting symbolic matrix
Replies: 4
Views: 2525

inverting symbolic matrix

Hi.. I'm working on an interface that gets a matrix (inserted by the user) and inverts it.. So I'm using a wxGrid to get the inserted values, and as the wxGrid works with String, I have to convert it to Double with: grdMatriz->GetCellValue(i,j).ToDouble(&temp_val); A(i,j) = temp_val; But now I n...
by Mavverick
Mon Sep 15, 2008 1:30 pm
Forum: wxCode
Topic: Conversion
Replies: 3
Views: 1694

Hey.. thank you!!

Can you tell me now how to convert them back to string for use with SetCellValue() ??
by Mavverick
Thu Sep 11, 2008 6:06 pm
Forum: wxCode
Topic: Conversion
Replies: 3
Views: 1694

Conversion

Hello I'm kinda new in C++ programming and wxWidgets.. and I am trying to use a wxGrid for a matrix insertion. So I want to get the values of each cell with GetCellValue and store in a matrix matrix<double> A(n,n); . So I have a code to invert the matrix so that after I could display the inverted ma...
by Mavverick
Thu Sep 11, 2008 11:47 am
Forum: Component Writing
Topic: wxwidgets coding - transfer data
Replies: 3
Views: 2300

Yea, maybe I should study more C++
But thanks anyway :)