General C++ Programming (Page 20)

by tina e
3D Array with multiple values in each cell- please help
 
How can I use objects to create an an array with the dimensions 100x100x100 where each cell contains...
[3 replies] Last: You can not define the allocate number 100 multiple 3 times in given p... (by shivkumar12)
Makefile problems with object files
 
I am trying to write a Makefile that will compile an example project. As long as I don't define obj...
[2 replies] Last: @doug4 Yes, that was the problem, and additionally the different sour... (by G0rdano)
unoriented graph
 
Mark invented facebook, meanwhile some people created friendships, he doesnt want to waste time so h...
[no replies]
quest/wrong
 
i have this quest : https://csacademy.com/contest/round-76/task/candy-boxes/ why is this code wrong?...
[10 replies] Last: tl;dr: Your algorithm is faulty. Matt, I don't want you to have a bad... (by dhayden)
Why am I getting garbage values? - Using arrays to calc polynomial roots
 
Hello, I am writing a program that will take coefficients of a polynomial, store them in an array ...
[2 replies] Last: Finished it ! Thanks for your help! #include <iostream> #include <... (by Shishykish)
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: https://wandbox.org/permlink/WRrexu49nQ5vnGyb 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: http://codepad.org/sQoF6kR8 #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)
Pages: 1... 1819202122... 25
  Archived months: [mar2018]

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