General C++ Programming (Page 2)

my c++ CHECKERS game is not working
 
hey guys so i made a checkers game. looking good so far. but i cant get the object to move. can you ...
[no replies]
Need help with program
 
This is my assignment. Write a program to simulate a deck of 52 playing cards. Represent your d...
[1 reply] : You've created a shuffled deck, but you're missing the following instr... (by AbstractionAnon)
Dynamic Array
 
Im using microsoft Visual C++ and its giving me a HEAP errow how do I fix it? #include <iostream> ...
[3 replies] Last: In lines 17-28 you're attempting to allocate a new larger array. That... (by AbstractionAnon)
Pattern issue with boost::regex
 
Hi All, I have a question regarding boost::regex pattern recognitions and groups I created the...
[no replies]
Unhandled exception error
 
I am having trouble running my code. It all compiles, but when i run it u get this error "Unhandled...
[1 reply] : ... (by ne555)
why is my Node out of scope?
 
I have a project on linked lists where a Sentence is a linked list of Words, a Paragraph a LL of Sen...
[no replies]
Swapping two adjacent linked lists nodes
 
I am working on a program where I sort elements into alphabetical order and then when one is less th...
[2 replies] Last: You start with one of the following situations: [some other node].ne... (by doug4)
C++ arrays help
 
Write a program that reads a file consisting of students’ test scores in the range 0–200. It sho...
[3 replies] Last: Maybe something like #include <vector> #include <iostream> #include ... (by Konstantin2)
IMHO atomic::load/store example is not correct
 
Look at code at http://www.cplusplus.com/reference/atomic/atomic/ #include <iostream> // s...
[2 replies] Last: Oops! You are right. I'm mistaked. (by Konstantin2)
const Reference
 
Can you explain what is done when we call fuction void Foo(const int& x) //main.cpp void main...
[2 replies] Last: 4: int "a" allocated at stack and filled with 6. 5: address of int "a"... (by Konstantin2)
c++ not yet implemented possible way to shrink array with delete operator
 
We made some questions about this topic to the kindly community of http://www.stackoverflow.com Aft...
[18 replies] Last: Thank you very much for your answers! dhayden : I want personally t... (by ncomputersorg)
C++ function parameter syntax
 
From all the programming language I've used or syntax I've learnt. I keep thinking that why is the p...
[4 replies] Last: Is there any big reason why this hasn't been implemented in other lan... (by doug4)
Open more than one console in one progam.
 
Hello everyone, I am creating a console based application which needs to be dual tasking, which pro...
[1 reply] : I am using Visual Studio 2012 Ultimate on a Windows 8.1 Professional ... (by Computergeek01)
File I/O questions Xcode
 
ok so i need help i have no clue how to create a .txt. file and add it to the file because it seems ...
[no replies]
NOT overwriting
 
void Contact::updatecontact() { Contact C; fstream file; file.open("Contacts", ios::in | io...
[no replies]
Help implementing std::remove_if?
 
I'm trying to iterate through a vector and delete elements in it. I've seen that std::remove_if is p...
[8 replies] Last: instead of removing const add const to the GetLine() (or GetActiveL... (by coder777)
Find values in vector and create new vector
 
I have two vectors (secid (string) and close (double)). The program must read a value that the user ...
[no replies]
Visual C++ 2013 and templated member function definitions
 
I am not sure if this forum is the right place to ask this, as - necessarily - the advice and help g...
[4 replies] Last: I can see what you are saying - and agree for the most part. Even wit... (by Gemman Aster)
Cannot access protected members of parent class.
 
Good day I have a question regarding classes and inheritance. I am a student, but the question do...
[1 reply] : You can use this->first or linkedListType<T>::first or orderedLin... (by Peter87)
Converting feet to inches as a decimal
 
I have my program all but done, but I can't get past this last part. I need to have the user input ...
[4 replies] Last: Be careful with single-digit inch values. Would 5' 1" be written as 5... (by doug4)
Pages: 1234... 56
  Archived months: [aug2014]

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