Advertisement

Lets make a c++ program!

Started by January 29, 2011 12:27 AM
62 comments, last by sprite_hound 14 years ago
Insert:

return 0;}





int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow )
{


Can we add files to the project?





I think that would make it far too confusing to keep track of everything...
Advertisement

Update:
#include <windows.h>
#include <stdio.h>
// =P
auto f(int x, int (*y)(double)) -> double {
#define main sscanf
return 0;}
int WINAPI wWinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow )
{
int a;

This reads like the mailing lists of most projects on sourceforge.

hInstance = hPrevInstance;

I think that would make it far too confusing to keep track of everything...


Hrm, I guess:

Insert after:

//=P



// Predeclaresssssss
class Object;

Engineering Manager at Deloitte Australia

Advertisement
abort();
Mike Popoloski | Journal | SlimDX
Insert before:
abort();


if(a=false == true) // at least a is inited now.

Engineering Manager at Deloitte Australia

Insert after:

if(a=false == true)
abort();


This code:
throw 0;
Insert before:
throw 0;

This code:
!!!a ? *reinterpret_cast<char*>(&a) : *reinterpret_cast<char*>(&a + 1) = 'lolz';
Mike Popoloski | Journal | SlimDX

This topic is closed to new replies.

Advertisement