User forums > Using Code::Blocks

how to compile c++ programm

<< < (2/2)

zabzonk:
Well, a couple of simple examples:


--- Code: ---// valid C code not valid C++
int main() {
     int new = 0;
     char * p = (void *) 0;
}

--- End code ---

But there are  a lot more.

stahta01:
http://david.tribble.com/text/cdiffs.htm#C++-vs-C

Tim S.

Alpha:
Thanks.

I should have expected I would miss something obvious, having learned to program by means of Google and reading source (like Code::Blocks!) in my free time over the past year and a bit.  (But you may already have guessed at my inexperience if you looked at my style in the patches I have submitted.)

I still have much to learn...

Navigation

[0] Message Index

[*] Previous page

Go to full version