General C++ Programming (Page 13)

Basic Expert system project program for finals
I need basic format for where the user will be greeted with. The field is about medical and I have ...
[14 replies] Last: it's not complete really complete yet, as I have said I still have man... (by zephile)
Replacing NaN Values
Hey guys so I have these text files that I populated with data from reading and storing values from ...
[2 replies] Last: Try this piece of code bro void nantoZero(string &line) { string z... (by nicholasjb1996)
What is the difference between unique_lock and shared-lock?
As far as I can tell, only one unique_lock can be associated with a mutex, while several shared_lock...
[1 reply] : Apparently to allow simultaneous (shared) read access. Writers must us... (by keskiverto)
For one thing, you don't initialize your tab array, so the contents are undefined causing all locati...
[no replies]
Is there a standard way to spawn another process in C++?
I have a C++ app and would like to run another process by its side (multi-tasking). I know C fun...
[6 replies] Last: would like to run another process by its side (multi-tasking). If yo... (by keskiverto)
unknown regex error
terminate called after throwing an instance of 'std::regex_error' what(): Unexpected end of cha...
[2 replies] Last: Thanks, you're right, there it was. I had the std::regex objects cons... (by nuderobmonkey)
by dipiet
Roman Numeral program
Hello to anyone! thank you for any help! Write a program that accepts a year written as a four-digi...
[3 replies] Last: @dipiet, Find the number of thousands, hundreds, tends, units, by succ... (by lastchance)
by queue
[5 replies] Last: Man, I need a way to keep track of all the hit-and-run doofuses (doofu... (by salem c)
reading in a binary file, creating a vector
hello, i think my first issue is creating a vector in a class...with what i have now something is g...
[2 replies] Last: If you mean how do you format your code you put it between "code tags"... (by dutch)
passing/returning functionals by value ?
I am trying to understand the extent to which lambda, std::binding and std::function can be passed ...
[2 replies] Last: Excelllent! Thanks for taking the time to respond. These are very neat... (by CABrouwers)
by nmn8
help write c++ code
#include <fstream> using std::ifstream; #include <map> using std::map; #include "tokens.h" ...
[1 reply] : We can see that 'in' is a pointer: istream* in; We can't see the dec... (by keskiverto)
by biya
deleting words from array
hi i want to write a program that allows me to delete words from an array one by one but i dont know...
[1 reply] : What's it an array of? string or char? Either way, the short answer i... (by Repeater)
Graph components C/C++
Hello. I want to count the components in a graph, but something is wrong with my C++ program - the o...
[1 reply] : So is your test case an example of when it works, or when it doesn't w... (by salem c)
looping assignement
hi I'm new in using c++ and it is major course in my school, now I have a assignment about loops an...
[3 replies] Last: > how do you code that ? Read a book. Pay attention in class. This i... (by salem c)
Using Declarations, Using Directive, or Full Scope Resolution.
using Declarations , ie: using std::cout; using std::cin; using std::end; add names to the ...
[8 replies] Last: [quote=Ganado]...but it sounded like you were looking for an end-resul... (by Grey Wolf)
expected unqualified-id before numeric constant
What could be the source of this compilation error? mathconst.hpp:2:14: error: expected unqualifi...
[4 replies] Last: but that doesn't work in Visual Studio It works just fine in VS. Th... (by Duthomhas)
Homework Output Help
Hello, can someone help me. Everything works but the employee name output doesn't display as it shou...
[2 replies] Last: It should just display (by ashebynova)
Invalid Conversion from char* to unsigned int
I'm trying to compare the value of C against strlen(sn) and update C to the new length if it is smal...
[2 replies] Last: Hint: sn is not a string, it is also not initialized in the code snipp... (by jlb)
console not returning expected number of characters in cin buffer
I am creating a console version of "Bull Cow Game". In the game, the user has a certain number of tr...
[2 replies] Last: They pointed that out on Stack Overflow too. After they posted it, I r... (by vaderboi)
Why is semaphore called a signalling mechanism ?
Hi ppl :), I came across at many places[skipping references] that semaphores are a signalling mecha...
[3 replies] Last: The use of the term semaphore in computer science is very old and pred... (by CABrouwers)
Pages: 1... 111213141516
  Archived months: [feb2019]

Cannot post in this page. To post a new message, go to the first page.