Welcome to Dream.In.Code
Become a C++ Expert!

Join 137,210 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,305 people online right now. Registration is fast and FREE... Join Now!




strings

 
Reply to this topicStart new topic

strings, difference b/w string function and cstring

Aditya Garg
7 Jul, 2008 - 09:01 PM
Post #1

New D.I.C Head
*

Joined: 7 Jul, 2008
Posts: 1

hiiiiiiiiiiiiiiiiiiii biggrin.gif
User is offlineProfile CardPM
+Quote Post

red_4900
RE: Strings
7 Jul, 2008 - 11:06 PM
Post #2

Code T(h)inkers
****

Joined: 22 Feb, 2008
Posts: 830



Thanked: 11 times
My Contributions
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.

oh. hi anyway smile.gif
User is offlineProfile CardPM
+Quote Post

captainhampton
RE: Strings
8 Jul, 2008 - 07:03 AM
Post #3

Jawsome++;
Group Icon

Joined: 17 Oct, 2007
Posts: 518



Thanked: 2 times
Dream Kudos: 825
My Contributions
For starters cstrings are explained:
http://www.cplusplus.com/reference/clibrary/cstring/

and strings :
http://www.cplusplus.com/reference/string/string/

This should give you some basic differences between the two, any further question, perhaps more broad post them.

This post has been edited by captainhampton: 8 Jul, 2008 - 07:04 AM
User is offlineProfile CardPM
+Quote Post

polymath
RE: Strings
8 Jul, 2008 - 08:47 AM
Post #4

D.I.C Regular
Group Icon

Joined: 4 Apr, 2008
Posts: 415



Thanked: 4 times
Dream Kudos: 500
My Contributions
all cstrings are is char * really. However, #include <string> uses a class string, which has its own handy-dandy member functions and expands the standard operators for use with this class.
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/4/08 01:09PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month