49,761 Topics

Member Avatar for
Member Avatar for MairiRobertson

I'd be interested to hear your views on which IDE is best for developing in C++ - Eclipse orMS Visual Studio. What are the positives of each and what are the negatives? Many thanks Mairi

Member Avatar for mike_2000_17
0
158
Member Avatar for +_+man

[COLOR="Red"][U]Need Help Making Keylogger[/U][/COLOR] Hi everyone, My name is hayzam and i want to make an advanced keylogger and what to put it in a USB So when I connect my usb it will open automatically and it must be invisible one more thing i am a newbie to C++ …

Member Avatar for bhanumaurya
0
380
Member Avatar for ChristinaS

Hi! I have a program I'm working on for class (CSC 150). I have to read a pgm file into an array, copy it to a second array, manipulate the image and then output to a second file. I'm having a heck of a time figuring out how to do …

Member Avatar for Clinton Portis
0
202
Member Avatar for cshemby86

I have to load two arrays, merge the two arrays into a third array, then create a control break report on name while outputting the most frequent style, then sort the array by style and to a control break on style. Can someone look at my code and see if …

Member Avatar for cshemby86
0
255
Member Avatar for ajireland

Hello, everyone. I'm having a hard time trying to figure out how to declare and initialize my dynamic array of objects. Here is the class definition and constructor definition: [CODE=C++]class SavingsAccount : public BankAccount { public: SavingsAccount(char, int, string, double, int, double=2.00, double=0.0, double=0.0); double getinterestR() const; double getaverageDailyBalance() const; …

Member Avatar for mitrmkar
0
238
Member Avatar for scoob

i am trying to import into a 2d array the following: line one : gpa e.x.[2.3,5.1,....] ^ ^ | | line two : id e.x.[1 ,2 ,....] and after that to sort the gpa in a descending way but in the same time the id to follow each ones gpa. …

Member Avatar for scoob
0
228
Member Avatar for puretnaant

Hi, Im trying to run this program using dynamic memory i cant seem to get it to keep running it crashes on me. I have the working program so the code is correct im just haveing trouble trying to convert it correctly. Thank You, [CODE]#include <iostream> #include <fstream> using namespace …

Member Avatar for daviddoria
0
169
Member Avatar for ak47kumar1

hey guys, I am a beginner and am having trouble loading data from an external data file and then loading it to the screen. It is supposed to be the temperatures from everyday for a year for 2 years. 1 column is 1930 the other 2000 This is my script, …

Member Avatar for ravenous
0
111
Member Avatar for stripe

Ok, so I have most of the code working but I've been up for over 24 hours and I just cannot seem to get the test score to come out. Here's my code, hopefully someone with fresh eyes can spot my error, I know it has to be something simple …

Member Avatar for stripe
0
152
Member Avatar for Diogo Martinho

[CODE]void BinarySearchTree::inorder(tree_node* p) { if(p != NULL) { if(p->left) inorder(p->left); cout<<" "<<p->data<<" "; if(p->right) inorder(p->right); } else return; } [/CODE] This sample of code works fine if I use it to test valuables that are primitive, example: integer I wanted to be able to transform that, so, if for example …

Member Avatar for Diogo Martinho
0
96
Member Avatar for aaronmk2

My program runs, but I am getting this message which I am fairly sure means that I have a memory leak and it is coming from my destructor. Assignment2(779) malloc: *** error for object 0x100100120: pointer being freed was not allocated I don't know what I am doing wrong. Since …

Member Avatar for iopp
0
1K
Member Avatar for malayasthana

what does error code -25922 means.. it is coming as a value of error in my programs line error = sPSActionControl->Play(&result, eventMake, desc000001B0, plugInDialogSilent); i want to know what this error code stands for.. please help me

Member Avatar for ravenous
0
126
Member Avatar for shakssage

I'm trying to move functions that I have created in my .h files into the .cpp files of my winForm application. I don't really know how to get this to work. Example code in .h: [CODE]void loadCustomerDetails() { SQLiteConnection^ ObjConnection = gcnew SQLiteConnection("Data Source=SwiftService.db3;"); SQLiteCommand^ ObjCommand = gcnew SQLiteCommand("SELECT * …

Member Avatar for jonsca
0
429
Member Avatar for ChristinaS

Hello! This is my first time attempting to get help but, alas, I'm desperate! I have been working on this program for a class (and it's due at midnight). I can't seem to grasp moving data in and out of arrays using nested for loops. it's a matter of entering …

Member Avatar for ChristinaS
0
136
Member Avatar for DarthMustard

Hi, I am writing a simple program modeling client/server interaction. I want the server to be capable of handling multiple connections. To implement this, I have been using _beginthreadex, passing references to sockets to the child thread. For example: [code]while(1) { SOCKET sClient = accept(ListenSocket, NULL, NULL); ... child = …

Member Avatar for thelamb
1
748
Member Avatar for deanus

Hi all, I've built a Queue class which basically uses dynamic memory allocation to make an array grow with every new element inserted. It compiles and works perfectly under dev c++, but when I included the class in a VC++ 10 Express project and instantiated an object from it, the …

Member Avatar for deanus
0
140
Member Avatar for shamsu50

ive been told to put all my sql statement together but i jus keep getting lots of errors with local variables in my vc++ project. sql.h[CODE]#ifndef __SQL_H__ #define __SQL_H__ #include "stdafx.h" #include <iostream> #include <string> using namespace std; using namespace System::Data::SQLite; using namespace System::Data; using namespace System::Windows::Forms; using namespace System; …

Member Avatar for mike_2000_17
0
130
Member Avatar for DaSpirit

I am using Visual C++ Express Edition on Windows, and I am look at the windows task manager and I noticed that every second, in the process tab the memory of my C++ program increases about 8 K when I am not even doing anything. Also, I've noticed that if …

Member Avatar for mike_2000_17
0
602
Member Avatar for NVR_@!2107

what does it mean by "error: expected unqualified-id before '=' token|" "|error: `i' was not declared in this scope|" "error: `cout' was not declared in this scope|" "error: `endl' was not declared in this scope|" for this code. int main() { for(int = 1; i < 100; i += 2) …

Member Avatar for group256
0
110
Member Avatar for SabinIvy

Ok, so I want to create an alternate way of creating this: *________* **______** ***____*** ****__**** ********** ****__**** ***____*** **______** *________* Note: The right side is supposed to lookjust like the left side. Note 2: Replacing the underscores with asterisks(*) This is the code I have so far, but I …

Member Avatar for Clinton Portis
0
223
Member Avatar for Suzie999

I wanted to make a program to help me find the locations of some double valuse in current process memory. I found some code snippets to study, but Im failing at the first hurdle. First let me be clear that I am not the author of the below code, but …

Member Avatar for Suzie999
0
225
Member Avatar for ScreamingPsycho

Hello, I really could use some help with this hangman program. I have searched all over the internet to find an answer that i can understand. I'm a beginner at C++ programming. This program prompts the user to enter a phrase. then you guess letters. if a letter is wrong …

Member Avatar for ScreamingPsycho
0
164
Member Avatar for pottart22

/*My problem is on line with outdata1<<A3[p]<<endl; its says no operator found, help would be much appreciated*/ #include <iostream> #include <fstream> #include <string> using namespace std; struct Data { string salesperson; string style; double price; int quantity; }; int x; int y; int i=0; struct Data A1[100], A2[100], A3[100]; int …

Member Avatar for daviddoria
0
219
Member Avatar for anglwthnati2de

Hi I have never used vedctors before so I am just wondering if this is correct or not. If not, would you mind showing me the correct way to use it? [CODE]cout << fixed << setprecision( 2 ); vector < Employee * > employees( 4 ); employees[ 0 ] = …

Member Avatar for DarthMustard
0
117
Member Avatar for MilesTailsProwe

Hello, I am trying to develop a program that will not show untill a boolian is set to [ICODE]false[/ICODE], but I am having trouble making the code work. Here is the code I am using to start the program; [CODE]#include "stdafx.h" #include "Form1.h" using namespace Program; [STAThreadAttribute] int main(array<System::String ^> …

Member Avatar for jonsca
0
172
Member Avatar for jmcorpse

Hello, Can some one give me a hand on my search algorithm? I know it's not working right and am not sure how to make it work properly. It is on line #'s 69 to 73. It has to search for the name that is already stored in the array …

Member Avatar for Agni
0
334
Member Avatar for z1ggy

Hey everyone, I currently am creating a Card shuffling program in C++, Ive taken care of the shuffling of the deck. Now I just need to distribute a hand of 5 cards, and determine hands. Can anyone help? Please! cardheader.h ( includes both Class Card & Deck ) [CODE] #ifndef …

Member Avatar for z1ggy
0
2K
Member Avatar for LampOil

I need some code in C Or C++ witch produces a Dialog box with an embedded active X control witch Utilities The GUID & Control name & file name to find the ActiveX control I need it to compile in borland C++ 5 & work with 9X & Nt ATL.dll …

Member Avatar for LampOil
-2
161
Member Avatar for lasl0w

Hey all, I'm writing a program that is an address book using an AVL Node structure (which was provided). I defined the [I]contact[/I] class as the ItemType of the data to be inserted in each node. Initially I encountered a Segmentation fault that occured during the assignment from the AVLClass …

Member Avatar for lasl0w
0
988
Member Avatar for acv528k

This one seems really simple but for some reason I'm not getting it! Here's the problem: USING A FOR LOOP, read 4 lines of input from the user and display it on the screen. I made my code, which works, but it only reads the first line the user has …

Member Avatar for alexchen
0
143

The End.