2,867 Posted Topics

Member Avatar for linux

[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 …

Member Avatar for jbennet
0
121
Member Avatar for EmilyGug

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. …

Member Avatar for MacJunkie
0
88
Member Avatar for John A

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 …

Member Avatar for MacJunkie
0
250
Member Avatar for manny_magallon

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".

Member Avatar for MacJunkie
0
97
Member Avatar for gn0m3

[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 …

Member Avatar for MacJunkie
0
167
Member Avatar for Barbiedoll

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 …

Member Avatar for Barbiedoll
0
114
Member Avatar for pugg09

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]

Member Avatar for Lerner
0
112
Member Avatar for mattyd

Since this looks like it's going to turn into a link dump anyway... [URL]http://youtube.com/watch?v=xwAI8HWh9io[/URL] :twisted:

Member Avatar for John A
0
41
Member Avatar for moussa.eltayeb

[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]?

Member Avatar for ~s.o.s~
0
115
Member Avatar for khusani

Something like this? [url]http://www.microsoft.com/mind/0699/basics/basics0699.asp[/url] Sorry, I really have no idea.

Member Avatar for John A
0
81
Member Avatar for may4life

[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, …

Member Avatar for jbennet
0
145
Member Avatar for laddu

[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 …

Member Avatar for laddu
0
151
Member Avatar for jcflore3

>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 …

Member Avatar for may4life
0
231
Member Avatar for insamd

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 …

Member Avatar for John A
0
96
Member Avatar for aznballerlee

[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 …

Member Avatar for oRg
0
154
Member Avatar for raptoro104

[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

Member Avatar for raptoro104
0
119
Member Avatar for newbie2c++

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, …

Member Avatar for John A
0
98
Member Avatar for sunny123

[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 …

Member Avatar for John A
0
95
Member Avatar for Lost in Code...

[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 …

Member Avatar for Ancient Dragon
0
272
Member Avatar for phreaqhopp

[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 …

Member Avatar for WaltP
0
143
Member Avatar for Sulley's Boo

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, …

Member Avatar for John A
0
175
Member Avatar for Roobyroo

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 …

Member Avatar for Roobyroo
0
100
Member Avatar for sheki

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 …

Member Avatar for Ancient Dragon
0
162
Member Avatar for Dani

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:

Member Avatar for iamthwee
0
547
Member Avatar for DeeIT

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 …

Member Avatar for John A
0
3K
Member Avatar for badran

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 …

Member Avatar for ~s.o.s~
0
113
Member Avatar for nirmala.s

[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 …

Member Avatar for John A
0
377
Member Avatar for linux

[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, …

Member Avatar for jbennet
0
191
Member Avatar for GreenDay2001

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... …

Member Avatar for 'Stein
0
234
Member Avatar for sunny123

[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 …

Member Avatar for ~s.o.s~
0
284
Member Avatar for linux

[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 …

Member Avatar for Chaky
0
147
Member Avatar for Dave Sinkula

[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...

Member Avatar for stymiee
0
1K
Member Avatar for lol_hacker101

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, …

Member Avatar for John A
0
117
Member Avatar for 77railer

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 …

Member Avatar for John A
0
88
Member Avatar for FireSBurnsmuP

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 …

Member Avatar for John A
0
135
Member Avatar for aznballerlee

[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 …

Member Avatar for JRM
0
958
Member Avatar for FireSBurnsmuP

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

Member Avatar for FireSBurnsmuP
0
128
Member Avatar for Sparkplug188

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 …

Member Avatar for Sparkplug188
0
176
Member Avatar for Ancient Dragon

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 …

Member Avatar for manutd
0
261
Member Avatar for jbennet

> 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...

Member Avatar for jbennet
0
334
Member Avatar for The Dude

[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 …

Member Avatar for WaltP
0
130
Member Avatar for John A

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 …

Member Avatar for WaltP
0
210
Member Avatar for rodzilla

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

Member Avatar for jbennet
0
765
Member Avatar for mariarajakumar

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.

Member Avatar for John A
0
104
Member Avatar for d1e9v85

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

Member Avatar for WaltP
0
139
Member Avatar for aznballerlee

[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 …

Member Avatar for John A
0
147
Member Avatar for cheko

[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 …

Member Avatar for John A
0
132
Member Avatar for ostkaka

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 …

Member Avatar for John A
0
202
Member Avatar for nanodano

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]

Member Avatar for nanodano
0
81
Member Avatar for jbennet

[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 …

Member Avatar for c_shaft05
0
188

The End.