My Cmake C++ project builds on various platforms such as RHEL, AIX, Windows, HP-Unix. I am linking my executable to IMPORTED Tuxedo library Targets which were not built by Cmake. This works fine for all platforms except HP-Unix (acc compiler) On all platforms the linker cmd links to -L <path_to_tuxedo_libs> -ltux -lbuft -lfml etc.,. But ..
When running the code with nothing selected it doesn-t show up anything… it doesn-t give error but it doesn’t work either. When selecting some code, it will RUN those lines of code but when unselecting agian, it doesn’t RUN anything. I would much appreciate some help here. Thank you Source: Visual Studio..
Is there a way to install my application without a manufacturer name using a Visual Studio Setup Project? For example, if in the setup project properties I leave the manufacturer name blank, it installs to C:/Program Files/Default Company Name/ApplicationName my desired install location is C:/Program Files/ApplicationName How can I install to a directory without using ..
I am looking for the fastest linear algebra library for working on 2, 3, .. 7 dimensional vectors and matrices, in particular any matrices with sizes 2-7, for example 3 by 4 or 7 by 7. (most often I work with smaller sizes) I mainly transpose, perform matrix and scalar multiplication, addition, subtraction of matrices ..
I’m still very new to CMake so feedback is definitely welcome. So, I’m trying to build a simple application that should eventually create a pdf using the library libharu. I think i figured it out how to link the library. But I still receive build errors for the findpng module (I suppose libharu depends on ..
so i have this code in which i need to input some data and then the program need to put the data in alphabetical order the problem is that i cant convert string name to char s1 and s2. DATA to input: https://pastebin.com/BvMQANpg #include <iostream> #include <string> using namespace std; struct obiectiv { int id; ..
// Example of bitshifting #include <iostream> void show_binary(unsigned int u); int main() { int i=1, t; // shift left for(t=0; t<8; t++) { show_binary(i); i = i << 1; } std::cout << "n"; // shift right for(t=0; t<8; t++) { i = i >> 1; show_binary(i); } return 0; } // Display the bits within ..
i need help for making a animation slide scroll on my scrollbar UP / DOWN. On my scroll bar actually, i’am using my functions with my DrawScrollBar() it’s look like this void DrawScrollbar(float width, float height, float x, float y) { //MY STUFFS } NewDrawScrollBar(0.558594, 0.40625, 133.438, 236); well it’s working fine, but the scrollbar ..
and I’m new to C++ and I’m wondering if anyone can help me to understand why enum difficulty { NOVICE, EASY, NORMAL, HARD, UNBEATABLE }; difficulty myDiffiuclty = EASY and enum shipCost { FIGHTER_COST = 25, BOMBER_COST, CRUISER_COST = 50 }; shipCost myShipCost = BOMBER_COST; are underlined in green? it says it prefers enum class, ..
Here is the scenario: My program using R dotnet will crash in the following scenario: It is called by a scheduled task run as the "System" user It is called by a startup task run as my "Admin" user It only crashes when I’m including a specific column called "ClientName" in my csv file. The ..
Recent Comments