String class for gcc [closed] - c++

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want a string class in gcc, like in Visual studio

Use std::string.
If you really need it, there are CString workalikes out there. But you really should use std::string.

I don't know which string class you used in Visual Studio, still the usual std::string is standard C++ and is available in any standard-conforming C++ implementation (including g++ as well as Microsoft Visual C++).

Related

Microsoft AMP for C++ with Dr Dobbs example? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am trying to figure out the complete code as explained at:
http://www.drdobbs.com/windows/microsofts-c-amp-unveiled/231600761?pgno=2
I am trying to find out how to generate the complete code examples with of Simple C++ AMP Version? How do I define the grid object? Which header do I need to use direct3d? It seems my Visual Studio 2012 flags these as undefined.
Thanks
I've never seen restrict(direct3d) before. I suspect it's supposed to be restrict(amp).
You'll also need to #include <amp.h>

what features did c get from c++? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What features were added to c that were originally in c++?
When where they added and for what reason(what where the pro/con arguments)?
How do they differ in c as compared to c++?
Did the features originate in c++ or in another language?
examples(feel free to expand on):const,Function prototypes, implicit exit(0);
I don't think it would be useful to repeat the content of Bjarne's paper

Need references: Auto code generator C++ [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I need to create a Auto code generator that generates Fortran codes and implemented on either C or C++.
Can anyone give me some references or a good place to start this... Even any suggestion or ideas too....
This is called a compiler. Anything that translates from one language to another is a compiler. I suggest you read up on compilers.
Good starting places:
#include <string.h>
(for C)
#include <sstream>
(for C++)

IDE for C++ developers [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What is the most popular IDE for C++? And library for windows?
What is about QT?
The best IDE for c++ is visual studio(if you are working in windows), but if you want to use Qt, QtCreator is also nice. but i can't get what do you mean "A library for windows"!

What's the most recommended cross platform C++ library? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Is there something like jQuery that works the same in all browsers in the c/c++ world that will work consistently in all platforms?
Are you talking about for GUI elements? Qt is very popular.
Gnulib is intended to act as a facade for the system's native libc.
Depends on what you want to do. Boost is one of the most used one.