Hello everyone.I have to write a program which returns the min(max) key values of the peak for a given graph.So far I have been able to writte the part for adding/searching for a node and...
Type: Posts; User: ivo93
Hello everyone.I have to write a program which returns the min(max) key values of the peak for a given graph.So far I have been able to writte the part for adding/searching for a node and...
The problem with the code is on line 14 and says undefined reference to `push(int)
#include<iostream>
using namespace std;
void push(int n);
int pop(int &n);
struct elem{
int key;
...
How about now ?Has the code become a little more easy to read(I need a second opinion)?
#include<iostream>
#include<string>
#include<fstream>
#include<stdlib.h>
using namespace std;
const int...
We did this program in class and i wanted see how will it run on CodeBlocks.But i got an error saying "expected initializer before 'void' on line 24".This is the first time i have this error.I try...
Thanks again for another good advice
Thank you std10093 and thanks for the link :D.I'm new to c++ so any advice that will help me learn and improve is more than welcome
The progrem itself is working fine ,but i want to calculed the square and cubic number without having to manually input the square and cibic variable(a ,c ).I tried a few ideas but every time...