Type: Posts; User: Cheezewizz
Search took 0.01 seconds.
December 29th, 2010, 09:40 AM
Why don't you just redirect the output on the command line by calling
myprog.exe dirname > results.txtIf you really want it done in code then there's plenty of either OS dependant ways or other...
December 20th, 2010, 09:47 AM
Ignore me, I'm an idiot, 5 mins more reading and I could've avoided posting here. For anyone who's remotely interested, it's because according to MSDN "Normally, the system sizes a list box so that...
December 20th, 2010, 09:10 AM
I'm trying to make a win32 application consisting of one treeview and one listbox side by side. The problem i'm having is that despite seemingly passing the same size to each control on creation...
December 15th, 2010, 04:40 AM
-mwindows is the equivalent in Mingw's g++...
oops, didn't see your edit up there, it's too early in the morning for me, ignore me.
December 10th, 2010, 10:45 AM
ahh yeah i get it now, then we just
list.push_back(JSONNode("", "whatever")); to populate our array. Brilliant, thanks for that... Quickest reply ever. I did see your username floating around...
December 10th, 2010, 10:00 AM
Is there anyone here who's experienced at using libjson who could give me a quick example by any chance? say i've got the following code
JSONNode root, child;
October 19th, 2010, 05:52 AM
According to http://msdn.microsoft.com/en-us/library/dd318086%28VS.85%29.aspx the int returned simply tells you the number of chars written to the buffer that the result is stored in. ie the fifth...
October 19th, 2010, 03:34 AM
Not having much luck with this are ya? thought about just using the C API directly instead? :P well the first thing to try (again) would be to make sure that it's definitely checking the right path...
October 18th, 2010, 03:04 PM
i don't see why not as long as you grab the right source for whatever distro you're using
October 18th, 2010, 02:10 PM
that's the one yep. I've just downloaded the lib and tried your code and end up with exactly the same issue. So I was wrong and it's obviously not a problem with not being able to locate the lib. It...
October 18th, 2010, 10:32 AM
that makes sense but then does it not normally complain about not being able to find a library named blah if you're trying to link it against the wrong name? Not only that but i've been using Mingw...
October 18th, 2010, 09:58 AM
where was the lib for mysqlconnector initially installed to? you don't have to move it you can just specify it's location on the command line. -l is for the addtional library names and then -L is for...
October 18th, 2010, 04:51 AM
it should be -lmysqlcppconn without the space. It might not be able to find the lib to link, you could try specifying the libs location by adding -L/c/path/to/lib.
October 15th, 2010, 06:21 AM
Someone else can probably give you a more in depth answer to this but in a word no you can't. You could on the other hand create your own device using a microcontroller with either onboard USB...
October 15th, 2010, 06:08 AM
First of all I'd just do std::cout << cNum << std::endl; rather than passing a pointer to it...... but then there's also one or two things that could also do with changing before it works properly....
October 12th, 2010, 09:53 AM
http://projecteuler.net/ is great for those mathy kinda programming problems...
July 21st, 2010, 07:03 AM
I've tried the same thing before, if it is on windows then you can use WinInet to create the HTTP requests and that for you. I've had slightly more sucess with that ...
Yeah as eri mentioned, it's not really looking good so far. movlw is just about the only bit of the instruction set for PICs I saw in your code. you may want to check out...
January 19th, 2010, 12:06 PM
Bah the problem is me obviously.
g_hRoot = InternetOpen("test", INTERNET_OPEN_TYPE_PROXY, "http://proxy", "8080", 0);Should be
g_hRoot = InternetOpen("test", INTERNET_OPEN_TYPE_PROXY,...
January 19th, 2010, 06:26 AM
Hey guys. I have a small problem trying to use the wininet API through a proxy. I appreciate there's plenty of threads more or less on this subject already but none seemed particularly relevant.
January 5th, 2010, 01:01 PM
Gah, lol yep it was as simple as that. Well, that's embarassing. Changing my original code's include order to
January 5th, 2010, 10:46 AM
Hey guys. I've got some code using the windows packet capture library (winpcap) that works fine when compiled with Visual Studio, but just won't compile with Mingw. After a few tweaks I think I've...
December 22nd, 2009, 10:00 AM
I think there's some useful functionality there deffo, will have to check it out when I get in from work. There's something you can integrate into your own (.NET) apps too...
December 22nd, 2009, 03:29 AM
thanks for the suggestions guys. Looks like might have to adapt my app a bit to C# to make use of fiddler class libraries but meh, needs must ....... I'll have to look into that further. I appreciate...
December 21st, 2009, 08:28 AM
Hey guys. At the moment I'm working on a program that can give a read out of the speed of any downloads. The method that seemed simplest was to use the Winpcap libraries in statistical mode, set the...
Click Here to Expand Forum to Full Width