General C++ Programming - August 2008 (Page 6)

How to watch an iterator
 
I have a std::map, std::list<int>, and std::list<myObject> When I loop through them with their ty...
[1 reply] : Okay, I was hasty. Simply add the iterator to the watch window and exp... (by zakkhoyt)
by Millie
Reading/Writing text files
 
Hi all, I'm new to these forums and fairly new to C++ programming. I'm entering my first year at Uni...
[2 replies] Last: To build on what Zaita suggests, a class is a good choice to hold su... (by Duthomhas)
Problem with strcmp()
 
Hi everybody, I have problem with comparing two strings. Here they are: str1 = akmal str2 = abro...
[4 replies] Last: Thanks much helios. I do it my function works. It's true that akmal>... (by akmal4ik)
by Roy420
How to convert double vecto to a vector with certain class datatype?
 
The issue I am encountered with is… the same vector we read as double is to be used in another fun...
[1 reply] : It sounds like this would do it: NRVec<double> ConvertFromDouble... (by jsmith)
Thread sync problems
 
Hi everyone, really hoping someone can give me a pointer here I am using Rad Studio 2007, in the ...
[5 replies] Last: One word of caution, expanding on the point Zaita made about having ... (by bnbertha)
Embedding C++ Into HTML
 
I've always wondered how you would go about embedding C++ code into HTML pages to publish on the web...
[9 replies] Last: How dare you compare perl to C/C++ =\ That's just cruel :P Perl is ... (by Zaita)
How can i make this command? "Press any key to continue"
 
How can i make this command? "Press any key to continue" I have a program, and i have for loop, i...
[7 replies] Last: My DevC++ automatically puts system("PUASE"); into the file.. and I've... (by Aakanaar)
mutable variables and const functions
 
Hello everybody, I was reading about mutable variables and I have a problem understanding their pur...
[12 replies] Last: yes.. the examples and explanation were very good. I have definately w... (by Aakanaar)
by yeng
guessing game
 
hi! We have a project about guessing game.. The requirement goes like this. The user will hide a ...
[4 replies] Last: Hi everyone am Having a Problem with my c++ compiler whenever i run a ... (by kelvin)
RANDOM LOTTERY
 
ei guys..please help me...tnx..ahmm im assigned to create a program that have random using c++...in ...
[1 reply] : #include <ctime> #include <cstdlib> //... srand(time(0)); //Seed... (by helios)
by shesh
h/with c++ a/ment
 
hey guys, i need help with an assignment i have to do. its made up of 3 differant tasks. i can se...
[7 replies] Last: ne help with task2? i got through with the rest. thanks (by shesh)
trying to read from a string file
 
hey i keep getting a compile error in the function convert_to_binary. im new to c++ but any help is ...
[4 replies] Last: *Shrugs in puzzlement* (by helios)
by Lorian
Converting between base and inherited class
 
Hello all, Lets say for the sake of argument I have 3 classes, protocolA, protocolB and connect. ...
[3 replies] Last: = 0 means pure-virtual. This means the parent class will not have an... (by Zaita)
Delete a node from binary tree.
 
Hi everybody! This is my code, all work except delete function. I check it for several times but ...
[7 replies] Last: Oh, would you remind me the name of that program? I can never remember... (by helios)
by mask
characters and strings.
 
how to write a program that calls a function and tries to count the number of character in a particu...
[3 replies] Last: I'm sorry, but no. You can do it yourself without thinking too hard... (by Duthomhas)
file operation woes
 
Okay, I am getting some weird behavior with the following code. I am using cygwin, it is a POSIX/Un...
[4 replies] Last: Duoas, I just read your reply after I made my previous post. Thank yo... (by fireVein)
by hitzy
using keystrokes on the fly
 
I'm trying to write a program that continues to process weather or not a key is pressed on the keybo...
[7 replies] Last: Thanks for all your help!! I've edited the original post to show the ... (by hitzy)
Explain this error to me! Thanks
 
I have a short program below: void main() { .... } int test(char str ) { char str1 ; str...
[1 reply] : The reason why you can assign a string literal to str should be becaus... (by AnalcoholicBeer)
static cast vs. dynamic cast
 
I've read around on some site to try to distinguish the difference, but it's kind of vague. Can some...
[4 replies] Last: To be exact, One line for each cast. ;) (by vengateshs)
by Rose
Newton Raphson Method
 
Hello everybody! Can you give me any question provided with its answer (c++) which is ...
[2 replies] Last: Yup, I am seeking a function with an "odd" root where Newton's ... (by Rose)
August 2008 Pages: 1... 456789
  Archived months: [jul2008] [sep2008]

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