Re: Support_needed_regarding_failure_"doest not name a type"
When posting code, please use code tags so that code is readable. Go Advanced, select the formatted code and click '#'.
Also it isn't recommended that .doc file etc are attached as these could contain viruses etc. If you need to attach a file - as opposed to pasting the required text which is recommended - can I suggest just a plain .txt file.
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
Re: Support_needed_regarding_failure_"doest not name a type"
Code:
while (hilfszeiger->next != nullptr)
hilfszeiger = hilfszeiger->next;
}
Shouldn't this be
Code:
while (hilfszeiger->next != nullptr) {
hilfszeiger = hilfszeiger->next;
}
Also
Code:
strcpy(hilfszeiger->daten, datenneu);
as both are of type string, this should be
Code:
hilfszeiger->daten = datenneu;
and similar for other like statements.
You also need a #include <string> as well.
You are also sometimes using NULL and sometimes using nullptr for when no valid pointer is specified. These should be nullptr not NULL.
Last edited by 2kaud; April 20th, 2017 at 01:59 PM.
All advice is offered in good faith only. All my code is tested (unless stated explicitly otherwise) with the latest version of Microsoft Visual Studio (using the supported features of the latest standard) and is offered as examples only - not as production quality. I cannot offer advice regarding any other c/c++ compiler/IDE or incompatibilities with VS. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/ and can be used without reference or acknowledgement. Also note that I only provide advice and guidance via the forums - and not via private messages!
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.