General C++ Programming (Page 31)

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)
by LB
Calling the destructor + placement new
 
Besides being just generally frightening, does this program contain any undefined, implementation-de...
[5 replies] Last: Thanks JLBorges. For the benefit others to understand "It is unspeci... (by kannanmj)
Median number?
 
How do I get the median (middle) number of three numbers? (C++) For example; - User enters the f...
[1 reply] : First sort the sequence, then apply: Median for an odd sequence of nu... (by n4nature)
vector<u16string>, cout, ostringstream not working together
 
vector<u16string>, cout, ostringstream not working together. see https://groups.google.com/forum/#!...
[10 replies] Last: tried typedef std::basic_ostringstream<char16_t> uostringstream; typ... (by jmichae3)
streambuf for socket
 
Hello, I am trying to make a streambuf for a socket, which will use either WinSock or POSIX sockets ...
[7 replies] Last: [quote=Computergeek01]Assuming that you know what you're talking about... (by LB)
I need some help revising.
 
I need to make this code more user friendly for school. It needs to go to enter the initial gas quan...
[no replies]
How would you design the data structure under this circumstance?
 
Suppose, I have point_c, line_c and block_c three classes: class point_c { public: double x,...
[7 replies] Last: Sets don't have indexes, but they prevent duplicate objects. I just re... (by LB)
Select a field using conio
 
Hi, I am trying to create a Sudoku game. I need to use conio.h to select a field and move the cursor...
[no replies]
please help me
 
I have some problem with this program I cant understand the idea!!!!! A bank in your city updates ...
[1 reply] : What is your question? What don't you understand about the description... (by Zhuge)
classes help Please!
 
Example 10- 10 defined a class personType to store the name of a person. The member functions that w...
[no replies]
Pages: 1... 2930313233... 62
  Archived months: [feb2014]

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