General C++ Programming (Page 4)

problem solving techniques using the concepts of linked list.
help me i want to implement this ..... Polynomial may be represented as a linked list as follow...
[8 replies] Last: check out this That is awful to read as is. Please add code tags a... (by keskiverto)
Operator assignment function help!
Is it possible to create a function outside of the main, that is not part of a class, just as a solo...
[2 replies] Last: Ah ok that was what I was asking for, cheers for clarifying! (by alex067)
Help with Stacks!
I have to create a function which takes a string of a postfix equation, convert it into an int and p...
[no replies]
Help resolve the question in C ++ (Calculator)
hey may I have some help to get solve for my problem, that you can find it in the web down? http://...
[5 replies] Last: it is working thank you dhayden (by Majid1989)
How to write and then read structure from file?
Hey guys, I have a structure like this, but I cant find out how to write this structure record to fi...
[5 replies] Last: #include <iostream> #include <fstream> #include <string> using name... (by BlatantlyX)
Double Linked List - Removing Node
Okay, So I'm having a few issues here with deleting a node in a doubly linked list. The structures a...
[7 replies] Last: Then I don't see what your problem is. Peter87 already pointed out ... (by fg109)
please post the programfor the following output , its urgent i need to submit assignment please
Sample output: suppose input is: This class will be fun! Original Unsorted Data: This class w...
[1 reply] : Please note, that this is not a homework site. We won't do your homew... (by keskiverto)
So I have a struct called CompanyInfo. struct companyInfo{ string companyName; // Name of...
[5 replies] Last: in C++98 mode It sounds like your compiler knows about new standard,... (by keskiverto)
Confused with adding scoring system
Hi, I'm a beginner with C++ and I was making a guess the number program, I wanted to add a score sys...
[1 reply] : Score = Score-10; (by ne555)
Complaint: Disappointed (1,2)
This is ridiculous, I've ask one question and you guys refuse to reply? How does that help?
[22 replies] Last: > while(Inventory .stock!=0) ┬┐did you initialise your variables cor... (by ne555)
i want to evaluate polynomial using linked list
int polynomial:: evaluate_polynomial() { int input=0; temp = NULL; newnode = NULL; //int ne...
[1 reply] : in while statement there are two formula that click in my mind but bot... (by saad abbasi)
insert link in avl tree
Hey guys, i need some help with avl trees... how can i insert a link x y in these trees ?? I already...
[no replies]
Cant understand the assignment!
Hello everyone, Not trying to get you to do my homework for me, But can someone explain to me what...
[3 replies] Last: Your program should allow the user to repeat this calculation as ofte... (by fg109)
Mixed double linked list?
So i have an assignment in which I have to code a list consisting of 5 nodes. First three are doubl...
[no replies]
Temperature conversion program
Good day to all, I need to get this temperature conversion program working, but when I run it I g...
[6 replies] Last: This is a C++ site, so examples in C++ are not totally unexpected. I ... (by keskiverto)
Why is this so slow? Is it because of virtual functions?
void Render(const Renderable& obj) // An instance of Sprite gets passed in, which is derived fro...
[14 replies] Last: Doesn't seem to make much of a difference if it's virtual or not. I'm ... (by Horscht)
by Kyi
Bjarne Stroustrup Eg 4.6.4 A text example
Hello there, I am a newbie to c++ programming. Lately I am facing an error while doing example...
[2 replies] Last: That shows sorting function is not going well. Oh you have saved me fr... (by Kyi)
by rb737
Rounding a double to nearest odd int
Hello Everyone, I hope you are all doing well. I am having a bit of an issue and i have been g...
[3 replies] Last: #include <iostream> #include <limits> int nearest_odd_integer( doubl... (by JLBorges)
random number between 0 and 1: C vs C++11, C wins?
Hey guys, I want a function to get random numbers between 0 and 1. I tried it c-style with rand ...
[3 replies] Last: hm... interesting that I never came across that... thank you! (by Gamer2015)
help me please code is not working properly
#include<iostream> #include<conio.h> using namespace std; class polynomial { private: int...
[no replies]
Pages: 123456... 53
  Archived months: [feb2015]

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