
please wait
by kishad
dynamic arrays- error pointer being freed was not allocated
|
Hello. I have a class called Book and I am trying to create a dynamic pointer based array of the class. When I try to run the program I keep getting the error... |
Nov 29, 2014 at 11:30pm
[7 replies] Last: Ah, I see. Thank you. (by i8pp)
|
by i8pp
Binary Search Tree-used with user defined class
|
I am working on a program that uses a class I created called Student. I want to be able to add different students to a Binary Search Tree, and use the student's... |
Nov 29, 2014 at 11:27pm
[3 replies] Last: Okay, well I took a break and it seems the problem lies within my over... (by i8pp)
|
by Culbrelai
Witts end with this program...
|
So I have to make a credit card verifier and my god I have never been so frustrated in all my life. The entire source follows, I get 3 runtime errors - http:... |
Nov 29, 2014 at 9:37pm
[7 replies] Last: Alright so I've rewritten the entire thing, making sure to check if it... (by Culbrelai)
|
by Nanyo
console exit
|
Hello, everyone, I’m making a program in which, at the end, the user is asked to press ‘e’ to exit. My question is: Is there a function or just anything... |
Nov 29, 2014 at 5:42pm
[3 replies] Last: There are three possible things that I think you may be asking for (re... (by Duthomhas)
|
by anup30
Password Attacker problem
|
Problem: Passwords are widely used in our lives: for ATMs, online forum logins, mobile device unlock and door access. Everyone cares about password security... |
Nov 29, 2014 at 5:42pm
[19 replies] Last: solved at last! the hardest problem in my few months programming exper... (by anup30)
|
by davtk8
Counting number of vowels in a sentence
|
I want to count all the vowels in a string (a, e, i , o, u) and display it as a text-based histogram for example: The black cat sat up on the orange mat! ... |
Nov 29, 2014 at 5:24pm
[1 reply] : duplicate post http://www.cplusplus.com/forum/beginner/149241/ (by wildblue)
|
by csstudent123
Non-Dynamic Local address
|
Can I return a non-dynamic local address of a var from a function? int* func(int m){ m=1; return m; } my compiler giving warning but compi... |
Nov 29, 2014 at 5:21pm
[4 replies] Last: thanks..bottom line is, return any var which lives after func exit... (by csstudent123)
|
by csstudent123
bin vs dat
|
I cannot write as binary using .dat format in ubuntu, why? |
Nov 29, 2014 at 5:19pm
[5 replies] Last: I first created txt file then renamed it to dat, then wrote to it, but... (by csstudent123)
|
static huffman |
i 'm using Static Huffman to compress i know how to compress a file, how about folder??? |
Nov 29, 2014 at 5:05pm
[3 replies] Last: what should i do if i use command line to open folder?? what next to e... (by nightmaregiba)
|
by Hidden Girl
whats wrong with this code :( can anyone figure it out?plz help me out
|
//Write a program that declares a structure to store Book ID, price and pages of a book. it defines two structure variable and inputs values. //it displays th... |
Nov 29, 2014 at 5:02pm
[3 replies] Last: thank you so much #konstantin2, i got it GOD bless you (by Hidden Girl)
|
by jodytj
Functions not working?
|
/*My instructor says: My driver does not test all the class functions. My program test data should not be hard-coded in my program. My test data should be inp... |
Nov 29, 2014 at 3:57pm
[1 reply] : Please try to remove the double spacing from your future code posts. ... (by dhayden)
|
by nears
Pre-Compile check if field does allready exists
|
Hello, im new here and i am searching for a solution for the following problem: I have a dynamic storage class based on a vector. The elements of this c... |
Nov 29, 2014 at 2:18pm
[4 replies] Last: Thanks for all your replys. I allready tried out your solutions but th... (by nears)
|
by jared181
How would you find the nth word in C++?
|
Would you use regex? (not sure how though) Or, would you go through the hard way, and iterate through every word, until you discarded (n-1) words and reached... |
Nov 29, 2014 at 12:30pm
[1 reply] : Oh I just found LB 's great post on istreamstring. Thanks LB !... (by jared181)
|
by csstudent123
Delete BST up, left, right code
|
Is my setting of up/parent node correct? void bst::addNode(bst::hwareItem*& root, hware item){ if (root == NULL) { root=new hwareItem; ... |
Nov 29, 2014 at 12:14pm
[4 replies] Last: I think its clear now....Pointing to root at every new null node creat... (by csstudent123)
|
by ritchson101
Changing a recursive function into an iterator function
|
I had the following question in my exam and received 3 out of a possible 4 marks Here is the question: Assume the following recursive function: int f(i... |
Nov 29, 2014 at 11:44am
[9 replies] Last: function int f(int n) is a single function (by Konstantin2)
|
by ritchson101
Implementing a recursive function to print a linked list in reverse order
|
Implement a recursive function named void printBack(DoublyLinkedNode<T>* node) for the class DoublyLinkedCircularList which will print out the elements in the l... |
Nov 29, 2014 at 9:45am
[3 replies] Last: template<class T> void DoublyLinkedCircularList<T> :: printBack(Doubl... (by MiiNiPaa)
|
by jared181
How to write OO? (1,2)
|
Hi, I'm a C programmer. I've taken a C++ course and learned the syntax of C++ Classes, inheritance, polymorphism, etc. I need to write a tool which parses te... |
Nov 29, 2014 at 8:51am
[22 replies] Last: [quote=LB] Would you also use a chain saw to cut your papers just beca... (by Little Bobby Tables)
|
by ritchson101
How to add to tail of a DoublyLinkedCircularList
|
I had the following question in my exam and got 2 out of a possible 6 marks Here is the question: Implement a function for the DoublyLinkedCircularList cl... |
Nov 29, 2014 at 8:35am
[no replies]
|
by holygift
Push_back location of string in a vector to a 2d vector?
|
deleted |
Nov 29, 2014 at 7:04am
[2 replies] Last: http://www.cplusplus.com/forum/beginner/149193/ (by LB)
|
by la14417
Program 6
|
Write a function, getHighestSpeed(), to find and return the array index for a ship with the highest cruising speed. 6. Write a function, showShipSpeed(), that ... |
Nov 29, 2014 at 3:14am
[1 reply] : int getHighestSpeed( /*params*/ ) { //code //return statemen... (by giblit)
|