- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 10
- Posts with Upvotes
- 8
- Upvoting Members
- 5
- Downvotes Received
- 5
- Posts with Downvotes
- 3
- Downvoting Members
- 4
43 Posted Topics
Re: Are you asking how to sum the two numbers together or add the two numbers to an array? | |
Hi I've written this small program to demonstrate the Diffie–Hellman key exchange algorithm. The desired output from the program is for most runs correct. However occasionally there are some discrepancies in output of the shared secret keys values in that they don't match, when they should. I've found that certain … | |
Re: There are many tests you can perform on numbers to see if prime & one such test is known as the "Miller Rabin Test". I recommend reading about this test here [URL="http://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test"]http://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test[/URL] Its not an easy test to code without a good understanding of the algorithm, so here is a … | |
Re: I'm guessing your wanting to load a second form from a button click?, if so watch this video tutorial. [URL="http://www.youtube.com/watch?v=gpIZ3wvNxbo"]http://www.youtube.com/watch?v=gpIZ3wvNxbo[/URL] Also google "visual c++ MessageBox Class" & "visual c++ dialogresult"... | |
Passing Managed ByteArray to Native C++ DLL Anyone could help regarding passing ByteArray containing image data from axis camera to Native C++ DLL, Both compile OK, but DLL does not write ByteArray data to file?, just wondering if this is the correct way to pass ByteArray's to C++ DLL's here … | |
Hoping someone here on the forum's can put me right on the above matter, after reading some I thought I could achieve the task in the following steps... [B][Visual C++][/B] [1] Convert AxisMediaControl image to system object [2] Convert object to ByteArray [3] Convert ByteArray to CharArray [4] Assign CharArray … | |
Re: Go have a look here [URL="http://www.live555.com/liveMedia/"]live555.com[/URL] you find some useful info about video streaming RTP (and/or RTSP or SIP) & an already written library. Also take a look at [URL="http://www.videolan.org/"]videolan[/URL] Hope this helps | |
Hi Trying to create a xml file of bookmarks using the following code... [CODE] // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; //Create root doc->LoadXml( L"<bookmarks><name>Favorite Bookmarks</name></bookmarks>" ); for(int i = 0; i < this->listView1->Items->Count; i++) { XmlElement^ newElement = doc->CreateElement(L"bookmark"); //Add url XmlElement^ urlElem = doc->CreateElement( L"url" ); … | |
Re: First have a look at these tutorials [URL="http://www.win32developer.com/tutorial.shtm"]Winsock Networking[/URL] &/or you could take a look at cURL [url]http://curl.haxx.se/libcurl/c/example.html[/url] library examples & you could even use php/perl to do the job. | |
Re: define BinarySearchTree class & it's function/s | |
Hi Got a comboBox on a form where the user can add url favorites, When closing form using the following code. [CODE] // Create the XmlDocument. XmlDocument^ doc = gcnew XmlDocument; doc->LoadXml( "<item><name>Favorites</name></item>" ); for(int i = 0; i < this->ComboBoxBM->Items->Count; i++) { // Add a url. XmlElement^ newElem = … | |
Re: Hi Your code will now compile, so you now can see your programs logic... [CODE]#include <iostream> using namespace std; int main() { int num1 , num2 , num3; cout << "Please Enter Three Valid Integers Using The Keyboard\n"; cout << "enter interger 1\n"; cin >> num1; cout << "enter interger … | |
Re: [URL="http://www.boost.org/"]Boost[/URL] or [URL="http://curl.haxx.se/"]cURL[/URL] library may help you achieve this | |
Hi Got a webBrowser control on a form displaying ads from a server, trying to load page in the default browser when user clicks on a banner within webBrowser control, by default the control always load pages within IE Browser which is not really what one wants. This is about … | |
Re: Any one willing to help you will need a little more than that to go on, you may be missing some library or dll files etc... | |
Re: I recommend a read [URL="http://www.cplusplus.com/doc/tutorial/arrays/"]here[/URL] to start with | |
Re: You would do yourself a favour to attempt some coding yourself & then start a new thread to ask your question/s , rather than grave digging older threads[thread is 4 years old]. From the way your post reads it comes across as if you want someone to do it for … | |
Re: MySQL yes my choice too. Used it for years serious bit of kit, plenty of support on their forums & load of programming examples out there. If at any time you need to go with a full blown relational database server this one is a serious contender and you wound … | |
Re: You've identified the solution to your problem classes, try [URL="http://www.cprogramming.com/tutorial/lesson12.html"]here[/URL] | |
Re: Surely you have been given learning material which covers these topic's? | |
Re: Just out of interest googled the subject, it would seem that the language would be c or the seldom used assembly language rather than c++, although I could be wrong. Try this maybe of use [URL="http://www.pjrc.com/tech/8051/"]link[/URL] | |
Re: [URL="http://en.wikipedia.org/wiki/Microsoft_Visual_Studio_Express"]Limitations[/URL] The limitations of Visual C++ Express are: [B]No resource editor.[/B] No built-in MFC support. No built-in ATL support. No Profiler support (by using profiler information, you can determine which sections of your code are working efficiently). Does not support x64 applications (separate compiler available). No support for add-ins or … | |
Hi been using the following code to close an external program. [CODE]ShellExecute(0, L"open", L"taskkill.exe",L" /f /im program.exe", 0, SW_HIDE);[/CODE] However once in a while I get the dreaded windows blue screen, not sure what to make of the mini logs it produces. One suggestion on microsoft's site is that it … | |
Re: You may find reading about classes helpful? [URL="http://www.cplusplus.com/doc/tutorial/classes/"]http://www.cplusplus.com/doc/tutorial/classes/[/URL] | |
Re: & there are a few posts about primes in these forums. | |
Re: Hi I maybe wrong! but I don't think there's any problems with the try/catch. What you are getting back from the remote server is "it's own internal server error". You need to find out why the remote server is generating this error?, could it be invalid requests etc... The response … | |
Re: You need to include header file... #include "cv.h" | |
Re: As I understand it to be IplImage* is a image data structure in OpenCV, & its use is to set & get image properties. | |
Re: [QUOTE]An HTML form can be used to post data to a php script, but instead of HTML i need c++.[/QUOTE] Maybe look at cURL library [URL="http://curl.haxx.se/libcurl/c/postit2.html"]http://curl.haxx.se/libcurl/c/postit2.html[/URL] | |
Re: This may help you get started... [URL="http://www.cplusplus.com/reference/string/string/find/"]http://www.cplusplus.com/reference/string/string/find/[/URL] | |
Just started looking into visual c++ express 2010 today, no exp at all with this IDE anybody know how to remove these types of errors from project. [CODE]1>AXIMP : AxImp error : Could not load file or assembly 'Interop.MSHelpServices.1.0, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot … | |
Re: You can of course use pthread lib [URL="http://en.wikipedia.org/wiki/POSIX_Threads#Example"]http://en.wikipedia.org/wiki/POSIX_Threads#Example[/URL] for portability or windows own threading, tutorial here to get you started [URL="http://www.adrianxw.dk/SoftwareSite/index.html"]http://www.adrianxw.dk/SoftwareSite/index.html[/URL] | |
Re: [QUOTE]My question is,it is posible to create in the same program a ServerSocket to listen for incoming connections,and a ClientSocket to client to a specific address: [/QUOTE] Something I've been expermenting with these past few days. I got this working by running server/client classes in there own threads & used … | |
Re: I think they did provide a solution on one the threads... [ICODE]"Please upgrade to a newer IDE/compiler like code::blocks with the MinGW compiler. It's free!"[/ICODE] | |
Re: Something on the lines of Subset the data set into multiple smaller data sets that have a manageable sort size for your system. Then perform your sort algorithms on these's smaller data sets & then merge sorted data sets. Finally chuck that old pc into the canal, buy a decent … | |
Re: This is by no means a direct solution to your problem but the code snippet here does demonstrate a method of decimal to binary conversion & string concatenation. It basically takes three ANSI decimal values 120=x, 121=y & 122=z & converts them to their binary equivalents & concatenates them into … | |
Re: [CODE]/*********************************************************** if a valid prime number return true or false ***********************************************************/ int is_prime(int _iVal) { char bPrime; bPrime = true; for (int ii(2); ii < _iVal / 2; ii++) { if (!(_iVal % ii)){ bPrime = false; break; } } return bPrime; }[/CODE] Would be better | |
Hi Just written a small C++ program to try the Public & Private Key Algorithm process, the program seems to function properly as intended in that it decrypts a message sent from Bob using Alice's Public key. [CODE]#include <iostream> using namespace std; /*********************************************************** XOR Process for both encryption/decryption processing ***********************************************************/ … | |
RE: Using C++ MD5 hash for software verification & licence files Hi The last few days I've been searching the net for ideas about building in some sort of software protection/security schema within a development for educational but perhaps more importantly to understand good & bad security coding/practises do's & … | |
Hello I'm looking for the correct method/way for reading & writing raw JPEG image binary data. I am obtaining the raw data via TCP stream, the official JPEG specs say that the raw JPEG image data starts at HEX value 0xffd8 & ends at HEX value 0xffd9 as below... [CODE]Start … | |
Hi I'm looking for good tutorial/s about using boost::regex with c++ code examples any links would be really helpful... Many Thanks Steve PS not tuts about setting up boost, done that already. | |
Hello I'm looking to extract jpeg image data from a mjpeg stream, but I'm not sure how to do this in c++ . The code snippet below does the job of connecting to the remote ip camera server & receives the mjpeg stream via tempBuffer variable. [CODE] // Loop and … |
The End.