General C++ Programming - October 2009 (Page 7)

Compilation errors for Binary Heap
 
Hi all! I have been trying to debug these syntax errors for hours now and cannot find the problem. H...
[4 replies] Last: Well you can create the BinaryMinHeap::Job object directly (or typedef... (by TaikoDragon)
by Towely
Triangle of Digits
 
I'm attempting to create a computer program that prints a triangle of digits, as well as a "ruler" t...
[2 replies] Last: It works perfectly now! Thank you very much for the help. (by Towely)
by sporx
using a header template
 
hi, i need to input a certian amount of data, and then put it in order so that i can find the median...
[7 replies] Last: stupid mistake on my part. i figured it out. now i just have to take t... (by sporx)
by mar11
repeat an block code
 
Hi all, if i have the following code: if(condetion){ assignment 0; blockcode; } els i...
[4 replies] Last: I agree; functions and a switch statement are definitely the way to go... (by chrisname)
by cresus
Code crashing on vector.clear()
 
Hi all, I've built an executable that I've had working but someone at work went to use it and it cra...
[11 replies] Last: That time it looks like it was just a really stupid mistake. I think ... (by cresus)
by JRevor
Virtual methods seem not to work!
 
I have 5 classes. A father class, which would be Cell. It has a virtual method, called char symbol(v...
[6 replies] Last: Yeah, it works. Thanks DavyB and player6 for testing it out!!, and B... (by JRevor)
by wewep
How to seperate frame for stop and wait C program?
 
I know how to write the code for the transmission of a file from Tx to Rx. But I don't know how to ...
[no replies]
The output seems to be confusing please clarify
 
I am new to this forum, Please refer to the c++ program and the output below. I understand the p...
[1 reply] : Well, you are accessing beyond the end of the arrays. while( i++... (by jsmith)
Segmentation fault
 
I am trying to create an artificially intelligent tic-tac-toe program. I am using the MENACE(Machine...
[2 replies] Last: If your intention is that we debug your code and find where the core d... (by DavyB)
C++ advanced literature pls?
 
Hi all, I'm currently doing my final year dissertation, being on wireless transmission in a client-...
[4 replies] Last: Thanks for the help turbozedd! (by lawsmlt)
opencv + counting frames
 
Here is the code I got from Internet #include "/usr/local/include/opencv/cv.h" #include "/usr/l...
[2 replies] Last: thanks for your reply and I did changes what you have suggested in ear... (by srinivas2828)
Issue with Templates and inheritance
 
I have an interface (i.e base class) like this: template <typename A, typename B> class IBase ...
[5 replies] Last: And don't forget to make ~IBase() virtual. (by kbw)
by Roro
How I can read picture from hard disk and Editing color by c++
 
I Have Question about c++ How I can read picture from hard disk and Editing color and save it ...
[no replies]
Looking for a X-Platform library for Systemcalls
 
Hi there. Easy said: I am looking for a library similar to wxWidgets but without the GUI-Stuff. ...
[4 replies] Last: That works on Linux but not on Windows. Just tried it... and you don't... (by Scorcher24)
Generics in C -- Argh
 
Hey all. As usual, my question isn't a simple "malloc kilz prg w/segfault". I needed a generic li...
[16 replies] Last: 1. "Duoas" is short, and easily readable and pronounceable, version of... (by Duthomhas)
by alias
Add 5 using count in for loop
 
I was wondering how I could count in increments of 5 in a for loop using the count++ code. Than...
[2 replies] Last: figured it out right after I posted the topic. thanks. (by alias)
Binary Problems
 
Hello people...I'm having problems getting this program to run...Can anybody help me please...Thank ...
[8 replies] Last: http://cplusplus.com/doc/tutorial/classes2/ Overload the = operator (by demosthenes2k8)
Why isn't delete needed for the c_str() member function of the string class?
 
The c_str() function returns a pointer to a c style string of the string object but how does it work...
[6 replies] Last: ok thanks for clearing it all up :) (by unregistered)
Infix to Postfix calculator, having a little trouble...
 
Hi all, for a class assignment we are to create a class (infixToPostfix) that will handle functions ...
[4 replies] Last: You know what, I have no idea what I was thinking, but my function wor... (by ADizzle491)
by ward
what is the prblem in this code????
 
hi for every one this is my Q and after it you will see my code (i know that its simple but ...
[3 replies] Last: #include<iostream> class geomtry { private: int ... (by ward)
October 2009 Pages: 1... 56789... 17
  Archived months: [sep2009] [nov2009]

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