Solved

Looking for an implementation of Vector in C

Posted on 2008-10-24
6
910 Views
Last Modified: 2012-05-05
Anyone have a good Vector.c file?
0
Comment
Question by:mstrelan
  • 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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
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 500 total points
ID: 22810597
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
UPD maximums on Red Hat 6 110
Need example 5 108
C++ finding a sting in a char* string from a text file 3 99
Global Keyboard Hooks Blocked 4 71
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now