[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 926
  • Last Modified:

Looking for an implementation of Vector in C

Anyone have a good Vector.c file?
0
mstrelan
Asked:
mstrelan
  • 3
  • 2
1 Solution
 
mstrelanAuthor Commented:
In particular need these methods
create vector
destroy vector
get element count
add element
remove element
get element
0
 
Jaime OlivaresSoftware ArchitectCommented:
why not working with C++ classes? (STL)
What are your constraints?
0
 
mstrelanAuthor Commented:
its a uni assignment and i havent learnt any c++, just c
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
Jaime OlivaresSoftware ArchitectCommented:
>>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
 
mstrelanAuthor Commented:
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
 
fridomCommented:
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now