
please wait
ERROR: expected primary expression before '*' token |
Hey guys, on the line 41 "if(volume_box(BOX *box)>1000)", of my code, I get an error "expected primary expression before '*' token". Could somebody please help ... |
Jan 13, 2019 at 12:27pm
[2 replies] Last: Thank you so much Grunalin. It works perfectly now. (by polishprogrammer88)
|
by Alex009988
Can't cout an array
|
Hi I've made the array cs1 to be equal to array cs. But I cant get the output. The compiler tells that there is a problem at this line: cout << cs; So what is ... |
Jan 13, 2019 at 12:23pm
[1 reply] : There is no overloads of operator << for std::array. If you want to p... (by Peter87)
|
by surfersss
inversion pair in merge sort
|
im learning merge sort, and trying to find the inversion pair using merge sort. so far i trace this code and correctly return the inversion every times it merg... |
Jan 13, 2019 at 11:01am
[no replies]
|
by Alex009988
Cant cout an array
|
Hi I've made the array cs1 to be equal to array cs. But I cant get the output. The compiler tells that there is a problem at this line: cout << cs; So what is ... |
Jan 13, 2019 at 10:15am
[2 replies] Last: #include <iostream> int main() { const int array = { 12, 45, 6... (by JLBorges)
|
by kanken
Chef and Matching Game
|
https://www.codechef.com/JAN19B/problems/MATCHIT The link is the question for an on going contest on codechef Im not able to understand the question or the ... |
Jan 13, 2019 at 8:38am
[1 reply] : it is quite clear you have to pair up points into m pairs such that th... (by blackmamba)
|
by cool123dude
DISTINCT PAIRS (1,2)
|
Chef has two integer sequences A1,A2,…,AN and B1,B2,…,BM. You should choose N+M−1 pairs, each in the form (Ax,By), such that the sums Ax+By are all pairwi... |
Jan 13, 2019 at 7:26am
[28 replies] Last: see the thing that they are pairwise distint is that they are "unique"... (by LordRiddle)
|
by s l i m
float
|
hi everyone. can someone tell me what does mean float..? |
Jan 12, 2019 at 11:53pm
[6 replies] Last: Code::Blocks is a similar program that is substantially smaller. Don'... (by mbozzi)
|
by rausch
Calculate interest
|
Please, the question below is only what I can do. I need a help. Calculate compound interest month to month, from the years 2010 to 2011, on the value of the m... |
Jan 12, 2019 at 8:47pm
[1 reply] : Look at using a loop, you very close I think from what I see for (int... (by Grunalin)
|
by s l i m
visual studio
|
hello! I just want to ask that is it worth to use microsoft visual express as a beginning? |
Jan 12, 2019 at 8:44pm
[1 reply] : It more than good enough, infact I would say it better as a lot of tut... (by Grunalin)
|
File outputs strange characters |
Hello. I have recently been working with files, and the console outputs strange characters upon compilation. The file also outputs the wrong size of my text fil... |
Jan 12, 2019 at 12:50am
[4 replies] Last: I didn't even notice at first that the program was printing the buffer... (by dutch)
|
consults on interpretation of the problem |
i'd like to know if I have managed solve the problem regarding to the wording On the other hand, to comment how it would be optimized this solution or to be si... |
Jan 11, 2019 at 10:02pm
[5 replies] Last: [quote ]AbstractionAnon (6225) beautiful way to solve, but not unde... (by luciusFernatore)
|
by Tduck
NCURSES- Arrow keys not detected?
|
Within my code, there is a point where I am trying to see which arrow key a person pressed. No matter which key I press, the result is always default. I have... |
Jan 11, 2019 at 8:55pm
[10 replies] Last: characters ARE integers. input should probably have been char or unsi... (by jonnin)
|
by Alex009988
Quantile of F-distribution
|
Hello! I have boost libraries and I need quantile of F-distribution. But unfortunatelty I've havent found an example of it on the internet. As for the normal ... |
Jan 11, 2019 at 8:52pm
[1 reply] : #include <iostream> #include <boost/math/distributions/fisher_f.hpp> ... (by lastchance)
|
by lost110
Ludo game on c++
|
I have 1 week guys. I need your help. I am making a game called ludo using c++. These are game instructions. https://www.mastersofgames.com/rules/ludo-rules-ins... |
Jan 11, 2019 at 7:35pm
[10 replies] Last: its been almost two weeks, I hope he/she got on well (by closed account 367kGNh0)
|
by Alex009988
Broken tanh function
|
Hello guys! I dont really know what is that but with 3/10 it gives the incorrect output 0. #include <iostream> #include <cstdlib> #include <cmath> #include... |
Jan 11, 2019 at 4:04pm
[4 replies] Last: Thank you for your help. I've understood the error in my main code (by Alex009988)
|
by faramusicorg
please help me for fix errors in the multi choise question programming
|
please help me for fix errors in the multi choise question programming . please please |
Jan 11, 2019 at 11:11am
[3 replies] Last: Please DON'T delete things from your question after you've received an... (by MikeyBoy)
|
by SparkXV
Lucky Number Problem
|
Can somebody give better approach to solve this problem?.I am getting TLE. https://www.codechef.com/JAN19B/problems/HP18 int bob(long long int r ,int t,int... |
Jan 11, 2019 at 2:23am
[9 replies] Last: [quote=shubhum]can't we just take all multiples of bob lucky number an... (by Browni3141)
|
by Grime
Will C++ code be compiled differently on different computers? (1,2)
|
Will standard C++ code always be portable? Will something compiled on one system to be very efficient on that system be very very inefficient on some other syst... |
Jan 10, 2019 at 6:36pm
[39 replies] Last: Still though do any C++ books talk about how to compile applications ... (by mbozzi)
|
by honeybuzz
Create a matrix of size m x n so that the neighbours of each cell have distinct values and the max value in this matrix is min (1,2)
|
Write your question here. Example - if n = 2 and m = 3: 1 1 2 2 3 3 Here every immediate neighbour of each cell has distinct values and the maximum value use... |
Jan 10, 2019 at 5:13pm
[22 replies] Last: yeah thanks got AC. (by damphy)
|
kth smallest segment containing a number |
Question- https://www.hackerearth.com/practice/data-structures/trees/binary-search-tree/practice-problems/algorithm/suarez/description/ Issue- Solved u... |
Jan 10, 2019 at 3:59pm
[4 replies] Last: I am getting so many memory limit exceeded. It's strange. #include<i... (by closed account 1vf9z8AR)
|