49,761 Topics

Member Avatar for
Member Avatar for manzoor

Hi i have to complete a program which do the following If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 …

Member Avatar for manzoor
0
109
Member Avatar for Jennifer84

I am trying to delete what is written in a textBox like this in C++ .NET. When pressing the button the text/Numbers I have written in the textBox doesn´t deletes. I beleive 0 is the index from where to begin the delete wich should be from the first character in …

Member Avatar for Jennifer84
0
177
Member Avatar for wasde

Hello Please provide me the list of software development companies specialises in the development of custom software applications which deals with custom programming, database design, client-server and internet/intranet software application development on all platforms including windows, Linux, Mac.

Member Avatar for ithelp
0
37
Member Avatar for bleonard989

I am pretty new to c++, and have never worked with stack or templated classes before. I have started this program, but I am not done, I was wondering if I am at least on the right track, because I get a ton of compile errors. The assignment: Implement the …

Member Avatar for mitrmkar
0
518
Member Avatar for behnaz

hi, i have 1 question ebout this file : in the program , when we include this file? #include<dos.h> #include<graphics.h>

Member Avatar for WaltP
0
66
Member Avatar for sfurlow2

For my homework assignment, we were asked to: Prompt the user for a positive number and get it from the user. Print each integer from 1 up to and including the user's number and the sum of all the integers from 1 up to and including each integer. Your output …

Member Avatar for codeaa
0
147
Member Avatar for jesseb07

hi, this should be a fairly simple question to answer. I have a function in my program that takes the content of a text file and populates an array with all the information. First it has to see how many lines the file has (as it can change) so it …

Member Avatar for jesseb07
0
6K
Member Avatar for gabs

[COLOR=#555555]Hi all![/COLOR] [COLOR=#555555]Can anyone tell me where can I find a source that will help me learn visual c++ win32, without com and mfc, just pure basic, visual c++?[/COLOR] [COLOR=#555555]I already programmed different programs, but I am having trouble, when I try to add more windows to my program, I …

Member Avatar for reddy_rajesh100
0
74
Member Avatar for farag

Hello Please, i need someone to help me doing this simple program I want a program that keeps tracking of the profile of program execution Input: A source code Process: Keeps track of the the profile of program execution Output: Display the original source code with line number and profile …

0
53
Member Avatar for angellove40

Q .1 )An election is contested by five candidates. The Candidates are numbered 1 to 5 & the voting is done by marking the candidates number on the ballot paper.Write a prog to read the ballots and count the votes cast for each candidate using an array variable count. In …

Member Avatar for vmanes
-1
122
Member Avatar for tones1986

Hey folks. I am working on a project that adds additional information to previous projects. Basically, for ezch project i have added another header file with cpp file. For example, originally we just had an Employee.h and Employee.cpp file which contained a class for employees containing name, department, and SSN. …

Member Avatar for tones1986
0
156
Member Avatar for kylcrow

Hello, I have to write a shopping cart class in c++ and I am getting a core dump, and I have no idea why. I know where it is core dumping. Its dumping at 2 places-> Shopping_Cart::Print(Shopping_Cart* head) and Shopping_Cart::TotalPrice(Shopping_Cart* head) Here are my 3 files... shopping.h [CODE=C++] #ifndef SHOPPING_CART_H …

Member Avatar for Ancient Dragon
0
315
Member Avatar for prushik

What is the easiest way to get a user input string (char array) from within an OpenGL program? It doesn't have to look good, this is just for debugging purposes. Thanks.

Member Avatar for prushik
0
85
Member Avatar for Jboy05

Consider the following function prototypes and variable declarations: void Func1 (double, char &); bool Func2 (double, double); double Func3 (bool); double d1, d2; char c; Without additional function or variable, how do I write ONE C++ statement to call ALL THREE functions: Func1, Func2, and Func3?

Member Avatar for vijayan121
0
116
Member Avatar for Nemoticchigga
Member Avatar for Barbarrosa

Hello, I've been trying to figure out this problem for a while now and cant figure it out. What im trying to do is assign a value to a location in an array. SIMPLE! isnt it. well heres my problem. int main(){ int array[1][1]; . . . array[0][1]=-1; array[1][0]=-2; cout<<array[0][1]<<" …

Member Avatar for Ancient Dragon
0
108
Member Avatar for behnaz

Hi , I Want To Khow About How I Can Start The Turbo C++, I Want To Develope This Program: Develope A Graphical Analog Clock . You Should Be Able To Set The Clock Alarm And Your Clock Should Ring At The Time Set. Please Help Me About This Program.

Member Avatar for Duoas
0
155
Member Avatar for CoolGamer48

Hey, So, my understanding of header files so far are that they're basically code that can be used by multiple .cpp files. But if you have a prototype in a file.h that's declared in a file.cpp that includes file.h, and then FILE.cpp includes file.h, does FILE.cpp have access to the …

Member Avatar for Ancient Dragon
0
176
Member Avatar for cosmos22

I'm trying to open a file, using the ifstream function. I'm using a .jpg image as an example, but it doesn't work, any ideas? Thank you. [code=c++] int main(int argc, char *argv[]) { char file[20]; strcpy(file,"C:\\Fraps\\1.1.jpg"); ifstream outfile; outfile.open(file); return 0; } [/code]

Member Avatar for Ancient Dragon
0
210
Member Avatar for behnaz

when we use this file: #include<graphics.h> #include<stdio.h> #include<conio.h>

Member Avatar for Ancient Dragon
0
104
Member Avatar for rwagnes

I am using MFC and C++... I have a dialog of type CDialog containing several objects including a CPropertySheet called m_dlgPropSheet (which does not have it's own class beyond CPropertySheet). This property sheet contains three identical pages (with different data) of type CPatchSummaryPage which inherits from CPropertyPage. I am trying …

Member Avatar for mitrmkar
0
1K
Member Avatar for cosmos22

Hi, I was wondering how you might go about deleting all of one certain file type in a folder. For instance, say asked the user if he wanted to erase all text entries(.txt) to clear up his folder, and it would do it all at once. Thanks! :)

Member Avatar for Ancient Dragon
0
64
Member Avatar for look@me

in this program iam going to remove all the element in the list and find the minumum number in the list this is my try but the result is wrong Implementation .cpp [code=cplusplus] #include <iostream> #include "arrayListType.h" using namespace std; int main() { arrayListType<int> intList(100); //Line 1 int counter; //Line …

Member Avatar for Ancient Dragon
0
94
Member Avatar for rohoni

what is operator overloading ? how many types i have? can any one help me with some example.

Member Avatar for farag
0
146
Member Avatar for brsowmya

somebody please lemme know wats the meaning of the following class declaration in c++ class A B { . . . } plz note 'A' is a macro n 'B' is actually the name of the class

0
50
Member Avatar for tonyaim83

Hi My current editor is Dev-Cpp 4.9.2.2 .My test program which runs fine looks like dll.h [code=c++] #include <windows.h> #include <stdio.h> #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif __declspec(dllexport) void HelloWorld(); #ifdef __cplusplus } #endif [/code] And dll.cpp [code=c++] #include"dll.h" void HelloWorld () { MessageBox (0, "This is a …

Member Avatar for Ancient Dragon
0
125
Member Avatar for invincible_king

hey guys, i would really appreciate if you can give me links to some good C tutorials online or some good books , esp with regard to pointers and other advaced C topics...........i wish to learn C properly and then move on to C++, although i have started C++ already.....

Member Avatar for Ancient Dragon
0
110
Member Avatar for meen08

hello, I'm using builder c++ for a sniffer application. I have a TThread object in a file called unit4 which show the packets in a TreeView. [CODE]__fastcall ThreadPackets::ThreadPackets(pcap_t* adhandle) : TThread(false), adhandle_(adhandle) { FreeOnTerminate = true; } void __fastcall ThreadPackets::Execute() { while (!Terminated) { ....do something... } }[/CODE] I have …

0
39
Member Avatar for chocl8drop

I am working on a program that will read a list of words from a file. For each word, I have to build a key which is basically the word with all of its letters sorted (i.e. dorw is the key for word). I need to build an array of …

Member Avatar for dougy83
0
125
Member Avatar for sgw

Sometimes when I use a lab PC for visual C++, even when a program is very simple and absolutely correct, and sometimes passes the compiler, but when i try to run it, it shows "Fatal error... can't find path...." what's the reason?

Member Avatar for mitrmkar
0
107

The End.