By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,326 Members | 2,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,326 IT Pros & Developers. It's quick & easy.

c struct in c++

P: 5
hi all,
I have just started learing "C++".....i want mix "C" and "C++".....
one struct variable is defined in "C", n i want to use it as an extern variable in "C++" code.....is there any restriction on that??? my compliler is fining it as "unresolved external"....

Thax,
dim
Jun 20 '07 #1
Share this Question
Share on Google+
3 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
There should be no problem.

What does your code look like?
Jun 21 '07 #2

P: 5
There should be no problem.

What does your code look like?
ya...there is absolutely no problem!!!!...i found a ver silly mistake in my code...

thnx
dim
Jun 21 '07 #3

weaknessforcats
Expert Mod 5K+
P: 9,197
ya...there is absolutely no problem!!!!...i found a ver silly mistake in my code...
Dang! You were supposed to let me find that. :)
Jun 21 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.