Beginners - February 2016 (Page 12)

by Ik66
Crash after loading data from binary file
 
Hi everybody!, While i am continuing my learning of C++ i have to write a program to load some "e...
[8 replies] Last: Now i see what you mean. Employee class has no pointers...at least wri... (by Ik66)
What is the best way to program graphics?
 
I'm writing a card game for an independent study project. I have it implemented in text-mode but wo...
[3 replies] Last: try https://www.youtube.com/user/VoidRealms he has a lot of tutorials ... (by rafae11)
Stuck on simple question
 
i am having trouble finding the sqrt roots for a number. my assignment is to Write a program that p...
[5 replies] Last: got it to work thanks for anyone in the future here is the correct cod... (by akanash94)
qualified-id error.
 
I'm trying to get this code to calculate the types of pizza ordered and the total cost when "again" ...
[14 replies] Last: I put Order::Order(){ double total = 0; } And now it runs, but i... (by jibicax)
( Help please! :) )I'm having trouble utilizing a class object within another class
 
I am trying to incorporate an object of a date class that I have created into a student class that I...
[3 replies] Last: I don't understand what you mean by that statement. I don't see an im... (by AbstractionAnon)
Nested for-loop problem
 
I was given this assignment: Write a C++ program that asks the user to enter an integer N and di...
[4 replies] Last: Lines 13, 15: Your for loops are still bogus. Line 16: You're print... (by AbstractionAnon)
Need Help with a Single (Simple) Error
 
Can't figure out whats wrong but probably glazing over it. the error is: In function 'void orde...
[4 replies] Last: fixed it! was a bug in saving files (by gregfifth)
Memory leak after removing word from binary tree.
 
I've made a binary tree for which I have written a function to remove a word. I change the pointers ...
[1 reply] : No answer yet, it must have been busy at this forum. I found the answ... (by Bram van Velzen)
Functions, using sqaureroot
 
My class assignment is to "write a program that reads three sides for a triangle and computes the ar...
[8 replies] Last: In a general sense, yes that's what I meant. Though the two code sampl... (by Chervil)
Help Needed!
 
need to make a program when given a month, day, and year determine the date that occurs 9 weeks lat...
[1 reply] : First of all use three variables of course, an int month, and int day ... (by jgg2002)
Almost there!
 
Why is my code only reaching the If statements if (A, B, or C) is capitalized? #include <iostrea...
[3 replies] Last: I found the problem. Thanks for responding though... membership = ... (by Billyin4C)
How write a program to draw curvy towers as in the sample runs below
 
Enter the height per section: 7 Enter the number of sections: 4 ***** ******* ...
[1 reply] : #include<string> #include<iostream> using namespace std; int main()... (by jgg2002)
Quicksort doesn't work on odd numbered arrays
 
As the title explains above I'm trying to implement Quicksort but it doesn't seems to work in odd nu...
[3 replies] Last: #include<iostream> using namespace std; void swapt(int i,int j, int *... (by jgg2002)
Why while loop is not working instead of for loop?
 
I am creating a pyramid in C++, and for loop is working fine but when I came to while loop, the same...
[1 reply] : You forgot to reset j to its original value before entering the inner ... (by helios)
vector program, unknown errors.
 
code to store exam scores, find average, and compute standard deviation, it has one REALLY long synt...
[7 replies] Last: You can't do this: fillArray(score)<<endl; displayArray(score)<<endl... (by DeathLeap)
Confused little bit at some point in C++ program.
 
I now the output is 1024 and 10, and also know that second number is base 2 log of first number, but...
[4 replies] Last: Thanks All. (by ZahoorKhan)
Arrays & Arguments
 
Hey guys, I'm really new to C++ and I need to write a function that accepts an int array and the arr...
[2 replies] Last: I actually found out what to do! Here is the solution for others if th... (by hookster007)
by g3n0m3
where can I find the full name of C string functions
 
I usually find it easier to know what the full name of a C string function is then I figure it easy ...
[1 reply] : Im sorry but could you rephrase the question? I have no idea what you ... (by TarikNeaj)
LNK2019 unresolved external symbol
 
New to C++ and have been trying to get class templates to work. Ive been getting the following error...
[2 replies] Last: Hi, Is the second snippet in a .cpp file? Templates and their functio... (by TheIdeasMan)
Notes Dispenser pointers needed
 
Hi all, I have just started out in C++ am trying to write up a cash dispenser code upon entered amou...
[6 replies] Last: Pardon me if I sounded stupid but will that be a while loop? So far I ... (by salik89)
February 2016 Pages: 1... 1011121314... 46
  Archived months: [jan2016] [mar2016]

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