Beginners (Page 69)

Code does not exit while(getline) loop
C++ community, I have a problem with my program not executing beyond the while loop. I have read abo...
[2 replies] Last: line is string (by harpo123)
c++ olympiad
Hi, am not new in c++, I know the basic, but I want to improve my skils. I am searching a book where...
[5 replies] Last: Thanks for replying. Maybe you know something like that http://comscig... (by lapinas)
Algorithm Question
Algorithm Question The following statement calls a function named half. The half function returns a...
[5 replies] Last: Started around the 20th of January. Had C for 2 months, then c++ for a... (by TarikNeaj)
Random Number Generation within a range
I'm trying to generate a random number (data type double, so decimal) between the values -2, and 2. ...
[1 reply] : #include <iostream> #include <random> #include <ctime> int main() { ... (by fg109)
How do I keep the console open?
The 'Hello World' program below executes and immediately closes the console window. I'm using Micro...
[4 replies] Last: The top post on this forum is about that topic. http://www.cplusplus.c... (by Gamer2015)
Having problem returning function....sigh pls help!
My code below will not return the value from the input in the first function. Sorry i am complete "n...
[3 replies] Last: My pleasuer, would appricaite if you could edit your post and use the ... (by TarikNeaj)
making this loop continue and q to quit
I am trying to make this program keep asking for inputs to make new squares and also to stop when yo...
[8 replies] Last: only thing it does is when i hit q it will ask the enter a number fro... (by Lorence30)
Trouble with classes
Ok, I'm terrible at programming. I've been reading the two textbooks I have and I feel like I'm gett...
[13 replies] Last: . How then do I pass values/references amongst the functions. if you... (by Lorence30)
Return various values for different executions
Hi everybody, I need help to code the following program : This program have to return different ...
[4 replies] Last: I second that anup30. Use the srand() and rand() which is under the ... (by digital D)
by davidm
initializing an array
Write your question here. #include <iostream> using namespace std; int main() { int fib...
[2 replies] Last: #include <iostream> using namespace std; int main() { int fibonachi... (by davidm)
ChessBoard game
Hi, I am new with c++. I'm trying to create a chess board program using pointer, object and class. T...
[no replies]
Help with derivative code
I have to find the derivative of a polynomial with degree 5 with any given coefficient but it's been...
[1 reply] : > it's been giving me nonsense answers Give an example input, with its... (by ne555)
Need help sorting file to arrays
HI, I am having a bit of trouble, I am doing an assignment on statistical hypothesis testing. I can ...
[4 replies] Last: I accidentally used cin instead of fin . It's a very easy mistake ... (by fg109)
txt.file output in alphabetical order
Hello C++ friends, trying to write a program to have a user input a number 1- 25 and display
[no replies]
by Rheemy
Trouble with Subclasses: invalid use of nonstatic member func
Okay, so I'm writing a code for an assignment that is meant to demonstrate classes, subclasses and i...
[2 replies] Last: ahh okay that makes sense. Thanks! In terms of memory allocation doe... (by Rheemy)
Need help with my programming project
Hello, I need help with my programming project here. My project was simple time converter which i ma...
[no replies]
Need help with classes
Hey all, I can get the out put for the child classes to display but not the parent class. Product....
[7 replies] Last: I found it. Think ive been staring at it for too long lol (by specter113)
by kccpo
A little help with a equation please
Hi all, I have a program for school that I've started and it is very close to working but for some ...
[7 replies] Last: LOL Totally understand that! Thank again! Cheers (by kccpo)
by slour
File location
Can someone point me to the tutorial that will tell me how to have a user enter the location of a fi...
[2 replies] Last: okay, too easy thanks. (by slour)
by zelong
How could I substitute a value in c++
Hi,This is my final project of my first semester. and i got a question when to substitute a value-d...
[1 reply] : I know there are some other errors in the program, but I am trying to ... (by zelong)
Pages: 1... 6768697071... 88
  Archived months: [mar2015]

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