Beginners - September 2017 (Page 2)

combining
 
can someone give me an example of c++ that combining array,pointer,looping,selection ,structure,fun...
[10 replies] Last: We can switch on integral values, enumeration values and on values of ... (by JLBorges)
Need help with program
 
i recently started learning c++ and i have been given a question and no one seems to be able to get ...
[6 replies] Last: Since you have to do the same thing three times, you should put the lo... (by AbstractionAnon)
Count even and odd numbers in a random number generator
 
So I need a program that will say how many even, odd, and "0" numbers there are from a random number...
[2 replies] Last: #include <iostream> #include <ctime> #include <cstdlib> using namespa... (by lastchance)
by Bopaki
Need help on clarifying these recursion functions:
 
I am still getting lost on how RECURSION works. Can I get some clarification to these two recursive...
[9 replies] Last: Thank you all for your help. I have a much better understanding of rec... (by Bopaki)
Storing characters in a var.
 
Working on code for a computer science class, i was wondering if some one could help me with line 18...
[2 replies] Last: I'll give that a try thanks Andy (by corestorm)
"Play again" loop acts like it works but doesn't
 
Hey guys and gals, just wondering if I can get some help with this. I'm a beginner and working on a ...
[3 replies] Last: It's not because of the break statement but that's a good guess. Hint... (by keanedawg)
by jsbd29
help with c++ "if " program
 
Hey there, I am learning C++ and I need help to build a program the exercise: A box of cookies can...
[3 replies] Last: What's the point of the extra braces surrounding the if-statements? ... (by mbozzi)
Delete file contents
 
I wrote my program but delete is not working.I can't understand what is wrong.(line 85-109) #inclu...
[3 replies] Last: Hints: #include <cstdio> #include <fstream> #include <iostream> #inc... (by Enoizat)
Angle bisectors calculation
 
Hi people, I'm trying to calculate the angle bisectors for different types of triangles by drawing o...
[2 replies] Last: Angle bisector calculation --> angle1,2,3 (term angle is misleading: a... (by Bronislaw)
Wrong sum result
 
The program is supposed to add all the integers between x and Y. Both inputs are given by the user. ...
[2 replies] Last: It could be simplified with a function "s". Here is a better way to do... (by vsireanu)
Reading Contents from Text to Arrays?
 
So I have a question about reading input from a text file that is structured in the following manner...
[2 replies] Last: Wow, this definitely helped. You put a lot of work on this, I really a... (by ceesgetdegrees)
Error of expected unqualified-id before ')' token
 
#include<iostream> #include<string> using namespace std; class addition() { public: in...
[2 replies] Last: thanks (by sharonthomas)
Trying to make an error message
 
Hello, I'm supposed to make an error message whenever a wrong input is given by the user. He is sup...
[3 replies] Last: Wohooo got that program working like a charm! I will definitely improv... (by Noobiez)
Can someone help me with this assignment please
 
After the user inputs the variables, the program should ask if they want the numbers in ascending o...
[5 replies] Last: I managed to finish my program, pretty cool how it works haha. I've no... (by Noobiez)
array
 
array
[no replies]
Temperature Conversion using Module
 
Struggling with getting my int main to use the equation in my module #include <iostream> #i...
[2 replies] Last: Hello hdbuck2, PLEASE ALWAYS USE CODE TAGS (the <> formatting button)... (by Handy Andy)
I Need Help.
 
Hello there, My question is that l am doing Information Tecnology (IT) Management, What is the ro...
[6 replies] Last: Wikipedia is pretty thorough; https://en.wikipedia.org/wiki/Informatio... (by Repeater)
10 x 10 complex array
 
Dear All, I am trying to create a 10 x 10 complex array. I am having a little trouble below is ...
[4 replies] Last: You're welcome - I hope it was helpful in getting your code working? (by MikeyBoy)
Amortized Analysis
 
It is possible to implement a deque using two stacks stack1 and stack2, by implementing the function...
[4 replies] Last: pushback (1) stack1 (1) stack2 () pushback (2) stack1 (1, 2) ... (by closed account G3AqfSEw)
Runtime Analysis
 
In Big-Θ notation, analyze the running time of the following pieces of code/pseudo-code. Describe t...
[1 reply] : Runtime analysis is all about counting the number of times you repeat... (by Duthomhas)
September 2017 Pages: 1234... 21
  Archived months: [aug2017] [oct2017]

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