SomeOne
10-03-2002, 07:36 PM
Hello all, i'm new user for montada.com,
i was having problem in my program in C++
The Problem :
i was making a program containing two files the first is a.cpp the second is b.cpp
i declared some functions in a.cpp like( int counter; int there;)
i'd like to use this integers in the second file b.cpp without redefine.
i tried to re declare this integers in the second file to use them, but i found a problem, ("the integers count and there are redeclared")
i'm just begginer to c++ and visual c++
can anyone help ???
;)
i was having problem in my program in C++
The Problem :
i was making a program containing two files the first is a.cpp the second is b.cpp
i declared some functions in a.cpp like( int counter; int there;)
i'd like to use this integers in the second file b.cpp without redefine.
i tried to re declare this integers in the second file to use them, but i found a problem, ("the integers count and there are redeclared")
i'm just begginer to c++ and visual c++
can anyone help ???
;)