General C++ Programming (Page 29)

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]
How do I <<"output sections of txt code in random order " << endl ;
 
I have posted this in the beginners forum, but I think what I want to do may require a more skillfu...
[4 replies] Last: Ok I have sorted it out by changing the names of the const, and char, ... (by Cbasic88)
infix to postfix conversion function error
 
My input is "A+B-C;" but my function will always output "A+B-C" instead of the correct postfix expr...
[no replies]
by brichz
C++ and Qt for android programming
 
Hello, Is it advisable to create an android location based reminder with NetBeans IDE?
[3 replies] Last: OP is probably talking about qt mobile which lets you write apps using... (by Smac89)
Deleting a linked list
 
Hi, If I have a linked list, how can I delete it at the end of my program to free the memory taken u...
[4 replies] Last: Allright, thanks for your help! :) (by Stormboy)
How do I correct these?
 
And what is the expanded form of Widget(int a) : id(a) {} Thanks! class Widget { public: /...
[1 reply] : you need to be more specific. what is there to correct? also, what do ... (by Little Bobby Tables)
Pages: 1... 2728293031... 60
  Archived months: [feb2014]

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