Beginners (Page 8)

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)
by Wasp
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 Wasp)
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)
How to handle C-style Strings
 
Hi all, I seem to run across this a lot where old C code uses this shorthand style to create an arra...
[4 replies] Last: Yes, this does look more thematic. I've never used char** , so now I ... (by mainecat)
How can I use and emtpy 2-D array as a function argument?
 
What's up!.. Say, for example, I want to fill a 2D array with dots '.' to later print it as a tabl...
[9 replies] Last: [quote=tpb]It would be possible to write just one operator<< template ... (by FurryGuy)
Repeate code a set number of times (Urgent)
 
Is there a way to make this look more neat and tidy, in place of this mess? //Tree short led bli...
[5 replies] Last: I think I may look at them all, and in the doing trying to understand ... (by Eddy1501)
How to convert string to char* and pass it without it getting deleted on the stack
 
This code gives me the output: taco  ╠╠╠╠╠╠╠╠ How can I make the second co...
[14 replies] Last: Without knowing anything about g2, it sounds as though there's some ki... (by MikeyBoy)
Pokemon game project
 
Write your question here.
[2 replies] Last: Use a game engine for this project. If you really insist on just codi... (by Manga)
Run-Time Check Failure #3 - The variable 'GsiReturnObj' is being used without being initialized.
 
Write your question here. Cant figure this one out. What am I missing? Run-Time Check Failure #3 - T...
[8 replies] Last: Thanks tpb, that is very helpful! (by RslWlsn3)
by Dani90
find all possible permutation using backtracking algorithm
 
Hi..How do I write backtracking algorithm to find all possible permutation of different integer?
[3 replies] Last: Are you wanting to print out all possible permutations? That quickly ... (by Manga)
PAV CALCULATOR (P=PERIMETER, A= AREA, V= VOLUME)
 
Good day I have a challenge in making my program to repeat its process #include <iostream> #in...
[4 replies] Last: add a case for an exit code, and change the loop logic to end if the u... (by jonnin)
clothing size project
 
This program asks for a users height, weight, and age, and based off of that, it creates a clothing ...
[1 reply] : > however, I don't get the complete decimal don't understand your issu... (by ne555)
custom operator / in my string
 
Hi there! I have a question, how I can do operator / correctly. Operator / its like * but reversed. ...
[1 reply] : You need to use bool: } String operator/(String kek) { //Operator '... (by coder777)
Pages: 1... 678910... 30
  Archived months: [apr2018]

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