49,756 Topics

Member Avatar for
Member Avatar for Spanki

I need to make a program to create an array of doubles. Array of sales for 10 shops in a center .Load this array from a file at the start of the program. Use a menu to allow display and update of this array. Allow access to the shops array …

Member Avatar for Narue
0
98
Member Avatar for ashishchoure

hi, can anyone tell what is major difference between vs2005 and vs6. i want to know coding related difference not related to UI.In what extent vs2005 different for c++ from vs6

Member Avatar for ashishchoure
0
144
Member Avatar for bancje

I am trying to understand how to check for a COM error when I am using a C++ COM client. I realise that HRESULT can be checked but what confuses me is exposed methods that also specify a parameter of type [retval,out]. For a COM object that returns eg. a …

Member Avatar for bancje
0
97
Member Avatar for torchedintexas

Runge-Kutta is supposed to be used to obtain the numerical solution to a boundary layer problem. I'm trying to get the output to go to excel where it will show me the values for G1, G2 and G3 but it won't go to excel. Please help! [code] #include <iostream> #include …

Member Avatar for jencas
0
127
Member Avatar for rickster11

Ok, I tried and tried some more, if someone could push me in a right direction or point out the obvious for me that would be great. The dates have to be between the years 1900 and 2099, so I was thinking if I could calculate the amount of days …

Member Avatar for vmanes
0
93
Member Avatar for free radical

Hello all. I am working on a little program here and need some help. The input is 3 test grades that are out of 50 points total, the program takes the higher of the first 2 test grades and adds that to the last test grade to determine a final …

Member Avatar for free radical
0
116
Member Avatar for monkey_king

Hi, I'm considering using some boost stuff for my next project. But it's quite essential, that the program can be ported to multiple platforms with different setups. I've always used -ansi -pedantic -Wall And so far the projects has been working on sun/gnu/intel compilers, on both windows and linux. But …

Member Avatar for monkey_king
0
91
Member Avatar for billgone

Can anyone please help me make a program that does following: i enter first string then i enter the second string i.e. first string: "abcxyzefg" second string:"xyze" and the program should the write a new string without the second string in the first one i.e "abcfg" thank you

Member Avatar for Mazzin
0
76
Member Avatar for pagu

Dear all I made a code in C++, for data processing. The code read, processing and write the output several times. The process abort when the output file get 2Gb fo size. I know that it is not a disk limit. Is that a flag mistake on the makefile? thanks

Member Avatar for nucleon
0
100
Member Avatar for scuba6388

I am making a program that takes a binary number (a boolean array) and gives numerous representations. For example, Enter binary (8 bits): 10001000 -Unsigned int: 136 -Hexadecimal: 88 -Octal: 210 -Two's complement: -120 -Sign magnitude: -8 -One's complement: -119 -Excess-127: 9 -ASCII: N/A -Pep/8: SUBX immediate -Floating-point: -0.125 I …

Member Avatar for NicAx64
0
98
Member Avatar for siddhant3s

Well, first of all I will speak much so that you guys can target my problem better. Hello, I am a poster from the C++ forum. Hence, I am a well established C++ programmer. Now I want to learn Python. First of all, should I? I mean, keeping in mind …

Member Avatar for sneekula
0
764
Member Avatar for Sarlacc

How do i go about creating an app in mfc where there is a series of buttons and when you press one it loads an image, then if you press another one a different image loads? i am using vc++ 2008 to do this

Member Avatar for Sarlacc
0
158
Member Avatar for deadmancoder

Hello mates, i am pretty new to this forum.. i am a midrange c++ programmer. if i have to create an IDE in c++ that involves basic drawing tools, what should i learn and where should i start?? is it a big task? can anyone explain me or direct me …

Member Avatar for NicAx64
0
219
Member Avatar for XGeniuS

I used [URL="http://www.daniweb.com/forums/thread131545.html"]this[/URL] example, to create screen shot.However, this create very big file (1280x1024 = 5MB). Is there anyway to resize this file without including another libraries??

0
64
Member Avatar for PoZHx

Ok i've created basic DLL and DLL Injector/Loader which the DLL calls on a function called CreateRemoteThread inside the target process i was wondering how to code DLL to read/write to memory so e.g. lets say my target process is: [CODE]int main() { int mytest = 2; system("PAUSE"); return EXIT_SUCCESS; …

Member Avatar for PoZHx
0
785
Member Avatar for shyterrice

Hello, I'm currently working on a project for an internship utilizing microwave scanners. I am using MatLab/C++. I have been able to get my scanner lense to move when instructed to do so by the user, however I would like for the lense to be able to auto adjust before …

Member Avatar for Ancient Dragon
0
136
Member Avatar for slik33

I am working inside a function and am already passing back a value. Inside the function I am using cin to get an int from the user. If they want to quit they type q. The input buffer fails when this happens. I could use an if statement and then …

Member Avatar for kenji
0
96
Member Avatar for GDICommander

I need help with the code below. At root->removeChild(nodeToRemove), I have a NOT_FOUND_ERR code. It is not supposed to return this code, because I look in the DOM Tree with IsInDocument. Can someone tell me what's wrong with this code. I'm becoming blind with this code. [CODE] DOMNode* nodeToRemove; if …

Member Avatar for GDICommander
0
158
Member Avatar for lllllIllIlllI

I am using this code here: [code=c++] #include "stdafx.h" #include "windows.h" int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; } [/code] But no matter what i do i keep getting this built error: ------ Build started: Project: Gui, Configuration: …

Member Avatar for lllllIllIlllI
0
272
Member Avatar for nsvanjani

hello programmers is there any win32 api or technique by which we can fetch the address of the active window of explorer(not the internet explorer) please help

Member Avatar for MrSpigot
0
111
Member Avatar for tendolm

I want to apply heat on a tube surface (3D). The heat is to be applied on a straight line on the tube. The equation of line is x= 87.5 y = 126.1620 + (-1*1004.0820) z= 166.1620 + (-1*-1004.0880) Since x is constant is given asposition holder, real x[ND_ND]; For …

Member Avatar for tendolm
0
292
Member Avatar for karthik.c

hi guys im trying to write a makefile which contains :two cpp files and two header files. now i've put cppfiles in a folder called source whose path is: /root/workspace/source and header files in a folder called header whose path is: /root/workspace/makedemo/header my makefile is in the path:/root/workspace/makedemo my makefile …

Member Avatar for karthik.c
0
151
Member Avatar for eviocg

The program psexec runs any command remotely on another computer. the syntax is "psexec \\RemoteComputer cmd.exe" I want to run "start "www.website.com" on computers a19-(01-29) any help would be appreciated [CODE] #include <cstdlib> #include <iostream> #include <string> #include <sstream> using namespace std; int main(int argc, char *argv[]) { int compNum; …

Member Avatar for nucleon
0
130
Member Avatar for Dontais

For the line Point::setPoint(... it tells me that it is invalid and I set it to Point::&setPoint(.. with then stats it is a illegal operation. I'm a little lost on this one anyone mine pointing me in the right direction. [CODE]class Point { public: Point(double=0.0, double=0.0); Point &setPoint(double xPoint, double …

Member Avatar for VernonDozier
0
219
Member Avatar for azStudent

Why would I get a Segmentation Fault error? It compiles fine with g++, but gives an error when it runs. [code] void blowUp(char *board, int *boardSkin, int row, int column) { //set the board's 'skin' to 1, (meaning it will be displayed) *(boardSkin +(row * columns) + column) = 1; …

Member Avatar for azStudent
0
126
Member Avatar for Avaviel

Here is the [url=http://dl.getdropbox.com/u/297962/Lab7.zip]whole project[/url], in a zip file. I'm having trouble getting the delete function to work. I can delete head just fine, but when I try to delete either something at the end, or something in the middle, it does not work out. I'm sure it has something …

Member Avatar for Avaviel
0
111
Member Avatar for odonal01

HELP ME!!! /* Read from a file called “data.txt”. <ID> <Product> <Number ordered> <Manufacture Price> <Selling Price> Example Input: 1111 Dish Washer 20 250.50 550.50 2222 Micro Wave 75 150.00 400.00 3333 Cooking Range 50 450.00 850.00 4444 Circular Saw 150 45.00 125.00 */ #include <iostream> #include <fstream> #include <string> …

Member Avatar for VernonDozier
0
151
Member Avatar for star4ker

I am having trouble with this program which was solved before, but I am still having an issue with the final code. Here is the assignment prompt: Write a program that asks the user to order an ice cream treat. The user selects the type of ice cream, the type …

Member Avatar for seanhunt
0
4K
Member Avatar for slik33

So I made all the functions for a project where I was supposed to take input from the user through a menu and make an array and do various things with it. Two things I couldnt figure out were how to Lock and unlock the array, and then I also …

Member Avatar for Narue
0
120
Member Avatar for Nemoticchigga

I have an vs2005 forms application running a thread to constantly try and receive data via ethernet. My problem is once I get the data I want to pass it up through some object oriented layers. When I try to make a call to one of the layers sampleLayer->blah(); I …

0
88

The End.