General C++ Programming - March 2010 (Page 13)

cin questions
 
i'm newby to C++. Small code as follows: int main(int argc, char* argv ) { cout << ...
[4 replies] Last: What OS and Compiler are you using? (by Return 0)
how to define custom arrays with templates
 
ok guys we,ve got a class named array with this definition template<class t> class array { pri...
[3 replies] Last: As you've done. template< class T > class mylist { private: ... (by jsmith)
by zootv
What's wrong with this code?
 
This is my code: #include <iostream> #include <iomanip> using namespace std; void main() { ...
[4 replies] Last: what kind of error's are you getting now? Also If your curious as ... (by Seraphimsan)
Multidimensional Dynamic array with objects
 
Hi, I'm having a little trouble trying to get this code to not return an error. Sprite ** fron...
[4 replies] Last: how did you determine that he needed a 3d array? It's not really ... (by Disch)
Error Messages
 
I am getting the following error messages when I compile my code. Can someone help me out? Here is...
[2 replies] Last: Here is the rest of the code: ClockWindow::ClockWindow(wxWindow* p... (by tepeyton)
C++ Homework Solution Assistance
 
I am in a C++ class in college and we have to write a movie recommendation program. We have to open...
[4 replies] Last: I solved the program today. I will post the code to show the solution... (by drg5000)
How can I use std::cin.ignore(); to ignore non-numeric characters?
 
I'm adding this to my Conolse calculator application. If a user types in a non-numeric character, my...
[2 replies] Last: cin.peek() and cin.get do the job. #include <cctype> // isdigit ... (by maikel)
problem with aray removal...
 
Hi,, I have a small problem with my code. I have an array with a list of numbers from o to n.. And ...
[2 replies] Last: Thanks for the reply.. But my basic question is i have an interger arr... (by gajji2020)
function template specialization an implicit casting of arguments
 
Hi, I am writing a matrix class. As an auxiliary class, I created classes (class view and const_v...
[no replies]
by raud
end1
 
inorder to move to another line end1 was suggested as an alternative to \n,which however does nt wor...
[4 replies] Last: use endl, and not end1 meaning, your 1 needs to be an l, the lowerc... (by Rosso Carne)
Linked List
 
Can anyone clerify this question as i dont understand what it is asking. Write an algorithm for p...
[1 reply] : Do you know what a linked list is? If you have a structure (class i... (by maikel)
I can't decide!
 
I'm sorry ,i'm not trying annoy anyone, but can anyone tell me which type of c+ should i get? becaus...
[19 replies] Last: there's also a VS plugin for SVN-integration (called AnkhSVN), which ... (by imi)
Creating a maze
 
Hi I need to create a structure given below. Can any one help me in creating this. I tried a lot us...
[3 replies] Last: It sounds like it would be as simple as putting spaces in the output. ... (by HolyCheeseCube)
Linked List
 
Can i have some tips on this question please. write a function that deletes the ith node from a c...
[1 reply] : In detail, it depends on your current implementation of a list. There ... (by maikel)
MATLAB mex not recognizing cpp classes
 
Hi all, I've got some experience with doing standalone cpp programming, but the current project I'm ...
[no replies]
i need it tomorrow
 
please answer this.... i don't det it.... # include <iostream.h> #include<stdlib.h> in...
[2 replies] Last: Triple post huh? http://cplusplus.com/forum/general/20895/ http://... (by HolyCheeseCube)
using one function in different header files?
 
Hi? Is it possible to use a function (void or value returned) in different header files? How to d...
[5 replies] Last: http://www.cplusplus.com/forum/articles/10627/ (by Bazzy)
Program behaving diffeerently, can anyone spot the problem?
 
The computer stores a random number between 1 and 15 and the player (user) attempts to guess it. Th...
[3 replies] Last: This would take a couple of easy changes, first you should declare a c... (by HolyCheeseCube)
by helios
Return value of new
 
I always forget this one. I had an interview the other day, and got into a small discussion with the...
[4 replies] Last: Oh, by the way.. it's "std::nothrow" not "no_throw". Whoops.... (by helios)
Basic idea in making a graph???
 
I am taking data structure subject on my university. And I got an assignment to make a graph with ve...
[4 replies] Last: I am supposed to make the graph and then print it in the adjacency mat... (by soldierno77)
March 2010 Pages: 1... 1112131415... 23
  Archived months: [feb2010] [apr2010]

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