thanks dwks :)
Type: Posts; User: shiver
thanks dwks :)
Thanks a lot guys for all the comments.
I think I'll hang around these boards more often, so many intelligent people, perhaps I'll catch the disease :D
Just to clarify, the .h files I'm using are...
Raigne, I did try that but without any success.
The errors it gives are at linking time and not compile, so I assume that the order of #includes doesn't make a difference? Correct me if I'm wrong......
Hi guys,
I wonder if you can help me out and point me to the area of my brain that is defective.
Basically what I have is the following:
//main.h
#ifndef _MAIN_H_
cool, thanks :)
Not too sure what I'm doing wrong here. Hopefully someone can shed some light on it for me :)
When deleting a linked list, is it ok to simply do:
delete [] linked_list;
or should you...
I've read from several places that windows task manager is NOT a good way to tell if you application is leaking memory.
What is a good way to tell?
Is there a handy app that monitors memory...
Thanks guys...
I think I'll probably go with just a binary store for the time being.
Then if I actually keep working on the app and other people use it, I'll do the encryption thing.
At the...
I'm using Code::Blocks at the moment.
For some reason I perfer it to Dev-C++, not sure why.
There is an option to download the GCC/MINGW compiler with it.
Yeah, I totally get what you guys are saying and you're right, I'm not overly concerned with the encryption that eventually gets used.
It will just be a means of storing a password and then...
That I already know. :)
I don't expect the password to be safe from everyone, I just dont want it to be human readable to anyone that just happens to open the file with notepad.
Hi,
I'm looking to store user account details for email accounts in a client side file. What I need to know is what is best practice to encrypt that information so that its not human readable?...
libcurl is actually what i'm using to find out if I have any new mails and how many there are :)
writing a fully fledged mail client is probably a bit overkill and I doubt there would be many...
perhaps some explanation as to what I'm using it for...
I'm in the process of writing a notifier for GMail accounts. Yes I know there are lots, but either they don't support multiple accounts or...
unfortunately i dont own it :)
does anyone know how i could set some cookies when opening a browser window?
I'm using ShellExecute() to open the default browser to the location I want, but I need to set some cookies for that...
thanks :)
oh, and the closing ) was there, just bad copy/pasting :)
thanks again guys.
char *pdest;
if (pdest = strstr(rawdata, "\"inbox\"") {
delete [] pdest;
}
what am i doing wrong with that?
when running in debug mode, i get errors:
"Previous frame inner to this frame...
Ok, problem solved.
It appears that I needed to cpy the info held in lasturl elsewhere as it is soon destroyed by libcurl.
thanks for the help.
Ok, I rewrote everything. If you check in the code below, you'll see the output I get.
#include <iostream>
#include "curl/curl.h"
using namespace std;
int main()
{
the code is basically trying to use libcurl to open a web page and then
after all the redirects are done, open the page that was opened last.
// this opens the page
curl_easy_setopt(curl,...
I have two functions:
void getinfo(char *test) // test is initialised with some text
void setinfo(char *test) // the value gained from getinfo is supplied here
eg:
// first I get the...