Posts
 
Reputation
Joined
Last Seen
Ranked #310
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
89% Quality Score
Upvotes Received
21
Posts with Upvotes
19
Upvoting Members
11
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
4 Commented Posts
Member Avatar for atn016
Member Avatar for RanyaAnwar

Well, you set n to zero on line 7 (n = 0;) and then you never change it so it's obviously still zero. Remember that == checks for equality. It does not set num to equal anything. Therefore, num==a; should be num = a; and then continue the same pattern …

Member Avatar for RanyaAnwar
0
141
Member Avatar for niyasc

[QUOTE=niyasc;1085815]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[/QUOTE] Now I've never used turbo c before, but I have used Dev-C++ way back in the days when it was still under development. There are …

Member Avatar for Ancient Dragon
0
335
Member Avatar for karg

I have a problem with this post. When I started reading the post I saw something to the effect of IE opening itself up hundreds of times. This does sound like a virus. However, the poster mentions multiple formats. This is a problem. A format deletes everything on the machine …

Member Avatar for patrick.lee.9210256
0
1K
Member Avatar for group256

Take a look into: [code]#include <iomanip>[/code] This allows you to manipulate your output. For example you can set the width of your output by using: cout << setw(8) << variable; Here the "variable" will be given a width of 8 characters. So, you can effectively make columns using setw(). You …

Member Avatar for niario
0
14K
Member Avatar for lizziekadango

You declare a variable with the name "rand" and then you try to call the function rand. It thinks you are trying to use the int variable as a function. Delete the rand variable or at least rename it and it works fine.

Member Avatar for lizziekadango
0
159
Member Avatar for lordinateur

I don't have this tablet PC, but I did do a Google search for you. Users are reporting that all is working fine with Ubuntu. One thing to keep in mind is that Ubuntu is distributed as a live CD so you can try it out before installing it just …

Member Avatar for sirisrikanth6
0
521
Member Avatar for ricer

The information is right on their website. You need to use Windows to use this modem at the moment. There are no Linux drivers and there are no Mac drivers either. The problem, it appears, is that their hardware requires you to install a connection manager and right now the …

Member Avatar for matjaki
0
373
Member Avatar for Ancient Dragon

Ancient Dragon actually made a very valid point. When things don't work in Linux it feels like you're banging your head against a brick wall. It's been my main OS for almost 10 years, but there are still things here and there that make me go absolutely crazy. It's funny …

Member Avatar for jwenting
0
581
Member Avatar for ItecKid
Member Avatar for khess

How about buggiest Linux distro of 2009. My vote goes to OpenSuse 11.1. They should just call it Linux ME.

Member Avatar for shundamaoyi
-1
2K
Member Avatar for khess

"gNewSense contains only free software. It's also the distro that Stallman himself uses--how can you beat that?" Those are two good reasons not to use it. Until free software works on my hardware and actually allows me to do what I need it to do it's a no go on …

Member Avatar for sameer5151
1
4K
Member Avatar for Kikazaru

I'm being lazy so I'll just quote page 337 of "Thinking in C++": "As a matter of practice, if you think a value shouldn't change, you should make it a const. This not only provides insurance against inadvertent changes, it also allows the compiler to generate more efficient code by …

Member Avatar for vijayan121
0
3K
Member Avatar for rudekhan

[QUOTE=Nick Evan;1148451]wxDevCpp and Kdevelop don't as far as I know.[/QUOTE] wxDevCPP is just an extension of DevCPP which came with MingW. According to their website (on the FAQ page): "We use the MingW compiler that comes with Dev-C++." Which would seem to indicate that they are shipping with a rather …

Member Avatar for rudekhan
0
266
Member Avatar for jimJohnson

First thing I noticed was: [code] string filename = "names.txt"; // Create Var to hold file name inFile.open("name.txt"); [/code] Why are you creating a variable and then not using it? About your include "cmath", so far you don't really need it. Part 1 works fine. I was thinking that you …

Member Avatar for jonsca
0
245
Member Avatar for tnclark8012
Member Avatar for Grap

If I understand you correctly then you want to skip all the blank lines in your file. What you'll see with getline() is that it reads the next line in the input file regardless of whether it is full or blank. Therefore, you will get blank lines in your output. …

Member Avatar for VilePlecenta
0
9K
Member Avatar for Cristofor

You'll have to install whatever libraries provide you with these "missing" headers. They do not come with Visual Studio, nor do I believe they are a part of the C++ standard. itpp/itcomm.h appears to be part of the IT++ Communications library. Google the header files and you should be able …

Member Avatar for Cristofor
0
117
Member Avatar for lloydi12345

Part of this program doesn't make much sense to me. First, you have: double axx1; float xx1 = 0; Then you do some calculations and then: axx1=xx1; Converting from a float to a double doesn't do anything at all for you. If you want more precision then why don't you …

Member Avatar for WaltP
0
126
Member Avatar for bigdog1

[CODE] int t[10]; while(cin >> t[10]) [/CODE] Be careful. You declare an array of size 10. This will begin at t[0] and go up to t[9]. You're trying to put data into location t[10] which isn't part of the array. This may crash your program. What I assume you want …

Member Avatar for Nick Evan
0
258
Member Avatar for lewashby

Well, the website indicates that: "IronPython is an implementation of the Python programming language running under .NET and Silverlight." So it's safe to say that it's not for Linux. Ubuntu installs Python by default so you'll already have it installed on your computer.

Member Avatar for JasonHippy
0
106
Member Avatar for jimJohnson

[QUOTE=jimJohnson;1136963]if u wanna be a dick dont respond to my questions[/QUOTE] Actually what WaltP stated was correct. You're not calling any function that makes the computer wait 10 seconds. Instead of calling him names a more constructive approach would be to state that you realize that you're not calling a …

Member Avatar for necrolin
0
152
Member Avatar for Excizted

According to the book "Thinking in C++" the second example is the "old" way of doing things while static_cast<> is the "new" way. So, the old way would be the kind of code you'd see in C while the static cast would be the C++ way of doing things. (From …

Member Avatar for Excizted
0
139
Member Avatar for cwarn23

"apt-get update" updates the list of available packages so your system knows what can actually be installed. Did the solution work for you?

Member Avatar for necrolin
0
147
Member Avatar for lewashby

Ubuntu has OpenOffice installed by default. If you read the error it states that what you are trying to do: [B]Conflicts[/B] with the installed package 'openoffice.org-core'. This means that you are trying to install OpenOffice, but it's not letting you because you already have OpenOffice installed or at least part …

Member Avatar for necrolin
0
301
Member Avatar for kavithabhaskar

I'm confused. Your question states that you want to count the number or "words" in a file, but your program is counting the number of "lines" in the file. Which one are you trying to accomplish? That getchar() is totally useless there because you've already gotten to the end of …

Member Avatar for necrolin
0
265
Member Avatar for jazz_vill

What do you mean you have "no partition for /home but I have a partition for all my data files"? /home is where your data files go. It's the only place your personal data files go. swap: Looks fine. If you have plenty of ram you'll never use it. /: …

Member Avatar for here2serve
0
119
Member Avatar for Stefano Mtangoo

How about SSH? You could always use something like Putty to provide you with an SSH client for XP. [URL="http://www.putty.org/"]http://www.putty.org/[/URL]

Member Avatar for necrolin
0
120
Member Avatar for veledrom

sudo apt-get remove "packageName" or you could easily use of of the GUI tools to do it as well. If you want to know more about the options available in apt-get try: man apt-get and you'll get the manual page which lists the options for the package manager.

Member Avatar for hughv
0
153
Member Avatar for pink24_ann07

Are you hiring? If so my hourly is $200 USD. Send me a check and I'll send you the code. If you think that we're going to do your homework for you just because you're too lazy to do it yourself it's not going to happen. Nobody is going to …

Member Avatar for jonsca
-4
122