2,867 Posted Topics
Re: Hello, Your question is not uncommon. Please see this thread for more information regarding this topic: [url]http://www.daniweb.com/techtalkforums/thread14020-1.html[/url] | |
Re: Nope, I think you need at least SuSE 10.1 to get rpms for PHP 5.1.2 or later. THe only other option is to compile PHP from source, which admitadly, can be a lot harder install than RPM. However, it's not impossible, I've done it many times, and if you follow … | |
Re: [quote=grindy]Each system is running a Security Suite with personal firewall. What I need to do is be as certain as is "practically" possible that our clients data is not "compromised" from the outside ( via our broadband connection ). What - if anything - should I add to this setup … | |
Re: >Should I start brushing up my TCP/IP knowledge? Yes, unless you want to write a wrapper program. wget is a program that simply gets a file from a url, and if you used a system() call to it, it would work. There's also a [URL="http://users.ugent.be/~bpuype/wget/"]Windows version of wget[/URL] at your … | |
Re: [quote]k i fixed those errors however after fixing my errors i went from 1 error to 44 heres the code[/quote] That's because of the error below. First error: [code=c]usingnamespace std;[/code] Closing parentheses missing (and why the heck are you using [INLINECODE]<< endl;[/INLINECODE]?): [code=c]fout.open ("E:\\Ravi\\prev.balance.txt"<<endl;[/code] Only errors I can see. | |
Re: I think the DaniWeb blogs are a great news source -- I'm happy to help in any way I can. [QUOTE=~s.o.s~;272537]Also posted a touchy comment which would make their eyes water *sniff sniff*[/QUOTE] Now you're making me curious... | |
Re: [QUOTE=aznballerlee;272223] a[2] = a[3] [COLOR=red] <<First loop iteration[/COLOR] a[1] = a[2] [COLOR=red]<< Second iteration [/COLOR][/QUOTE] That doesn't work! You've got a value in spot 2. You want to move it one to the right, so into spot 3. [code=c]a[3] = a[2];[/code] Your current code is moving the array backwards. Do … | |
Re: Have you tried searching for tutorials and walkthoughs on this subject? [URL="http://www.tanguay.info/wamp/installPhp5.php5"]This[/URL] should serve as a nice guide for you. Hope this helps | |
Re: Read my signature -- don't use [inlinecode]void main[/inlinecode]. [code=c]double ComputeLength(int x1, int y1, int x2, int y2, int x3, int y3){ char side; double Length; cout << "Which side would you like [A]p1-p2 [b]p2-p3 [C]p1-p3: "; cin.get(side); while (side != '/n'){ char( toupper(side) ); cin.get(side); } [/code] You used a … | |
Re: I've seen lots of sites that will ship out their Linux CDs for a nominal fee, but the sites such as Ubuntu's ShipIt that ship out free cds are few and far between. After all, [I]somebody's[/I] got to pay the carrier fees. | |
Re: Because you're trying to use [inlinecode]movie[/inlinecode] when it's pointing to some random memory address, which will cause a program crash. You need to allocate memory, something like this: [code=c] root->movie = new MOVIE; [/code] Then you can do something with it: [code=c] root->movie->year = 2000; [/code] Hope this helps | |
Re: I would probably check the router configuration first, but there are several things wrong: You aren't getting a DHCP-assigned IP address (even though your computer is trying to), as it's in the 169.254.x.x range, and not in the typical 192.168.x.x. Also, ipconfig never lists anything under "Default Gateway", which should … | |
Re: How come your function never returns anything besides -1? You still need to implement that. Everything else looks good. | |
Re: I would say Google is a very good example of web applications. Have you ever looked at the [URL="http://www.google.com/intl/en/options/"]features[/URL] page? | |
Re: Please use code tags. It looks good, and I assume you know how to create functions. Functions are purely for organization, so you might want to do something like the following: [inlinecode]validateRooms()[/inlinecode] - called by getNumRooms(), and validates the input (such as <0 and decimal numbers). [inlinecode]getNumRooms()[/inlinecode] - asks the … | |
Re: [QUOTE=DMR]Sheesh! Talk about blowing your own horn... :mrgreen:[/QUOTE] Well if GoldenEagle was blowing a horn, then... :cheesy: (j/k) | |
Re: Hmm... both examples look exactly the same, because the whitespace doesn't show correctly in HTML. The only way you can make whitespace show is by using [noparse][code][/code][/noparse] tags, so you might want to try that to show us better. In any case, just try using lots of [inlinecode]cout.setw()[/inlinecode], [inlinecode]cout << … | |
Re: [quote=Chaky]Honestly, did you ever went to a drink with couple of ppl and talk about SINGLE TOPIC?[/quote] Exactly why the forum has threads. Each thread is a different topic, and so if you want to change the subject, just leave the thread. Useful tip: [B]Don't argue with moderators[/B]; they have … | |
Re: [QUOTE=Karen Denison;265700]As I recall, using the arrow keys was a way to move the cursor also.[/QUOTE] Yes, but you must first enable Mouse Keys for the numberpad to be able to control the cursor. First try a mouse that you know works, or try the mouse that's currently hooked up … | |
Re: You should use pointers. Such as: [code=c] // ... int array[][] = { {1, 12, 9}, {23, 12, 6} }; something(&array); } // end of main void something(int *something) { // ... } [/code] That should answer your latest question, as this method is more flexible than the one WolfPack … | |
I've noticed this problem, and it's really been annoying me: Whenever I click the unordered or numbered list button, it prompts me for all the items I want in the list. However, the newlines that are supposed to be automatically inserted are all at the end. Not that the lists … | |
Re: I find Xcode (Mac OS X only) to be a very clean, simple, and easy-to-use IDE. You can choose to edit text files in seperate windows, or if you expand the project window, you can edit all the source code inside one window. The debugger that comes with Xcode is … | |
Re: [QUOTE=sharky_machine;271666]Mashed Potatos are awesome. I just made them the other night from scratch (no fake, boxed potatos!); We had kielbasa, curried mashed potatos, and sauekraut for our Reformation Day meal (Oct. 31). It was so very good.[/QUOTE] Hmm... do you come from a German background? I'll take sauerkraut and mashed … | |
Re: Break it into parts. How I would start is with the [INLINECODE]main[/INLINECODE] function, and it should do the following: [LIST][*]Loop through each reigon, passing it as a parameter to getNumAccidents() (hint: enums will come in handy). Store the return value of getNumAccidents() in a variable. [*]Call findLowest(), which will then … | |
Re: [QUOTE=prlrina]Can Viruses infect the hardware ?if yes then how? and if no then wats yur opinion abt Boot Sector Virus?[/QUOTE] Yes, some viruses can affect the hardware. One even killed your BIOS, rendering your computer unbootable. Boot Sector Virus? Wipe your Master Boot Record, and the damage is gone. The … | |
Re: [quote]i dont plan to use intel to manage my wireless, i willl continue to use windows.[/quote] And why do you want to do that? While Windows probably is managing the network card, these are little helper programs that keep the card running smoothly. If you disable them from starting up, … | |
Re: [quote=cscgal;265865]It's all about preparation - go ahead and grab IE8 and IE9 now :)[/quote] [quote=vishesh;265870]or something like firefox2.com :)[/quote] Good luck. I did a little bit of researching at register.com, and firefox1.com through firefox21.com are all taken. ie.com is even more taken, but interestingly enough, internetexplorer10.com is still available! Microsoft … ![]() | |
Re: [B]Use [noparse][code][/code][/noparse] tags.[/B] The reason you're getting a whole bunch of errors when you try to [INLINECODE]cout[/INLINECODE] is that you've neglected to place [inlinecode]using namespace std;[/inlinecode] after including iostream: [code=c]#include<iostream> #include<iomanip> int startDay(int year, int calcjan1);[/code] And here: [code=c]startDay = calcjan1(year);[/code] You can't just give parameters to a function using … | |
Re: [QUOTE]attempting to get APT to work as the package manager[/QUOTE] I think Portage is better, unless you're planning to use a lot of Debian binaries. ![]() | |
Re: What you'll need is virtual hosts. They're added to the Apache configuration file (usually httpd.conf), and you can specify what domain/subdomain to use, and which folder to display. For more information, check out the [URL="http://httpd.apache.org/docs/1.3/vhosts/"]Apache documentation[/URL], or check out this [URL="http://www.devshed.com/c/a/Apache/Configuring-and-Using-Virtual-Hosts-in-Apache/"]article on Devshed[/URL] about virtual hosts. Hope this helps | |
Re: [QUOTE=kenmore;271365]any thoughts on what he should do.[/QUOTE] Reinstall Windows. Obviously the BIOS can't find any valid operating system on the hard disk, because the files have probably gotten corrupted. It's probably a good idea to reformat the partition that Windows was previously on, too. If you don't have the Windows … | |
Re: You're doing good! Just to let you know: Please use [noparse][code][/code][/noparse] tags. It makes source code way easier to read. I'm assuming you just missed a charecter when you copied the code to the clipboard: [code=c]include<iostream>[/code] Should be: [code=c]#include <iostream>[/code] You need to put a space between "using" and "namespace": … | |
Re: [QUOTE=JS1988;271021]I have been trying to get this for the past week all i can figure out is how to get it to print out to find one month.[/QUOTE] You need to plan out how the program is going to work before you even start writing it. I'll give you some … | |
Re: So if your code is Java, why are you posting it in the C++ forum? For setting the pizza size, first of all you get the user's input, and store it in a variable. Such as: [inlinecode]int thesize=stdin.readLine();[/inlinecode] Then you can set the pizza's size: [inlinecode]large.setPizzaSize(thesize);[/inlinecode] Hope this helps | |
Re: The problem is that you're calling [code=c]Complex x;[/code] When you haven't defined or implemented a default constructor for [inlinecode]Complex[/inlinecode]. Add one, and the errors should be gone. | |
Re: The reason you're getting those errors is because in your header file you defined [inlinecode]Look::Look()[/inlinecode] and [inlinecode]Look::~Look[/inlinecode], and neglected to implement them in look.cpp. The linker looks for the function code, can't find it, and spits out that error. | |
Re: Print out the value of y instead of x, and you'll get the desired results, except backwards. To fix this, just reverse the loops (forward instead of backwards). The other ones that you asked about should be easy once you've figured this one out. [edit]And PLEASE use [code][/code] tags!!![/edit] | |
Re: Do you mean add new members to an array that's already been declared? That's not possible. You'll either have to use vectors or a linked list. Linked lists look like this: [code=c] class LinkedList { public: int mydata; // etc.. LinkedList *next; }; [/code] Where [inlinecode]next[/inlinecode] points to the next … | |
Re: Hello, [URL="http://homepage.mac.com/major4/"]ffmpegX[/URL] is an excellent shareware utility for converting many different formats of video. It should work well for you, and if you really like it, then you can register the product ($15). | |
Re: Well, within TEdit::OnKeyDown(), you'll be able to use [inlinecode]this[/inlinecode] to refer to the object. For the exact spot in the array, you'll have to use a find algorithm based on the [inlinecode]this[/inlinecode] pointer. To simplify that, you could just keep the element number in a variable stored in the object. | |
Re: [url]http://www.roubaixinteractive.com/PlayGround/Binary_Conversion/Binary_to_Text.asp[/url] Have fun! | |
Re: Hello, When you search for [search]creating a Linux DNS server[/search], you'll find lots of helpful results. I think this is one of the easiest tutorials: [url]http://www.comptechdoc.org/os/linux/manual4/dnsservers.html[/url] Hope this helps | |
Re: Do you know how to do socket programming? Check out Beej's guide to internet sockets: [url]http://beej.us/guide/bgnet/[/url] It's very well-written, so you will be able to understand it easily. Once you understand how to open a socket and send packets, the rest is easy. Simply get the input from the user, … | |
Re: [quote=rfw]Do I need to format the SAT[COLOR="Red"]A[/COLOR] drive?[/quote] First thing you need to do when preparing a new hard drive is to partition it. I prefer cfdisk, which is slightly more user-friendly than regular fdisk. So, on the command line, you would do something like: [inlinecode]cfdisk /dev/sda[/inlinecode] where /dev/sda is … | |
Re: First off: [B]Use code tags![/B] It makes it hard to read code otherwise, and usage of them here is highly emphasized. Now for your code: [code=c]cout<< count << setw(20)<< num << setw(18)<< fixed << setprecision( 2 ) << calculateCharge (charge) << endl;[/code] You never initalized [inlinecode]charge[/inlinecode] when you call [inlinecode]calculateCharge()[/inlinecode]. … | |
Re: I think it's got something to do with DNS that has to be reversed back... several things you can try: [LIST] [*]If your server is inside your network (not directly connected to the Internet), you can type in its local IP address into your web browser to view the site. … | |
Re: At first glance I'd say you should run your Windows updates. Windows XP SP1 had some bugs, so installing SP2 would be a good idea. Of course, there's the problem of how to get Ethernet to it, so you may want to download the Service Pack on the laptop and … | |
Re: [QUOTE=rossdungey;269595]Hi all, last night I had a pop up pop up to ask me if I wanted to download something to scan my computer for spyware. I said no[/quote] Never click a "no" button on a popup, just close the window... the "no" button was probably linked the file. As … | |
Re: Are you sure that your laptop is connecting to [I]your[/I] network? If it is, then it will only add to the confusion, so verify that the connection is between your laptop and router. Next, make sure that the router is set up properly. Most ISPs give you a dynamic IP … |
The End.