Beginners (Page 103)

Help with basic Carpet pricing program?
Hello. It's nice to be here. I am trying to create a basic program that will calculate the cost o...
[10 replies] Last: In the beginning of your program you are asking the user to input the ... (by Mogwai82)
by CDavis
program to compare C to C++
I know I put a post up before on this but here is all the rest so I have an assignment were we have ...
[1 reply] : As a next step, try writing functions that indicate if the line is any... (by dhayden)
What is wrong with my code?
Dear Friends, I have written a Euler method code to calculate the integral of x''=6*x^3 from 5 to 8...
[no replies]
Are constructors only useful to call private members of a class?
The title is pretty much self-explanatory. Are there any other uses for constructors?
[2 replies] Last: Ok just making sure (by SomeAmazingGuy)
Having problems with my code
i've been having trouble trying to build a multiplication table because it cuts some numbers (compil...
[3 replies] Last: Done: #include <iostream> #include <iomanip> using namespace std; ... (by MrBents)
program has stopped working
I have this kind of problem: 1.Program open file called "abc.txt". 2.In while loop i save each line ...
[3 replies] Last: i <= ArrSent.size(); If your vector has size of, say, 2, you will t... (by MiiNiPaa)
Need some "Proof-reading" to this code, help please :)
What you are about to see is probably the most inefficient code and disorganized for a beginner, how...
[1 reply] : 0) You are definin your array as containing 9 elements but generating ... (by MiiNiPaa)
What's Wrong With My Functions?
This code should be pretty straightforward, readData reads the width and length, area calculates the...
[9 replies] Last: #include <iostream> void readData(double &w, double &l); double area(... (by aclayton96)
"Craps" Dice Roll Program issue
First I'll begin by stating the objective of the program. Write a program to simulate the casino ...
[4 replies] Last: I would be interested in seeing how your final version came out, if yo... (by PCrumley48)
Using Srand
Hello guys, i need some help using srand, the reference page is not very clear how to work it out sp...
[5 replies] Last: oh man ... Thanks very much for your time :) (by Dexterr)
help in creating power function
hello,I am trying to build a power function that works like <cmath> pow(); and also is done with rec...
[1 reply] : anyone?sorry for bumping,nobody is replying and it will go to page 2 (by DAoliHVAR)
Random Sentence Generator
So, I've successfully made a program that prompts the user to enter 10 nouns and 10 verbs and random...
[3 replies] Last: just some beginners input on the idea here, isnt it possible to perfor... (by Dexterr)
How can I change the code below to accept all equations?
Dear Friends, The code below is to calculate the dy/dx = y - x differential equation by second order...
[no replies]
What is wrong with my code1?
Dear Friends, Would you please tell me why in the output of my code instead of t=0, it starts with t...
[2 replies] Last: Thanks a lot dear friend. (by spring2014)
Problem using tgamma() function
tgamma() function shows different result for same logic. Code are given below.. #include <iost...
[1 reply] : tgamma returns a double so the first one casts it to an int, the seco... (by mik2718)
help with #define
I want to redefine some function but I get problems when I do it. I want to define "neq a" to be "c...
[4 replies] Last: FWIW, what you are trying to do is a horrible abomination of code and ... (by Disch)
access class member from different class
I want to manipulate a class member from several other classes. class A class A //"classA.h" ...
[1 reply] : Make it a member of class instead of local variable inside of class me... (by MiiNiPaa)
Simple Dice Game Problem
Hello everyone. The program I've written's purpose is to roll a dice 6000 times, and then output the...
[3 replies] Last: It happens. Good luck! (by hyperfine)
Simple linked list program won't work in visual studio
This program works in the C++ shell but not in Visual Studio. I was hoping you guys could shed some ...
[1 reply] : Try again, program is completely legal (though you should fix lines 97... (by MiiNiPaa)
BST pointer problem root pointer
Hi everyone I'm new to c++ programming, I have a problem in the following Binary search tree code...
[4 replies] Last: yeah , I forget to use temp pointer ... It finally worked , thank yo... (by Aboulkomsan)
Pages: 1... 101102103104105... 119
  Archived months: [sep2014]

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