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
~24.7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for AmerJamil

i have to get 2 numbers (each of length 20 digits) from user and have add them and display the result (using arrays) . i have no idea how to add such a long digit number...please tell me how can i add both numbers. your quick response will be highly …

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
983
Member Avatar for SolidSora

I'm trying to write a program that prints out all prime numbers from 1 to 300. It isn't working the way I want it to. Right now it appears to have caused an infinite loop. Here is my code. [CODE]#include<iostream> #include<iomanip> using namespace std; int main(){ for(int i=0; i<=300; i++){ …

Member Avatar for Mahfuz_1
0
307
Member Avatar for kirenemook12

Hello everyone I am trying to make a app. witch uses windows that pop-up if a button is pressed. the problem is, i don't know how to make more than one window. Can anyone tell me how to do that? I am using Microsoft Visual Studio 2010 Express, in a …

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
544
Member Avatar for iamthesgt

I was reading through the SIP documentation and was confused on a few things. I can't figure out what code to implement to open a transaction between a server and client. What IP address and port and what encoding should I use (for a video server). Thanks for any help.

Member Avatar for ziggystarman
0
319
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
76
Member Avatar for sergent
Re: Bot

I know I may not be ready for this but I want to make a client side application that will talk to a server and be able to inspect element. I know some Windows APIs and C++ but I am not sure how to log in the web-site with the …

Member Avatar for sergent
0
137
Member Avatar for aragant

HEY i am trying to resolve my problem here is the code and the error [quote]2 [main] PA4 2768 exception::handle: Exception: STATUS_ACCESS_VIOLATION 2331 [main] PA4 2768 open_stackdumpfile: Dumping stack trace to PA4.exe.stackdump [/quote] Function [code] void BinarySearchTree::Insert(int val) { BSTNode *node, *p; cout<<node->GetLeftChild(); cout<<node->GetLeftChild(); p=root; node->setData(val); node->SetLeftChild(0); node->SetRightChild(0); if(p==0) { …

Member Avatar for mrnutty
0
193
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
199
Member Avatar for Deepo

[CODE]#include <iostream> using namespace std; int main( ) { int num1 , num2 , num3; cout << "Please Enter Three Valid Integers Using The Keyboard"; cin >> num1 , num2 , num3; if {num1 => num2} && {num2 => num3} else num1 + num2; if {num2 => num1} && {num1 …

Member Avatar for emanfman
0
247
Member Avatar for mahendra maurya

Thanks In Advance [B][U]Please any one can suggest me how to get network statics of remote machine in C++ .... [/B]

Member Avatar for L7Sqr
0
139
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
689
Member Avatar for shauzi158

People, i have downloaded a game cod from the internet and it wont run.. it always gives a linker error and i don't know what to do. i am new to allegro game development and i really need help.

Member Avatar for rubberman
0
74
Member Avatar for frenzra

how we write array for dis problem: int movie title; int no of customer ; int no of day ; double ticketprice ; double drinksprice ; double studentprice ; anyone knows??

Member Avatar for frenzra
0
109
Member Avatar for trobinson6453

I need to create an integer array with 10 elements, write a function that will have the user enter the data. The function will return nothing and has 2 parameters, the array and the size of the array.

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

Hi,i am looking for a light relational database server with the ability to recover after a crash.I am not looking for sqlite or any other single file db system.

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

I have 5 programs that works 100% I need to integrate them in one code using this code in the main [CODE] int A; cout<<" Enter Your Choice"; cout<<"1. Algorithm A ."; cout<<"2. Algorithm B ."; cout<<"3. Algorithm C"; cout<<"4. Algorithm D"; cout<<"5. Algorithm E"; cin>> A; if(A==1) { //call …

Member Avatar for ziggystarman
0
129
Member Avatar for Deepo

Hey everyone , I have a Mid semester Exam next week and I need to study the basics of programming a C++ programs. can anyone recommend or help me with some basics or link me something which could help me revise things faster and make it easier. i am sturggling …

Member Avatar for jonsca
0
216
Member Avatar for kchyn

Hi, I'm programming something for a micro-controller and I need a compiler that can turn c++ into .bin Anybody have any idea where to get one?

Member Avatar for ziggystarman
0
355
Member Avatar for tomtetlaw

For some reason my resource file isn't getting compiled when I compile in VC++ 2010 express. Even when I make changes to the .rc file. This is the contents of it: [code=c++] #include <windows.h> #include <commctrl.h> #include "resource.h" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US IDD_ASSERT DIALOGEX 150, 100, 180, 180 STYLE DS_MODALFRAME | …

Member Avatar for tomtetlaw
0
203
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
176
Member Avatar for Derek Elensar

Hello, I was working with my C++ homework, and I wanted to combine a couple of projects. Now I've never done anything with project-projects before... it's all been one-file console applications in single "*.cpp" files. Well, I tried my hand at combining two projects into one project file, so I …

Member Avatar for Derek Elensar
0
226
Member Avatar for Despairy

im looking for a more efficient algorithm, is there any known one? ive checked my math books and c++ book and really didnt find anything more efficient than the following : [CODE] int first_prime(int num) { for (int i=2;i<sqrt(num);i++) { if (num%i==0) { if (isprime(i)); return(i); } } } bool …

Member Avatar for Despairy
0
1K
Member Avatar for TailsTheFox

Hello, In my program, I needed to do some functions that are found in windows.h, but I got an error saying that it could not find any of the following: [ICODE]#include <Windows.h>[/ICODE] [ICODE]#include <windows.h>[/ICODE] [ICODE]#include <Windows>[/ICODE] [ICODE]#include <windows>[/ICODE] Could someone please upload a coppy of windows.h for me, and [COLOR="Red"]PLEASE …

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

The below code do connects to the server successfully. It is a working code. Now for example is not the server avaliable. So I receive this error even that I have put this in a try{}catch{} The error is below, and I wonder how I can [B]shut this error off …

Member Avatar for Jennifer84
0
376
Member Avatar for SWEngineer

I have typed the following program from [I]Learning OpenCV[/I] book: [CODE] #include "highgui.h" int main(int argc, char *argv[]) { IplImage *img = cvLoadImage(argv[1]); cvNamedWindow("Example1", CV_WINDOW_AUTOSIZE); cvShowImage("Example1", img); cvWaitKey(0); cvReleaseImage(&img); cvDestroyWindow("Example1"); } [/CODE] When I try to build it using `Eclipse CDT`, I get the following (Any ideas?): [CODE] **** Build …

Member Avatar for ziggystarman
0
1K
Member Avatar for SWEngineer

What is [B]IplImage [/B]in OpenCV? Can you just explain what is meant by it as a type? And, when should we use it? Thanks.

Member Avatar for ziggystarman
0
81
Member Avatar for Staggasaurarts

Hi, i would like to send data from a C++ application to a php script i am creating that will then put it into a mysql database after manipuating it a bit. If you don't get what i mean then think of it like this. An HTML form can be …

Member Avatar for ziggystarman
0
1K