49,761 Topics
| |
:sad: Hi! I am a new member on DaniWeb site. And I need your help!!! I just started C++. I have project to do. The user must insert 4 integers. My main problem is that I may not input th digits seperately, but should input the number as a whole. … | |
:sad: for comipiling the c/c++ program my editor is taking so much time for even it is 2 or 3 lines of code also .because of this i am unable to do more progrmas in a day. please help me to do it fast.i am useing tc editor | |
I am writing a class character for an assignment. The class relates to a role playing game. I am getting an error which I don't understand. This error occurs in the default constructor of the implementation file. The dynamic help says that I created an object without creating a pointer … | |
hello, I am using Visual Studio 2005. When I write come C++ code (using iostream header) I get this error when compiling c:\users\jan\documents\visual studio 2005\projects\lesso\lesso\main.cpp(1) : fatal error C1083: Cannot open include file: 'ioestream': No such file or directory What should I do? | |
I have been having difficulty trying to figure out how to read in data backwards. I get the idea, but have no idea how to properly code it since it is string data from a txt file. I was given the basic file to start with, but need to add … | |
:?: what i smeant my linker error in c++.? why it causes in c++? | |
I need to create a decision tree that sorts any three integers in ascending order. This is what I did:[code=c] #include <iostream> using namespace std; int main() { int x, y, z; cout << "Enter three integers: "; cin >> x >> y >> z; cout << "Your three integers … | |
Can someone help me with this? class Note{ private: [INDENT]double Freq; int milisec; [/INDENT]public: [INDENT]Note(); Note(double Fr, int ms){ [INDENT]Freq = Fr; milisec = ms; [/INDENT]}; ~Note(); [/INDENT]}; Ok... now I declare something like this: Note mynotes[MAX_NOTES]; is there a way to find out the array size? Thanks | |
i need to write a program that, There is a file of Beach Boys albums on the internet. Each entry has the following form: Name of album Artists from 1 to 20 names of songs (in cut number order) An album separator line is made up of equal signs Your … | |
hi friends... i need code for notepad program... i'm trying to create a new notepad using c++... i cant complete that... i need code for database connectivity with this program for dictionary use in notepad program.. pls help me guys!!!!!!!!!! ---- ramya | |
Hey All i am making a connect four game. I have done most of the code but need help in some bits 1) Which is how to code to see if there a win from vertical, horizontal or diagonal. - The Grid is 7 by 7. - I no idea … | |
[COLOR=navy]I request to all the programers plzzzz help me out in this assignment.[/COLOR] [COLOR=#000080]its not for me but for my boss's doughter. i made a mistake by deleting it from the USB now she have to submit it within two weeks plz help me Since i have no background in … | |
hi can anyone tell me what do we mean by: system( "PAUSE" ); and system( "CLS" ); in C++ thanks | |
Hi, I'm very new to C++ and I am getting the following error when I try to compile: [Linker error] undefined reference to `CSerial::CSerial()' [Linker error] undefined reference to `CSerial::Open(char const*, unsigned long, unsigned long, bool)' [Linker error] undefined reference to `CSerial::~CSerial()' . . . etc. This is the code … | |
i was just going through some source code and came across the directive [code] #pragma comment( lib, "irrlicht.lib" ); [/code] I got mixed and confusing answers when i read about it in the vc++ documentation. Could someone please explain clearly the purpose or necessity for such code? I do have … | |
Hey everyone, this is a big one. The question has asked that I define functions and then write the function main to test the functions I wrote. I keep getting the following error at my first cout in main: error C2679: binary '<<' : no operator found which takes a … | |
plz help me in debugging a program(urgent).it's the implementation of ascending and descending priority queues using array.i've made a program but it is not functioning properly.the problem is that when i initialize the array in the class the ascending priority queue stores only zeros and the descending priority queue is … | |
[code] void entry(int itemsales1[255][255], int itemcount1, string itemnames1[255]) { int count; char *days[]={"Monday", "Tuesday", "Wednesday", "Thursday", "Friday"}; cout << "Enter item's name: "; cin >> itemnames1[itemcount1]; for (count = 0; count < 5; count++) { cout << "Enter " << days[count] << " sales: "; cin >> itemsales1[itemcount1][count]; } return(itemsales1, … | |
I can't figure out what I have wrong in teh following program. I am trying to count total characters, vowels, and consonants. I have even worked through it with a friend and neither of us can figure it out. The code follows: [code=cplusplus] #include <iostream> #include <string> #include <cstring> using … | |
i need a code, that generate a 100 array of size (10) and 100 array of size of(50), and 100 array of size of(100), and 100 array of size of(200),with random numbers, then for the 1oo array of size(10), in log file then for each array of the 100 array … | |
Hi, I am making a small software. As a part of the Command Line Interface I am supposed to include the "tab help facility" .Incase the user is typing a command and in between he presses the Tab key, the software should display all the avavilable commands. I am unable … | |
code of genertaing 100 arrays of size 10 with random numbers in it? in c++ | |
I have this class: [code] class Pizza{ protected: string desc; public: Pizza(){ desc = "unknown pizza"; } virtual string getdesc(){ return desc; } virtual double cost(){ return 0; } }; [/code] And one of its subclass: [code] class Small: public Pizza{ public: Small(){ desc = "Small"; } double cost(){ return … | |
Does any one know of a complier that supports the 80 bit long double?? Or do you have any idea how to get one on VC++ 6.0 Thanks | |
Hey all, I'm doing hw, and I did a desk-check for this program and got completely different answers than that of the computer when the program was put into the compiler. The question says to consider the function `defaultParam` void defaultParam ( int u , int v = 5 , … | |
I want to make a query in C++ using the MySQL++ API. Here is my problem, in PHP for example I make something like this: $query = "SELECT * FROM table1 WHERE id = " . $value; In C++ I can't do that. I need a way to make $value … | |
Well, I happened to download Dev C++ on my laptop today ... I jus wrote a simple "Hello World" program .... but when I compile & run ... compilation is successful but the result window flashes & disappears ... Can anybody plz help me with this?????????? Also, how can I … | |
When you output data to the screen do you recommend using cout or printf, I must admit when I first starting using C++ last week I really liked cout. Now I like printf better, It seems easer to format the output like you need it. I am not really sure … | |
I have an Excell file that I need to read to be able to bring the cells into a struct. I have tried using fstream and I get garbage. How can i go about this?? | |
Hi All,I'm using a C++ client and server of different language.Using sockets for communication.After 10 - 15 hours of successful exchange of information a problem has occurred.Client seemed to send messages to server, but server didn't respond.After few hours, the client was killed.Suddenly, the server started dumping the messages towards … |
The End.