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
struct List | |
{ | |
struct Node | |
{ | |
Node* Next = nullptr; | |
Node* Prev = nullptr; | |
int Data; | |
}; | |
Node* First = nullptr; |
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
struct Node | |
{ | |
Node* Next = nullptr; | |
int Data; | |
}; | |
void PushFront(Node*& list, int data) | |
{ | |
Node* newList = new Node(); | |
newList->Data = data; |
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
void Utils::Trace(const char* fmt, ...) | |
{ | |
FCM::AutoPtr<FCM::IFCMUnknown> pUnk; | |
FCM::AutoPtr<Application::Service::IOutputConsoleService> outputConsoleService; | |
FCM::Result tempRes = s_Callback->GetService(Application::Service::FLASHAPP_OUTPUT_CONSOLE_SERVICE, pUnk.m_Ptr); | |
outputConsoleService = pUnk; | |
pUnk.Reset(); | |
/*char result[1024]; | |
std::strcpy(result, fmt); |
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
class A | |
{ | |
private: | |
int var = 5; | |
}; |