0

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;
}
3
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by drkprgrmer
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)?

0

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.

0

>> 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.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.