Beginners - June 2018 (Page 14)

Error says that it can't convert 'double*' to 'double' when alocating space
 
In my List class, I'm trying to allocate new space for the data of the head and tail nodes, trying t...
[2 replies] Last: Ah, I get it. Thanks for the help, tpb! (by rodentMinn)
Trouble pulling data from LOOP
 
I just need some help pulling the data from my loop. So lets say there was 10 transactions from my ...
[6 replies] Last: I'm not near my computer to do the testing for this but if I place u*p... (by justStarting)
Error Help Request : "undefined reference to..."
 
I'm working on unit testing an assignment of mine, and i'm at a loss. Can someone help me understand...
[1 reply] : Presumably there's something wrong with your definition of static ... (by tpb)
Exception Handling Error (Program crashing) help ASAP!
 
Need C++ help ASAP!!! The program runs but when choosing option 1 to load an exam and choosing a ...
[3 replies] Last: The trim function is not needed (and you're not really doing it proper... (by tpb)
finding parents of specific node in DAG
 
Hello everyone, I have to write a function to find parent nodes of the given node? my graph struct...
[3 replies] Last: class node{ vector<int> children; vector<int> parent; }; class... (by ne555)
Referencing a class within a different class using a vector
 
So I have this class "Shopping Card" referencing a class I made named "ItemToShop" using a vector. T...
[3 replies] Last: There is no reason to include the whole definition, when forward decla... (by keskiverto)
Program that inputs an integer and outputs info depending on case choice
 
I was able to set up the code so that the user chooses from the cases but I am confused with how I g...
[5 replies] Last: Here Is The Correct Code : If you are gonna use the variables declare... (by akshatmahajan3112)
Search full string (not part of it) line by line
 
Hi I'm very new to coding and trying to write a simple code which can search from a file (mylist.txt...
[3 replies] Last: My pleasure! Glad to be of any help. (by H00G0)
by vcref
How do I break this loop
 
This code orders all letters E to the left (esquerda in portuguese), and all letters D to the right ...
[2 replies] Last: Thanks for the help, but I need the answer on my code, not another cod... (by vcref)
LCD Problems (expected an expression)
 
Hi, i have issues with a function in my program i have to comunicate the LCD with the PIC 16F887, i ...
[3 replies] Last: |= , &= etc are compound assignment operators. We can't separat... (by JLBorges)
Template argument invalid - Trying to use it as a vector type
 
I'm getting a stupid little error and I'm pretty lost to where I'm going wrong. When I try to compi...
[4 replies] Last: Got you man. Thank you once again!.. (by brianbathorycpp)
Statement Loops Continuously
 
I've been working on a simple 'Command' system, where the user can enter set commands to change the ...
[5 replies] Last: you were just told that the infinite loop is because the condition nev... (by icy1)
Book Store Program - Classes - if else errors,avoiding public data members
 
1.From Line 66,the whole switch seems buggy. When it outputs the the total cost it's always of the d...
[5 replies] Last: I think cost should be of type float, in case you have a book cost 5.9... (by Manga)
Probability Density Function
 
https://www.codechef.com/JUNE18B/problems/BUILDIT Can anyone tell me the last calculation of the ex...
[2 replies] Last: @lastchance can you help please?? (by closed account 3UohqMoL)
DFS variation
 
Hello, https://www.geeksforgeeks.org/find-number-of-islands/ This is the link to the classic isl...
[2 replies] Last: Please comment on the concerned thread only. (by badsheep)
book store program - function not working
 
The Function checkavailability is not working properly : 1.It does not takes input 2.Executes both...
[6 replies] Last: Then the code you posted is not the code you compiled, because the cod... (by MikeyBoy)
data race in multithreading code
 
For https://gist.github.com/promach/9d185d35a6e6db0da10992a19c36f754#file-thread-cpp , why am I faci...
[8 replies] Last: Someone helped me to fix the local memory issue that you raised. Usin... (by coder777)
exception: std::out_of_range at memory location
 
So I am trying to write a program that input's the name of a baby, then outputs the name of the baby...
[2 replies] Last: That worked, thank you! (Now I have to deal with the logical errors b... (by ItsFreakinHarry)
by ericM
can I assume a template filed implements certain methods?
 
I wrote a class template that take a single template parameter, something like template <typen...
[2 replies] Last: Does your compiler complain? template <typename T> class Foo { T _... (by keskiverto)
Run Time Error
 
This is my 1st time working with C++ and Visual Studio. I know the drivers are not found as well as ...
[5 replies] Last: Thanks everyone. Much appreciated. (by grider67)
June 2018 Pages: 1... 1213141516... 19
  Archived months: [may2018] [jul2018]

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