General C++ Programming - July 2015

Undefined reference errors + stdio.h errors
Hello, I am attempting to program a Wii remote using the Native C++ Wiimote library by gl.tter, http://www.wiiyourself.gl.tter.org/ When I first went to comp...
Jul 31, 2015 at 8:54pm
[3 replies] Last: https://social.msdn.microsoft.com/Forums/vstudio/en-US/70f88124-3207-4... (by Hippogriff)
Better alternatives?
I've heard people sAying that system(""); functions are not safe in terms of security and overall privacy of the program, could someone please explain this to m...
Jul 31, 2015 at 7:30pm
[19 replies] Last: Oh, I got it, thanks a ton guys! (by Pratik K)
Issue with class composition and method
I'm working on this I/O system and Eclipse is being a pain by giving me an error. I'm using a function that has been declared and implemented but the text-edito...
Jul 31, 2015 at 6:53pm
[2 replies] Last: No it doesn't compile because of those two highlighted errors (by BarelyOtaku)
by xismn
Downloading a webpage as .html
Hello, I have very little experience with network or socket related programming. I'm hoping someone can give me some resources to study. There's a website I f...
Jul 31, 2015 at 4:29pm
[4 replies] Last: Hi James2250, Unfortunately, the examples you provided are the same o... (by xismn)
Question about data types
I'm new to c++ and I am only a beginner programmer with experience in C, Javascript, TI-BASIC and C++ so please forgive my newbishness. I was wondering, how ...
Jul 31, 2015 at 3:55pm
[2 replies] Last: It depends on the platform's implementation of the data type. The stan... (by ModShop)
Return on function error.
Hello I am working on my fist "Game" using c++. I have not yet met even a year of programming so of course I get lost easy. Here is the code... // War Card G...
Jul 31, 2015 at 9:55am
[4 replies] Last: I hope this will help you. I think this is the one you want to happen ... (by jrosario)
fingerprint reader using c++
can i interface lenovo fingerprint reader using c++?
Jul 31, 2015 at 9:16am
[1 reply] : I guess...? (by helios)
by dotty2
BGL - segmention fault
Hello, i got a segmentation fault with the code below on some graphs. What could be the reason? It is ensured that the if-clause is true at least for one ver...
Jul 30, 2015 at 9:11pm
[1 reply] : http://www.cplusplus.com/forum/articles/42672/ (by Homberto)
by Winsu
Pair class template
Hello everyone, I have a doubt, I have got a code and I'm trying to understand it...I have got some doubt at this point.. class ParBCD : protected N2Dig...
Jul 30, 2015 at 6:43pm
[no replies]
Car class misunderstanding problem
So I have been looking at some old codes to help me with my studies and came across the Car Class Programming in the following link. http://www.cplusplus.co...
Jul 30, 2015 at 6:34pm
[2 replies] Last: Thanks, I see so this works... Car Temp; Temp.getDisplay()... (by supremotron)
by Ecilef
how to display final grade
Our homework is to create a program that will ask the user to input his name and grade and display the equivalent tally for each student. Sample output: Wha...
Jul 30, 2015 at 5:02pm
[3 replies] Last: Also.. A single equals on line 54 is bad: grade = 0.00 you want '==... (by mutexe)
Help with program algorith using input from variable
#include <iostream> #include <iomanip> #include <fstream> #include <limits> using namespace std; in...
Jul 30, 2015 at 3:49pm
[3 replies] Last: I got it fixed if anyone else is struggling. for (int count=2; count ... (by david5503)
Program Closing
Hello! My question is how to make program can't be exited. I want to make program who can close only with typing correct word. I work in Code Blocks. Anyone kn...
Jul 30, 2015 at 3:38pm
[4 replies] Last: No, program will be closed when user type correct world (by Fadgoini)
pure virtual function implemented without error
Hello, I created an abstract class with pure virtual function. If I understand correctly, there is no way to call/implement such function. nevertheless, just o...
Jul 30, 2015 at 3:36pm
[3 replies] Last: It is possible to implement a pure virtual function. It might come han... (by numbergamer)
having an issue with pulling from a file and outputting to another file.
My professor has me writing a program with the following instructions and I'm a little stuck mentally in getting the output to the screen and to a file. Any he...
Jul 30, 2015 at 3:26pm
[2 replies] Last: got it thank you! (by ironsoldier71)
by FM17
user defined. I'm not sure why is my prog not working when I have declared everything needed.
I could not compute my member. Please guide me. #include <iostream> #include <string> #include <iomanip> #include <fstream> void computeMember(); using name...
Jul 30, 2015 at 2:51pm
[1 reply] : 1. Edit your post to add the code tags. See http://www.cplusplus.com/a... (by keskiverto)
by homing
Move semantics & std::move
Hey, Can anyone tell me when I should use the c++11 move semantics? Do I actually ever need to write a move constructore / assigment op. myself? What about Mo...
Jul 30, 2015 at 2:40pm
[1 reply] : You may want to read this first: http://thbecker.net/articles/rvalue_r... (by JLBorges)
Combining arrays
Hi all!, I have to think a way to make a single bool array combining four integer arrays. int bs1 = {0}; // int bs1 is an array of 10 zeros int trng...
Jul 30, 2015 at 2:21pm
[4 replies] Last: Thanks a lot!!. I got it (by thechavinil)
input stream error during deserializing with boost xml archiver
I want to archive object to xml file with boost xml archiver. The object can be serialized without problem. The output file can be even shown in Firefox. The wh...
Jul 30, 2015 at 1:18pm
[2 replies] Last: the codepad.org cut the xml short. I reproduce the problem through a f... (by breadbread1984)
July 2015 Pages: 123... 15
  Archived months: [jun2015] [aug2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.