Beginners (Page 84)

by gduong
dynamic memory
I am getting an error or uninitialized local variable 'size' used and i don't know why. Can someone ...
[4 replies] Last: Thank you. I got it. (by gduong)
Extracting digits
I have a homework assignment where I have to read an integer below 1000 and output the integer in te...
[4 replies] Last: Yes I can, that seems like such an easy solution, thank you keskiverto... (by alex067)
by BB2921
If and Else troubles
I have to write a code to calculate a final grade for our class and it asks a few questions about yo...
[6 replies] Last: thanks, that's what was wrong. (by BB2921)
Program won't display content of the file specified
Hello, every time i try to open a text file to display the content, it will create another blank fil...
[4 replies] Last: when you open a new file to write you code, you save the file somewher... (by shadowCODE)
Question about forum
Hey guys, I would just like to know what I did wrong in this thread (
[4 replies] Last: Thanks, I was just unsure if I should add anything (hence the incessan... (by Cube777)
by stlund
Declare an object in another class. Bank system.
So Im trying to declare a object "Konto" on the Bank class, but the compiler complains:" Bank.h|11|e...
[2 replies] Last: Thanks alot Peter! That fixed it! All the hour's I spent on that simp... (by stlund)
Assistance with pop function and exception handling
Looking for guidance on how to properly solve his HW problem . I can't seem to correctly use th...
[2 replies] Last: You haven't provided hwstack.h, so can't comment on any issues in your... (by AbstractionAnon)
Wrong output for second cout statement
#include <iostream> #include <cmath> using namespace std; int main() { double tim...
[1 reply] : (1/2) is 0 (1.0/2.0) is 0.5 (by LB)
Access Violation - insertionSorting arrays
I'm working on a homework assignment, for which I must do an insertion sort on an array of terms (te...
[8 replies] Last: Hey that worked perfectly! That makes sense too, I always thought of t... (by Smallboy)
Boolean Variable array and Variable parsing.
Ok as far as variable arrays. I'm workign with Visual c++ and they have TextBox and Label as objects...
[15 replies] Last: bool Bool1 = false; bool Bool2 = false; bool * const foo = { &Bool1,... (by nick050183)
my code isn't formatting in my file correctly
i have a project due in a few hours. the project was to take a file that had roman numerals and numb...
[5 replies] Last: The problem is this line if ( != 'M' || != 'D... (by Yanson)
Namespace, What Is It
I am trying to learn C++ and am working my way through a Dummies book with that title. I am up to ar...
[10 replies] Last: Just to clear things up: the reason I asked "What do you mean by 'comp... (by LB)
Beginner on Classes!
!!Can anyone help me out with this question so i can get started in writing a program for it... and ...
[11 replies] Last: Line 22: You're still not initializing feet. Line 29: Why did you... (by AbstractionAnon)
why put a reference in an "operator" when overloading an operand
Hello. I watched this lesson about function overloading(about increments) and I'm just wondering why...
[2 replies] Last: First, know that what you have there is a very bad idea. I'll get to ... (by NT3)
by Ardaos
how to use getline() properly and how to use strcpy with a string a const char*
I get an error when I try to use cin.getline(line). Also, I can get strcpy(line, tempString) to work...
[7 replies] Last: There are several compilation errors in the above code. Line 14 o... (by Chervil)
I am receiving a run time error
I am working on a homework problem and I am receiving a runtime check failure #3: the variable selec...
[7 replies] Last: hackmattr, would I just put case 0: Sign = aries; cout <<"Aries\n"; ... (by tangren17)
Find non-numbers in a file
So I have an input file like: "1 2 3 4 A B C D" The vector contains only the numerical values ...
[1 reply] : You may add something like this after the while loop: if(!inputFile.eo... (by coder777)
Loop test
Why the program exit before I can choose the mathematical operation? #include <iostream> usin...
[8 replies] Last: nice one :) sorry for bothering you You aren't bothering me :)... (by mutexe)
Why is the output this? Please help, hurry..
why is the output = 9? #include<iostream> #include<conio.h> using namespace std; int main() {...
[4 replies] Last: is it because "012345678" are 9 digits so i=9? No. Well, not exactl... (by mutexe)
Hmm Cant get this right!!
Hey i am new to use C++... This is one part of my 200 line calculator and the problem is the Name.....
[1 reply] : Don't mix gets with std::cin . Instead use a simple std::string . ... (by abhishekm71)
Pages: 1... 8283848586... 98
  Archived months: [aug2014]

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