This repository has been archived by the owner on Oct 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fa8f8f3
commit c8974de
Showing
7 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
+----------------------+ | ||
|Shark String Converter| | ||
+----------------------+ | ||
|
||
To use this, you need to include the file SharkStringConverter.h and add SharkStringConverter.dll to the files to link. | ||
|
||
There are 2 secure functions: | ||
#--------------------------------------# | ||
# # | ||
#| char * stringtochar(std::string); # | ||
#| std::string chartostring(char*); # | ||
# # | ||
#--------------------------------------# | ||
|
||
The function | ||
| char * stringtochar(std::string); | ||
convert the std::string to char*. the char* has the [lenght of the string +2] but only the [lenght of the string +1] will copyed to the new char. | ||
|
||
After use the char* you should free the memory with the free function of | #include <stdlib.h> | ||
|
||
|
||
|
||
|
||
The function | ||
| std::string chartostring(char*); | ||
does that what is says, it convert a char to a string | ||
|
||
� Sharkbyteprojects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
// pch.cpp: Quelldatei, die dem vorkompilierten Header entspricht | ||
|
||
#include "pch.h" | ||
|
||
// Bei der Verwendung vorkompilierter Header ist diese Quelldatei für eine erfolgreiche Kompilierung erforderlich. | ||
#include "pch.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#ifndef PCH_H | ||
#define PCH_H | ||
|
||
// Fügen Sie hier Header hinzu, die vorkompiliert werden sollen. | ||
#include "framework.h" | ||
|
||
#endif //PCH_H | ||
#endif |