Sure! CLog &Protokoll = *CLog::getInstance(); Protokoll << "muhkuh";
So, if you want to use strings only, without knowing what that is, one should std:: Take the string, since he (masculine is still true, right?:...
NEN 0 terminated string array of chars is if I'm not mistaken ... : I think the problem is not due to char or string but the program itself...
Hi, I have rewritten the program. Seems to be better. The only problem is I get a unendlose loop. So the "\ 0" is definitely not true, but what...
Did you "pointer = (char *) malloc (sizeof (char ));"? I have used, but that does not help. Can you give me the full code? Thanks
1, a pointer (here "pointer") points to a data stream to a file is located. 2, A variable (in this case "m)", then how many numbers there are....
If only you could figure stands inside an atoi () or () atof take. atoin spits an integer, a float atof out. If in a specific location is also...
CString strFloat; / / Here is the float-variable inside strFloat.SetAt ((strFloat.Find (' .') +2),' \ 0 '); The idea: I am looking for the...
No, it did with "Mitarbeiter_File.Open (file_name, CFile:: modeReadWrite) opens. Detailed problem description: This is a password check. 4 *...
std:: getline (cin, player1.name);
class player ( public: std:: string name; );
hmm think about it you go one for (int j = 0; j <V.size();j++) statt for(int j=0;j<=V.size();j++) and to examine if (test [i] == 'e') not to "e"
How about this: Var object1 = (Object1) getVar (); Object2 var = (Object2) getVar (); Anaon you had yourself a little bit of concrete to...
in the h header file, i also tried declare the var as extern struct mytype *a; it differs nothing. I know if in .h file i declare...
My teacher tells me that this program not work since the return value from function foo() is not guaranteed to be preserved. I think this is...
I had a situation in a C program, which contained hundreds of calls to "fprintf (stdout, ...", where I needed to flush stdout immediately after...
Hello, can anyone give me a solution for the following problem????????? > > I have a class Teller with two possible constructors : Teller() and...
Could i replace delete[] with a macro operation?
There's a problem with this approach. There have three options for using smart pointers: Option 3 is out because it requires intimate knowledge...
Till now i can't solve this so please help me to solve it. I will be thankful to you.
Separate names with a comma.