General C++ Programming - April 2018 (Page 12)

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)
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)
unordered_set
 
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)
Help on Arrays program...
 
How would I sort the grades from lowest to highest? haven't been able to figure that out yet. Thi...
[4 replies] Last: When you post code, please use code tags. Highlight your posted code ... (by doug4)
How to sort a two dimensional array's string which is a part of a structure?
 
Hey so this is kind of a beginner question, sorry for posting here, but I wasn't able to get an answ...
[9 replies] Last: One issue is that you still haven't told us - in either thread - what ... (by MikeyBoy)
by stav
Derived class to take arg that is also derived
 
Hi i have a base class with a pure virtual function called "add" that takes in a ref to a "base_str...
[3 replies] Last: From the parent class' perspective, why does the child need to have an... (by doug4)
<bits/stdc++.h>
 
Does #include <bits/stdc++.h> slow your program ?
[5 replies] Last: More importantly, "#include <bits/stdc++.h>" means you're no longer u... (by closed account E0p9LyTq)
library
 
I have a class which uses "fopen" , "fread" and isdigit. But I dont include cstdio or cctype , I us...
[1 reply] : This generally happens due to header chaining. Something of yours inc... (by jonnin)
April 2018 Pages: 1... 1011121314... 17
  Archived months: [mar2018] [may2018]

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