General C++ Programming - September 2016 (Page 18)

could anyone help me about this task?
 
Please help me how could I do this task. I'm a beginner in C++ Programming and very interested to le...
[1 reply] : @gentleguy, pretty sure his task is to learn the C++ programming langu... (by Uk Marine)
How to insert a variable in a « ifstream » line
 
Hi ; It seems incredible ifstream does not accept a variable (name of the file) that i get with a c...
[6 replies] Last: Thanks to all of you. You gave me a lot of information. (by sylvain)
End user software for Siemens RCU Connect Remote control
 
This is a BlueTooth device which both sends and receives. I have plugged the unit into my usb. It...
[2 replies] Last: "anywhere anytime access" sounds like that you need an account on an c... (by closed account 48bpfSEw)
by Byteen
Banners with C++ for console app
 
Banners Hi everyone! I've developed a simple code for printing banners in console using C++, very...
[2 replies] Last: Hey, gentleguy , glad to see you are as humble as ever. Guess what? ... (by Duthomhas)
Trouble with while(getline(file, str))
 
void parseFile(std::ifstream &file, std::string &string){ std::ifstream file; file.open("t...
[2 replies] Last: I actually sort of answered it myself. Since I had already parsed the ... (by wh1t3crayon)
by mkb555
Accessing data in structs
 
I haven't coded in awhile, and apparently I'm REALLY rusty because I seem to have forgotten somethin...
[2 replies] Last: Uuuuugh, I'm such an idiot. Thank you. (by mkb555)
Five Grades of a Student
 
so my professor wanted us to create a program that accepts five grades of a student, then compute it...
[3 replies] Last: Well. It depends, how much points does the user have to get to get a p... (by TarikNeaj)
Fix coding
 
This is assignment congkak(mancala) game.Hope someone can fix and improve this code. #include<ios...
[1 reply] : Line 5: This is a bool function. Line 14: You're trying to return su... (by AbstractionAnon)
by np1984
const qualifier with function overloading
 
#include<iostream> using namespace std; class A{ public: void fun(char *a) const ...
[5 replies] Last: dhayden and JLBorges, thanks for the explanation. (by np1984)
by kusace
pls help with assignment
 
Ackermann Function The Ackermann function is the simplest example of a well­defined total function ...
[no replies]
Problem with Trap moving
 
void Draw() { system("cls"); for(int z = 0; z < 5; z++) { trapX = rand...
[10 replies] Last: What is wrong with the tabbing? Simply you code is not correctly alig... (by fcantoro)
A networking program
 
Hello guys, I need a reference how to start writing a program of list all networking configuration ...
[no replies]
by PacR
How to efficiently compare list elements against themselves?
 
For example my list consists of 4 integers : 1,2,3,4. Program flow sould go like this: 1 < 2 = t...
[9 replies] Last: Thank you kemort & gentleguy. #include <iostream> int main() { ... (by PacR)
Stringstream returns 0
 
I'm building a program that simulates a game of Snakes & Ladders. I have a text file representing a ...
[1 reply] : I'm not sure exactly what you are doing with that stringstream, but yo... (by Duthomhas)
by jlb
Idiotproof y/n option
 
What I want is a code segment that So what have you tried? The snippet you've shown isn't doing an...
[6 replies] Last: I've been missing a lot, but IDK why swolff 's OP is missing or why h... (by Duthomhas)
Linked List program - Runtime Error
 
I normally work with the STL and love the features that it offers But just now i wanted to test m...
[2 replies] Last: Please use code tags. Highlight your code and click the <> button to t... (by dhayden)
Can anyone explain what this block does?
 
cout << "This program will print a random number." << endl; srand((unsigned)time(0)); int...
[1 reply] : First, the srand() and rand() have been deprecated, so one should shif... (by keskiverto)
Pattern search optimisation algorithm library
 
Hello everybody, I need a library that implements the pattern search (PS) optimization algorithm,...
[1 reply] : No, I don't, but a websearch picked a review of algorithms: http://www... (by keskiverto)
SDL2 PollingEvent and KeyDown Delay
 
So I have this bit of code: int main(int argc, char* args ) { int framecount = 0; int cou...
[1 reply] : If there were no delay the loop handling the events would not end for ... (by Peter87)
Threads and call back
 
I am using a SDK to develop an application which is capturing images from a camera. The SDK has an e...
[no replies]
September 2016 Pages: 1... 16171819
  Archived months: [aug2016] [oct2016]

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