General C++ Programming - April 2015 (Page 14)

by Htran
Need help on two dimensional character arrays
 
This is all I have not sure how to put 2d char array in here. Can anyone help me on how to me on thi...
[5 replies] Last: Before I offer further advice, answer me this: where did that ReadStri... (by Duthomhas)
Classes and Linked Lists
 
I'm writing a program that creates a linear linked list from information in a txt file. I won't writ...
[3 replies] Last: You should implement a copy assignment operator instead of that cop... (by LB)
by soranz
string - replace all NON alpha numeric with " " spaces
 
I have a near identical function with erase which works fine - the erase one simply erases all nonal...
[3 replies] Last: That still looks quite complex. #include <string> #include <iostream... (by keskiverto)
by almica
Problem with infinite-loop
 
Hi there, I'm new to C++ and having some trouble with an infinite-loop i have to set up. The Progr...
[9 replies] Last: Thank you guys I will try to understand those procedures, :-) @tipaye... (by almica)
Double free or corruption faststop
 
type& objecttype :: operator=(object& var){ this->name=var.name //type string } getting err...
[3 replies] Last: Use your IDE's debugger to isolate which line the crash is happening o... (by LB)
error line 1:expected unqualified-id before numeric constant
 
I created a resource file (.rc) and a .h file. in the .h file I experienced an error on line 1: exp...
[8 replies] Last: A general addition to the comments above: You've included file a in f... (by tipaye)
Can someone tell me what's wrong with this Pointer code?
 
#include <iostream> #include <cstring> using namespace std; int main(){ int room; room = 12; i...
[2 replies] Last: http://www.LB-Stuff.com/pointers (by LB)
by xystus
Some kind of auto update... type thing...
 
I wanted to create something that gets live score updates and refreshes the console each time there ...
[2 replies] Last: Would this be doable? As long as you have a reliable data source to... (by Z e r e o)
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)
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)
April 2015 Pages: 1... 1213141516... 28
  Archived months: [mar2015] [may2015]

This is an archived page. To post a new message, go to the current page.