Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [c++]

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. Programming questions are off-topic and should be asked at http://stackoverflow.com/

-2
votes
0answers
14 views

capture key event c++ implementation [closed]

I want to write a simple C++ code: TO achieve: (for example) when press up/down arrows, it will bring up the previous/next command. (same as what the Linux do). When user input UP arrow key, it ...
0
votes
0answers
11 views

Long code with no error unable to compile properly in Dev c++ [closed]

I have been working on an project in c++. The code is around 700 lines. After compiling it shows no error but the called classes doesn't work as they were intended to, they work on some part of code ...
0
votes
0answers
5 views

Function 'GetRawInputDeviceList' could not be resolved [migrated]

First trial of this function using: ENV: Eclipse IDE for C/C++ & MinGW32 in Win10-64. Reference: GetRawInputDeviceList function at Microsoft My hello-world code is simple: #include <...
0
votes
0answers
27 views

Ranked Gaming client EXE is not running on wine in Manjaro

i am trying to run an exe called "rgc.exe" which is known as "Ranked Gaming Client". when i try to run it with "wine rgc.exe" in the bash , i get the following output and exe won't run. 0009:fixme:...
0
votes
1answer
80 views

CentOS 7: installed devtoolset-7, but GCC 7.8 is using GCC 4.8 installation's old C++ include files

I'm trying to compile and install Pistache on a CentOS 7 machine, following their instructions. This is a package that requires C++ 11, so since the Development Tools package on CentOS 7 installs an ...
5
votes
1answer
78 views

Maximum file size on Windows platform

According to this wikipedia page, the size of a individual file on Win10 can go up to about 8 PB with NTFS. Yet the struct Stat is defined as struct stat { _dev_t st_dev; _ino_t ...
0
votes
1answer
55 views

Mysterious Assertion Failed popup

I'm not sure if I'm asking in the right forum, so if I'm not please tell me where I should post it. I have Win7 Enterprise SP1 64bit. Every day I have Assetion failed! popup window: The mentioned ...
0
votes
2answers
48 views

Why doesn't the exe file run while the solution itself in Visual Studio could run smoothly?

I'm trying to run the .exe file of my project in Visual Studio, on other systems that don't have Visual Studio installed, but the problem is that the solution can run when I click on "start" but when ...
1
vote
1answer
37 views

wpa supplicant - probing to AP before connect to check credentials

For recent development project I need to get the WIFi credentials from user end and submit to wpa_supplicant for initiate WiFI connectivity. I wrote a util using C++ which is doing the job but not the ...
0
votes
0answers
72 views

How disable keyinput for ffplay/ffmpeg?

Code for open & play custom video (.mp4) file in new window without form border with audio using ffplay.exe set SDL_AUDIODRIVER=directsound ffplay -noborder -autoexit -i movie.mp4 This code ...
1
vote
0answers
55 views

How to debug program creating RAW socket?

For example I have this program: int main() { int sockfd = ::socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); if ( sockfd == -1 ) printf("Error\n"); else printf("Success\n"); return 0; } ...
1
vote
1answer
27 views

what to do when vs-code remote C++ debugging asks to set gnutarget format-name

I am on to debugging remote C++ program running on raspberry pi on ubuntu. I have followed https://medium.com/@spe_/debugging-c-c-programs-remotely-using-visual-studio-code-and-gdbserver-559d3434fb78. ...
2
votes
0answers
35 views

Command Prompt settings won't save

I've tried running as admin and setting both Defaults' and Properties' window sizes. upon re-opening cmd the window is small again even though Default settings are still set right. Also tried ...
0
votes
0answers
33 views

streaming parts of an mkv container with mkvextract

I wan to stream mkv encoded movies to a browser (home cinema setup). The problem being, that browsers don't support mkv with multiple audio tracks. That means, that I won't be able to stream the mkvs ...
0
votes
0answers
58 views

Unable to open dylib file error message: “-bash: ./liboperator.dylib: cannot execute binary file”

I have a Java file that will execute a C++ file. When compiling C++ I get this error: "-bash: ./liboperator.dylib: cannot execute binary file" my Makefile: out: operator.cpp g++ -I"$JAVA_HOME/...
0
votes
1answer
52 views

libreoffice cannot find -lstdc++

when I try to open the application LibreOffice on linux it shows the Openning Logo then crashes and prints this lines : /usr/bin/ld: cannot find -lstdc++ clang: error: linker command failed with ...
-2
votes
3answers
215 views

Is C a part of the .NET framework?

I've searched the net for this, but I couldn't really find an answer. I've found this though: https://msdn.microsoft.com/en-us/library/hh875057.aspx It says that C++ is a part of the .NET framework, ...
0
votes
0answers
56 views

Mobile hotspot and wifi at the same time

I need to activate mobile hotspot on a windows 10 computer, while being connected to a wifi network (no ethernet connection, the cable is unpluged). On some computers this works, but on older ...
0
votes
0answers
34 views

C++ Program Compiling Error on Windows using MinGW32 bit compiler with Scons returns that a C++ Header file is Missing

I'm using Windows 7 SP-1 32 bit. I want to Compile Godot on my System from source. According to the instructions, I installed Python2.x on My system. Then I installed Scons in my system too. I used ...
3
votes
1answer
248 views

crash while building with ffmpeg and contrib in raspberry pi 3 model B(debian)

OpenCV => 3.3.0 Operating System / Platform => raspberry pi 3 model B(debian) Compiler => UNIX Makefiles Cmake-GUI => 3.6.2 https://pastebin.com/5VGHA92m (build output from terminal) [ 39%] ...
0
votes
1answer
217 views

Windows won't update, or install .NET framework, or run sfc /scannow

So, I've been trying a lot of things to get my computer to run a few programs that depend on C++ and the .NET framework. I tried to reinstall the .NET framework, but it failed, with the error message ...
0
votes
0answers
92 views

I have tried to install Eclipse, but every time I start it, it asks me to define a new work space and then crashes

Here is the log that is created in the metadata file after failing to boot: !SESSION 2018-01-26 12:34:23.503 ----------------------------------------------- eclipse.buildId=4.7.0.I20170612-0950 java....
0
votes
0answers
22 views

WALL into vi / emacs?

How would I WALL a program template into vi or emacs? Tried this with no luck: wall vi template.C cat template.C | wall wall :wq Note: template.C contains a template for C++ code, i.e. include ...
-1
votes
1answer
177 views

what is the limitation of Libmicrohttpd?

I want to develop a HTTP server based on the library Libmicrohttpd. And I'm wondering what is the maximum number of users connecting at the same time that Libmicrohttpd can support?
0
votes
2answers
318 views

Visual Studio 2015 F5 doesn't attach to the proces

This is what I'm doing: Set C++ project as startup project Build Set many break points press F5 the correct project is started, the breakpoints are shown as valid and loaded (filled red circle), ...
0
votes
1answer
196 views

Eclipse: g++: command not found

I have installed Eclipse via System Workbench for STM32. Meaning I have an icon now named System Workbench for STM32, and when I open it Eclipse opens. With that IDE I can successfully create ...
0
votes
1answer
98 views

Manually Testing SSD Read/Write

I am trying to manually test the read and write speed of an SSD over NVMe. The current method I am using is to mount a file system on the SSD, and read/write 20GB to a file on that filesystem in block ...
1
vote
0answers
1k views

Keyboard keys working incorrectly when using Turbo C++

I use turbo c++ in my laptop (32-bit, Windows 7). It used to work well. But some time back I don't know what happened but the functions of some keyboard keys seem to have messed up. And no, there isn'...
0
votes
2answers
3k views

'c++' not recognised as an internal or external command, operable program or batch file

I have recently installed MinGW for Windows, and I am wanting to compile a program named "object.cpp" at C:\Users\User\. So I open the command prompt, go to my desired directory, and type in the ...
0
votes
0answers
434 views

C++ on Qt creator: debugger not showing static array elements

I'm using Qt creator and I swear I've seen it display static array elements before. I don't recall updating the IDE, the compiler, the debugger or anything else, so I'm not sure what's going on. I've ...
0
votes
1answer
820 views

Setting up eclipse for openmp c++ programming

Guys I am fed up looking for a proper OpenMP setup. I have installed the eclipse for parallel programming plugin(software), it gives me option to choose only the OpenMP c project but i want to go for ...
0
votes
1answer
185 views

Can Apple's Xcode IDE be used with a make build-system? If so, how?

I'm working on a large coding project and I'd like to try using Apple's Xcode IDE. Building the project depends on a fairly intricate system of makefiles (using mkcmake), and changing build systems is ...
1
vote
1answer
365 views

How do I cross compile the avahi-client and avahi-common libraries?

I have developed a C application that uses the avahi-client and avahi-common libraries. I need to do a cross-compilation of these libraries, so I downloaded the project source in github, https://...
0
votes
1answer
631 views

ffmpeg rtsp error: Nonmatching transport in server reply

I'm using ffmpeg to read an rtsp camera. I'm getting these errors: Nonmatching transport in server reply in c++ and Invalid data found when processing input. I can play this in VLC in Windows. I'm ...
1
vote
1answer
36 views

Documentation on how to install cmcstl2?

How to install cmcstl2? I am looking for location of instructions for installing cmcstl2. Normally I install with apt-get but this is not successful for cmcstl2 using a command like: apt-get install ...
0
votes
1answer
673 views

How to turn a direct link file into a .torrent file?

I want to to know how to make a .torrent file of a direct link file, this is similar to web seed but i don't have the file in my local pc, i know this can be done because there are websites that ...
1
vote
1answer
827 views

Just installed Visual Studio Community 2017, but cannot find CLR

I'm trying to create a form (following some basic tutorials), but I cannot find the CLR option under Visual C++ node.
0
votes
0answers
209 views

Getting groups from a Child domain in Active Directory

I'm writing a C++ way of getting users and groups of Active Directory. This implementation was finished, but now I'm adding support for multiple domains. The setup where I test this is as follows. I ...
0
votes
0answers
64 views

How do DLLs and dynamic linking work exactly?

How does dynamic linking happen in detail? And what does DLL have inside? I know that DLLs have machine instructions just like executables but what I don't understand is how does the executable locate ...
0
votes
1answer
79 views

Create a blackoverlay or disable monitor

Part of an exercise I am creating to use a PC without a monitor(By that I mean only using a keyboard and a mouse and by heart knowing which buttons to click) requires to somehow disable it and let the ...
0
votes
0answers
65 views

Any way to get an image in terminal?

So I have a Raspberry Pi Zero that i would like to turn into a dedicated microscope. The microscope image will be displayed through HDMI. Since I want to have as little CPU hog as possible, I want to ...
0
votes
1answer
250 views

Linux: How to reinstall all stdlib

I have tried to install the latest version of Clang and LLVM (3.9) (http://releases.llvm.org/download.html#3.9.1) because the version of LLVM in Debian with apt-get is the 3.5... But as a noob, I don'...
0
votes
1answer
45 views

Renaming program, or its working directory, changes behavior?

This is definitely the strangest bug I've been banging my head against in a good long while... I have an extremely simple .exe on Windows 10 that I compiled myself using MSVC and the Allegro library (...
1
vote
2answers
390 views

Visual Studio 2015 Community - Create new project window keeps popping up

I am trying to create a new C++ console application project in visual studio 2015 community, After setting a project name, when i click OK button, the new project window of visual studio disappears ...
0
votes
1answer
2k views

winserver 2008R2-Standard,VC++2015:Unspecified error: 0x80240017 [duplicate]

My os: Windows Server 2008 R2 Standard 64-bit (6.1,Build 7600) I tried to install Microsoft Visual C++ 2015(x64 and x86) and i receive this Unspecified error: 0x80240017 before installing vc++2015 i ...
1
vote
0answers
125 views

Keyboard layouts in ubuntu 14

I am using Ubuntu 14.04, Gnome fallback mode (compiz), the input sources in Text Entry are English and Russian. How can I get these layouts programmatically or at least in the console? I tried ...
1
vote
0answers
6k views

the procedure entry point ucrtbase.terminate could not be located in the dynamic link library api-ms-win-crt-runtime-l1-1-0.dll

this is a long story and whilst i appreciate anyone willing to help im not the best at computers so would appreciate if you spoke in simpler terms. after installing skyrim special edition whenever i ...
0
votes
0answers
26 views

c++ apls library couldn't find

I download and install the ALPS computational physics library for c++, set the PATH, but the compiler doesn't work. Have anyone used ALPS lib? Is there solution for this? Thanks
0
votes
1answer
36 views

Active user count [closed]

Trying to understand how a software is counting concurrent users connected. Tried to analyze the machine on which is installed. (Registry and files modified) but nothing found. Best approach ? Edit: ...
0
votes
2answers
231 views

Using DLL's and other files on an architecture basis

I'm currently making an OpenGL application in Visual Studio 2015, and have successfully linked and included all my things for GLFW, GLEW, etc. However when I run my application, I need to include ...