Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
66% Quality Score
Upvotes Received
10
Posts with Upvotes
8
Upvoting Members
5
Downvotes Received
5
Posts with Downvotes
3
Downvoting Members
4
3 Commented Posts
0 Endorsements
Ranked #2K
~25.3K People Reached
Favorite Forums

43 Posted Topics

Member Avatar for AmerJamil

Are you asking how to sum the two numbers together or add the two numbers to an array?

Member Avatar for JamesCherrill
0
1K
Member Avatar for ziggystarman

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 …

Member Avatar for logicslab
0
992
Member Avatar for SolidSora

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 …

Member Avatar for Mahfuz_1
0
319
Member Avatar for kirenemook12

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"...

Member Avatar for Ancient Dragon
0
1K
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
2K
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
549
Member Avatar for iamthesgt

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

Member Avatar for ziggystarman
0
331
Member Avatar for ziggystarman

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" ); …

0
81
Member Avatar for sergent
Re: Bot

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.

Member Avatar for sergent
0
143
Member Avatar for aragant
Member Avatar for ziggystarman

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 = …

Member Avatar for ziggystarman
0
200
Member Avatar for Deepo

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 …

Member Avatar for emanfman
0
251
Member Avatar for mahendra maurya

[URL="http://www.boost.org/"]Boost[/URL] or [URL="http://curl.haxx.se/"]cURL[/URL] library may help you achieve this

Member Avatar for L7Sqr
0
143
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
698
Member Avatar for shauzi158

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...

Member Avatar for rubberman
0
86
Member Avatar for frenzra

I recommend a read [URL="http://www.cplusplus.com/doc/tutorial/arrays/"]here[/URL] to start with

Member Avatar for frenzra
0
112
Member Avatar for trobinson6453

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 …

Member Avatar for ziggystarman
0
53
Member Avatar for boot-baby-boot

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 …

Member Avatar for boot-baby-boot
0
163
Member Avatar for ekailan

You've identified the solution to your problem classes, try [URL="http://www.cprogramming.com/tutorial/lesson12.html"]here[/URL]

Member Avatar for ziggystarman
0
143
Member Avatar for Deepo
Member Avatar for jonsca
0
222
Member Avatar for kchyn

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]

Member Avatar for ziggystarman
0
366
Member Avatar for tomtetlaw

[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 …

Member Avatar for tomtetlaw
0
206
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
180
Member Avatar for Derek Elensar

You may find reading about classes helpful? [URL="http://www.cplusplus.com/doc/tutorial/classes/"]http://www.cplusplus.com/doc/tutorial/classes/[/URL]

Member Avatar for Derek Elensar
0
228
Member Avatar for Despairy
Member Avatar for TailsTheFox
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
384
Member Avatar for SWEngineer
Member Avatar for SWEngineer

As I understand it to be IplImage* is a image data structure in OpenCV, & its use is to set & get image properties.

Member Avatar for ziggystarman
0
82
Member Avatar for Staggasaurarts

[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]

Member Avatar for ziggystarman
0
1K
Member Avatar for jasoncastro

This may help you get started... [URL="http://www.cplusplus.com/reference/string/string/find/"]http://www.cplusplus.com/reference/string/string/find/[/URL]

Member Avatar for WaltP
0
126
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
167
Member Avatar for SourabhT

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]

Member Avatar for ziggystarman
0
115
Member Avatar for vbx_wx

[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 …

Member Avatar for vbx_wx
0
168
Member Avatar for koundinya

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]

Member Avatar for koundinya
0
123
Member Avatar for apanimesh061

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 …

Member Avatar for ziggystarman
0
114
Member Avatar for Thuthu001

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 …

Member Avatar for vijayan121
0
2K
Member Avatar for frogboy77

[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

Member Avatar for frogboy77
0
119
Member Avatar for ziggystarman

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 ***********************************************************/ …

Member Avatar for ziggystarman
0
4K
Member Avatar for ziggystarman

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 & …

Member Avatar for ziggystarman
0
311
Member Avatar for ziggystarman

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 …

0
108
Member Avatar for ziggystarman

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.

Member Avatar for ziggystarman
1
236
Member Avatar for ziggystarman

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 …

Member Avatar for ziggystarman
0
2K

The End.