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...
[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...
[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...
[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...
[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 ...
[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...
[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++?
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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...
[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.