- 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
Re:
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 … |
|
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:
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++){ … |
|
Re:
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 … |
|
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:
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. |
|
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:
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 … |
|
Re:
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) { … |
|
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:
[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 … |
|
Re:
Thanks In Advance [B][U]Please any one can suggest me how to get network statics of remote machine in C++ .... [/B] |
|
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:
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. |
|
Re:
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?? |
|
Re:
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. |
|
Re:
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. |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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? |
|
Re:
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 | … |
|
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:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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 … |