Beruflich Dokumente
Kultur Dokumente
(Version 1 beta 5)
If error occurred, OhjyA (Using Command-Line Interface) will output it. So, you don’t
need to worry about crashes.
Accessing OhjyA Data
struct OhjyAmember {
void *ptr;
// void because OhjyA members are with different types
string type;
// Stores member type in string format
};
So, _getmember() will return an OhjyAmember of what you asked for containing its
pointer in void *ptr type, you should then typecast it properly as you will see form the
next table. looptime will contain an integer indicating how many elements are in the
asked array (Applicable just for integer arrays). The type of member will be stored in
string type.
._getmember() returns table
Note:
• Use “noerror” to check whether OhjyA encountered a problem or not.
• Most of these queries are set primarily for bug detecting in OhjyA 1 development,
so you may not need to use some of them.
A simple OhjyA C++ program
#include <iostream>
#include <string>
string texttoencrypt;
string password;
int main() {
cin.get();
return 0;
}