Click here to Skip to main content
13,147,956 members (91,663 online)
Click here to Skip to main content

Tagged as


Posted 13 Nov 2012

Help Pointers and chars in C++;

, 13 Nov 2012
Here you are only assigning the adress of x into name. And at the adress of x is the 'm' of "missak".yup::yup(char *x){ name = x;}Here the content of the adress "name" is printed. And the content is a single char. It's the letter 'm'.void yup::print(){ cout<<*name;...



Compare Revision Minor Date Status Editor
2 - publicly available No 13-Nov-12 1:33 Available Andy411
1 No 13-Nov-12 1:32 Available Andy411


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer (Senior)
Germany Germany
Years ago I programmed COM-DLLs in C/C++ for some VB6 guys. It was a remote service and alarming software for refrigeration systems.

Also developed software in WinCE (C/C++) for a remote gateway to connect to the refrigeration controllers via CAN-Bus.

Since 2009 more and more C# and .Net development.

Actually developer for intra logistic software.

Currently dominated by huge spaghetti code monster :-/

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170915.1 | Last Updated 13 Nov 2012
Article Copyright 2012 by Andy411
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid