- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 21
- Posts with Upvotes
- 19
- Upvoting Members
- 11
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
Write the class definition for a class named Employee. The class should include data members for an employee object's name and salary (the salary will be an integer). The class should contain two member functions: the constructor and a function that allows a program to assign values to the data … |
|
write a function to calculate the maximum number of four numbers notice that the four numbers will be entered by the user |
|
hei May I know how to handle dev cpp; It shows error even for simple programs which I had successfully run in turbo c 3.0 |
|
Hello all, can someone please help me, a year and a couple hundred Euro later still have my problem. Internet explorer keeps opening by itself - up to a hundred pages, all to the home page. I have had people look at re-formatted the harddrive several times and nothing. Have … |
|
Hi, I'm trying to output a list of dvd titles along with some of their details. The problem is that it seems I can't get them aligned all pretty well. So I upload the screen shot as well as the code generating it. Please help me out here. This is … |
|
help me out, it says rand cant be used as a fuction when compiling. #include <cstdlib> #include <iostream> #include <math.h> #include <ctime> using namespace std; int main(int argc, char *argv[]) { int i,rnumber,number,power,base,rand; int randomise();//initialises random number generator srand(time(0)); cout<<"ten random numbers from 0 to 99\n\n"; for(i=0;i<10;i++){ rnumber= rand()%100; cout<<rnumber<<endl; … |
|
|
I have a toshiba portege M400 will I have to continue using Windows XP or Windows 7 to get the full tablet functionality or is there a linux OS that is just as good or better? E.g. a Version of Ubantu, Mint or one of the more popular ones? |
Hi, I'm new to Linux. Hv been trying Ubuntu, and now sticking to Mint. I'm subscribing to P1 Wimax using usb modem called [URL="http://www.p1.com.my/wimax/overview_ref.aspx"]Wiggy[/URL] There's no driver for linux provided. Wonder if someone can help .... |
|
[rant] Its so damed confusing and difficult to use. I spent three days trying to install something on my Fedora 11 machine that would take me no more than about 10 minutes in Vista (or any other version of MS-Windows). As an example: wxWidgets. I couldn't even successfully compile their … |
|
Hello, everyone, Next semester, I will be taking a course in Java programming language, and was wondering if anyone knew of a good IDE that runs in the Red Hat/Fedora environment. (Preferably something installed through YUM.) I tried a Google search on this, yet the only thing I seem to … |
|
Any list of best or worst will have its opponents and proponents and I foresee that this list of worst Linux distributions will be no different. There were, at last count, almost 300 Linux distributions and they all can't be great. But, this list of Linux distributions are, in my … |
|
It was exactly one year ago today that I published my original "[URL="http://www.daniweb.com/news/story219749.html"]The 10 Best Linux Distributions[/URL]" and it's time to put forth a new list for this year's best. Without looking at the old list, I've decided to compile this one from scratch. This 2009 list takes several factors … |
|
Is there any advantage in declaring a variable local to a function const? i.e., I want to use a sine value a couple of times so I store it in a local variable. If I make it const does this facilitate any compiler optimizations... or anything beneficial? [CODE] double my_func(double … |
|
i just installed c++3.0 in XP downloaded from internet . But when i run very simple COUT<<"hello" code it doest produce out put. As i compile and run with out error but no output i can see. I have LCD is there any problem even i chaged the LCD and … |
|
I am working on an assignment and was wanting to know if one of u guys could let me know if I have 1. correct before I go to 2. Here are the instructions... 1. read in the data then displayed the data. 2 Add the following a. add a … |
|
Hey everyone, I'm having an issue with the simplest vector functions. I'm trying to add a Piece object to a vector, but it's data members are being changed when I do... am I missing something? [CODE] /* Piece.h */ #ifndef _PIECE_H #define _PIECE_H class Piece { public: Piece(); Piece(int r, … |
|
I am trying to parse a text files which has blank lines. The getline function is supposed to read blank lines and move on to the next lines. However, my text file is like this : ABC..... DEF...... HIJ...... I am able to reach the lines before the blank lines … |
|
Hello, I installed Microsoft Visual Studio 2008 Express Editions last week. Then I found there are many head files missing, such as: matrix.h stdafx.h matlablink.h itpp/itcomm.h Should I uninstall Microsoft Visual Studio 2008 Express Editions and then install Microsoft Visual Studio 2008 Standard Editions? Is there free download version of … |
|
Hi, i really don't know what to do guys can you help me with this code for my matrix program? this program is not yet finished and i am stuck with this problem [CODE]#include <iostream> #include <math.h> using namespace std; int main() { int rotx, roty, rotz, n, ac1, ac2, … |
|
Write a program that will read in 10 test scores. Print out all 10 scores, then print the highest score, and then the lowest score. Ok i got this so far but i do not know how to print the highest or lowest. [code] #include<iostream> using namespace std; int main() … |
|
[url]http://ironpython.codeplex.com/releases/view/12482[/url] I'M running Ubuntu 9.10. On the website above, what which download should I use? I don't see a debian so I'M assuming I need to get the bin. If that's the case, I have no idea how to install a bin. Thanks for any and all replies. Wait, it's … |
|
I hope this doesnt constitute as me asking for answers but I am running a program and at the end I am asked for the program to wait 10 seconds after saying goodbye and prompted back to main menu. I have researched this on google and from some of the … |
|
Hi :) I am certain of when to use static_cast, but often I can get satisfactory results by writing the target type in a parenthesis. For example: [CODE]void* data = somePointer; SomeClass* new_ptr = static_cast<SomeClass*>(data);[/CODE] seems to work when replaced with [CODE]void* data = somePointer; SomeClass* new_ptr = (SomeClass*) data;[/CODE] … |
|
Is it just me or has Ubuntu 9.04 become broken by not allowing any software to be installed. I have done two clean installs and still the synaptic package manager does not show any items that are not installed. Also I am unable to install any software from the command … |
|
I'M new to Linux & Ubuntu. I know I could just install Open Office through the Ubuntu Software Center or the Package Manager but I wanted to do it manually. So I download the debian package from [url]www.openoffice.org[/url] and unzipped it. Now I have a folder on my desktop lapeled … |
|
Hi I am trying to count the number of words in a file and this is what i have so far. I am not sure about the getchar().. could you please tell me what i should be doing ? [code] #include<iostream> #include<fstream> #include<string> #include<conio.h> using namespace std; int main() { … |
|
I manually set-up a partition during my installation of Ubuntu 9.10. I only created a swap partition about 512mb and a root partition of 10gb and no partition for /home but I have a partition for all my data files. What I really want is a separate partition for programs … |
|
What is free solution available. I need to do two things: 1. Connect at machine in same office. I cannot use RDP as it is KDE Mandriva machine. 2. Connect fro home to that machine without VPN i.e over internet Thanks |
|
Hi, I've installed Netbeans 6.5 which is for JAVA with apt-get and want to uninstall it. How do i do it? Thanks |
|
visual C++ conversion of decimal to binary,binary to octal,octal to hexadecimal.. |