General C++ Programming (Page 3)

Program Closing
 
Hello! My question is how to make program can't be exited. I want to make program who can close onl...
[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 n...
[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 mental...
[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 <...
[1 reply] : 1. Edit your post to add the code tags. See http://www.cplusplus.com/a... (by keskiverto)
Move semantics & std::move
 
Hey, Can anyone tell me when I should use the c++11 move semantics? Do I actually ever need to writ...
[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. in...
[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 p...
[2 replies] Last: the codepad.org cut the xml short. I reproduce the problem through a f... (by breadbread1984)
Optimized Binary Search
 
I was looking at some code for binary search and its optimized version on geeksforgeeks website. ...
[3 replies] Last: Thanks @JLBorges & @coder777. (by funprogrammer)
by c00012
vector subscript out of range...
 
I wrote a code to get two numbers which add up to the target. here's the code: #include <iostream...
[2 replies] Last: thanks for the tip. It works. thanks you very much! (by c00012)
forceinline outside of class definiton?
 
Hey, Is it not possible to have a function declared forceinline_ and define it outside of the class...
[2 replies] Last: oh :) thank you! (by Sleicreider)
[HELP!] Unhandled exception
 
Hi guys! I made this topic becouse I have a problem and I think you guys can help me solving this. ...
[2 replies] Last: violation of access during the reading of the route A tip: if you wa... (by ecatron)
by nasi
How to get max of average??
 
In this program class Sensor just get two value as sn & temp,each Sensor is a Network and two Networ...
[8 replies] Last: I don't even wanna know how does that code compile :/ There is a lot o... (by zpiecuch)
Encrypt a .txt file
 
Hey again guys, Been having trouble on how exactly do I encrypt a file. Been at it for a few hrs....
[4 replies] Last: You can try this code to encrypt a file #include <vector> typedef un... (by camycent)
Expert Help please
 
Can anybody help me correct this program ? there are 6 errors in this programs, i use my dev run and...
[1 reply] : 1. Edit your post so that the code is in code tags. See http://www.cpl... (by keskiverto)
Copying a vector through constructor
 
I'm trying to copy another class' vector to cActionPuppet with the following code. (I apologize for ...
[12 replies] Last: Ah, now I feel stupid. Thanks so much, sorry it took me a while to res... (by UglyIgloo)
The Standard Library
 
OK so I recently read an article on the art of DOOM 3's source code and so I decided to give it a lo...
[2 replies] Last: Wow that was a much simpler answer than I expected. I understand thou... (by ForTheReallys)
by olette
Problem accessing StringOfcars
 
#include <iostream> #include <string> #include <vector> #include <fstream> //for file operations...
[3 replies] Last: I got a bit confused by the lack of indentation. I see now that the in... (by Peter87)
by ham912
need help in making a program
 
Consider a,b,c as three arrays of size m,n,m+n respectively.array a is stored in ascending order whe...
[4 replies] Last: Got detaied answer? If yes pls post it here... (by neildenver)
How to add sentinel value in this program?
 
# include <iostream> using namespace std; int main() { char operation; float num1,num2; cout ...
[2 replies] Last: I'am so sorry. I will not do it again. how can I use it again, select... (by mightyjack)
by anhnha
Event interrupt in C++ (Visual Studio)
 
I am using a PC based software (MFC app) for image processing. The software uses serial communicatio...
[1 reply] : I think you're looking for 'overlapped' reading. See: https://msdn.mi... (by coder777)
Pages: 12345... 17
  Archived months: [jun2015]

Cannot post in this page. To post a new message, go to the first page.