General C++ Programming - March 2011 (Page 5)

if (object of a specific class)
 
Hey guys, Just a quick question for you all. I want to make a function that has ifs and else ifs,...
[4 replies] Last: Ah right I understand now, sorry for that guys and many thanks for the... (by zaneulhaq)
combination program
 
i'm currently trying to write a combination program. And my program won't work until SIZE >= 19 er...
[3 replies] Last: @Computergeek01 , Hi: I am trying to make it clear on what i meant he... (by willyhsu)
input on postifix calculator
 
Hey guys, I am seeking help/advice/pointers on this post-fix calculator I'm writing. I'm writing i...
[1 reply] : What error or sympton you got? In main.cpp #14 used un-initialized "v... (by b2ee)
Painful censorship
 
I just wrote this: int find_and_replace(string search, string replace, string &phrase){ int n...
[4 replies] Last: A rope eh, looks like I'm off to do some research =) This is actually... (by ultifinitus)
Syntax Issue with templated member class functions
 
I'm working on a project for one of my classes and am running into a problem I've faced before but c...
[6 replies] Last: Did you try the following? " typename BinarySearchTree<ItemType>::B... (by b2ee)
Print to screen?
 
I'm not that great at C++, although I know a little. I have a mod for a game, and I wish to edit...
[3 replies] Last: From the looks of that, I'd guess you'd just call TextHook with differ... (by Disch)
by Smitty
Don't Know How to finish This Code..
 
/************************************************************* * Description: Reads in 10 intege...
[2 replies] Last: You could try this: #include <iostream> using namespace std; int... (by closed account zb0S216C)
by rockle
Tic-Tac-Toe Game Help
 
Hello all, I am new here, and I'm just looking for a bit of help on my program. Although I am in Com...
[6 replies] Last: @quirky, actually you barely have to read any of it. pretty much all o... (by rockle)
by Troffe
User Input File & Validation
 
Hello programmers! The task I have at hand right now is the following: I need to have the user i...
[6 replies] Last: didn't exactly need the attitude sir, and your right I'm struggling al... (by Troffe)
by avnis
I don't get the task
 
i don't understand the task, it just doesn't make sense, i am new at this please help me understand ...
[8 replies] Last: A small tip. You should initialize class members in the constructor in... (by anonymous23323124)
where do I learn how to write a html parser?
 
as above... don't intend to use libraries as I want to know how it works.
[4 replies] Last: The easiest way depends on how you best learn. For me it would be to d... (by PanGalactic)
Looping issue
 
Hey guys and gals. I'm currently a student in an advanced c++ class and I'm working on a functions a...
[1 reply] : Never mind guys, I found the issue. I flagged the EOF loop and it both... (by E d Traffic)
buffers in C++
 
Hi, I am currently learning and using C++-style strings from the std::wstring class. More rece...
[3 replies] Last: As cin/cout are streams that work on standard input/output and fstream... (by Bazzy)
vector::push_back vs vector::resize
 
Hello guys :-), From my study of templates I learned that the operation push_back could not be do...
[11 replies] Last: Actually, by coincidence, I just read about Valgrind yesterday in the ... (by TheDestroyer)
avoiding errors caused by overshooting array bounds
 
I just spent a lot of time debugging a problem that turned out to be an easy fix. In an array sort ...
[4 replies] Last: C strings may not be NUL-terminated, they usually are but the programm... (by Bazzy)
Largest Prime Number in an array
 
I am practicing c++ and i found this problem extremely difficult. Does anybody know how to find the ...
[5 replies] Last: i tried to solve it, but i don't won't the biggest simple element but ... (by michael10024)
Problems with template list class
 
I need some help compiling this project. I can't figure out why im getting these errors. Either I ha...
[2 replies] Last: The rest of the errors: 1>g:\closelab7 solution\closelab7\closelab7.h... (by guestgulkan)
complete the following code
 
QUESTION 2: NESTED LOOPS Company ABC employs a number of salesmen to sell a variety of items. These...
[1 reply] : =] I'll give you a hand if you ask specific and addressable questions... (by ultifinitus)
Creating a Container Class
 
I think that most of the C++ STL (standard template library) is overdone. I guess they employed a go...
[10 replies] Last: bumpedy bump... anyone to help? (by benjelly)
Problems understanding virtual functions... (1,2)
 
I'm having trouble with an assignment I'm doing where we have to design a bank system with quite a f...
[23 replies] Last: So essentially you could bring a function from the original base class... (by packetpirate)
March 2011 Pages: 1... 34567... 31
  Archived months: [feb2011] [apr2011]

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