General C++ Programming - May 2012 (Page 31)

My Complaint about C++
 
This is not meant to be a gripe thread. This is merely to serve as a conduit between myself and getting a better understanding for what I'm confused about. I re...
[18 replies] Last: ....Continued from above. timermanager.cpp #include <iostream> #inc... (by incremental)
Pull down menu in C++
 
Hi to everyone, At the moment I'm trying to do a pull down menu in C++. But I'm having a huge difficulties with capturing the arrow keys and determining their ...
[1 reply] : it is a console application or any GUI ? and what EDI, compiler you ar... (by therockon7throw)
by viliml
HUGE amount of operations.
 
This seemingly small program: template<typename T> class foo { T a; public: foo() { a=T(); cout<<"default constructed"<<endl; } foo(const foo& x) {...
[6 replies] Last: does std::move also sat the value to the default Just a small clari... (by Cubbi)
by Al3X
[ask]read file with loop in C++
 
hellow all, iam beginner in c++ i have problem like this: input.txt alex donny ruby so i want loop how to c++ can read input.txt and create file...
[7 replies] Last: You are taking the address of a temporary there, your pointers are inv... (by ne555)
pointers to pointers
 
I'm confused, so if I declare int **p does that mean p is pointer to a pointer or do I have to create another pointer like: int *q and then make p point to q...
[1 reply] : does that mean p is pointer to a pointer Yes. int a; // a is... (by Disch)
by Noha
Memory problems
 
Hi, I have a memory access problem in this code: #include <stdio.h> #include <stdlib.h> #include <string.h> #include "pension.h" struct _DOG_BASIC ...
[4 replies] Last: Ok I'll try that. Thanks ! (by Noha)
Static Imaging (?) help
 
So, first please view this link: http://www.youtube.com/watch?v=L04b-rhinQc and if you see the user can move the move the cursor around without it continuously ...
[2 replies] Last: what about on a mac? edit: but thank you for windows because I do ... (by Aramil of Elixia)
Multi Threading Performance
 
Hi everyone I was trying to compare the performance of a multithreaded sceheme against a serialized scheme on a simple program. I find the serialized versio...
[3 replies] Last: As Cubbi said, you are doing it wrong. To benefit from multithreading,... (by rapidcoder)
Changing compilers and operating systems
 
I was working on a nice little Win32 application in my spare time. I was on Windows 7 using Visual Studio... Then I accidentally installed Windows 8 Consumer Pr...
[5 replies] Last: It has nothing that others don't also have, and there are many things ... (by Moschops)
language dialects? (applies to C++)
 
Hey guys I was looking on the wikipedia article on C++ and it had three of what it called "dialects" of C++. The three were SO/IEC C++ 1998, ISO/IEC C++ 2003, I...
[17 replies] Last: > so that is the best option you can have. That is a matter of opinio... (by JLBorges)
Need assistance with my program
 
I need help wth this assignment for DPR 108. I'm trying to make a program that calculates the average of what you spend in the following categories: food, cloth...
[5 replies] Last: This is the full description of my assignment: Write a program that... (by krazkarla21)
i need help
 
heres my code: problem is under it:: #include <iostream> #include <string> using namespace std; int start() { string SHIP; SHIP = '()>'; ...
[2 replies] Last: i dont understand how you fixed it? please explain (by baymandernam)
by viliml
protected and published in class
 
I know that private means only functions inside the class and it's friends can access that data, and that public means everyone and everything everywhere ca...
[3 replies] Last: This published thing maybe Delphi related (by guestgulkan)
Another game making question?
 
Sorry to beat a dead horse here, but here is my question: What route would you take for game making with c ++. In the past I have made games with adobe flash's ...
[3 replies] Last: i would have to disagree with firedraco. i like sdl alot better than S... (by even821)
using >> to print to a file from a class member function
 
void Employee::printPayRollReport(){ ofstream payRollReport; payRollReport << setw(5) << id; payRollReport << setw(20) << name; } void Pay...
[4 replies] Last: Oh and the ofstream for the struct is in inside the struct declaration... (by scubagirl)
by Al3X
[ask rename file
 
hellow all i have some problem for rename file this my c++ #include <iostream> #include <fstream> #include <stdio.h> #include <time.h> #include <st...
[3 replies] Last: I know what you want. I ask about the problem. By instance, your code... (by ne555)
array coount
 
#include <iostream> #include <fstream> using namespace std; main() { ifstream inFile; ofstream outFile; inFile.open ("dice.txt"); ...
[1 reply] : without looking if there are other issues, the one that jumps out at m... (by rollie)
comparing array of chars
 
for some reason using this syntax wont work char array1 ; char array2 ; cin>>array1 ; cin>>array2 ; if(array1 ==array2 ) cout<<"duplicate"; ...
[2 replies] Last: simple question, simple answer. Thanks big help. (by Rampie12)
HELPPPPPPPPPPPPPPPPPPPPPPPPPPPP
 
Scenario: You are a recent college graduate who has been hired by a shipping company. The shipping company operates in the United States and currently all of t...
[3 replies] Last: Here is some info on operator overloading: http://cplusplus.com/doc/tu... (by Zhuge)
Overloading operators
 
I need help with overloading operators. Can someone help please??
[1 reply] : You can check the tutorial on this website. (by firedraco)
May 2012 Pages: 1... 2930313233... 41
  Archived months: [apr2012] [jun2012]

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