General C++ Programming (Page 45)

Arrays and Vectors
 
Hello everyone, I was having a little bit of trouble with my program. The purpose of the program is ...
[6 replies] Last: try to do it int readArray(int MAX_SCORE, int score ) { int nsc... (by alptp)
a little addition missing in my program
 
the question was find a number that:(y is the number) y%2=1 y%3=1 y%4=1 y%5=1 y%6=1 y%7=0 ...
[no replies]
by rian
C++ program capturing information after crash
 
Hi, I am writing a C++ program that does various sequential stand alone tasks for a certain event...
[4 replies] Last: Check this out: http://www.cplusplus.com/reference/csignal/signal/ htt... (by MiiNiPaa)
by Myna
How to improve my geometry calculator in the following ways?
 
‚óŹ When the user enters wrong input for radius, length, width, base, or height, the program will c...
[1 reply] : Before the cout << "Geometry Calculator\n"; do: for(bool retry = fa... (by poteto)
c type string
 
Write a program that will allow the user to input a string and perform various editing functions ...
[4 replies] Last: Make each action (insert, delete, replace, search, etc.) a function. ... (by dhayden)
by Emkor
Quick help
 
int Menu() { int choice; cout << "\nSurface Area Calculator" << endl << endl << "S) Sph...
[1 reply] : A nice trick is to search for the choice in the string "QSC". YOu can ... (by dhayden)
Reformatting the String Entered to Odd then Even
 
My c++ teacher gave me this question. Question: Given a line of words (total character number is les...
[no replies]
Pure virtual function call before program even begins...
 
I recently made some big changes to the class structure in my program because I ran into a compatibi...
[15 replies] Last: What about the destructor? I can't call a pure virtual function from ... (by Disch)
Searching for substrings in string
 
Hi All, I'm given a school assignment and we have only covered on C language in school. For thi...
[no replies]
function
 
at the beginning of every year, khalid will enter the performance evaluation marks. based on the mar...
[no replies]
explaining what exceptions::what is and my errors.
 
hi there guys. i'm having problems understanding this error! terminate called after throwing ...
[2 replies] Last: #include <string> #include <iostream> int main() { std::string s... (by JLBorges)
Simple print out problem?
 
Hey all, I've been working on this program for a while. I'm pretty new to C++ and to say the leas...
[8 replies] Last: That works great! But the only problem is that part of problem is to m... (by danv543)
Vernam Cipher Problem
 
Hello, I am having a problem with my Vernam cipher code. I'm not very C++ savvy and I'm having a har...
[4 replies] Last: They (that is, First_test() and Second_test()) should probably either ... (by Zhuge)
please help
 
int pid_front = 0; int pid_back = 0; So this is code for process arriving: case 'A': ...
[16 replies] Last: I am still so lost. I know I need to keep track of the arrival and dyi... (by Stephanie)
NEED SOME HELP !!
 
Ok so the task is to ask the user for a letter and then display weather that letter is a vowel or co...
[5 replies] Last: I got it thanks guys it works good now! (by brasile)
Computational Complexity
 
Hello everyone. I want to study algorithms, but firstly I need to be able to do algorithm analysis a...
[9 replies] Last: @ Duoas Thanks again, very helpful!! :) (by jumper007)
File pointer not moving to the end of the file
 
I'm trying to move the File Pointer to the end of the file (check.txt) at line-13. But doesn't matte...
[no replies]
Problems with my custom "Array" class
 
Hello! I am currently working on a custom "Array" class for a project, and I have run into an err...
[2 replies] Last: Ah, I see now! Thank you for the help. (by RotatingAxis)
by Nebur
Recursion to loop using stack, very simple code
 
Hello, I want to convert the following program into a non-recursive code using a stack and a loop...
[2 replies] Last: Thanks a lot for your help anyways :) (by Nebur)
std::result_of
 
#include <iostream> #include <type_traits> int f(int) {return 2;} int main() { typedef...
[1 reply] : > why typedef std::result_of<f(int)>::type A; does not compile? f... (by JLBorges)
Pages: 1... 4344454647... 62
  Archived months: [sep2014]

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