Click here to Skip to main content
15,900,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:52
professionalcode-frog14-Aug-05 19:52 
GeneralRe: C++ and Python Questions... Pin
S. Senthil Kumar14-Aug-05 19:12
S. Senthil Kumar14-Aug-05 19:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:24
Raistlfiren14-Aug-05 19:24 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:35
protectorChristian Graus14-Aug-05 19:35 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:43
protectorChristian Graus14-Aug-05 19:43 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 20:28
Raistlfiren14-Aug-05 20:28 
GeneralRe: C++ and Python Questions... Pin
Kevin McFarlane15-Aug-05 0:00
Kevin McFarlane15-Aug-05 0:00 
GeneralRe: C++ and Python Questions... Pin
markkuk15-Aug-05 1:52
markkuk15-Aug-05 1:52 
The C++ string class (a.k.a. std::string) is used to store and manipulate character strings. Yes, if you have defined:
string big = "dog";
then cout << big; will output dog .
The namespace std isn't defined in any library, it's defined in the standard C++ header files. If you want to define a new namespace for your code, you wrap the function, class and variable definitions in a namespace block:
namespace library {
    class Foo;
    void function1(const std::string&);
}

Now Foo and function1() are in namespace library, and you refer to them as library::Foo and library::function1().
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:37
Raistlfiren15-Aug-05 10:37 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 13:12
protectorChristian Graus15-Aug-05 13:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 16:11
Raistlfiren15-Aug-05 16:11 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 16:15
protectorChristian Graus15-Aug-05 16:15 
GeneralRe: C++ and Python Questions... Pin
vincent.reynolds15-Aug-05 7:03
vincent.reynolds15-Aug-05 7:03 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:42
Raistlfiren15-Aug-05 10:42 
GeneralRe: C++ and Python Questions... Pin
DavidNohejl15-Aug-05 15:11
DavidNohejl15-Aug-05 15:11 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 16:04
Raistlfiren15-Aug-05 16:04 
GeneralFirst Chance Exception Pin
suzie10014-Aug-05 18:17
suzie10014-Aug-05 18:17 
GeneralRe: First Chance Exception Pin
Steen Krogsgaard14-Aug-05 21:18
Steen Krogsgaard14-Aug-05 21:18 
GeneralLinked Lists Pin
sroberts8214-Aug-05 8:29
sroberts8214-Aug-05 8:29 
GeneralRe: Linked Lists Pin
Jack Puppy14-Aug-05 9:49
Jack Puppy14-Aug-05 9:49 
GeneralRe: Linked Lists Pin
Christian Graus14-Aug-05 13:53
protectorChristian Graus14-Aug-05 13:53 
GeneralRe: Linked Lists Pin
Abebe14-Aug-05 20:32
Abebe14-Aug-05 20:32 
GeneralRe: Linked Lists Pin
Trollslayer14-Aug-05 22:15
mentorTrollslayer14-Aug-05 22:15 
GeneralRe: Linked Lists Pin
David Crow15-Aug-05 3:29
David Crow15-Aug-05 3:29 
GeneralRe: Linked Lists Pin
Christian Graus14-Aug-05 13:55
protectorChristian Graus14-Aug-05 13:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.