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

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)
Decrypting and encrypting following a certain protocol?
 
Hello, it's my first question on the forum! Now, I have a certain method of encrypting text. You get...
[4 replies] Last: Thanks for everything! :D (by Just Me)
by owj549
C help
 
Hi I am new to c programming. I dont know whats wrong with my code. This program is supposed ...
[5 replies] Last: I tried entering random numbers , and all the roots came out the same ... (by owj549)
by jbush
yargato gnu toolchain, cant get it to work
 
hi I'm trying to do an (x), (y) plotter project using the parts from an Epson Printer. It has t...
[no replies]
by Alby94
POSIX Threads
 
I use Dev-C++ 5.5.3. The linker reports me this error...why? http://i59.tinypic.com/negen8.jpg
[6 replies] Last: Thanks L B... im idiot xD (by Alby94)
by y510
Array for message manipulations and Encryptions/Decryption sorta
 
So basically i need to write a code that the user needs to enter either 'e' or 'd'. When 'd' is ente...
[2 replies] Last: That was only an example of what i meant not the actual output that wi... (by y510)
by shaytn
Fotran program
 
I need to write a fortran program that reads a set of scores from a data file and calls on three fun...
[11 replies] Last: Can you ask your classmates for an example input file? (by LB)
March 2014 Pages: 1... 45678... 36
  Archived months: [feb2014] [apr2014]

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