Ahhh, that's right...
Anyway, why won't the size-opt work in my vc++ent?
(this is the error i get when using ANY kind of opt, the only thing that differs is the digit next to O (O1, O2, etc))
...
Type: Posts; User: philip
Ahhh, that's right...
Anyway, why won't the size-opt work in my vc++ent?
(this is the error i get when using ANY kind of opt, the only thing that differs is the digit next to O (O1, O2, etc))
...
its not really neccesary, but here we go
(as I said, i cant get the size-opt to work)
c++ (this is ONLY the winmain function..nothing else...and it takes up ~37k (got it down a bit more)):
...
Something must be terribly wrong
(I'm using vc++6 enterprise)
When I choose "Minimize size" optimization i get the error:
--------------------Configuration: aaa - Win32 Debug--------------------...
Got it down to ~65k, still too big
How come C++ programs are larger?:(
Ah, it works now, thanks alot.
However, the reason I was going to rewrite a program in C++ was to make it smaller...
But it turned out to be bigger instead
In VB6, it's ~20k, in VC++6 it's...
Hmm..no errors when compiling, just when building:
--------------------Configuration: aas - Win32 Debug--------------------
Linking...
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external...
Ehm...*blushes*
And how do I do that?
I'm using VC++6.
If I create a new Win32 App, and just add an empty source, and put
void main()
{
}
it wont even run
:confused:
Are you sure?
Maybe background-process is the wrong word?
Anyway, I do want it to run as a normal program, I just dont want it to be visible on the screen.
How do I create a background-process app in C++?
In VB6 (please, don't hate me :) ) you could just remove the form and add a module, the app would still be listed in taskmanager, but not visible...
ah, crap
a = b * h / 2
********** /|\
********* /* | \
*******B /**| *\ C
********/** |h* \
*******/*** |*** \
*******‾‾‾‾‾‾‾‾‾‾
a = b * h / 2
/|\
/ | \
B / | \ C
/ |h \
/ | \
‾‾‾‾‾‾‾‾‾‾
A(b)
hehe, try:
#include <io.h>
#include <fcntl.h>
#include <iostream.h>
void main()
{
int i, j = 0;
int key_length;
int fh_in, fh_out;
try applying this to the save-files (youll have to modify it, though)
#include <io.h>
#include <fcntl.h>
#include <iostream.h>
void main()
{
int i, j = 0;
int key_length;
int fh_in,...