i have this small program that im using to test some things. i have a visual c++ at school but its like 5 years old or whatever and i got visuall c++ 2008 expess at home and i need to know how to get this program to get the vector from the user... i feel like a noob

#include "stdafx.h"
#include <iostream>
#include "apvector.h"

using namespace std;


int main()
{
	apvector i;
	
	cin.get();
	return 0;
}

apvector isn't supported directly by Visual Studio. Do you have the actual header, or are you getting an error that it can't be opened (because it doesn't exist)?

sorry it took me a while to get back on but anyways. that code compiles and runs smooth its just whenever i try to have the user input data nothing works.

>> it doesn't work
What exactly does that mean ? And post your most recent code because the code you originally posted doesn't do anything at all.

i figured it out nvm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.