Archived

This topic is now archived and is closed to further replies.

Masamune

Compiler Problems

Recommended Posts

quote:
Original post by Masamune
I am trying to write some C in a C++ compiler. And for some reason it doesnt work... do i need to get a C compiler? The error says that it cannot execute for some reason.


I''m sorry, but that was not vague enough. Seriously though, can you please state the exact error you are receiving?



Qui fut tout, et qui ne fut rien
Invader''s Realm

Share this post


Link to post
Share on other sites
I finally figured it out, a stupid mistake on my part... thanks for the concern and trying to help. I do have another question on compilers though. Where can I find a VB compiler?

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
Anything you write in C, a C++ compiler will work on. C is a subset of C++.


No, it''s not. For example:

char cv[4] = "asdf";

is legal C, but illegal C++ (because there are more initializers than array elements).

Share this post


Link to post
Share on other sites