Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
5,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:898019
 
Evaluation:
Published: 02.04.2004.
Language: English
Level: Secondary school
Literature: n/a
References: Not used
Extract

//variables
int value;
//asking for value
cout << "nnEnter value to push : ";
cin >> value;
//new node decleration
stack_node *new_node;
// Allocate memory for the new node.
new_node = new stack_node;
/*I have seen some processors specially AMD chipsets
sometimes gives error for basic stack dynamic programming,
also sometime we get system error due to the status of the
RAM, By looking at this posibility i include this error here */
if(new_node == NULL)
{
// If memory allocation problem, set error
// status and proceed to exit the function.

Author's comment
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register