General C++ Programming (Page 3)

error in debugging in my code (Help)
 
this is my code for turing machine and after i make the input(s) it stop working #include <iostre...
[1 reply] : and make sure your code is [co de]between code tags [/co de] so tha... (by TarikNeaj)
by malek
Disk Drive Properties with the right click
 
I am developing a c++ project, to get disk drive device properties.I want to know if is possible to ...
[3 replies] Last: A simple Google search for "C++ Windows get disk drive properties" giv... (by MikeyBoy)
About delete function,urgent!
 
i want to remove a specific data from a txt file, but i can't make it work ,can somebody help me? ur...
[2 replies] Last: this is my txt file Sungai Long Campus 9780132990448 Deitel, Paul J... (by freedom19943)
Finding min in stack
 
I need to find the minimum in a stack using constant time O(1). So for example, my current stack ...
[7 replies] Last: Your code finds the min of all the elements in the stack and has the s... (by Smac89)
Help Needed with Drill from Book
 
As the title says, I need some help with a Drill from the book I'm learning C++ from, Bjarne Strous...
[1 reply] : What have you written so far? Make sure your code is [co de]between... (by LB)
fstream
 
I create a file through c++ program. at the end of my program I have a condition check; if true -> I...
[1 reply] : Save to a std::string or std::ostringstream and then when your con... (by LB)
Birthday party management project in C++
 
Hello everyone i have a project in which i have to create a birthday party management program in C++...
[5 replies] Last: Here is a playlist of a bunch of tutorials - https://www.youtube.com/p... (by TarikNeaj)
by Dkob1
Private, public
 
Need help to fix errors: #include <iostream> using namespace std; class TWO { private: int age ...
[7 replies] Last: Just try setting ageAve to = 0 in the beginning. The reason its askin... (by TarikNeaj)
Errors
 
I'm having some errors its saying LiveCount was a previous data member. Void alien setLiveCount was...
[3 replies] Last: CLASS EXPLANATION To understand classes, first, understand structs... (by Disch)
array histogram rand()
 
Section 1 create a function “int roll()” that returns a value from 1 to 5. Section 2 Main Funct...
[1 reply] : Please don't create multiple threads about the same problem. (by Peter87)
solved
 
Hello. I am a beginner needing assistance. Below are the instructions, code, and errors. You are ...
[2 replies] Last: solved (by justhappy)
permutations and combination program
 
Hi, i was wondering if i could get some help on a program i am working on for my c++ class. i don't ...
[3 replies] Last: You haven't described a problem yet, but I can decipher from your code... (by Smac89)
Funct with rand + main funct with loop+histogram
 
Please help * Student ID : Your student ID #.20129121 , Due date : April 15, 2015, Create function ...
[10 replies] Last: Please explain this: int roll() { return (rand() % 7) + 1; } ... (by keskiverto)
Spent all night trying to do this.
 
I'm at my limit, I feel as if the teacher shoved way too much material for an intro course to Progra...
[14 replies] Last: I realize this is marked solved already, but it wouldn't work if it'... (by fg109)
Set <string>
 
How can I move through a set of strings?
[2 replies] Last: for(auto const &str : my_set_of_strings) { std::cout << str << st... (by LB)
Printing out a double pointer 90DEG clockwise
 
Hey guys, sorry for posting another problem. I made a function and my console keeps crashing but I'm...
[2 replies] Last: Wow it works! Thanks that was so quick and simple. I didn't think suc... (by BarelyOtaku)
by LB
When would you ever need to re-use a file stream? (1,2)
 
So, I see a lot of code (even the tutorial on this site) that explicitly use the .open() and .clo...
[21 replies] Last: My life lately has been... challenging. The FAQ is not dead, though i... (by Duoas)
Tabulate in a .txt file some 'double' results
 
When we tabulate just a phrase inside a .txt file and we repeat it, it is easy. But the thing with n...
[no replies]
sorting through 2 vectors at the same time as one?
 
so right now im working on a class that has two vectors at it's heart, one that stores a list of obj...
[5 replies] Last: When you find yourself using parallel arrays, then it is a sign that y... (by Smac89)
need help with programing assignment. thanks
 
Create a function “int roll()” that returns a value from 1 to 8. Section 2 Main Function. Set th...
[8 replies] Last: # include <iostream> #include <stdlib.h> using namespace std; ///////... (by sami9633)
Pages: 12345... 44
  Archived months: [feb2015]

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