General C++ Programming (Page 71)

delete this
 
Hi, void TestDeleteThis::deleteThisObject() { cout << "into delete method1" << endl; delet...
[4 replies] Last: http://www.parashift.com/c++-faq/delete-this.html http://yosefk.com/c+... (by Catfish3)
by AceK
CAN SOMEBODY EXPLAIN HOW A MEMENTO DESIGN PATTERN REALLY WORKS?
 
Hi there, I'm struggling to understand the concept of a memento design pattern, can somebody explain...
[2 replies] Last: Thank you very much JLborges, now I understand it. (by AceK)
Selecting a host for C++ CGI
 
When I look at a webhosting company's website,it is written,for example: ASP.net Yes CGI-BIN ...
[2 replies] Last: Thanks for your answer. (by Awareness)
Sorting Numbers from file
 
hey there. I am looking for some help. I have been working on this program for days now and for some...
[10 replies] Last: Thank you for your help but I got my program to work in a completely d... (by struzy629)
by AceK
CODE TO FIND PRIME NUMBERS NOT WORKING
 
Hi there, the code below is suppose to output all the prime numbers between the values of startNum a...
[6 replies] Last: the code doen't work, The code works just fine. It's the algorith... (by cire)
by mary2
Need help with this pls!!!!! Cant figure it out
 
#include <iostream> #include <iomanip> #include <cstdlib> #include <cstring> #include <ctime> #incl...
[4 replies] Last: http://www.cplusplus.com/forum/articles/1295/ Please provide a better ... (by Zaita)
How to make a loop until user says to break
 
Hi there, I'm not very good in programming. All I know is what I took from forums... I'm makin...
[8 replies] Last: > I still think it's more complex, but if that's the way it should wor... (by JLBorges)
problem with gravity
 
im trying to make a program that simulates gravity as if your mouse pointer was a large object, and ...
[9 replies] Last: yay (by greenleaf800073)
by qingze
Problem with generate two txt file in one program
 
I try to write my data into two different files and i just use something like this ofstream myf...
[3 replies] Last: do you have #include <fstream>? you should also do myfile.open("pha... (by greenleaf800073)
Cant figure out how to let the user modify the counts.
 
After the data is in the array, prompt the user to modify the array by inputting a species name and ...
[3 replies] Last: Ok Then. I'd look at easier ways to write them: #include <map> #incl... (by Zaita)
a problem in the stack
 
#include <iostream> #include <string> #include <stack> using namespace std; stack<string> A; ...
[6 replies] Last: yes, i notice that, thanks for your advise. (by DANNY123)
Apparently, structures can't have pointers...
 
Can you guys spot what's wrong with my code? I've managed to single out in the program where exactly...
[7 replies] Last: You can use classes in C? No. C does not have classes. ne555 was ... (by Disch)
Why does it print twice the same thing?
 
Hi, I haven't, am not and do not plan on learning C++, all I know is from forums or from a book I r...
[1 reply] : Add std::cin.ignore(); after line 55. I can see other things you pr... (by fg109)
Dynamically allocated arrays
 
I have a program that allows the user to enter a specific number of test scores. Based on these test...
[1 reply] : for (int i = 0; i >= numScores; i++) vs for (int i = 0; i < numSc... (by fg109)
Problem displaying correct HTML table.
 
Below is a link to my code. The problem I am having mostly is concerned with the void function at th...
[no replies]
Best way to sort an array
 
This is the best idea og algorithm for sorting an array that I could come up with. But I read on in...
[9 replies] Last: Ok, I'll use if else instead of template... (by zoran404)
Outputting Randomized Arrays
 
For an assignment I am having a user enter the name of a file that contains "Song Data" the file is ...
[1 reply] : I don't know what 'chosen' and 'not chosen' mean. But you can use the ... (by eklavya sharma 2)
classes + constructors
 
#include<iostream> using namespace std; class polygon{ protected: int x,y; public: pol...
[6 replies] Last: @MiiNiPaa No, they don't, in sense of using it as their constructor.... (by vlad from moscow)
Test results program
 
Hi all, In a program that allows a user to enter a specified number of test scores, how would I c...
[3 replies] Last: @codenewb54 I'm so confused. I don't know how to create the function.... (by vlad from moscow)
How to append strings to the front of other strings?
 
I am programming a translator, and I have it so that it detects words with spaces both in front of a...
[1 reply] : yourstring = " " + yourstring + " "; (by Disch)
Pages: 1... 6970717273... 83
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.