General C++ Programming - June 2016 (Page 5)

C++ VECTORS
 
Hello, how's everybody going?. I am trying to copy exactly as it is, a vector<std::string> to a v...
[2 replies] Last: using byte = unsigned char ; std::vector<byte> to_bytes( const std::... (by JLBorges)
ERROR OF CODING
 
Actually my lecturer gave me some exercise. She wanted me to find what's the error of this coding. C...
[11 replies] Last: [quote=najihanzd]What kind of code tags is? Sorry I'm just new with th... (by closed account E0p9LyTq)
Boost object_pool array allocation
 
Lately I have been using the boost::object_pool class to create memory pools in a program I am creat...
[2 replies] Last: This seems to work, thank you for your help. (by Shadowwolf)
To read a string from text file (searching the string) and compare with user input
 
I want to search through a text file database and display if the word or string is within the text f...
[15 replies] Last: Excellent - good luck with it. Come back with your attempts if you nee... (by closed account 48T7M4Gy)
by jtm013
Program for 5 salaries and averages
 
This program is for a class and I am having trouble even starting it the question is.... Create ...
[5 replies] Last: Just to give you an idea... #include <iostream> #include <iomanip> #... (by chicofeo)
by yiddo
Messy way to read Data from File, help out
 
Hello guys, i am working on this program to Add and later on Read data for Students/Teachers/Guest T...
[2 replies] Last: I was such a dummy to forget "endl;" after "line", dear me. Now order... (by yiddo)
Time complexity of algorithm
 
Hi guys, I'm trying to find the number of integer points lying on or inside a given triangle (whi...
[2 replies] Last: Ahh, thank you :) (by Guessit)
Putting two pieces of code together help
 
Just finished some prototypes and looking to put them all together but can't seem to do it, they are...
[1 reply] : Hi, I am pretty sure you cant use int main() more than once , plea... (by shadder)
write all possible values of an array
 
What is an elegant way to write all possible values of an array? Let's say that the array is boolean...
[2 replies] Last: This isn't a permutation, though. It's treating an array as a number a... (by helios)
editing minisat solver
 
please , I am a master student in the topic of satisfiability so I get the precompiled binaries of t...
[3 replies] Last: You need to edit the source code and then compile it. There are instr... (by htirwin)
How can I inline functions in header files?
 
//Point.h #ifndef POINT_H #define POINT_H struct Point { int x; int y; } bool operator==(co...
[2 replies] Last: Oh boy...now I feel dumb. I appreciate the help though. I was under th... (by TinyTertle)
Copyrights and intent
 
If I use CURL to download a webpage and save it to disk for the sole purpose of comparing it to that...
[6 replies] Last: Helios, that makes sense, though I don't like the idea of shifting the... (by newbieg)
Help me find a median!!!
 
Hay guys, I am trying to write a program that ask the user how many grades there are, inputs the gra...
[5 replies] Last: my temp "t" in my sort was an int, this caused all my problems. (by zacharyMarbooti)
Audio/Sound/Midi library?
 
Hello everyone, I'm trying to find a library that can create sounds(From samples/soundfonts?). I don...
[3 replies] Last: So given a waveform, play the waveform without having to first convert... (by Ganado)
by JCRQ
Calculate mean, variance and standart deviation
 
I need to know how can I read an archive csv to c++ with 30 points of longitude and latitude and aft...
[3 replies] Last: Your best way of going about it is to do a search on this site or goog... (by closed account 48T7M4Gy)
by JCRQ
Average and Median filter
 
I need a program that read a bitmap image and apply median filter (window 3x3 and window 9x9) and av...
[1 reply] : Better post it in the job section. http://www.cplusplus.com/forum/jobs... (by Thomas1965)
What is wrong with map.clear() in my program
 
I am trying to write a program for snake and ladder game. I am having an issue with the map.clear in...
[4 replies] Last: Thanks, those inputs were very helpful. My issue is fixed (by funprogrammer)
by Sareks
[QT] How do I use curlcpp with QT?
 
Hello, I'm about to make my first legit application which actually does something useful. But...
[10 replies] Last: Then add <curlcpp root>/build/src/ to your library path and <curlcpp ... (by htirwin)
how to create an array with boost.python
 
I want to create python array with boost.python but get segment fault every time. I paste my code as...
[no replies]
Boost asio client server
 
Hello Guys i made a synchronus client and asynchronus server. I am trying to connect them and able t...
[1 reply] : io_service::run() returns when there is no pending asynchronous oper... (by JLBorges)
June 2016 Pages: 1... 34567... 14
  Archived months: [may2016] [jul2016]

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