• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Calender Program
Write a program that collects from the user only two pieces of information – (1) the year and (2) ...
[18 replies] Last: my teacher says that I need to make a recording of explain each line... (by jonnin)
Valgrind: Conditional jump or move depends on uninitialised value(s)
Hello, I am running into an issue with Valgrind with c++ It is yelling when initializing multidimen...
[10 replies] Last: fftw_malloc() only allocates memory, it reserves space for your nx*nyk... (by ne555)
Algorithms c++
I need to realize the alogorithm search_end with the help this example: template < class InputIt...
[no replies]
How to extract all the different data type numbers in string?
Hi all, I found this topic (http://www.cplusplus.com/forum/general/150052 ) discussed about extracti...
[14 replies] Last: AFAIK, std::from_chars() from <charconv> currently only works for real... (by seeplus)
C++ Mentor - am I doing it the right way ?
I just completed a tutorial on YouTube- I kinda have a grasp over what he thought through out Ne...
[6 replies] Last: Seeplus , I will check this out Many thanks 🥰 (by CheckRabalKath)
Using Visual Studios 2019 and having errors in my code
Hi, I am having issues figuring out what I did wrong with my code. I am being told that there are ex...
[6 replies] Last: Well that was a statement of the obvious and already done. Perhaps ex... (by againtry)
Share class between projects in single solution?
So I have a class which contains a function that I would like to use in another project. I am 100% p...
[5 replies] Last: Using Visual Studio: Walkthrough: Create and use a static library (C+... (by Furry Guy)
Fast destroy (=clear) std::unordered_map (or concurrent_unordered_map)
Dear all, I encountered a high overhead of destruction (= clear) for std::unordered_map (& concur...
[3 replies] Last: unrelated but destroying things, and creating them, is often expensive... (by jonnin)
C2676 error in Visual 2019 C++H
Hello! I keep getting this error no matter what I change and I can solve it Error C2676 binary...
[9 replies] Last: thank you very much (by laura11111)
Simplify code by using loop
#include <iostream> #include <vector> using namespace std; int main() { float x = { 3,5,8,2 }; ...
[11 replies] Last: I did it. Thank you for your help! (by thanhquan1704)
Generate CMakeLists from Makefile (for asm debug)
I need to generate a CMakeLists from: RUN=factorial main.o: main.c gcc -arch i386 -c ma...
[no replies]
Linked List A Different Sort
I need some help. I don't know anything about how I'm going to list. What kind of structure should I...
[2 replies] Last: The last digit of the insertion process Number information is basic it... (by jonnin)
Trouble with linked list function calls
Hey ya'll, this is my first time working with linked list and I have to create a menu for the user t...
[2 replies] Last: Ah, thanks for the correction. I did use a for loop that converts the ... (by oceanSpray)
Help with exam question
So thankfully i get multiple submissions on my midterm exam, We were to right a program where it as...
[4 replies] Last: @OP, what are you allowed to use? A simple solution would be to use st... (by Thomas1965)
by Lalver
Screen scraping
Hi, I would like to 'screen scrape' data from a (non web based) application, there is no API (leg...
[9 replies] Last: our side, of course :) Need more info. Was your boat a Russian traw... (by againtry)
create a file with user defined name
Hi all I want to know that in C++ is there any process for create a file with user defined name For...
[5 replies] Last: Thanks a lot brother It's work . And this the procedure I want thank... (by M A Noman)
by josh84
generating Username
I am new here. Any idea how I can get this function in c++? Function 1 a.) Member function name: ge...
[7 replies] Last: string Converter::generateUsername(string fname, string lname) { str... (by seeplus)
std::cin and enter
hey guys, so i was trying to make a code that takes user char inputs and appends to the end of a str...
[6 replies] Last: You need to ignore all chars until a \n in case someone types eg yes r... (by seeplus)
Simplified Polynomial in C++
#include <iostream> using namespace std; int main() { float y = { 12, 13 , 14 , 16 }; floa...
[6 replies] Last: Try this one: #include <iostream> #include <vector> using namespace ... (by lastchance)
Pages: 123... 9
  Archived months: [aug2020]