General C++ Programming - March 2014 (Page 5)

How to avoid using Backspace character with push_back?
 
How to avoid using Backspace character with push_back? I'm making a software as an ATM, so when t...
[6 replies] Last: Thanks to all you guys, I'll keep trying. (by josearshavin)
Function call problem
 
asdf
[1 reply] : Thanks for all the help (by jigaboo247)
234 Tree stored in binary file
 
Hello, How would I store a 234 tree in a binary file? I've never worked with trees or binary files...
[18 replies] Last: OT/ Have you tried the information at the link I posted? It seems to ... (by Smac89)
by patieB
for loop
 
the program is to calculate the average time each student spent over a long weekend . I am trying to...
[6 replies] Last: thank you , was just staring at the answer but hey (by patieB)
by stanz
Please help me...
 
No thanks, problems solved
[1 reply] : hello , I had problem like you, I searched on google and finally I fou... (by heroxadieu)
How do I stop floating point input into integer variable in this situation
 
Hello all, I am trying to make sure no floating point numbers can be input at any time in my roulett...
[12 replies] Last: Thank you, that is a very well defined process that I am able to reall... (by vaze159)
How to use the biggest value?
 
Hi! I'm a beginner. I have 4 main values: k = 355; 1var; 2var; 3var; - random values And the mai...
[no replies]
is it nonsense to use std::move like this?
 
std::string insert::simple_insert () const { std::string start{"INSERT into "}; std::str...
[1 reply] : Yes, the return statement works (and by 'works' I mean decides what co... (by Cubbi)
Dynamic memory - create multiple instances without explicitly call delete
 
Hi, Please look at this code: #include <iostream> using namespace std; class teste { publ...
[1 reply] : Each time i call "x = new teste();" the previous object is deleted? ... (by Disch)
by lsosa
cant seem to get this war program to repeat if a tie. Need to give each player one more card if tie.
 
I created this war game and I need it to repeat if a tie. Any help appreciated. int main() { ...
[2 replies] Last: I have gone and corrected this and it appears to only display the text... (by lsosa)
by code14
Pong Game
 
I need help with the code for my pong game. I need to modify the code to catch the bluetooth command...
[1 reply] : Here is how to attach your code: http://www.cplusplus.com/articles/jEy... (by Computergeek01)
Cloud storage for source code (c/c++) files?
 
I'm wondering which cloud storage is the best when working with source code files (c/c++) and devkit...
[1 reply] : When working with code I think it's better to use a version control sy... (by Peter87)
Advice on good C++ courses
 
Good evening, I'm working in London as an experienced python developer and Linux systems adminis...
[7 replies] Last: The lapdancing bar over the road from the Learning Tree office is also... (by mutexe)
funtion help
 
I am needing help on a problem I have for school. I am not asking anyone to do this for me but help ...
[9 replies] Last: if (ch!='/n') This should be if (ch!='\n') . Use a back slash ins... (by doug4)
C++ LaTex binding
 
Hi everyone, I am a researcher and I wrote a C++ program to run simulations. My simulations gives...
[2 replies] Last: Hi, Got it! Thanks! (by dekeenfrance)
Rebinding the allocator for the Nodes of a LinkedList?
 
I am coding a singly-linked list container. Of course, internally it uses Node<T> . Question: w...
[6 replies] Last: I just logged in to bring up segmented storage as an example... (by Cubbi)
Initializing a generic cost matrix
 
Hey guys, I'm working on a piece of code where there are several cost matrices, with different co...
[9 replies] Last: Alright, I think I now have a basic understanding of the differences b... (by Gaminic)
HELP!!
 
#include<iostream> using namespace std; int main(){ int N,icount,sum_odd,sum_even,max_half,m...
[5 replies] Last: If you started using a sensible indentation style, it would help you s... (by MikeyBoy)
by jfoom
Class A type in Class B's private?
 
I'm currently planning a game that involves a deck of cards that are placed in a game board, which i...
[2 replies] Last: Looks completely plausible to me. (by mutexe)
by owj549
Compute the value of a polynomial
 
Hi,I am new to c programming. This program is supposed to find the value of a polynomial with ...
[4 replies] Last: n has not been initialized when it's used on line 23. (by Peter87)
March 2014 Pages: 1... 34567... 36
  Archived months: [feb2014] [apr2014]

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