2,867 Posted Topics
Re: [quote=linux;282541]Now: I have the option of installing from this disk. Will it just install the stuff that is in the live cd, or will it install a full Ubuntu installation?[/quote] From what I understand, the Ubuntu Live CD will install a full Ubuntu installation. [quote]I was thinking of getting rid … | |
Re: Hello, [QUOTE=EmilyGug;267890]Disk will not eject.[/QUOTE] You can eject a disk while booting by holding down the mouse-button while the Mac is booting. If the Mac has a lot of data problems after this, I would suggest booting off the OS X install disk and doing a complete reformat/reinstallation of it. … | |
I'm writing this to let you know that I've found "bug" in the Dashboard widget iStat. It's not a bug per se, but you should know about it. iStat offers many statistics about your Mac -- amount of time running since reboot, temperature, fan speed, etc, etc. However, if you … | |
Re: So, if you haven't resolved the problem, when it asks for what application to use, find DiskImageMounter, choose that, and then choose "Always open with this application". | |
Re: [QUOTE=gn0m3;271140]Hi Folks, I have Panther (10.3.9) running on a G4 on 1 partition, is there an easy way of creating a new partition so i can install tiger as well but without losing the Panther install and all the apps? Also will this work running Panther and Tiger on one … | |
Re: This might be easy or more difficult depending on your setup. First of all, you'll need to enable SSH login for one computer (or both). If you only enable one, the other computer connects to this one and shares its files. So in a way, the computer with SSH sharing … | |
Re: First of all: are you writing in C or C++? If you're using C, you'll want to take a look at [URL="http://www.thinkage.ca/english/gcos/expl/c/lib/fopen.html"]fopen[/URL], [URL="http://www.thinkage.ca/english/gcos/expl/c/lib/fgets.html"]fgets[/URL], and [URL="http://www.thinkage.ca/english/gcos/expl/c/lib/fscanf.html"]fscanf[/URL]. Here's a nice tutorial: [url]http://www.cprogramming.com/tutorial/cfileio.html[/url] For C++, you'll want to check out [URL="http://www.cplusplus.com/ref/iostream/ifstream/"]ifstream[/URL]. Again, here's a nice tutorial: [url]http://www.cprogramming.com/tutorial/lesson10.html[/url] | |
Re: Since this looks like it's going to turn into a link dump anyway... [URL]http://youtube.com/watch?v=xwAI8HWh9io[/URL] :twisted: | |
Re: [quote=moussa.eltayeb;283051]1- How to change the size font in c++?[/quote] I don't think that's possible, although I do know you can change text color somehow in C++... don't really know how, though. [quote]How to get one char without press "Enter" ?[/quote] You mean like [URL="http://www.opengroup.org/onlinepubs/007908799/xcurses/getch.html"]getch[/URL]? | |
Re: Something like this? [url]http://www.microsoft.com/mind/0699/basics/basics0699.asp[/url] Sorry, I really have no idea. | |
Re: [quote=may4life;282029]As for "spoiling" newbies, I too am quite new at this stuff (i've only been learning C++ for nearly 3 months now) and I got as far as I have by studying other people's examples and solutions, in the same way that I am helping others in here now.[/quote] Hmm, … | |
Re: [quote=laddu;282448]how to set the $PATH..i have no idea,plz help![/quote] To view what's currently in your PATH or JAVA_HOME variable: [code]# echo $PATH # echo $JAVA_HOME [/code] You'll see a list of paths seperated by colons. If the path where you installed Java is not in either of these, you should … | |
Re: >Oh yeah and what are code tags. Put your code inside [code] and [/code]. See here for more information: http://www.daniweb.com/techtalkforums/announcement8-3.html They simply make your code easier to read by putting the code in monospace font, and will even color your code for you if you use [code=c] or [code=cplusplus]. Space … | |
Re: My mind is a little bit rusty, so I can't think what this line should be, but I know that it should not be this: [code=c]i=allFactors;[/code] You're assigning [inlinecode]i[/inlinecode] some random crap that's contained in [inlinecode]allFactors[/inlinecode], because you never initalized it. Perhaps you want [code=c]allFactors++;[/code]? But you'll still have to … | |
Re: [quote=aznballerlee;282098]Here was also an example of the this pointer that I didn't understand: (We're transitioning from structs to class) [code] #include <iostream> using namespace std; struct Target { private: int pos; string history; public: void init(); bool move(char dir); void animateHistory()const; }; void init (Target *tp) { tp -> pos … | |
Re: [inlinecode]std::ios[/inlinecode] is outdated: [quote=http://www.samspublishing.com/articles/article.asp?p=352319&seqNum=3&rl=1] The C++ Standard has replaced [inlinecode]ios::fixed[/inlinecode] with [inlinecode]ios_base::fixed[/inlinecode] and [inlinecode]ios::floatfield[/inlinecode] with [inlinecode]ios_base::floatfield[/inlinecode]. If your compiler does not accept the [inlinecode]ios_base[/inlinecode] forms, try using [inlinecode]ios[/inlinecode] instead; that is, substitute [inlinecode]ios::fixed[/inlinecode] for [inlinecode]ios_base::fixed[/inlinecode], etc.[/quote] Hope this helps | |
Re: Good news - there's only 2 syntax errors here! You're missing a closing ')' here: [code]int main() { cout << "This program written for cs102 Online.\n"; const int size = 7; long empId[size] = {5658845, 4520125, 7895122, 8777541, 8451277, 1302850, 7580489}; int hours[size]; float pay_rate[size], wages[size]; get_wages(empId, hours, pay_rate, wages, … | |
Re: [quote=sunny123][code]#include <iostream.h>[/code][/quote] iostream.h is outdated - use [inlinecode]iostream[/inlinecode] instead: [URL]http://www.devx.com/tips/Tip/14447[/URL] (you also either need to put [inlinecode]using namespace std;[/inlinecode] after the inclusion of iostream, or place std:: in front of each Standard Template Library object) My suspection of "undefined symbol true" is that the compiler is in 'C' mode or … | |
Re: [quote=Lost In Code...][code] // input control loop here do { cout << "Enter employee gross sales ( -1 to end )" << endl; cin >> sales; while(sales >= 0); [COLOR=Red] }[/COLOR] //end while [COLOR=Blue]should be before the while statement[/COLOR][/code][/quote] Hmm... I think you're supposed to put the closing brace in … | |
Re: [quote=phreaqhopp;280072]I am sorry fry but that wasn't the answer I was looking for ;-)[/quote] Too bad. It's pretty obvious that this is your homework, and [URL="http://www.daniweb.com/techtalkforums/announcement8-2.html"]asking for help without showing any effort[/URL] is not encouraged here. Post the code you've got so far, and we might be able to help … | |
Re: Yes hollystyles is correct, although it's interesting to note that administrators of the vBulletin software have a settings that controls the editing timeout of a non-moderator. Personally, I think 30 minutes is too short, as I'll often come back to my post, and realize I made a typo or something, … | |
Re: I personally love Macs - if not just for the sheer delight of the sleek outside and polished interface. They do seem a little bit higher-priced than their Dell counterparts. However, Macs tend to be more high-end than Dells, especially MacBooks, as they're basically a merge between the pro laptop … | |
Re: I see, except you're going to have a little bit of work creating an algorithm that guesses which row in table B the row in table A [I]should[/I] have been. It's almost like creating a spell-checker that guesses the correct word. That in itself will keep you busy, let alone … | |
Re: Of course, if you don't like the color scheme, you can always change [I]your[/I] code by using a code color painter. The color scheme basically the same as VS, but it's probably the best color scheme I have ever seen. Please Dani, change it... :cry: ![]() | |
Re: Don't use [inlinecode]void main[/inlinecode]. It's old and outdated, and so instead you should use [inlinecode]int main[/inlinecode].Here are some things wrong with your code: [code]void inputfn(ifstream& inputFile,ofstream& outputFile,string names[],int scores[][COLOR=Red][][/COLOR],int count[]); void totalfn(ifstream& inputFile, ofstream& outputFile,int total[]); void averagesfn(ifstream& inputFile, ofstream& outputFile,float averages[][COLOR=Red][][/COLOR]);[/code] You're having some errors with these lines of … | |
Re: In my opinion, there are far too many "learn C++" tutorials out there on the web. If you're going to write your own, they had better be top-notch, professional quality, or else there's no point in posting them. Cprogramming.com has some of the best programming tutorials on the web, and … | |
Re: [code=cplusplus]std :: string date; std :: string operator; std :: string task;[/code] I think you forgot to include [inlinecode]iostream[/inlinecode] before using these -- they're part of the Standard Template Library. Hmm... here you never declared [inlinecode]in[/inlinecode], which should be of type [inlinecode]ifstream[/inlinecode]: [code=cplusplus]in >> date >> operator;[/code] Also, I think … | |
Re: [quote=linux;278987]Now, for the network file. I can't modify this in gedit and save it. It is readonly. Is there a way to change this?[/quote] The only reason it's readonly is because it's in the /etc branch of your filetree, which requires admin privaleges to do anything in there. In fact, … | |
![]() | Re: Haha, good one DMR! The moment I saw that poll option, I was convinced he had to be messing around with it... no one else likes wombats as much as him. :D I didn't know that moderators have the power to add infinite amounts of votes to a poll option... … |
Re: [COLOR=Silver][edit][/COLOR](Nevermind)[COLOR=Silver][/edit][/COLOR] Please use code tags. It makes code easier to read. First of all, your menu looks correct, although you might want to use a [inlinecode]switch {}[/inlinecode] statement, instead of [inlinecode]if[/inlinecode] to make the code more readable. Inside each menu option, use a double to keep track of the interest … | |
Re: [quote=linux;280096]I need a good Mac / Atari Stacy emulator for Linux / Windows, but I can't find any good user-friendly ones. They all give me these "ROMS not installed" and "error restarting emulator" errors.[/quote] Hmm... are you sure you have installed the BIOS/ROM file? Often emulators require you to download … | |
Re: [quote=cscgal;259540]What is the point of this guy's post being in blue? [URL]http://www.daniweb.com/techtalkforums/thread56896.html[/URL] GRR[/quote] At least he was apologetic about it... | |
Re: How much hard drive space do you have available? Anything < 1 GB is not good, and you should seek about increasing your hard drive space. Ways to get more space:[LIST] [*]Defragment the hard drive. After time, pieces of files end up in many different parts of the hard drive, … | |
Re: Hello, I'm not sure if router internet encryption is the right way to cut off internet connection to your computer. Generally, the only use for WEP is for keeping strangers from entering your network. XP tries to make it easier for you to connect, so it stores it automatically. Something … | |
Re: Broadcom drivers haven't gone open source, so that means you will need to wrap the Windows drivers of Broadcom in ndiswrapper -- a utility that allows Windows network card drivers to run under Linux. First of all, download the Windows drivers for your Broadcom device: [url]http://www.broadcom.com/support/ethernet_nic/downloaddrivers.php[/url] Once you've downloaded the … | |
Re: [quote=aznballerlee;278916]Declare fish to be a 5-element array of strings.[/quote] [code]char fish[5];[/code] You're close, but it said "5-element array of [B]strings[/B]". You used [B]char[/B], so that would be incorrect. What you wrote just now is a string that can hold 5 characters, whereas they want you to declare a string array … | |
Re: Go into the Control Center (Gnome/KDE), and under "Peripherals" choose "Mouse", and you will be able to set the mouse/trackpad sensitivity under there. This link describes how to change the speed of the mouse/trackpad in X: [url]http://linuxreviews.org/howtos/xfree/mouse_speed_in_x/[/url] Hope this helps | |
Re: This is what you're looking for, I think: [quote=http://httpd.apache.org/docs/2.2/invoking.html#boot]If you want your server to continue running after a system reboot, you should add a call to [URL="http://httpd.apache.org/docs/2.2/programs/apachectl.html"]apachectl[/URL] to your system startup files (typically rc.local or a file in an rc.N directory). This will start Apache as root. Before doing this … | |
Re: For small snippets, I often use std:: in front of all my objects, as it's simply not that much different than placing "using namespace std;" at the top of the program. And then the program looks more "correct", if you know what I mean. For larger projects, I just add … | |
Re: > is there anything after master poster? After "Master Poster", I believe there's "Practically a Posting Shark" at 800, and of course "Posting Shark" at 900 posts... | |
Re: [quote=Ancient Dragon;278187]I have read a few of the horror stories from other socialized countries such as UK, canada and France. There is a two year waiting list to see a doctor -- where I live I can get an appointment within 24 hours if I need to.[/quote] I'm not sure … | |
Has there been some sort of new word filter put in place that automatically stars out profanity? I've been noticing a lot of *s out there in ordinary words that happen to contain the letters of the donkey word: [URL]http://www.daniweb.com/techtalkforums/post253585.html#post253585[/URL] [URL]http://www.daniweb.com/techtalkforums/member57744.html[/URL] [URL]http://www.daniweb.com/techtalkforums/thread61663.html&highlight=word[/URL] Test:[LIST] [*]P***word [*]***embly [*]P a s s w … | |
Re: Wow, talk about being sucessful business-wise... are you 23 now? And you've already set up one of the most popular tech forums on the web. Congratulations... ...and [U]Happy Birthday![/U] --Joe | |
Re: So if it's C#, then post on the [URL="http://www.daniweb.com/techtalkforums/forum61.html"]C#[/URL] forum. Thanks, and welcome to DaniWeb. | |
Re: Try searching or googling. [LIST] [*][url]http://www.netalive.org/codersguild/posts/1202.shtml[/url] [*][url]http://justlinux.com/forum/archive/index.php/t-47242.html[/url] [*][url]http://www.daniweb.com/techtalkforums/thread59789.html[/url] [*][url]http://forums.devshed.com/c-programming-42/palindrome-recursion-36299.html[/url] [*][url]http://www.google.ca/search?q=recursive+palindrome&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official[/url] [/LIST] And stop putting everything in [B]bold[/B]. Hope this helps | |
Re: [code] while (ptr >= arr) { cout << ' ' << *ptr; // print values ptr--; }[/code] That's because you're entering the information into the array forward, and then you print it out backwards. Enter the data into the array backwards, or print out the information forwards. Either way, if … | |
Re: [quote=cheko;278298]Here I go, I just bought a MBP Core 2, finally I could get my hands on to one of this..... The first thing Ive noticed is that this ought to be POWERFUL machine takes forever to read a data Dvd.... Is this Usual? or is it yet another Mac … | |
Re: Usually the way to get a video card's full resolution in Linux is to use the correct driver for it, and not some "generic" driver. First find out the exact brand and model of your video card, and then google to find the Linux drivers for it. Once you've installed … | |
Re: This pretty much explains it: [quote=http://www.hmug.org/man/3/pthread.php]The default system libraries include pthread funcitons. No additional libraries or CFLAGS are necessary to use this API.[/quote] | |
Re: [quote=proliant_fan;273909]Anyone know which kernel module i need? Its a hi-def sound chip i think as i have like 5 or so sound ports at the back[/quote] Oh, [I]that's[/I] helpful. Find the brand of the card; the exact model would be even better. If you can't find it, and expect us … |
The End.