?
Solved

Looking for an implementation of Vector in C

Posted on 2008-10-24
6
Medium Priority
?
919 Views
Last Modified: 2012-05-05
Anyone have a good Vector.c file?
0
Comment
Question by:mstrelan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 10

Author Comment

by:mstrelan
ID: 22801578
In particular need these methods
create vector
destroy vector
get element count
add element
remove element
get element
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22801649
why not working with C++ classes? (STL)
What are your constraints?
0
 
LVL 10

Author Comment

by:mstrelan
ID: 22801653
its a uni assignment and i havent learnt any c++, just c
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 22801727
>>its a uni assignment and i havent learnt any c++, just c
so, I guess you have to implement the vector class by yourself, right?
0
 
LVL 10

Author Comment

by:mstrelan
ID: 22801731
the vector part is not crucial to the assignment. it is about sockets, threads and synchronisation. they provided a vector header file which is optional to use. i'm allowed to use a vector from the internet as long as i reference the source
0
 
LVL 24

Accepted Solution

by:
fridom earned 1500 total points
ID: 22810597
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question