Beginners (Page 54)

by wolfv
overload operator <<
In the first example, fstream works with operator << as expected. The second example is similar, bu...
[2 replies] Last: Thank you coder777! That worked beautifully. (by wolfv)
by zdzero
Calling a var args function from another var args function
First of all, I have no access to CRT functions. What I want is to have a nice little printf and...
[3 replies] Last: @dhayden: I think that will simplify things and also move all the impo... (by zdzero)
Variable Used Before Initialized, But...
OK, the problem is to write a program to create and populate an array with random numbers. Then, sor...
[11 replies] Last: I caught that one quick. I think it's time to put this one to bed. T... (by killingthemonkey)
Debug Assertion Failed
I have no idea what is wrong with my code. I have looked over it numerous times and i still don't kn...
[2 replies] Last: THanks SOLVED THE PROBLEM ! (by google12)
For loop help!
I have to write just a simple for loop that counts down from 99 bottles of beer on the wall. I can c...
[4 replies] Last: I was editing my last reply in order to explain what you just asked me... (by disturbedfuel15)
by Paulol
Need help please
Resolved, thanks.
[1 reply] : void convert(double *); //prototype void convert(double *a) { ... (by shadowCODE)
Input Error causes infinite loop. Suggested fixes causing program to break.
Hell everyone, first time posting here. I decided to get a head start on my Final for my intro to pr...
[8 replies] Last: Happy coding.. (by shadowCODE)
by bpro
Calendar still displaying when parameters are invalid
Here's what I need to do: If the start day is not in the range 0 to 6 inclusive or if the number of...
[2 replies] Last: Thank you @whitenite1, got it working! (by bpro)
how to read whitespace using infile from a file in c++?
i have to make a program which reads each chaacter from a file and using the caesar cipher if the ch...
[8 replies] Last: thank you!! the program works perfectly now. (by idknuttin)
by Scizor
Seeing if letter was guessed already or not
Hello, with this binary search I'm trying to make sure that the user doesn't guess a word twice in m...
[2 replies] Last: Ahhh thankyou kind person! I re-initialized numGuessedLetters to 1. It... (by Scizor)
Double being rounded?
I'm using online to mess with some code, for some reason this is rounding to num to 3 instead...
[2 replies] Last: Thank you JLBorges! (by bulba5aur)
2D Arrays
Hi, I have almost no clue how to use a 2D array.. The start of my project requires a 2D array filled...
[4 replies] Last: int x = 24; int y = 60; char c = ' '; These names have external lin... (by JLBorges)
How do I create an array of objects?
I've written the following program. I want to create an array of objects of the following class. How...
[3 replies] Last: In first case you need to provide default constructor for your class. ... (by MiiNiPaa)
Dynamic 2D array with classes; program crashes after destructor
matrixData is a 2D array and is a member variable of the class matrixtype. It is a pointer to a poin...
[6 replies] Last: Thanks! I fixed operator<<. I actually had an overloaded operator= and... (by imStillPondering)
by mstru
Population program, loop issue (not calculating correctly)?
Hey guys. Everything is working great here except when the program outputs the calculations, the "ne...
[6 replies] Last: Yes, that was indeed the problem. Your line 63 worked much better with... (by mstru)
Building a Simple Template Function
My assignment is to write a template function called total() that keeps a running total of the value...
[2 replies] Last: Thanks very much! Very helpful. Still having issues, however. I kept... (by danpants)
fstream object complications
Can someone please explain to me why when I initialize this array of structures there are additional...
[4 replies] Last: thanks I see the mistake. Should be: for (count = 0; count < 10; coun... (by student89)
[2 replies] Last: While(1) is an infinite loop. (by fabtasticwill)
by zanne
Need help, with list
Can someone help with home work? I'm beginner, i searched whole internet and couldn't find right ans...
[no replies]
QuickSort Problem !!
I don't know why the recursion QuickSort isn't execute. #include<iostream> using namespace...
[1 reply] : you have not written the partition function. (by anup30)
Pages: 1... 5253545556... 111
  Archived months: [oct2014]

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