Beginners - November 2009 (Page 10)

Amateaur Problem
 
Hi all, this is my first post and I am new to C++. I am trying to write a simple program to conv...
[4 replies] Last: Thanks for the quick response. Changed switch(length) case '1': ... (by TJohnston)
by Akyrun
Again... Error. Linking Error.
 
I am just wondering, what is a linking error. How do you fix it?
[2 replies] Last: A link error is an error that occurs during link time. (I'm not bei... (by jsmith)
Scoring Students
 
I need to write a program using arrays and strings.Here is the question. A class of students takes ...
[8 replies] Last: legend do i need to use void?? I did something like this C and C++ mi... (by thebeast)
ASCII Art in Arrays?
 
Greetings, Relatively new to programming here, so I hope you'll go easy on me. Not sure what else...
[7 replies] Last: Oh sorry I thought you were trying to do something a bit more complex. (by DrChill)
what is the idea in this graph
 
Hello everybody I am beginner in programming my lecturer give a sample in C++ as the followi...
[4 replies] Last: I agree. (by writetonsharma)
which container's iterator is competent
 
I want a container whose iterator can pointer to the right element as long as the element stay in it...
[2 replies] Last: I think all of the containers except std::vector<> and std::deque<> (a... (by jsmith)
by gdsimz
debug assertion failure using pointer
 
Hi All, Attempting to read records from a txt file (space delimited) and having problems adding r...
[3 replies] Last: [quote=Chewbob]You need to allocate the space for the array after you ... (by firedraco)
How to get out of this while-loop
 
Hi guys, I just started practicing C++. Right now I'm trying to put lines of text to a file one by ...
[6 replies] Last: Hi, thanks for your reply. But it seems like the problem persist. T... (by nunchuckie)
Operator overloading in combination with inheritance
 
Hello, I've build a Matrix class with several methods and also several overloaded operators. ...
[3 replies] Last: You could get creative with templates... template <typename chil... (by Disch)
Quick Classes question..
 
Hi, I'm new to C++ and I have a question about classes. I'm trying to make a program from a book ...
[5 replies] Last: Thanks for your replies. MaikCAE's method makes more sense to me from ... (by Johnny T)
Problem with header file
 
I am trying to compile the following code to calculate the average of grades but I get the error tha...
[4 replies] Last: Many many thanks everyone!! The problem was solved by placing 'header ... (by mgm2010)
expected unqualified-id before ‘int’
 
Slight compile problems. I'm Linux using g++ Here's what happens in terminal john@john-laptop:...
[5 replies] Last: Constructors don't return values, so do what AleaIactaEst said for eve... (by jsmith)
unary plus
 
I have rewritten bjarne stroustrup's calculator program to accept input from a file and parse it and...
[2 replies] Last: Sorry; mistake. Thanks for your help. (by cengineer)
Any ideas on my C++ program
 
I have a program that create an object that ask user to enter a number then the output is like this ...
[2 replies] Last: There have been various posts recently around here where it was asked ... (by jsmith)
Question about exceptions and classes
 
Okay my question needs to start with classes I think. It may sound like a simple question, but it is...
[3 replies] Last: That sounds ok to me. In fact, because the exception classes tend to ... (by jsmith)
how to detect whether two iterators point to the same element of a container
 
For some reason I need to store the iterators of a container and judge whether two iterators point t...
[3 replies] Last: No no no no no. You can compare iterators to see if they point to... (by jsmith)
something wrong with my array
 
trying to solve this problem to display my 3X3 input to - 128 #include <iostream> #include <...
[4 replies] Last: so this is like i must input zero_zero i only can get the value but wh... (by bestnone)
C++ Graphique
 
Hello every body, i have really a serious problem with a homework: i have to create a graph, and ...
[no replies]
letter count
 
Sorry im new to c++ can some one tell me how to get this program to count the number of occurences o...
[10 replies] Last: That only sets the first element, you need to initialize all elements ... (by kbw)
by luvsom
Sorting an Array of characters
 
I am suppose to write a program using a bubble sort to sort an array of characters. I keep getting t...
[5 replies] Last: I got it to work.....had to change it to a flagged bubble sort though.... (by luvsom)
November 2009 Pages: 1... 89101112... 25
  Archived months: [oct2009] [dec2009]

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