quote:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #define FUNCINIT_1 void hwPrint(char *); #define FUNCINIT_2 void hwShuffle(char *, char*); #define FUNCINIT_3 void hwDeclare(char *); FUNCINIT_1 FUNCINIT_2 FUNCINIT_3 int main(){ char hwString[15]; char *p; hwDeclare(&hwString[0]); hwPrint(&hwString[0]); } void hwPrint(char *hwP){ for (;*hwP;hwP++) printf("%c", *hwP); } void hwShuffle(char *l1P, char *hwP){ *hwP = *l1P; } void hwDeclare(char *hwsP){ struct{ char l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15; }hwChars = {72, 101, 108, 108, 111, 44, 32, 119, 111, 114, 108, 100, 33, 10, 0}; char *hwAddr; for (hwAddr = &hwChars.l1; *hwAddr; hwAddr++){ hwShuffle(hwAddr, hwsP); hwsP++; } } |
Intelligente programmeertalenquote:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); char szClassName[] = "MainWnd"; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { HWND hwnd; MSG msg; WNDCLASSEX wincl; wincl.cbSize = sizeof(WNDCLASSEX); wincl.cbClsExtra = 0; wincl.cbWndExtra = 0; wincl.style = 0; wincl.hInstance = hInstance; wincl.lpszClassName = szClassName; wincl.lpszMenuName = NULL; //No menu wincl.lpfnWndProc = WindowProcedure; wincl.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); //Color of the window wincl.hIcon = LoadIcon(NULL, IDI_APPLICATION); //EXE icon wincl.hIconSm = LoadIcon(NULL, IDI_APPLICATION); //Small program icon wincl.hCursor = LoadCursor(NULL, IDC_ARROW); //Cursor if (!RegisterClassEx(&wincl)) return 0; hwnd = CreateWindowEx(0, //No extended window styles szClassName, //Class name "", //Window caption WS_OVERLAPPEDWINDOW & ~WS_MAXIMIZEBOX, CW_USEDEFAULT, CW_USEDEFAULT, //Let Windows decide the left and top //positions of the window 120, 50, //Width and height of the window, NULL, NULL, hInstance, NULL); //Make the window visible on the screen ShowWindow(hwnd, nCmdShow); //Run the message loop while (GetMessage(&msg, NULL, 0, 0)>0) { TranslateMessage(&msg); DispatchMessage(&msg); } return msg.wParam; } LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { PAINTSTRUCT ps; HDC hdc; switch (message) { case WM_PAINT: hdc = BeginPaint(hwnd, &ps); TextOut(hdc, 15, 3, "Hello, world!", 13); EndPaint(hwnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd, message, wParam, lParam); } |
http://www.talkingpointsm(...)/david_brooks_an.phpquote:Far be it from me to get in the middle of a liberal purge, but would anybody mind if I pointed out that the calls for Hillary Clinton to apologize for her support of the Iraq war are almost entirely bogus?...
Today, the liberal wing of the Democratic Party believes that the world, and Hillary Clinton in particular, owes it an apology. If she apologizes, she’ll forfeit her integrity. She will be apologizing for being herself.
http://www.talkingpointsm(...)/flashback_brook.phpquote:I'm curious about how all the war opponents are going to react if things continue to go well. Sure, they opposed Saddam, they will say. They just didn't want to do anything about him. They had no practical suggestion for how to end his murderous reign and spread freedom. They were tolerant. Tolerant of tyranny. They doubted, and continue to doubt America's willingness and ability to serve as a force for good in the world. That was their crucial mistake.
I suspect they will not even now admit their errors. I doubt the people of Europe will say: We were wrong. You really are the liberators of the Iraqi people. I doubt the Arab propagandists will say: We will never spread such distortions again. We will never again be so driven by resentment and dishonesty.
Sad to say, human nature doesn't work that way. The rump 15 percent of Americans who still oppose this war may perhaps grow more bitter, lost in the cul-de-sac of their own alienation.
Weer een mooie bash-uitzending over rechts.quote:Op donderdag 15 februari 2007 21:32 schreef zakjapannertje het volgende:
Andere Tijden nu over de VVD
In the mothafuckin´ house!quote:Op donderdag 15 februari 2007 20:55 schreef sigme het volgende:
brekebeentjes met rare kapsels en dito brilletjes
Hij is een matig stilist en vindt zichzelf veel geestiger dan ´ie in werkelijkheid is. Een soort atheistische Dekker.quote:Op donderdag 15 februari 2007 23:27 schreef Autodidact het volgende:
Maar waarom heb je een hekel aan Plasterk, Apropos?
SHIT!quote:Op donderdag 15 februari 2007 23:37 schreef Aoristus het volgende:
gelukkig wordt er weer flink wat afgemept bij de Sopranos
Het is eindelijk duidelijk dat Adriana met de FBI praat, dus die kreeg er net even van langs. Tony vertrouwt het zaakje niet, en denkt dat zijn neef de mol is. Hij is hem aan het traceren via telefoongesprekken e.d.quote:
Ik zag het.quote:Op donderdag 15 februari 2007 23:48 schreef Aoristus het volgende:
laat maar, Adriana is net gewhacked
Tegenwoordig speelt ze in Joeyquote:
Ja die vertelt het niet meer na.quote:Op donderdag 15 februari 2007 23:48 schreef Aoristus het volgende:
laat maar, Adriana is net gewhacked
Forum Opties | |
---|---|
Forumhop: | |
Hop naar: |