Thread
:
pointer to struct
View Single Post
#
2
(
permalink
)
January 10th, 2008, 07:23 AM
ScorpZ
Registered User
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Hello.
Testtype *test_type = t_type;
It's mistake.!
You must initialize pointer by -
1) other pointer
2) NULL
3) object's address
for example
Testtype *test_type = &t_type;
ScorpZ
View Public Profile
Find all posts by ScorpZ