General C++ Programming - May 2017 (Page 2)

Can I SCSI a tape reader on Windows 10?
 
I have no problems writing code for a USB smart reader. That's not my problem - just to be clear. ...
[11 replies] Last: I now have the tape drive appear as a drive /dev/st0 after some fiddli... (by CPPAWhile)
by user42
program with structs
 
<code> #include <iostream> #include <cstdlib> #include <iomanip> #include <fstream> #includ...
[12 replies] Last: The program is working now. Thanx for the help! (by user42)
by Bank
Programming
 
Hello, first of my question is general about these 2 links: http://www.codeforwin.in/2016/06/number-...
[1 reply] : ...even though I solved things with harder logic... ...because I hate... (by cire)
by CroCo
How to implement dragging feature for mouse in GLFW library
 
GLFW library does have a feature for keyboard input for detecting hold button status but it doesn't ...
[1 reply] : isRightDown and isRightUp should just be returning the value of m... (by cire)
[C3861 error] Identificator not found.
 
I have a file "HSlider.h" it is using "Draw.h",where I defined my functions to use them . But compil...
[11 replies] Last: It didnt worked.I created new project,copied all files and got the sam... (by bJiNg94)
by Kalcor
What does this mean?
 
Vladik had started reading a complicated book about algorithms containing n pages. To improve under...
[2 replies] Last: I think this isn't assured in the language It's guaranteed. http:/... (by mbozzi)
How to access subclass pointer that is Protected / Private Member
 
I have a queue.h file like the following. Is it possible that I can access the head pointer of the q...
[3 replies] Last: There are some types of queues in c++ and they are very recommended to... (by benhart)
Z-Buffering manual calculation
 
Hi guys! Now I'm working at a 3D ASCII graphics library from scratch(sounds interesting not?). H...
[2 replies] Last: Read this Pages: https://www.scratchapixel.com/lessons/3d-basic-rende... (by eec)
Why is `float` so much faster than `int` in this program?
 
This simple program copy data from the array `xy` to `arr` and prints the time it takes #inclu...
[3 replies] Last: Optimisers tend to have a deep understanding of the standard C++ libra... (by JLBorges)
Sorting of arrays
 
Hi I need to write a code that will sort the absolute value of both an array that represents a vec...
[1 reply] : Double post: http://www.cplusplus.com/forum/beginner/216609/ (by Thomas1965)
by Enex
No output when reading from txt file
 
I'm trying to read a text file I created that has the answers for a True/False test consisting of 20...
[7 replies] Last: IMO, it's not any easier either way, however using a std::string will ... (by jlb)
converting a 17-bit unsigned binary number to double-type
 
I have a question on converting a 17-bit unsigned binary number to double-type. Let say the binary n...
[11 replies] Last: The last argument to std::stoi is the radix (the base of the number ... (by JLBorges)
battleship
 
I really really need help.. I need it urgent. Thanks for help in advance class func{ private:...
[2 replies] Last: Duplicated Post : http://www.cplusplus.com/forum/beginner/216395/ Thi... (by chicofeo)
by user42
complex program...challenging
 
hi, I am having a problem with my program. it is a little comlicated so I will try and explain the b...
[2 replies] Last: Duplicate post http://www.cplusplus.com/forum/general/216554/ (by AbstractionAnon)
Can anyone explain this C++ program?
 
Hello everyone, I am trying to learn C++ without any prior programming experience at all... I came a...
[2 replies] Last: It's a simple game to guess a number in C++ / CLI https://en.wikipedia... (by Thomas1965)
by Kalcor
Why is pow() producing a wrong answer?
 
int main() { unsigned ll k, l; cin >> k >> l; int i = 1; unsigned ll n; while(...
[3 replies] Last: Those kind of errors occur sometime using pow(), that's why it's impor... (by benhart)
Learning smart pointers
 
Ok, so I was taught basic, raw, C++98 when I was coming up. I figure its about time to shake off th...
[3 replies] Last: Ok, so I was taught basic, raw, C++98 [...] I am now trying to unders... (by Cubbi)
Prob A Simple Fix To This Error Of A Program Looping
 
This is a function in a program of mine, inside of the function the program will loop once the user ...
[2 replies] Last: line 107: As you were told in your previous thread, you CAN NOT call ... (by AbstractionAnon)
by Kalcor
Can't solve this
 
You have a positive integer m and a non-negative integer s. Your task is to find the smallest and t...
[7 replies] Last: Thank you @lastchance this one was 100% detailed. appreciate your effo... (by Kalcor)
Double Brakets in a vector of vector matrix.
 
i know it might have been talked about before but i didn't understand much from the explanations bef...
[3 replies] Last: @ne555 Thanks :+) ++ThingsLearnt; I see from your link that... (by TheIdeasMan)
May 2017 Pages: 1234... 14
  Archived months: [apr2017] [jun2017]

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