0
Well I created a arquivo.h
and a arquivo.cpp
, of arquivo.cpp
by including the #include "arquivo.h"
automatically recognizes, already in my main.cpp does not recognize there I cannot use the data of that file.
0
Well I created a arquivo.h
and a arquivo.cpp
, of arquivo.cpp
by including the #include "arquivo.h"
automatically recognizes, already in my main.cpp does not recognize there I cannot use the data of that file.
Browser other questions tagged c++
You are not signed in. Login or sign up in order to post.
I do not understand what you, it is better to post the codes or explain the problem better. What it means "does not recognize"?
– Maniero
because of this mistake here
undefined reference o 'inicializa()'.
, remember that the files are in the same folder, it was to work.– Vale
You look like trouble when it comes to link, the error must be on the command line. It’s just a kick due to lack of information.
– Maniero
You included the. h file in the main.cpp?
– FelipeDurar
yes, because when I say that you don’t recognize it is the fact that you press
Ctrl + espaço
.– Vale
You have already tried to click on Rescan Solution in the Project menu?
– FelipeDurar
Where is this option I am using code Blocks
– Vale
@Rodolfo ah, this option is in the visual studio
– FelipeDurar
Thanks guys I found my mistake.
– Vale