General C++ Programming (Page 21)

by tina e
Finding the Mean of 4D image using CImg Library
Hi! I have an image im(100,100,100,35). This means that it is 100x100x100 in dimensions and each ...
[no replies]
Weird error when compiling my client
Hello everyone, I am new to C++ and learning more about it, grabbed a client for a game from the ...
[6 replies] Last: Hey guys ! Both of you thanks for responding and trying to help me sol... (by Ralumbi)
std::future slow
Code and tests are here: Is there a reason for this?...
[1 reply] : clang gave me there the less outrageous 34049 17024 37675 19496 https:... (by Cubbi)
Sorting a Map
I am attempting to sort a map<string,int> varName i tried using the std sort with the built in iter...
[2 replies] Last: A std::map is always sorted by its keys, by definition. (by mbozzi)
Tally via Map/ I/O issues
I am having trouble getting my head around what exactly i am supposed to do. I am trying to create ...
[5 replies] Last: I am ignoring the remove non-alpha right now because the input exampl... (by dhayden)
by barryo
set up of fltk 1.3.4-1 on visual studio 2017
have downloaded and unzipped in documents folder. cannot gt it set up properly. can anyone provide ...
[no replies]
by CFLam
Generate unique combinations from multiple arrays/vectors
Hello all, I have 800 data files and each file contain 8 lines of integer eg 17,1,2,3,4,5,6,7,...
[17 replies] Last: @lastchance, thanks a lot. It takes 12 mins to run on my work PC. (by CFLam)
Card Deck Problems
Hi, I am new to this site, and to C++. I have been trying to make a card deck and have no idea what...
[6 replies] Last: Thank you both, I will look at these! (by lieutenant jinx)
Help with parking garage program?
Can anyone tell me what is wrong with this code? Design and develop a program for Parking-Garage...
[1 reply] : 1) Please use code tags when posting code to make it readable: http:/... (by MikeyBoy)
by Fadey
Running machine code
Here's a code: #include <stdio.h> typedef unsigned char byte; int a...
[3 replies] Last: You're right! Also I had to give 'execute' permission for that memory ... (by Fadey)
by poteto
Does Boost Asio udp sockets still require multiple sockets for concurrent access?
I was reading an old email list from 2007 that claims that if you use a single UDP socket, you canno...
[1 reply] : Generally: Two objects that are independent (i.e. do not share any res... (by coder777)
Warning c++ class constructor
I am getting a warning and I would like to know what it is about so I can try to fix it within my cl...
[2 replies] Last: thanks :v (by KANATA1)
Help with std::getline.
I've tried running this program but it will not work. Without the dummy variable, it just skips t...
[2 replies] Last: Instead of std::getline in line 21, use: input.ignore(std::numeric_l... (by doug4)
function usage
I need help. I dont understand something and I realized that this is very important. #include <io...
[6 replies] Last: thanks (by MattC98)
Manipulating system clock
So, let's say it's 2 pm on a wednesday. You start the program, it starts at 2, and for every minute ...
[3 replies] Last: If it is a simple simulation you do not have to use real time, u can j... (by nether)
new problem
Given M salesmen and N cities. Cities are set along a river in a straight line, and cities are numbe...
[5 replies] Last: So, anyone else have idea how to solve the puzzle? (by cppnoobcpp)
I need help with this C++ pseudocode
Write a windows console application that holds data about an item in a retail store. Your class shou...
[2 replies] Last: #include <iostream> #include "stdafx.h" #include <string> using name... (by lake0829)
by tina e
Quotation Marks in Array Problem please help :)
Hi guys, I am trying to do some image processing using the CImg library. I have an array of .hdr ...
[2 replies] Last: thank you! (by tina e)
I had this problem, given n and m, n numbers , and the m elements go after this rule, first 2 elemen...
[2 replies] Last: thanks, and TLE means time limit exceeded! (by MattC98)
by poteto
Does a data race only occur with a segfault?
My packets get corrupted with bad values over time. Not necessarily going over the packet size. J...
[4 replies] Last: I always thought that the action of 2 threads interfering with each o... (by Repeater)
Pages: 1... 1920212223... 26
  Archived months: [mar2018]

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