Search found 21 matches
- Sat Jan 09, 2021 4:29 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Complex Calculator
- Replies: 7
- Views: 1497
Re: Complex Calculator
Problem solved. I don't ticked Debug and Release in Complex.cpp and Complex.h files.
- Sun Jan 03, 2021 7:21 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Complex Calculator
- Replies: 7
- Views: 1497
Re: Complex Calculator
App.cpp #include "App.h" #include "Main.h" #include <wx/image.h> IMPLEMENT_APP(App); bool App::OnInit() { bool wxsOK = true; wxInitAllImageHandlers(); if ( wxsOK ) { Kalkulator* calc = new Kalkulator(0); calc->SetSize(50,50,500,500); calc->Show(); SetTopWindow(calc); } return wxs...
- Sun Jan 03, 2021 2:18 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Complex Calculator
- Replies: 7
- Views: 1497
Re: Complex Calculator
Also line 4 in Complex.cpp: Complex Calculating::Add(struct Complex num1,struct Complexnum2) { typo - type and name without space in between Complex Calculating::Add(struct Complex num1,struct Complex num2) { Yes, I fixed this earlier. Do you have idea what is wrong with line: res = calc.Add(num1,n...
- Sun Jan 03, 2021 1:55 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Complex Calculator
- Replies: 7
- Views: 1497
Re: Complex Calculator
I replace this but still have the same error in this line in Main.cpp
Code: Select all
res = calc.Add(num1,num2);
- Sun Jan 03, 2021 12:05 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Complex Calculator
- Replies: 7
- Views: 1497
Complex Calculator
Hello, I am creating complex calculator in Code::Blocks Main.cpp #include "Main.h" #include <wx/msgdlg.h> #include <wx/intl.h> #include <wx/string.h> #include <wx/button.h> #include <wx/textctrl.h> #include <wx/sizer.h> #include <wx/stattext.h> //helper functions enum wxbuildinfoformat { s...
- Sun Jul 26, 2020 6:55 pm
- Forum: General Development
- Topic: Projects for beginners
- Replies: 5
- Views: 7294
Projects for beginners
Hello. I am starting with wxWidgets and I would ask about your opinion what projects/app may be good for beginners to start ?
- Fri Jul 10, 2020 5:36 pm
- Forum: General Development
- Topic: Using stack and arithmetic tree
- Replies: 1
- Views: 1770
Using stack and arithmetic tree
Hi everyone. I am now coding a calculator app but it work only for two numbers.. I mean a+b or a*b. I wondering modify this app it would be possible to calculate on many numbers and create order of operations and maybe it would be good to use stack to contain numbers and then use arithemtic tree?
- Sat Jul 04, 2020 2:23 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
In my project I have 6 files(ProjectApp.h, ProjectApp.cpp, ProjectMain.h, ProjectMain.cpp, GUIFrame.h, GUIFrame.cpp) but usually in simples apps in examples which I saw there was only 4 files
- Wed Jul 01, 2020 12:24 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
I read your tutorial PB, find some mistakes in my program and now it works. I didnt had set global variable and I installed new version of C::B.
Thanks for help everyone
Thanks for help everyone
- Mon Jun 29, 2020 7:37 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
If you talking about minimal application so its okay...I get small window
- Mon Jun 29, 2020 7:20 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
No, is the same comment
- Mon Jun 29, 2020 7:02 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
I have problem with last command '.' is not recognized as an internal or external command, operable program or batch file
- Mon Jun 29, 2020 6:42 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
./minimal.exe ? This line is after mingw32-make -f makefile.gcc BUILD=debug SHARED=0 MONOLITHIC=0 UNICODE=1 ?
because I have problem with this command ./minimal.exe
because I have problem with this command ./minimal.exe
- Mon Jun 29, 2020 5:56 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
App.cpp #ifdef WX_PRECOMP #include "wx_pch.h" #endif #ifdef __BORLANDC__ #pragma hdrstop #endif //__BORLANDC__ #include "ProjectApp.h" #include "ProjectMain.h" IMPLEMENT_APP(ProjectApp); bool ProjectApp::OnInit() { ProjectFrame* frame = new ProjectFrame(0L); frame->SetI...
- Mon Jun 29, 2020 5:28 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
- Replies: 32
- Views: 4491
Re: Creating wxWidgets 3.1.3 project in Code::Blocks: No such file or directory
Linking console executable: C:\Users\grz\Desktop\C++\Project\ProjectMain.exe In file included from C:\Users\grz\Desktop\C++\Project\ProjectMain.h:15:0, from C:\Users\grz\Desktop\C++\Project\ProjectMain.cpp:18: C:\Users\grz\Desktop\C++\Project\ProjectApp.h:13:20: fatal error: wx/app.h: No such file ...