General C++ Programming - December 2020

RNC Decompressor issue dumping file from input file
 
Hey, I have successfully compiled this code here-> https://lubiki.keeperklan.com/dk1_docs/libadikted...
[12 replies] Last: Alright, thanks for the info I will take a look into it. (by mecacool)
C++ code
 
please help me with the code below.. the program should be able to perform the below 8 tasks from ad...
[6 replies] Last: As it's New Year, for your starter for 10 (UK quiz program) a possible... (by seeplus)
C++ code
 
Please help me with the code below.. the program should be able to perform the below 8 tasks from ad...
[3 replies] Last: What you want is the 'Jobs' section. Easy mistake to make, it happens ... (by Computergeek01)
lambda expression always returns a prvalue, hence dangling reference?
 
Hi, I found the following in cppreference.com in the documentation for std::function: Care shou...
[14 replies] Last: Thanks you two, didn't know it was explicitly stated as an exception t... (by Ganado)
How to dump a file stored at memory offset
 
Hey, any suggestions on how to dump a file called t3.gif that is stored in a tex.lss at a offset of ...
[3 replies] Last: Academically that's correct. I'd suggest nirsoft for this otherwise: h... (by Computergeek01)
Combination of point coordinates from limit values
 
Hello I have an lower and upper limit values of n dimension coordinate system, like [2,5,8]- lowe...
[12 replies] Last: It looks like half then half then half . . . either way. #include... (by oggin)
Compiling Trevisan's Extractor
 
Hello, I am trying to compile this library: https://github.com/jdbancal/libtrevisan I insta...
[7 replies] Last: Here I put the link for sample input https://easyupload.io/m/zhe9xm ... (by questextractor)
How to learn programming as a newbie?
 
Decide on what programming language you want to learn first. Then choose your programming tools. C...
[2 replies] Last: I do not know whether we are allowed to mention specifics, but the bes... (by IcterusGalbula)
Trying to make custom "std::getline()" function (HELP!)
 
Hello. First off, I'd like to apologize to anyone I may have offended here. Sorry for being mad and ...
[10 replies] Last: You should use the get method instead of operator>> since you obvious... (by seeplus)
How to generate .dll files of 3rdparties to build folder with CMakelists.txt
 
Hello, I am trying to compile my test project with CMakeLists.txt in which several 3rd parties ar...
[no replies]
Gode that covers basics
 
Hi just getting into coding, can someone create or show me a code that covers basics so i can have r...
[4 replies] Last: https://www.learncpp.com/cpp-tutorial/basic-file-io/ http://www.cplusp... (by againtry)
Float answer gets rounded
 
I'm trying to display the answer float value as it is, but visual studio code is rounding the float ...
[9 replies] Last: #include <iostream> #include <iomanip> #include <vector> #include <al... (by lastchance)
How to use other type's memory block?
 
Can you guys check my way is possible? I want a class type's memory block, and I want to get the me...
[2 replies] Last: JLBorges // Thank you! I didn't know about the placement new.. It is ... (by woohyeon)
Jump between number in array
 
I want two compare two arrays. One of them is a subset of the other one. I want my function to retur...
[no replies]
assign ID for states and retrieval the state values
 
I have two classes challenge and SimpleState and they are given as class challenge{ pu...
[3 replies] Last: if you want combinations of the states it may be worth doing some bit ... (by jonnin)
Calculating average height of N people in C++
 
Hello! How do I make a program in C++ in which the heights of N number of people will be input in ce...
[1 reply] : Don't cross-post. https://www.cplusplus.com/forum/beginner/275016/ (by salem c)
CL.exe missing for VS 2017 compilation
 
I loaded a VS 2017 project with 'C' subprograms and '.h' files etc. Compilation failed because I do ...
[1 reply] : When you installed VS2017, did you select the option to install the c/... (by seeplus)
How do I make a .a library? (1,2)
 
Hello. I want to know how to make a library (.a file) that I can use in projects on all operating s...
[32 replies] Last: Ok, thank you very much! :D (by SirEnder125)
help me with the modification of the code
 
#include <iostream> using namespace std; int main() { int arraySize; cout<<"How man...
[3 replies] Last: the modification of the code You don't say what modification - but ... (by seeplus)
subtract 2 Point3d values result into a Point3d inside a function
 
Hamstrung by this difficulty, which should have been easy. The goal was to subtract 2 Point3d points...
[7 replies] Last: oggin, note that instead of #define, you can use 'using' or 'typedef'.... (by Ganado)
December 2020 Pages: 123... 6
  Archived months: [nov2020] [jan2021]

This is an archived page. To post a new message, go to the current page.