Beginners (Page 9)

Optimising the code
 
The question is this: https://www.hackerrank.com/challenges/summing-the-n-series I've written the...
[1 reply] : Try to optimise your sequence: Sn = T n + T n-1 + T n-2 + ... + T 2... (by MiiNiPaa)
by AVM8
Modification
 
The question is the question asked user to prompt how many student's CGPA wished to be calculated fr...
[2 replies] Last: AbstractionAnon The question is "The program should ask user to en... (by AVM8)
Can someone correct my overcomplicated code?
 
I made an agecalculator, can you bash me for doing things wrong? It's to long for this forum, so ...
[5 replies] Last: http://pastebin.com/fvV9KjRj Not the most elegant solution, and some o... (by MiiNiPaa)
by msrt92
Overloding In C++
 
how many overloading types are there? Like there is function overloading, operator overloading, con...
[1 reply] : Operators are functions. And so are constructors. (by mutexe)
Frequency of characters from a sorted array.
 
Hello everyone, I am having a hard time finding the frequency of characters from a sorted array for ...
[6 replies] Last: just because I decide to disregard the 0 slot in an array does not ma... (by AbstractionAnon)
Switch
 
Question: The program is about to compare any two numbers. Then, it will display whether the number ...
[7 replies] Last: rofl. small fonts for the win. I didn't actually notice it first time ... (by mutexe)
by Sym8
tax rate and large value question
 
so my program asks the user for the price of an item, the number of items bought, and the tax rate. ...
[2 replies] Last: ((price of item*number of items) + (((price of item*number of items)*... (by mutexe)
Questions on Classes
 
Im studying classes and have questions regarding this sample code that was given in the tutorial sec...
[5 replies] Last: Can you not simply call the class like you would a function? OP: h... (by mutexe)
by GOPI56
My program is not working as it should.Help me.
 
I am trying to create a electric bill calculating program which calculates based from the rate given...
[2 replies] Last: Line 14: You're using the assignment operator, not a comparison opera... (by AbstractionAnon)
Do-While Loop. Help!
 
I have this assignment where I have to simulate a soda pop machine. I have to have the program loop ...
[2 replies] Last: output for above code (changing each original drink total to 2): ==... (by jmadsen)
Picking C++ Books
 
Background: Hello! My name is Levi and I'm 13 years old. I've been interested in computers in gener...
[1 reply] : > I don't need books that teaches programming from scratch Start with... (by JLBorges)
Making Decimal Places Appear
 
Hey, Guys! Well, I'm 38 years old and really wanted to pick up programming as just a hobby. I seem t...
[7 replies] Last: notice that, setprecision() and precision() are different. there ... (by anup30)
How to layout codes in namespace and library?
 
I have a question about how I should layout the codes for namespace. Assume in my code I have three...
[7 replies] Last: Thanks very much. (by buddha87)
Print Array in reverse order
 
This is for a school homework assignment on Fibonacci numbers. Anyways we have to store the numbers ...
[1 reply] : The problem is that you're starting at the end by doing j = n-1. So, j... (by BasV)
Where can I insert this break function?
 
Where can insert the following break function into this body of code? char thing; cin >> t...
[6 replies] Last: @Ganado, you're right! I haven't used scanf() in 25 years. I forgot ... (by koothkeeper)
Cant display lines!!!
 
Hi! I'm trying to write a code that displays lines between user designated points with circles at ea...
[5 replies] Last: Ok, so what does you code look like now? Do you understand how I mea... (by TheIdeasMan)
by Jweim
Trouble spotting an infinite loop
 
I cannot seem to find what is causing my program to fall into an infinite loop. When the user enters...
[3 replies] Last: Hi, You have declared selection as an int , but in the cases they... (by TheIdeasMan)
Reading From File - Size of Magic Square
 
Hello. I have written a program to read a 5*5 magic square and test whether or not it is one. I now ...
[8 replies] Last: Here is a version that will work for any sized squares. #include <io... (by dhayden)
Can a pointer able to store more than one variable?
 
I'm a beginner of C++ programming. I'm now studying the topic about pointers. I am a bit confused ab...
[2 replies] Last: pointer itself doesn't contain variable values. it just points to addr... (by anup30)
Qt
 
Hello, I wanna ask you.. Does anybody worked with this programme --> „QT Gui Application“
[2 replies] Last: do you have skype ?? (by Wantautas)
Pages: 1... 7891011... 89
  Archived months: [nov2014]

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