49,756 Topics

Member Avatar for
Member Avatar for Phil++

Hello, I'm wonder what static references are. Are they like: [code] static int number = 0; [/code] I'm really confused. Thanks for any help.

Member Avatar for Phil++
0
145
Member Avatar for KarthikOnIT

Hi, I have a VC++ desktop application. It is an SDI application with some HTML views. When I close the application and re-start the machine I m facing BOOT FAILURE error. Then I give load the BOOT CD and select repair it things will work fine. This is not replicable, …

0
59
Member Avatar for green_leav

please i need help in my c++ assignment its about loop ( while and for) and i cant do it im gonna write it and hoping if any one can solve them before 25\10 pleaaaaaaaaaaaaaaaaaaaaaaaaaaase 1- write a c++ program that will read in the integer N, and calculate: a) …

Member Avatar for Sky Diploma
-1
151
Member Avatar for CppBuilder2006

why does this have an exception in VC++ 2008 Express: [CODE]#include <conio.h> #include <iostream> using namespace std; class A { private: int a; class B { public: void f(); }; public: B b; //A(){} // default constructor class C { public: int a; }; B g(B); }; void A::B::f() { …

Member Avatar for Nick Evan
0
119
Member Avatar for dzhugashvili

I have this code which I need to be compiled in 64-bit mode but have no 64-bit capable compiler. First of all, could somebody compile this code for me and put the executable on filedropper.com or something? And second of all, does anybody know of a free 64-bit capable compiler …

Member Avatar for dzhugashvili
-4
110
Member Avatar for vvilladolid

hi.. our frst semester was now ending.. n our instructor leave dis problem for us to had.. she told us to create a program that supplies a number and outputs its equivalent in words.. the maximum input number is 9000... sumbody knew dis?? plzz help... thank u n advance...

Member Avatar for mrnutty
0
181
Member Avatar for Lohith_prakash

Hi, I want the program code for the below question. Write program to create a class called Student including functions like get_data() and put_data() to get marks of student and display it. Thanks & Regards, Lohith

Member Avatar for Ancient Dragon
-4
49
Member Avatar for imon

hello ! i have a probelm which i'm unable to understand.i'm programming in Dev-C++.when i'm compiling the programm i've written it's showing 'compiled successfully' without any error message,but when i want to run it is giving the message 'project not compiled' and hence not running the program.I can't understand what's …

Member Avatar for giegiey
0
440
Member Avatar for Nakeo

I need to read in numbers from a .txt file and sort the numbers to find the 3 highest and i can not figure out how to accomplish this. I'm so lost i dont even know where to start. :(

Member Avatar for Nakeo
0
181
Member Avatar for infern0

Hi. I'm having trouble making a simple calculator. The code I have so far compiles, but it does not run. Right now I only have addition in because I wanted to make sure I was going in the right direction before I added anything else. I have to use a …

Member Avatar for Phil++
0
85
Member Avatar for mcap61

I have this program that calculates students grades. It asks for each students test scores individually then gives their total score and percent, then loops for the next student. But after the user is done inputing all the students scores, how do you create a function of some sort to …

Member Avatar for mcap61
0
129
Member Avatar for iris88

THis is my assignment question... MyCar Sdn. Bhd. sells new cars. The manager of MyCar wants to develop a system that can do storing, searching, modifying, deleting and printing all information of all selling cars by the company. As a programmer, you are required to develop a system that can …

Member Avatar for cjjack88
-2
144
Member Avatar for Trini89

Im trying to write a program thats uses call function, but for some reason the program. Can someone help point out what i might be missing in the code? [CODE]#include <iostream> #include <cmath> using namespace std; void timeoffall(); void velatimpact(); int main () { double h; cout << "Please enter …

Member Avatar for Trini89
0
115
Member Avatar for tones1986

Hey all. I have worked with a project to create a basic student database/registration system for the past 4-5 projects... slowly adding more functionality or using different containers and classes etc. For this next project, i am to use the code from a website online which contains all the nescessary …

Member Avatar for Vincenttalent
0
163
Member Avatar for wyett

Quick question regarding the Fraction class created in the header file. Someone in my group used this in the header and I was wondering if there was an alternative to coding it than what they used. Something simpler for me to understand. It seems they just took a shortcut. [CODE]public: …

Member Avatar for wyett
0
87
Member Avatar for gokhanxyz

Does the constructor create an instance of a class? or is it a member function of a class that is invoked automatically after the creation of the object is compeleted? same question about the destructor; does it deallocate the object itself or does it have the responsibility of making the …

Member Avatar for StuXYZ
0
136
Member Avatar for Phil++

Hey, I'm creating a kind of database for a College project that stores values in a txt file. The thing is, it's currently set to "values.txt" and everytime the program runs, it over-writes it. Basically what I want it to do is ask create a .txt file depending on the …

Member Avatar for Ancient Dragon
0
98
Member Avatar for noi80

Hello. I am currently working on a school project. I need to implement 4x4 matrix multiplication with multi-threads (pthread) doing each multiplication. By studying the assignment description and other codes found online, I was able to get a general idea of what I need to do. However, I am having …

Member Avatar for noi80
0
146
Member Avatar for hiprakhar

Hi this is the code for life, universe and everything problem, where the program stops only when the user inputs the number "42" I tried to understand the problem, but could not make it that how the program stops at exactly 42. Any help would be extremely appreciated. [CODE]#include <iostream> …

Member Avatar for hiprakhar
0
129
Member Avatar for cjjack88

Hi, i am new in c++. I am doing an assignment where I need a menu for user to select the operation. My menu coding is as below. [CODE] int main() { myCarSystem b; char ch; string temp1, temp2; double temp3, temp4; while(1) { cout<<endl<<endl; cout<<" My Car System Operations …

Member Avatar for cjjack88
0
160
Member Avatar for Web_Sailor

Hi.. How do I skip the first line of a text file. I am not using getline() so I think I cannot use ignore() function. Is there any other way to ignore first line ? [CODE] ................. FILE *in; char line[1000]; char *token; in = fopen(argv[1],"rt+"); if( in == NULL) …

Member Avatar for Web_Sailor
0
8K
Member Avatar for peacerosetx

Greetings all, Peace. I have a problem. I need to download visual c++ 2005 express edition (long story why this one). I cannot find out where to get the correct download. I found this [URL="http://www.microsoft.com/downloads/details.aspx?FamilyId=7B0B0339-613A-46E6-AB4D-080D4D4A8C4E&displaylang=en"]here[/URL] this is for the Microsoft® Visual Studio® 2005 Express Editions Service Pack 1. However, when …

Member Avatar for peacerosetx
0
201
Member Avatar for klackey19

hey, for a class project I have to write a parser for a grammar that my professor is giving us. I have broken it down into a very small part and want to get that working before parsing an entire string. In this bit of code, the string to be …

Member Avatar for klackey19
0
113
Member Avatar for kustrle

OK, I made two Windows Forms Applications (Look images below) Step 1: [url]http://img245.imageshack.us/img245/8227/78636770.jpg[/url] Step 2: [url]http://img408.imageshack.us/img408/808/48168956.jpg[/url] Well, as you see at "step 1" there is some text (blured) and the Next button in bottom left corner. I would like to know how to make that when I click Next button …

Member Avatar for evilguyme
0
133
Member Avatar for radskate360

Hey newer programmer here need a bit of help. The direction are bascially to read in from a file some words in the form of a paragraph with no punctuations and no commas etc. The file will look similar to When promulgating your esoteric cogitations and articulating your Let your …

Member Avatar for phanirampally
0
160
Member Avatar for mayanktalwar

hey i am trying a code...ad in that i am using arayrs to store a sequence of data..i have writen this in he code x[100000] and it say too large arrays as a error......now how o deal with this..and how to store such a large sequence of data..without file handling...... …

Member Avatar for mrnutty
0
112
Member Avatar for neithan

I want a vector<string> with some values by default. I wanted to do something like char **strings = {"bla", "blo"} How to do it with vector<> without using repeated push_backs?

Member Avatar for Dave Sinkula
0
603
Member Avatar for findlay

Hi all, Can anyone point me to an efficient binning algorithm. I have a problem similar to the following: I have recorded the heights of 10000 randomly selected people and I want to sort their heights into 20 bins between 1.5 and 1.8m (ie number of bins much less than …

Member Avatar for mrnutty
0
72
Member Avatar for cfuilip

our lecturer want us to find a topic which we need to present next week... the program must include file handling... any idea for the topic ... and kindly show the example

Member Avatar for Shillz
0
79
Member Avatar for uttara

Hi frnds, May I have the code of the below program. The program to get the source code as output.

Member Avatar for csurfer
0
73

The End.