Beginners (Page 82)

by vxk
default constructor Line class
I have a Line class and a FRIEND Point class in it .The default constructor of the point class takes...
[6 replies] Last: (0,0,0) is equals to 0 (0, 0) is also equals to 0 Read info on , ... (by MiiNiPaa)
Bisection Method
So i am trying to write a bisection method code for finding the roots of a given equation (x^3 - 6x^...
[7 replies] Last: but am getting some errors with it as well. What errors are you gett... (by jlb)
by cyter
shifting characters in a character string
Suppose I have the following character string char * str1 = "2 34 5"; Is there a function in C ...
[no replies]
by Dom1
C++ total beginner
Hello All, I'm new to programming and C++,I have rented learn C++ in 21 days,i'm under no illusions...
[2 replies] Last: Ok thanks i've just got it time to get to work (by Dom1)
by Koolal
Help with this code
I am writing a code that will ask a user to input no. of corners and the coordinates,the distance be...
[1 reply] : Your first and last vertices are of course, x ,y and x[vertices-1],y[... (by AbstractionAnon)
by cGuru
Error C2664
Problem: I am getting an error message. I do not know why because the "p.password" is declared ...
[1 reply] : strlen only works with char pointers (aka C strings). Use p.password.... (by Peter87)
Need Help with Menu
Hello everyone I really need help with this menu :( I have been really struggling with it for the pa...
[4 replies] Last: Ok I have fixed the selection issue but I am still not able to clear t... (by camwhyy)
Switch Statement looping errors
Basically, I'm trying to learn C++, and I'm new at this. I know I can continue my program as it is, ...
[1 reply] : Your while loop at line 14 checks tryagain, but tryagain is only modif... (by AbstractionAnon)
Problem with array and calendar
Write your question here. #include <iostream> #include <conio.h> #include <iomanip> #inclu...
[5 replies] Last: I figured it out. I used memset(cal, 0, sizeof(cal)); at the first st... (by thecause17)
class program with friends, urgent!
I have a small debug problem, I need to create a program which takes coordinates and creates a recta...
[3 replies] Last: The specific problem you're seeing is that you're defining AB, AC, CD,... (by dhayden)
by pukol
Comparing strings
So here's the deal. I created a linked list that will store a string in each node. The problem is...
[1 reply] : It's pretty straight forward. Start with the root (lowest) node. ... (by AbstractionAnon)
Error in Code, unsure how to correct
I am getting an error in my code, and I do not know how to fix it. Write a program to calculate targ...
[1 reply] : 1. dont use same name for function and variable 2. TargetHeartRate in ... (by anup30)
Problem using global constants
I have 4 files, 3 of them are class header files and one of them is the main file. Everything works...
[2 replies] Last: I want to make a set of global constants, in main, to use in the cla... (by dhayden)
Binomial Series
Before I start I want to explain that I have searched the forums and haven't found my solution yet. ...
[1 reply] : The problem is on line 70. b^k is not b raised to the k'th power, it... (by dhayden)
Nested Loops Help
My arrow code is broken, please help! I cant figure out whats wrong with the tail! //This ...
[1 reply] : The tailLength is wrong because the headLength is wrong. headLength =... (by dhayden)
How do I call my functions from main?
#include<iostream> #include<iomanip> using namespace std; //Initialize variables because the...
[4 replies] Last: Thank you very much for that explanation quan. I now understand what t... (by CapnMintyBits)
by vxk
simple character string copy
Can somebody point me what is wrong with the following piece of code ?: #include <iostream> usi...
[4 replies] Last: oh this solved the problem --> #include <iostream> using namespace... (by vxk)
by thzo
process terminated with status 1970205833
Write your question here. What do I have to do when I get "process terminated with status 197020583...
[no replies]
by Torm04
C++ Help (fstream)
Hello, I have a couple questions about using fstream. I am curious on how I would do something like ...
[12 replies] Last: Thank you everyone that helped me with this. I got the assignment fini... (by Torm04)
Let us understand this code?
Hi all, My teacher gave me a code and told me to try to understand it. I have some questions woul...
[3 replies] Last: The first argument to main() is the number of parameters passed to th... (by hellox)
Pages: 1... 8081828384... 111
  Archived months: [oct2014]

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