473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How do I access data lists created by yyparse ??

Hello all,
In my foo.y description I call yyparse() in main.
----------------------------------------
int main(int argc, char **argv)
{

...
yyparse();
...

/*Do something with a link list created by yyparse(); */
/* Then free the list*/

}
--------------------------------------------

As the comments in main show -
How do I manipulate and then subsequently free a linked list created by yyparse() ???

Thanks,

Raj
Aug 25 '11 #1
1 1600
weaknessforcats
9,208 Expert Mod 8TB
Generally, you can't. Everything cretaed by yyparse is destroyed when yyparse completes. You could use global variables but that is poor programming practice.

yyparse needs arguments.
Aug 25 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Ebbie | last post by:
Hi, I wanted to know if Access Data Projects is a good option to choose for a SQL Server Database Frontend. The other option is C#. The database will be accessed by multiple users (around 100...
0
by: gerry | last post by:
I want to populate list boxes in an ASP page from ms access lookup lists, (lists only not separate tables). I don't want to create separate tables for these lists, as they are only 'headings' and...
5
by: David | last post by:
Is the Access Data Engine part of the VS/.net install. Eg. I need to write a stand alone Form app for which a small DB would be helpful. IN VB 6, I would use ADO to call the Access engine. I...
0
by: shapper | last post by:
Hello, I created an Asp.Net 2.0 Access Data Source. Is it possible to loop the loaded records and access each record field value? Thanks, Miguel
1
by: swynne | last post by:
Hi friendly people...I am a newb to programming and need a little assistance. I have a small personal ad database created in Access, however all is well until I want the personal ad link to take me...
4
by: Joe101 | last post by:
Question: How to put access data base onto a web page?
2
by: Carla Hepker | last post by:
I have several in-house applications that I have developed over the years using vba in Access Data Projects. When we converted the SQL server over to 2005, some of the sorts no longer functioned...
7
ADezii
by: ADezii | last post by:
There are essentially three techniques for publishing Access Data on the Web. The first technique is static, and does not allow for the dynamic addition or modification to the data, There is no...
1
by: adragton | last post by:
I have an Access Data Page created from saved Query with a WHERE clause. I DO NOT want the standard popup window to appear, but pass a value from another page. Example- Page 1 - Login(html or...
2
by: azniaga | last post by:
I have set my log in index.php page so that it can access data in d mysql. However the log in function does not function as how it should be. Let me explain. 1. I created one member with ID =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.