Beginners (Page 68)

I need the solution
void InsertAttheend(int x) { struct Node* temp; struct Node* loc; temp=new Node(); ...
[2 replies] Last: > the end of the circular linked list I wonder where that is. Your c... (by ne555)
wrong calculation outputting
The wrong calculation is being outputted in my program. It's giving me negative values subtracting f...
[3 replies] Last: @TheIdeasMan That was the problem, got the variables mixed up. Thank... (by skyllianfive)
by Plearn
White Space and Input
Hello all. I'm working on a problem that takes a double as input and then a unit that comes after su...
[7 replies] Last: Okay. Thank you! That helped a lot! (by Plearn)
Oddcount Evencount and zero count problem. Program wont work?
Hey guys, I am trying to get the number to work and I can't make it seem to work any insight on how ...
[3 replies] Last: @tarikneaj A. is suppose to to find the largest number untill someone... (by Hidden Squid)
Question about a Program to print out prime numbers up to a given number
Hello, I am trying to write a program that will print out all prime numbers in a range of numbers...
[1 reply] : This is my fastest solution: bool IsPrime(unsigned int n) { // 0 o... (by megatron 0)
Confused by File input/out statements
Input: The input file has the needed data on a single line. There is text as well as the numerical i...
[2 replies] Last: THANKS! (by sfisher1987)
c++ calculator
I'm trying to make a simple calculator with trig functions. I need to add a bool loop to my program ...
[no replies]
Command line arguments
Alrighty, so my instructor doesn't seem to want to move on from this code. So I've had to modify it ...
[7 replies] Last: Your loop initializes i=0. argv is the name of the binary. argv is... (by keskiverto)
false position method
Write your question here. how can i write code in c++ using false position method plz give me som...
[1 reply] : Just Simply Google, "False position method c++". You'll get plenty of ... (by TarikNeaj)
Math problem
Here is my problem: "Write a grading program for a class with the following grading policies. a. T...
[11 replies] Last: finalExam*0.5 + midTerm*0.25 + (quiz1+quiz2) * 0.125 I'm not really ... (by mighty asker)
Binding txt to exe?
Hello I found a solution for this problem: A wi...
[no replies]
by gpoo
vector with 3 column matrix
Hi guys, I want to load the information from a file into a vector of a class type Voter. The fil...
[1 reply] : How is the Voter class defined? How is the Voter::operator>>( ... )... (by OxBADC0DE)
Writing from one file to another.
I'm trying to take data from one file ("predata"), add the data together, and write those sums into ...
[1 reply] : You could simply open the same file for input and output, like this ... (by OxBADC0DE)
poly overloading plz help
The purpose of this Assignment is to be familiar with classes, Files and overloaded operators. The c...
[1 reply] : i write it #include<iostream> #include<conio.h> #include<fstream> usin... (by lolo966)
Just finished basic c++
Hi there I'm new to this forum and I have recently finished learning the basics of c++ e.g if statem...
[3 replies] Last: Thanks for the help guys :). (by tobias121)
Dynamic Array Constructors in Template Class
Hi, I believe my constructors are not correct. I keep getting this runtime error: invalid allocation...
[2 replies] Last: Just a little addition: Why are you testing a size_t aka unsigned i... (by OxBADC0DE)
Switch not working
This is my code but it is not working: switch( number ) { case < n...
[1 reply] : Hi, A switch doesn't work like that , you need an if-else-if-else ins... (by TheIdeasMan)
Polymorphism runtime errors
I've been reading up on polymorphism and tried a sample code. It builds with no errors, but on run i...
[2 replies] Last: Can you provide a heavy metal plate with a bulls-eye on it? I want to ... (by hornet07)
Largest Two
I am missing something on my code, I need help with this, but not the answer #include <iostream> ...
[7 replies] Last: Your algorithm is missing ONE line of code. if (values >= largest) ... (by fun2code)
by MrOx
Awee help
ok so i just need a quick answer and then ill delete this thread so that way it dont take up room i ...
[2 replies] Last: ty very much man it works but now may i ask why does that work?? (by MrOx)
Pages: 1... 6667686970... 105
  Archived months: [jan2015]

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