Category : c++

Compiled application I want to make the Hello World text bigger, but i can’t figure out how I tried using staticText1->SetSize(32), staticText1->SetSize(wxSize(32,32)) and replacing wxDefaultSize with wxSize(32, 32), but nothing works (I am not getting errors, it just doesnt change the text size) This is my current code: #include <wx/wx.h> class Frame : public wxFrame ..

Read more

I had to make code to calculate tips and taxes based on the cost of a meal. When i run the code, it outputs 12, not 15, which should be the actual output. #include <bits/stdc++.h> #include <cmath> int main() { double mealCost = 12; int tipPercent = 20; int taxPercent = 8; float tip; float ..

Read more

I am working on a project and currently have the following structure: C# WPF project containing the User Interface as well as calls to external methods. C++ DLL project containing an algorithm. ASM DLL project containing an algorithm. For simplicity, let’s assume the algorithm simply takes no parameters and returns the sum of two, predefined ..

Read more