439 Posted Topics

Member Avatar for hana.shamsaldeen

What, exactly, are you looking for? An explanation of an algorithm for doing the inversion? Help writing code for an algorithm you have? Or perhaps you don't need the program (source code) itself, you just need a tool that does the inversion? In this case, most scientific calculators have that …

Member Avatar for hana.shamsaldeen
0
278
Member Avatar for mattster

Hello, Matthew. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around …

Member Avatar for falkopartey
0
83
Member Avatar for Lisa.Ghiorzi.Rathbun

Hello, Lisa. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. > Alias: N1NJ4 C4T :) What is the alias for? In any case, welcome. See you around Daniweb.

Member Avatar for falkopartey
0
163
Member Avatar for ImZick

Hello, Ezekiel. Welcome to the DaniWeb forums. Maligayang pagdating. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See …

Member Avatar for ImZick
0
93
Member Avatar for brentr678

Right after the input line in the loop (line # 21), you should output the **repeat** variable, just to make sure the program thinks it is what you think it is.

Member Avatar for NP-complete
0
517
Member Avatar for batman189

What kind of output *are* you getting? Are you at least getting the numbers input to the array correctly?

Member Avatar for NP-complete
0
143
Member Avatar for Dani

I *come* to Daniweb because it is a useful resource, although I might not *post* frequently. It is a huge collection of information and many knowledgeable members so, when I need help coding or something, looking for it on Daniweb is a good place to start. If I cannot find …

Member Avatar for john.knapp
0
272
Member Avatar for collin_ola

Hi, Collin. The variables *d and *e are never passed passed into the function QuadFormula. The main program calls the subroutine, and assigns *d and *e to result1 and result2, without ever passing them in to the routine. Also, I would recommend initializing variables before using them. That way you …

Member Avatar for Miorfs
0
3K
Member Avatar for <M/>

My pet peeve is Axe body spray. It is everywhere I go: in public transit, the malls, etc. I think it smells terrible, and some young guys seem to bathe in it. I can't believe people are paying good money to make themselves smell like *that*. I prefer the smell …

Member Avatar for <M/>
0
164
Member Avatar for bvrameshbabu

Sounds like a puzzling requirement. After all, why would the client care what happens inside the program as long as the program works properly? One suggestion I can make: if you are *inputting* integers padded with leading 0s, make sure to specify the radix parameter, otherwise the numbers might be …

Member Avatar for DavidB
0
153
Member Avatar for sadiq.pardesi

The Sieve of Eratosthenes is popular. You might want to start there.

Member Avatar for DavidB
0
40
Member Avatar for Ancient Dragon

You mean Visual Studio 2012? I was planning to. I recently purchased a brand new computer and was going to install the latest version of Visual C++ Express on it. However, then I read that this version of compiler will build Metro applications only. I want to stick with Windows …

Member Avatar for DavidB
0
228
Member Avatar for johndolby

It is one more site on which you can promote your business. If your corporate profile includes the keywords that other LinkedIn users search for, your site will come up in those searches (assuming your Profile page is public). I don't think it results in massive traffic, but it will …

Member Avatar for DavidB
0
114
Member Avatar for revelator

Depending how much information you want to transfer out of the **switch** statement, you might have to use several temporary variables. For example, say the integer variable *TestVar* equals 6 and caused Case 3 to be true. If you went straight to a **break** from there, you would know that …

Member Avatar for DavidB
0
182
Member Avatar for vicky30312

I would recommend *against* using a **switch** statement in this situation. A **switch** statement is meant to look at an integer value, compare it against several options, and execute simple actions based on that comparison. It should not be used to branch into compound statements. Especially not if the initial …

Member Avatar for vicky30312
0
151
Member Avatar for marlin7896

What exactly are you seeking? A platform on which to have a blog? "kingsweb" made a couple good suggestions. Blogger is a hosted solution that is popular. WordPress offers a hosted solution too, or many templates for self-hosted blogs. Or there is TypePad. Or many others. Some hosted blogging solutions …

Member Avatar for ProSence
0
144
Member Avatar for professor123

The built-in **help** function offers a lot of information about how to use the **history** command too. Here is what I got when I ran the **help** command on **history**: help history history: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...] Display or manipulate …

Member Avatar for rubberman
0
265
Member Avatar for Dani

Hmmnnn . . . No restrictions as to whether the code is old or new? Looks like an opportunity to dig up some old code and share it. It is well-tested and I know it works, but it is pretty specialized, so might not have broad appeal. (Can you guess …

Member Avatar for L7Sqr
3
1K
Member Avatar for dwneal

Hello, Dan. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around …

Member Avatar for extr3mex
0
65
Member Avatar for DavidB

Hi, folks. I have written some pretty complicated programs in Javascript (in terms of the code itself), but I haven’t experimented much with the nuts-and-bolts of Javascript. In particular, I have written all my programs as single blocks of code. For example, I have written several programs to solve for …

Member Avatar for goldentuna
0
284
Member Avatar for davy_yg

There is no definite time for when a site starts showing up in search results. And even if Google knows about a site, that site may show up so far down the list of results (say, page 14) that, effectively, it doesn't exist in Google's results. (I mean, does anybody …

Member Avatar for davy_yg
0
189
Member Avatar for jyotsna01

(This post should not be in the **Internet Marketing** forum, but I am willing to offer some advice.) Is it your own website? Do you think it has been hacked? Google's diagnostics tool might turn up *some* problems, but it might miss others. If it really has been hacked, you …

Member Avatar for jyotsna01
0
99
Member Avatar for albert.antwi.90

Is your problem the algorithm? A particular part of your own code? Initially setting up the system? If it is the C++ coding part of the task, post what you have now and we'll try to help you debug it.

Member Avatar for WaltP
0
188
Member Avatar for firdousahmad

As others have said, it depends upon your application. For most standard software applications, Windows offers the most options, although you could probably find comparable applications for Linux. It would be a little harder though. The difference would be the price: most software packages for Windows are commercial for-sale products, …

Member Avatar for lewashby
0
172
Member Avatar for dinhunzvi

I usually just copy from a PDF document and paste to a plaintext document. Do you really need a program to do that?

Member Avatar for mike_2000_17
0
213
Member Avatar for FUTURECompEng

I think one way would be to just provide an example, wouldn't it? For example, 2^2 + 3^2 = 4 + 9 = 13 13 is a positive integer, so you have proved that there is a positive integer that can be expressed as the sum of the squares of …

Member Avatar for FUTURECompEng
0
252
Member Avatar for klharding2

**double** is usually used for floating point variables (i.e. - they require decimal points). The results of a factorial calculation are positive integers, so you were fine leaving it as **int**. To extend the range, you could use **unsigned int**. Like "WaltP asked: what is the point of the variable …

Member Avatar for WaltP
0
92
Member Avatar for nitin1

What level of math? I know of several forums, but their levels vary. Are you a high school student? First-year undergraduate university student? etc.?

Member Avatar for nitin1
0
203
Member Avatar for code739

I don't know if you can do this, using the existing format. You could probably divide names up by line breaks, but then dividing names into first, middle, and last names would be difficult. You would have to require users to input the names in a particular format. Otherwise, the …

Member Avatar for code739
0
173
Member Avatar for bdl365

Do you need to save the numbers as they are entered? If not, you only need one input variable and one sum variable. Also, will you always take in only four variables, or an unknown number of variables? I would do something similar to the following: int a, isum = …

Member Avatar for bdl365
0
2K
Member Avatar for Xantipius

I am curious: besides being an interesting programming exercise, do these numbers have any practical applications? From what applications or situations do these numbers arise?

Member Avatar for Xantipius
-1
180
Member Avatar for rajat.sethi93

Like WaltP already suggested, go through your code and find all the places where division occurs. I see it on lines 25 and 43. Insert a line or two before the division statements that check to see if the denominator is 0: e.g. - `if (a[i][i] == 0) printf("\nAttempted division …

Member Avatar for rajat.sethi93
0
208
Member Avatar for tougheart

Hello, Kareem. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around …

Member Avatar for nida006
0
163
Member Avatar for subtlehulk

I agree with what JorgeM said: get good at HTML and CSS before moving on to other things. Then maybe Javascript or PHP. Depends on your own goals. Do you have a specific plan in mind for your website? Perhaps you already have a few functionalities in mind (?). I'd …

Member Avatar for DavidB
0
148
Member Avatar for DavidB

The latest NASA rover to be sent to Mars, Curiosity, successfuly landed on Mars late yesterday evening. I think this is wonderful. Anybody else in Daniweb following the progress of this mission?

Member Avatar for vinnitro
0
257
Member Avatar for Satya1994

> Visual C++ is also a good alternative but I couldnt find any command for compiling and running the code. It is there. If it wasn't, I doubt VC++ would be used much. In addition to going through the menus, you can also do it with hotkeys. For example, to …

Member Avatar for DavidB
0
295
Member Avatar for DavidB

I am putting together a wish list for a new computer. I would like it to be dual-boot: Windows 7 and Linux (probably Ubuntu because I am not proficient with Linux). Any advice, tips, or suggestions for factors I should take into consideration when selecting a new computer? Does type …

Member Avatar for PhilEaton
0
201
Member Avatar for im abcd

I think "m4ster_r0shi" gave the best answer in his first post. There is no guarantee that the results will be nice, round, numbers. Even if the square root function were to return a whole number, the next step is to subtract it from (-b) and then divide that result by …

Member Avatar for im abcd
0
424
Member Avatar for DavidB

Digg and Delicious used to be two of my favorite sites; I would visit them daily. However, Delicious is making some significant changes lately. I found some of my favorite links from the Delicious front page; however, presently the Delicious front page has a couple images, which don't appear to …

Member Avatar for <M/>
0
116
Member Avatar for Arash-Sh

What's wrong with a well-known product like vBulletin (or inVision's IP.Board)? The fact that they *are* well-known means visitors don't have to re-learn features and capabilities. I'd recommend using vBulletin for a new forum. That way you can focus on building up your website, and traffic, instead of also having …

Member Avatar for pritaeas
0
211
Member Avatar for DavidB

Hi, I am wondering if there is a way to include subscripts or superscripts in Daniweb? I just answered a question about polynomials and it would have been nice to have more math symbols available to discuss math-related topics when they come up. For example, instead of writing a polynomial …

Member Avatar for WaltP
0
127
Member Avatar for Andrei15193
Re: Hey

Hello, Andrei. Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around …

Member Avatar for DavidB
0
120
Member Avatar for VaibsBrainyStud

You are in the Javascript forum, but the title of your post refers to Java. Which language are you using, Javascript or Java? In what format is the data? Is the data already saved in a string? An array? Are the values always integer? Or will they be float? Double?

Member Avatar for DavidB
0
102
Member Avatar for mochiboo5

This question would have been more appropriate in the "Software Development"->"Computer Science" section of these forums. What, exactly, don't you get? The algorithm itself? The C++ coding part of the problem? . . . Why don't you post what you have done so far, and we'll try to help you …

Member Avatar for DavidB
0
3K
Member Avatar for adylo

Hello, "adylo". Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you around …

Member Avatar for adylo
0
103
Member Avatar for laura301019

Have you tried to write this function? Post what you have so far, and we'll try to help you with it. If you find a duplicate entry, and you remove it, what replaces it?

Member Avatar for laura301019
0
128
Member Avatar for mike_2000_17

> Anybody else excited about this? Not excited, my nose is too close to the grindstone right now to look up and pay attention to the greater world at large, but I do have an interest in scientific developments. Until it affects my day-to-day life, I don't know what to …

Member Avatar for DavidB
1
167
Member Avatar for Labdabeta

Have you received an orientation package from the university? That might offer some suggestions as to what kind of technical specs they recommend when purchasing a computer for student use. Myself, I think any computer running Windows is okay (I don’t think you’ll need a dual-boot Linux machine). Programming, AutoCAD, …

Member Avatar for Labdabeta
0
449
Member Avatar for Campus Report

Hello, "Campus Report". Welcome to the DaniWeb forums. We are glad you joined us. These forums are an excellent resource: lots of good information and many knowledgeable members here. It is a great place for the sharing of ideas. I am sure you will learn a lot here. See you …

Member Avatar for anandagrawalseo
0
48
Member Avatar for DavidB

I had posted a photo of myself (jpg) on a Wiki (uses MediaWiki) and updated it recently. Now I am wondering how to delete the old photo. The link *to* the image has been deleted, but the image itself is still there, taking up space on the server. I didn't …

Member Avatar for skilly
0
66

The End.