[try Beta version]
Not logged in

Beginners - July 2018 (Page 6)

Incorrect Average
 
I am supposed to get numbers from an input file and display the average. The problem is I keep getti...
Jul 22, 2018 at 9:20pm
[4 replies] Last: You defined it there. You should read the function tutorial: http:/... (by Ganado)
LINKER ERRORS
 
How do I get rid of the linker errors. I believe the errors come from lines 17 to 31 of the test pr...
Jul 22, 2018 at 6:33pm
[8 replies] Last: Ganado, Thank you very much. I am beginning to understand what I did... (by phztfte1)
by hellon
Big Multiplication
 
Hey, Can anyone tell that how can we multiply two very big numbers of length 10^5 with a modulo.
Jul 22, 2018 at 5:55pm
[6 replies] Last: store digits in a string and use sum of digits property (by ghostrideriit)
Inserting node at beggining of a linked list.
 
The program goes into an infinite loop. I can't really seem to understand why. The logic is simple. ...
Jul 22, 2018 at 9:10am
[2 replies] Last: Oh freaking god thank you so much damn it,silly mistake. Thanks man it... (by akshatmahajan3112)
Code getting WA in 2 test cases although my approach is right
 
Write your question here. You are given two arrays A = A1,A2,…,AN and B = B1,B2,…,BN. We want t...
Jul 22, 2018 at 9:09am
[2 replies] Last: cool thanks (by closed account 4z86RXSz)
inline functions
 
I don't really understand inline functions.what inline does is that it replaces the called function ...
Jul 22, 2018 at 9:04am
[1 reply] : inline goes on the function declaration , not where you use it. ... (by Repeater)
Output to console while my thread is not finished.
 
I have a basic is a prime number program and I want to be able to output something to console so it ...
Jul 22, 2018 at 4:09am
[3 replies] Last: printing just makes it take that much longer. but if you insist, prin... (by jonnin)
New coder help!
 
I have some codes I want to get feedback on. I am new to coding and would like to know what improvem...
Jul 22, 2018 at 3:53am
[1 reply] : initialize variables. Your max finder loop won't work on all compiler... (by jonnin)
can you give me hint
 
My question here. https://www.facebook.com/hackercup/problem/359971574540051/
Jul 22, 2018 at 3:10am
[4 replies] Last: I think if you draw some pictures you'll find that the possibilities a... (by tpb)
Big Multiplication
 
Given two very large numbers m and n.He asks all the students to find the remainder of product of ...
Jul 22, 2018 at 1:54am
[16 replies] Last: Store digits in a string take sum of digits.... Think further (by ghostrideriit)
do while
 
How can I make this a little bit less code and also use a do while function? #include <iostream> ...
Jul 21, 2018 at 11:16pm
[2 replies] Last: you can clean up a bit for sure. a function to do error checking tha... (by jonnin)
Files into arrays into tables
 
Its suppose to make a matrix(table) with the numbers from a file. But I don't know how to store the ...
Jul 21, 2018 at 5:42pm
[1 reply] : You access the elements of a 2d array like this: Table table; table ... (by Thomas1965)
Transaction functions uses same username.
 
In the program, I have entered to 2 usernames. In the program, I entered with the first username wit...
Jul 21, 2018 at 5:37pm
[1 reply] : the transaction functions thinks only the first username exists You ... (by Enoizat)
simple function problem
 
Hi there, I am looking for some help with this rather simple function that i wrote. It does work, ho...
Jul 21, 2018 at 5:33pm
[5 replies] Last: Many thanks to you both tbp and jonnin! (by RytisBe)
skill input
 
Why? How? Please note that this is not a homework site. We won't do your homework for you. The purp...
Jul 21, 2018 at 3:38pm
[4 replies] Last: Hi has anyone done this problem (by closed account 3U5X216C)
Linear search not working.
 
I have put the linear search algorithm with array of structure. In the program, I have entered to 2 ...
Jul 21, 2018 at 2:18pm
[1 reply] : You are trying to do too much inside the loop. You probably want to en... (by Peter87)
MATH PROBLEM
 
Prakhar is fond of solving the mathematical equations,one day his girlfriend asked him a new equatio...
Jul 21, 2018 at 2:15pm
[2 replies] Last: @iamdad3 thanks your trick worked (by closed account 3U5X216C)
Sum of GP (1,2)
 
Prakhar has very good knowledge about current affairs.He used to play live games like LOCO,Brainbaaz...
Jul 21, 2018 at 1:31pm
[31 replies] Last: @Repeater, just so you know, it wasn't me who "reported" your post. I ... (by tpb)
error with a string
 
I know the error is due to string tom but im not sure how to solve it.does union not take strings or...
Jul 21, 2018 at 12:57pm
[1 reply] : From “The C++ Programming Language” - Fourth Edition, chapter 8.3.... (by Enoizat)
problem passing 2-D array to a function
 
How to pass 2-d array in a function if the size of the 2d array is read from user input #include<...
Jul 21, 2018 at 12:30pm
[3 replies] Last: Thanks a lot sir...it was really helpful... (by amiable143)
July 2018 Pages: 1... 45678... 17
  Archived months: [jun2018] [aug2018]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.