General C++ Programming - July 2013 (Page 22)

inheritance or composition
 
creating relationships for some classes, we can choose either inheritance or composition as these are two fundamental ways to relate classes by achieving featur...
[2 replies] Last: thnkx @kbw (by mateenanwar)
Keeping forward with C++
 
Hi, The first time I "met" C++ was about 3.5 years ago. I'm now 17. Just to know, I'm into OOP programming for a year, and till now I've made some private pers...
[3 replies] Last: I'm behind on all the new C++11 stuff... It's a pain to do all the lea... (by Duthomhas)
PDCurses: any tutorials?
 
Hi, LeafyCircuits here! I was wondering if anyone knew of any good tutorials on programming with PDCurses that was up-to-date. I've done several Google searc...
[1 reply] : There isn't really. You just need to read through the HOWTO http://www... (by Duthomhas)
by Tomhet
String Add Operator
 
ey I'm making string class with C functions and now I'm at adding operator... When adding happens I add a temporary "tale" class what is my string class. I...
[1 reply] : well someone helped me... I forgot to remove & from some place (by Tomhet)
Software Architecture
 
Software Architecture is the organizational structure of a system. Architecture can be recursively decomposed into parts that interact through interfaces, rela...
[2 replies] Last: lol you make no attempt to even disguise this is homework. (by mutexe)
inheritance or composition
 
Suppose we are working as a software developer in a company. we have been given a task to develop a software system design. One of the basic activities of any s...
[1 reply] : http://virtualians.pk/group/cs304-object-oriented-programming-gdb/foru... (by mutexe)
Quick question
 
Can a high level language use an assembler? Or strictly a compiler?
[2 replies] Last: Thanks tath, was curious on that one. (by BinaryGeek)
by lisb
coding a grader
 
i have tried some online judges like spoj,uva, usaco, coj,codeforces and i want to try to code my own grader. any ideas how to do this?
[no replies]
by zhiom
Unlimited storage for variables in C++
 
Hello dear C++ community ! I am working on a project and I need to save and work on very big numbers, let me take u an example : e.g I want to find the bigge...
[5 replies] Last: Please refer to: http://software.intel.com/en-us/articles/memory-limit... (by tath)
get() function
 
I am have alot of trouble understanding the get()function I need to receive from user input a list of characters and then output them. These characters are ASC...
[no replies]
cin >> unsigned --> program hang
 
Hey, I was playing with input the other day with my GCC 4.7, and found the following to produce an unexpected HANG when a negative number was provided at inpu...
[3 replies] Last: I use MinGW, GCC 4.7 (but with Code::Blocks as my IDE), and your progr... (by Daleth)
Log in and out and register.
 
If I where to make a log in and out and register c++ program would it be like this? #include <iostream> using namespace std; int main() { cout <...
[no replies]
name swapping program
 
I am working on swapping each name in the array. Examples: Last name first, first name last. So the first name is Ben Dover, it should come out to Dover, Ben. e...
[9 replies] Last: Note: I am posting the original project below just in case anyone is ... (by closed account 98qiz8AR)
Code Documentation: Basics
 
I have looked around online, and can not come up with a solid answer. I think this may be somthing that is dictated by personal preference, but I digress. ...
[2 replies] Last: It depends on context. As a trend I'd say comments are used less than... (by andywestken)
Matrix: remove row and column
 
Hi, I suppose to have the following matrix A) and I want to remove a generic row and column. For instance the second row and column, then I get B). H...
[2 replies] Last: Out of interest, how are you storing your array data? Andy PS having... (by andywestken)
error C2275: 'Type' : illegal use of this type of expression
 
cant figure out the problem and teacher said the vaguest thing ----------------------------------------------------- node.h #pragma once #include <iostream...
[3 replies] Last: Look at it this way: template <class Type> nodeType<Type> *createNew... (by doug4)
LNK1120 error - VS2012 project using a VS2010 DLL
 
I have a third party DLL compiled with vc10 (VS2010). It exports the following function: bool myDLL_EXPORTS_API myFunction(std::vector<int>::const_iter...
[2 replies] Last: Thank you (by vincentB)
SFML app compiles with no errors but stops responding when ran with the error...
 
i get an error message eventually (the instruction at x referenced at y could not be written) I cant find the problem though, I thought maybe it was a threadi...
[no replies]
Vector String return length Error
 
Hi First time poster, so please excuse the messy code. I'm a bit stuck. The error is unclear but suggests Its received a bad pointer from another heap. It re...
[4 replies] Last: Ahhh! Thank you that's fixed it. Not sure why it even worked at al... (by Markaius)
by ViRuZz
get access to functions of a derived class
 
Hi Friends, I have a big problem with searching a solution for getting access on getters and setters of the derived classes of an interface. Interface: ...
[7 replies] Last: How can that be? It do not even get to this point. you're mixing runt... (by coder777)
July 2013 Pages: 1... 2021222324... 34
  Archived months: [jun2013] [aug2013]

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