Demo entry 6347026

CPPDjango

   

Submitted by Justasic on Feb 13, 2017 at 11:15
Language: C++. Code size: 432 Bytes.

class BasicUserInfo : public ModelBase
{
public:
		// Define our fields
		BooleanField isvalid;
		CharField UserName;
		CharField Password;
		CharField PhoneNum;

		// Initialize our constructor, we're the "User" table with these Fields.
		BasicUserInfo() : ModelBase("User"), isvalid(this), UserName(this, 255), Password(this, 128), PhoneNum(this, 15) {}
};

int main(int argc, char **argv)
{
	QuerySet users = 
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).