General C++ Programming - September 2015 (Page 18)

by Andym
open
 
Its been a while since I have taken any classes and now, I am jumping back into things. My question is this...... Does the "open" command support multiple f...
[1 reply] : > Does the * command support *? RTFM Analyse the parameters of the fun... (by ne555)
fitting numbers from int array to given number
 
done
[1 reply] : Double post http://www.cplusplus.com/forum/general/172905/ (by SamuelAdams)
Writing into a Binary File
 
Hello. I seem to encounter a problem where I can't write the struct into my binary file for my program. It writes into the struct fine but when I close the pro...
[1 reply] : Please, do not double post. It clutters forums and spreads attempts to... (by MiiNiPaa)
Set and subset.
 
Hello, I had problem on the set and subset. So let say i have: A = {1, 2, 4 , 6} B = {1, 7, 9} is there any method to list out the elements in the B that a...
[5 replies] Last: Or, figure out how to turn on C++ 11 14 on your compiler. If you are... (by MiiNiPaa)
by wupaz9
Best C++ Development Environment in Linux?
 
So I've been wondering if I should stick with CB(which I love) or if there is any other good dev environment for C++ in Linux. Also, should I try developing wit...
[4 replies] Last: Thank you very much!!! (by wupaz9)
by LB
So I recently learned that multiple exceptions can be active at once
 
I wanted to try it out myself, but I can't find any compiler with a standard library that has std::uncaught_exception s implemented. This is my test code: ...
[6 replies] Last: Ah, I misread your post. Thanks! (by LB)
Need help with abstract data type problem
 
Hey so this has been very very strange. Here is the problem: Some of the characteristics of a book are the title, author(s), publisher, ISBN, price, and year o...
[2 replies] Last: Hi, Just some hopefully helpful general advice. Set your compiler wa... (by TheIdeasMan)
by helios
In-place construction in container
 
I have a class D that implements various deserialization functions. Suppose there's a class T that implements a constructor that accepts a reference to a D. Now...
[18 replies] Last: typename my_allocator<T>::reference can be a proxy type. The only c... (by JLBorges)
by yj1214
Is this how alignment work? (OpenGL)
 
Let's say I have an array something like this, unsigned char firstPixel = {255, 255, 255}; (this is single pixel) and this is my OpenGL alignment code, ...
[no replies]
different
 
what is diffrent between general c++ programming and beginner? i dont feel much different
[2 replies] Last: You started by analysis , conception and then coding . Instead of star... (by Ericool)
create 2d array based on user input
 
thanks done
[3 replies] Last: Must it be arrays? Why not a vector? #include <algorithm> #include ... (by Duthomhas)
Singleton vs. something else
 
Hello everyone:) Recently I've got a task for which I need some suggestions on best way to implement it. The task is as follows: I need to add a container, ex...
[12 replies] Last: @MiiNaPaa thanks a lot)), btw I've never heard of PIMPL before and you... (by Diredko)
reason
 
why c++ must learn c type string?
[13 replies] Last: fair enough (by Ericool)
HELP!!!!!!!! (1,2)
 
An industrial engineering, it is sometimes necessary to simulate manufacturing and service operations for the purpose of improving efficiency and optimizing the...
[21 replies] Last: fair enough. (by Ericool)
Theres a bug and i need to fix it! error message and '10' function does not work
 
#include <iostream> #include <fstream> #include <iomanip> using namespace std; void five(char num1, ofstream& fout1); void six(char num2, ofstream& fout2...
[4 replies] Last: '10' is not a char Yes. It is an int, actually. (by MiiNiPaa)
get numbers from one line
 
done thx
[3 replies] Last: > lets say the task is , user have to enter 2 numbers in the same line... (by JLBorges)
by hb2012
OpenCV Error: Assertion failed
 
Bonjour mes amis, En fait, je suis encours de travailler sur l'extraction de caractéristique d'une base de données des images suivant ce code source: #inc...
[7 replies] Last: Tres bien si ca fonctionne ainsi . :) (by Ericool)
Strncpy
 
Now getting this error: error: invalid operands to binary expression ('int' and 'char *') * ++dest = c; ^ ~~~~~~ H...
[5 replies] Last: But the strategy is definitely: first make it work, then make it righ... (by JLBorges)
Regarding Directory And File Handling
 
I have noticed these things: 1. Using mkdir() function we cannot create a folder whose name's length is greater than 8. 2. Also, we cannot create a folder ins...
[5 replies] Last: I will practice in Dev C++ compiler Just not Bloodshed one. Take Orw... (by MiiNiPaa)
Tips?
 
Hello, I've a question: I'm doing a project that permit to book a table in a certain restaurant. I have 4 classes: one final_user that is the main class; derive...
[5 replies] Last: I make a try with a thing, however I really appreciate your care for m... (by amidaraxar)
September 2015 Pages: 1... 161718192021
  Archived months: [aug2015] [oct2015]

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