1,684 Posted Topics

Member Avatar for guideseeq

[QUOTE=guideseeq]I thought [I]Perl[/I] is [I]CGI[/I]? I can run a Perl script and rename it with [B].pl[/B] or [B].cgi[/B] extension; it doesn't matter! Do, I rename my C++ program as .cgi? How can it run online .. :!: Please help me: I'm very much confused .. (I knew now .. I …

Member Avatar for perniciosus
0
457
Member Avatar for Rashakil Fol

I noticed that if I visit the 'Web development' forum index, the background turns blue (and ugly). That's all for today!

Member Avatar for Dani
0
662
Member Avatar for Mr.

It looks like a fine implementation of the behavior of the Scheme function, LIST?. I don't know why you'd use [inlinecode](and t (isList (cdr list)))[/inlinecode] when that means the same thing as [inlinecode](isList (cdr list))[/inlinecode]. However, Common Lisp (I'll assume that's the variant you're using, since you didn't specify) has …

Member Avatar for Rashakil Fol
0
120
Member Avatar for mym

Due to precision limits in floating point approximations, you are running into cycles where the quotient flops back and forth between two very close approximations. Instead of testing (divisor != quotient) and (divisor == quotient), you need to see if they are sufficiently close, e.g. test (abs(divisor - quotient) < …

Member Avatar for Rashakil Fol
0
207
Member Avatar for sahil_logic

[QUOTE=sahil_logic]hello everyone i was trying to make my own own string concatenation function but wasnt able to do so. i need ur help.[/QUOTE] What don't you understand that prevents you from doing this? What do you think would be a subroutine that does work?

Member Avatar for Dave Sinkula
0
2K
Member Avatar for SNA

[QUOTE=SNA]can anyone please explain me in simple words about induction and how to use induction to prove something.[/QUOTE] Sure. Take a proposition, i.e. a statement that can either be true or false. For example: "For all positive integer values of N, the sum of the first N odd numbers equals …

Member Avatar for SNA
0
379
Member Avatar for eachowcc

[QUOTE=eachowcc]Ok. I am trying to write a perl program to automate installation of certain softwares (as root) on a linux machine. I want my perl program to call an installation script and provide parameters to that script such that I do not have to enter 'yes', 'no', 'continue', create directory?', …

Member Avatar for Comatose
0
316
Member Avatar for Quan Chi2
Member Avatar for Internet_Sense

Quite frankly, this site is the worst dating service I've seen. ;-)

Member Avatar for Dani
0
190
Member Avatar for micropower99

[QUOTE=micropower99] ...[/QUOTE] Why are you taking the class if not to learn?

Member Avatar for SpS
0
217
Member Avatar for geeta
Member Avatar for WolfPack
0
489
Member Avatar for stabule
Member Avatar for winbatch
0
217
Member Avatar for kAtHicKa

In my high school, a referral meant that the kid got in trouble. This does not necessarily mean he did anything wrong.

Member Avatar for 5starAffiliates
0
279
Member Avatar for Rashakil Fol

Is the IRC Chat network up? I'm having trouble connecting to irc.daniweb.com.

Member Avatar for Dani
0
162
Member Avatar for mortgage-pro-se

[QUOTE=TKS]You might check Qt. Qt is a graphical C++ compiler for the Xwindow environment in Linux...[/QUOTE] A compiler? I thought it was a library. And it's a GPL'ed library, forcing all your code to be GPL, as well. If you want the non-GPL'ed version, you have to fork over thousands …

Member Avatar for Rashakil Fol
0
189
Member Avatar for apcxpc

I'd go with interpretation b, since the third bullet says "[b]Return[/b] the Hamiltonian Cycle ..." which means that the algorithm ends there. The fourth and fifth bullets are just informative. Why don't you ask the person who gave you this assignment? Unless there is no such person.

Member Avatar for apcxpc
0
224
Member Avatar for simon126

Pretend you're the computer, and keep track of the values of money and moneyspent given some arbitrary input values to the program. You'll see your problem.

Member Avatar for vegaseat
0
113
Member Avatar for dryvit
Member Avatar for server_crash

[code] if (nums[start] > nums[end]) { int temp = nums[start]; nums[start] = nums[end]; nums[end] = temp; } [/code] Since end can iterate down to zero, the comparison can result in swappage in the wrong direction. Here's what happens. When this algorithm is run, the value 'start' ends up dragging up …

Member Avatar for server_crash
0
123
Member Avatar for ! !

I don't see what the problem is with causing a few radio frequencies to become unusable. Internet access is a much better use of that portion of the spectrum.

Member Avatar for kAtHicKa
0
516
Member Avatar for server_crash

Note that DMR's only vote happened because I felt uncomfortable with the number 69999 :-)

Member Avatar for server_crash
0
2K
Member Avatar for Gotcha

He either throws a nickel first or a dime first. The number of ways to pay is equal to the number of ways to pay by throwing a nickel first added to the number of ways to pay by throwing a dime first.

Member Avatar for MartyMcFly
0
115
Member Avatar for Gotcha
Member Avatar for bigwillis234

A method based on continued fractions will get you the answer in less than a millisecond. (Ooh I'm being so unhelpful :twisted: )

Member Avatar for Rashakil Fol
0
302
Member Avatar for nabil1983

[QUOTE=Narue]Linear search performs O(N) comparions in the worst case, and O(N/2) comparisons in the average case.[/QUOTE] In a related note, linear search also performs O(N/10000) comparisons in the average case!

Member Avatar for Rashakil Fol
0
183
Member Avatar for gropedersen

[quote][code] for (int pass = 0; pass < arraysize - 1; pass++) for (int loop = 0; loop < arraysize - 1; loop++) if ( a[ loop ] < a [ loop + 1] ) increasing = 1; if (increasing == 1) cout << "The array is increasing."; else cout …

Member Avatar for Rashakil Fol
0
5K
Member Avatar for mrsmole

[QUOTE=mrsmole]I Need To Write A Program Using Pascal To Calculate Coinage I.e 1 X 20p, 3 X 5p Etc. Im New To This And Need Urgent Help. :-| :-| :-| :-| :-|[/QUOTE] Use a text editor? HTH.... :-|

Member Avatar for mrsmole
0
177
Member Avatar for mostafa gaber

Do you know what it means for two functions to grow at the same speed and for one function to grow faster than another? The notation O(f) denotes the set of all functions that grow at the same speed as or slower than f. E.g. if the amount of time …

Member Avatar for leelee
0
244
Member Avatar for Tarek

[QUOTE=Tarek]I think the answer to time complexity is : nm+n+m+2 but I can't give the Big Oh for it .[/QUOTE] Don't worry about the other poster. Your answer for the time complexity is generally correct. The question is, do you know what Big O notation really means? It is used …

Member Avatar for Rashakil Fol
0
143
Member Avatar for cancer10

I think it's real. That is, no laws of physics have been disobeyed, nobody square-rooted a negative number, and that really is a video, not some puny animated GIF. When he tapped the paper to show how the glass behind it was 'solid,' it actually sounded like there was nothing …

Member Avatar for cancer10
0
165
Member Avatar for simon126

It uses deprecated header names and it doesn't output the answer. Also, you have a variable and a function with the same name. That's making the compiler confused. Rename your variables and such so that they do not collide.

Member Avatar for simon126
0
650
Member Avatar for balachandu

This depends on the datastructure you are using to represent the graph.

Member Avatar for Rashakil Fol
0
67
Member Avatar for kyakobi84

Use a 'for' loop. Show what you think works, and tell us exactly what each line does and why. In doing this, you'll probably solve your problem, but if that fails, you'll have people here willing to help you.

Member Avatar for alloy_zeus
0
268
Member Avatar for andrew23chan

If you don't post the code that is causing this problem, people are unlikely to be able to help you.

Member Avatar for andrew23chan
0
148
Member Avatar for aripaka
Member Avatar for Quan Chi2

[QUOTE=Quan Chi2]lol Im passed that already. I declared my variables in header files that I coded. Im looking for atleast a hint on how to get the program to respond to user input so that I can execute the action from a declared variable.[/QUOTE] This is what if statements are …

Member Avatar for Rashakil Fol
0
182
Member Avatar for J_Search

[QUOTE=Narue]Besides, I don't know about you, but the only time I look at anything that says "About" is to get a version and build number. ;)[/QUOTE] About that. I noticed that your website's about.html page doesn't specify your version and build number. Being a little hypocritical, aren't we? ;-)

Member Avatar for goldeagle2005
0
412
Member Avatar for isblevins

If you go that route, make it real-time with "AJAX." (Otherwise the project could take less than 10 lines of code.) Then write a tetris in Python, and run it over the Javascript console. :-)

Member Avatar for jwenting
0
178
Member Avatar for Acidburn

Which way are you trying to build the list? Are you trying to have the most-recently entered element be at the front of the list, or are you trying to have the most-recently entered element be at the end of the list. Right now, it looks like you want the …

Member Avatar for akshatvig19
0
130
Member Avatar for ankitrastogi82

There is a function in C++ that does what you want. But it might not have been written for you. So you're going to have to write it yourself. You should also try figuring out _exactly_ what you are trying to do. Right now, you are being ambiguous. After all, …

Member Avatar for Rashakil Fol
0
142
Member Avatar for apcxpc

You shouldn't have $Dog::obj be a package global there. Make it a local variable in _init. Your getColour, getName subroutines are returning the attributes of whatever hash reference is contained in $Dog::obj. This happens to point to the hash of whatever Dog was initialized most recently. They should return the …

Member Avatar for apcxpc
0
144
Member Avatar for SpS

[QUOTE=sunnypalsingh]When a structure is assigned, passed, or returned, the copying is done monolithically....what does this monolithic mean any example??[/QUOTE] It means that every member variable gets copied over. For example, this C code: [code] #include <stdio.h> struct cat { int id_num; int age; int HP; int MP; }; int main(void) …

Member Avatar for Rashakil Fol
0
169
Member Avatar for 3nCrypti0n
Member Avatar for mumbojumbo

[QUOTE=mumbojumbo]:!: I am tryin to convert latitudes and longitude values from degrees to binary. Does any one know of a method to do this. I am having a hard time with it. I have a plane trackin software that only intakes 429 signals. And am trying to move it around …

Member Avatar for Rashakil Fol
0
151
Member Avatar for mina1984

We can't see the problem until we see what you've tried. Just telling you the answer wouldn't do any good, of course.

Member Avatar for Ancient Dragon
0
122
Member Avatar for jackdog1

Before: compiler.exe ... -o aol_8.9.exe After: compiler.exe -O3 ... -o AOL_9.0_OPTIMIZED!!!111!.exe At least that's my theory :-)

Member Avatar for goldeagle2005
0
526
Member Avatar for md_salman

[QUOTE=md_salman]although this question is basically related to a data structure, still I think that a good progrmmer should be able to answer it. My question is that [B]"is it possible to determine the order in which some ( numbers or characters etc ) are arrived for insertion into a min …

Member Avatar for ITgeneration
0
158
Member Avatar for SpS

[QUOTE=sunnypalsingh]why does everyone gets so heated up..when it comes to turbo C++ compiler...can someone give me reasons[/QUOTE] It is not a C++ compiler.

Member Avatar for Rashakil Fol
0
172
Member Avatar for kahaj

[QUOTE=kahaj]Actually, Dev C++ is what I'm currently using.[/QUOTE] What version? Older versions came with an older, non-conformant compiler. Get the newest version.

Member Avatar for kahaj
0
305
Member Avatar for Vladvaga

The End.