Beginners - November 2014 (Page 43)

Using Functions to find Circumference, Distance, radius and area
 
I'm having trouble with the output of this function. i dont know whether i need to have parameters f...
[2 replies] Last: #include <iostream> #include <fstream> #include <cmath> double dista... (by closed account 48T7M4Gy)
Help with GCF and LCM
 
I am trying to create a program that finds the GCF and LCM of two positive numbers using functions. ...
[4 replies] Last: I've already answered that. Now you need to read the links I gave yo... (by Duthomhas)
by iluv41
how to increase the size of an array
 
I have an array that i need to increase the size of depending on the object being used. How would...
[4 replies] Last: "need"? char * temp = new char ; char * foo = new char[max+more] {}... (by keskiverto)
Need help with C++ Program
 
I have a project due for my computer science class tomorrow. My program has to prompt a user to gues...
[3 replies] Last: Yeah, why would the difference ever be negative?? (by chrisxv)
Help Overloading Increment/Decrement Operators?
 
I posted this here before with no luck but I am completely stuck. Any hints or guidance would be muc...
[no replies]
by cGuru
File String Replace Algorithm... Please
 
I adapted the code from the following: http://stackoverflow.com/questions/9505085/replace-a-line-in...
[no replies]
Is there a way to show a range of bytes in a file?
 
I am trying to display the first ten lines of a file that I just made. I know i can use the seekg an...
[3 replies] Last: Never mind, i find it easier using an array. (by SomeAmazingGuy)
Why constructor is executed before main function ??
 
Hi, I wrote two programme to understand behavior. There are two question, each of them are after co...
[2 replies] Last: There is no cout in Rectangle(int a, int b). (by fabtasticwill)
Looping y/n prompts properly
 
Hi, I've been working on this assignment for the past couple of days and am stumped. I'm having trou...
[2 replies] Last: ahh that flew right over my head. it works now, but I had to make a fe... (by lalelulalo)
by LearnC
Write a function moves the nth element of the queue to the front.
 
I've been struggling with C++ since day one and have been barely surviving. The assignment I'm worki...
[1 reply] : Hi you can use another queue to assist you Because a queue is a FIFO s... (by closed account SECMoG1T)
by AWW47
Incorrect output to array search
 
In this program I have 2 arrays, proBT , which is unsorted and sortedBT . Both have the exact same ...
[3 replies] Last: You will sort the array proBTIndex. You have to swap, when values are... (by keskiverto)
Word counter prevents program from working properly
 
For this program I need to read in "commands.txt". If it's empty I will display "commands.txt is em...
[1 reply] : Problem #1: Line 15 - shouldn't this be ++c not ++q ??? Problem #2... (by Norm Gunderson)
SPOJ Problem-PRIME1 giving runtime error (SIGSEGV) why?
 
Problem Link: http://www.spoj.com/problems/PRIME1/ Here is my code: #include <bits/stdc++.h...
[1 reply] : http://www.cplusplus.com/forum/general/112111/ I understand that you d... (by ne555)
I really need help, this is important. i have no idea how to write this code?
 
I need to write the function "isPalindrome()" so that it loops through the given word and tests whet...
[2 replies] Last: i came up with a non recursive solve. but first some help how would on... (by DAoliHVAR)
Statistical Calculator yields incorrect outputs.
 
Hello everyone! My program is designed to take 3-30 values from the user and have it run through a h...
[4 replies] Last: @coder777 I apologize for the sloppy representation. I absolutely had ... (by Chipchip)
Problem with visual C++ 2013
 
Removed
[12 replies] Last: Your professor said "I don't know" and sent you on your way.... Make ... (by disturbedfuel15)
Linear Regression Calculation issue
 
I'm not coming up with the right answer and can't find my error. Any feedback would be greatly appr...
[4 replies] Last: I haven't looked too hard through your code, but I'm not sure you're u... (by Duthomhas)
need help writing a code to test if a word is a palindrome?
 
I need to write the function "isPalindrome()" so that it loops through the word and tests whether th...
[no replies]
asdasd
 
cccc
[3 replies] Last: Where have you declared a variable with the name of "file"? Also you ... (by jlb)
QUICKNESS!!!!
 
#include "tadhora.h" #include <iostream> using namespace std; void horacero (thora &h1) ...
[2 replies] Last: Each program should have main() function which would be called at pr... (by MiiNiPaa)
November 2014 Pages: 1... 4142434445... 65
  Archived months: [oct2014] [dec2014]

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