Thanks everyone, I got it done.
:)
Type: Posts; User: bradszy
Thanks everyone, I got it done.
:)
Oh I thought you meant how many times does the loop it's IN run.
That varies.
But the loop DOES run alot.
Thousands of times.
Ok, so i'm making a program where I have to update the user constantly, but I don't want the output to go over the console buffer space, so I thought if I printed something,
printf("%s", result);...
I was considering writing it multi thread.
I did a search on some tuts, and I found: http://www.adrianxw.dk/SoftwareSite/index.html
Which covers the basics of Win32 multi threading.
Know anywhere...
Ok, i'll try it.
Thankyou! :)
I guess you're probably right, as most C code can be compiled in a C++ compiler, that would mean it would be the same speed.
But as you say it gets me thinking, does either language have...
I'm about to start writing an app, solely based on strings and string manipulation, with speed as my main priority.
With this in mind, I don't know which would be faster; C, or C++?
Opinions are...
Yep.
100% sure.
Jeez, that was unexpected.
Thanks a heap guys, that was extremely helpful. :)
Is it possible?
I've tried a few things, but no cigar.
Thanks guys/gals!
Thanks for your help everyone!
I got it made, I used for loops, indexes, and 3 counter variables.
Thanks mate!
Good luck with your exams.
Yeah, but I definitely do not want a full source.
Just an idea of how to start it.
I've been trying to do this for a while, with no luck.
I've got a charset,
char charset[1024];
That always contains 2 or more characters.
I've been trying to take the chars from the charset and...
Oh :(
Oh well, too bad I guess.
Just the email address defined in the source code.
If I have a .txt file I want to email the contents to say... A hotmail email address, how would I go about doing this?
Google didn't help. :(
For windows, try system("type -FILENAME-");
Oh.My.Freaken.God.
You two are both legends!
Finally got it to work, thanks to you two!
AND, now my indenting won't suck ass!
This has been a really helpful thread, thanks again Elysia and...
After linking with user32.lib, I got to the linking stage! Yay!
And then...
Oh no.
:(
1. Thanks Elysia, that's really, really cool.
2. Ok, ill go into project options and play around
EDIT:
Never mind, but I still would rather compile a stand alone app, as it's only an emulation of CMD with added commands... I don't think it's going to be very big.
SO can anyone educate me on my...
Wait so If I use static linking, my application won't require installation?
Using this code:
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <iostream>
#include <string>
#include <fstream>
#include <conio.h>
#include <time.h>