Beginners - September 2017 (Page 2)

Need assistance on figuring out error on search traversals output.
Hi, I am trying to implement a best first search which takes in input of points(x,y) from a test.tx...
[no replies]
Stumped on Rock Paper Scissors against Computer
Hello everyone. So I need to create Rock, Paper, Scissors game with player 1 being a user and playe...
[3 replies] Last: A data driven approach would be simpler. Something along these lines: ... (by JLBorges)
tic tac toe code bug?
So I was writing this TIC-TAC-TOE program which lets a user select a cell in the table to be marked ...
[5 replies] Last: thomas 1965 sorry for being so dumb about me not understanding what y... (by Blazinteen)
How to set a result to 2 decimal places
I'm only allowed to use the <iostream> library, so setprecision can't be used. How can I set 2 decim...
[4 replies] Last: LOL, you're right. (I was half asleep when I wrote that above.) int... (by Duthomhas)
4th order Runge-Kutta method of vectors (1,2,3)
Write your question here. Hi, guys, kindly chip in with advice regarding how I should go about this ...
[56 replies] Last: The time-warp of -ve time is interesting Sadly, that's what he want... (by lastchance)
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)
[no replies]
September 2017 Pages: 1234... 21
  Archived months: [aug2017] [oct2017]

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