As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I'm familiar with these two languages but don't write in them.
From the context of Microsoft specific versions of these languages and from what I understand, (Visual) C++ is basically C but object oriented. Is that correct?
Is C and C++ on the same level? Meaning, C++ does not sit on top of C?
I've often heard if you want to write an operating system (Windows) use C (but MS does not have a Visual C). Can the same be said for C++? Why or why not?
Thats a big question... The short version is that there isnt really anything that can be done in C that cant be done in C++. A longer version can be found here.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I remember reading in Hacker News about a modern C-like language with pretty nifty features, but I can't find it again. The name I can evoke is "C9", but that's not yielding search results.
It was pretty much a superset of C, with multi-pass compilation (and thus, no need for headers and forward declarations) and namespaces, as well as dynamic array syntax and string handling sugar.
I'm about to embark in a low-level project, and this would be a fantastic opportunity to try it out. My C is a bit rusty, I'm afraid, after years of python and coffeescript, so it would surely come in very handy.
Any hope somebody in SO has heard about it, or a similar project?
I think I read the same article. It sounds like C2, including the multi-pass parsing.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know this question has been asked a lot, but I want to find a book on windows programming with C++ that specifically focuses on GUIs. I picked up a book on C++ game programming, and in the begging it covered a little bit of windows GUI programming. So now I would like to be able to get a little more in depth on the subject. Any suggestions?
P.S.
I'm talking about win32 programs.
Programming Windows is the classic and probably a good place to start.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have started to port a project which involves C++, qt , MySql codes.These codes are written for Linux and I am porting them to Windows. So my question, are there any general points to be kept in mind while porting these codes from Linux to Windows? Please help me out here.
I am working on a sililar project, and what I have noted thus far is that the path names are different from Unix to Windows, the header files are not exactly the same between the two, and the size of variables are sometimes different. Here are some useful links as well:
http://www.willydev.net/descargas/prev/UNIX.pdf
http://suacommunity.com/dictionary/index.php
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What do you need to learn OpenGL? Do you need to learn C/C++ first? I have experience with C but none with C++.
I would suggest using c++ due to it having an object oriented side, but the opengl is cross platform
http://www.opengl.org/resources/bindings/
You can use mostly C with very little C++.
I would suggest looking at nehe.gamedev.net for some tutorials to help out.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I need to write a Linux shell for a school project. We can use C or C++. I am a little more comfortable with C++, and since I'm working with a partner, the object-oriented aspect of it is helpful. However, I suspect that for some reason C is better, and that most if not all Linux shells are written in C and not C++. What are the pros and cons of using one or the other?
the only difference I'd say is the dependency on libstd-c++ if you end up using STL and stuff. Plain C implementation if done correctly will run on bare minimum system requirements (libc only)