2,867 Posted Topics
Re: Most likely the drivers only require the Linux kernel headers. Find out your kernel version with: [code]uname -r[/code] Then grab the kernel headers with something like: [code]apt-get install kernel-headers-[B][I]version[/I][/B][/code] Then try to recompile again. If that doesn't work, you might want to try downloading the full kernel source (which would … | |
Re: C or C++? [URL="http://www.angelfire.com/country/aldev0/cpphowto/cpp_BinaryFileIO.html"]C++ Binary File I/O[/URL] - Basically using ifstream/ofstream with special initalization parameters and using ::write and ::read to do file i/o instead of the stream operators (<< and >>). [URL="http://www.cprogramming.com/tutorial/cfileio.html"]C Binary File I/O[/URL] - Using fopen(), but using fread() and fwrite() instead of fputs() and fgets() to … | |
Re: >fat 32 is ok / ntfs is a no go While it's true that Mac OS X can only read from NTFS volumes by default, it's possible using the third party ntfs-3g driver to extend its capability to full read and write. The easiest way to achieve this functionality is … | |
Re: [code=cplusplus]if (LabGrade = 'A' && 'a')[/code] While this is a valid C++ statement, it has several problems: - [icode]=[/icode] is an assignment operator. You probably want to use the comparison operator, [icode]==[/icode]. - The '&&' operator is being used incorrectly. If you want to see if 'LabGrade' is something and/or … | |
Re: [QUOTE=Selwyn;536714]sorry mate i thought it said at the top they were running xp pro[/QUOTE] True, it shouldn't have been posted in the Mac forums. However, I'm actually moving this to the hardware forums as this pertains more to hard drives than actual operating system usage. | |
Re: The xorg configuration file is usually located in [icode]/etc/X11/xorg.conf[/icode]. | |
Re: >So i was thinking about dual booting windows xp and linux but would this make a differnce in >speed or should i just keep vista? Dual booting doesn't affect the speed of a computer, only its hard drive usage. Alternatively, you can try running your games under Wine. If you've … | |
Re: Your compiler will throw an error if you try to put a decimal number into an array subscript. Most likely [icode]grades[][/icode] is defined as an array of integers. The integer 87 divided by the integer 10 would be 8, as ints cannot hold decimal values (in other words, any fractions … | |
Re: I'm going to go ahead and move this thread to the Window Tips 'n' Tweaks forum, as it seems to fit better there. If you think there's a better location, let me know -- I can move it again. | |
Re: Take a look at the [search]libcurl[/search] library. | |
Re: You'll probably want to do a test such as opening a connection to a website like Google, over port 80. If the connection is successful, you're clearly connected to the Internet. | |
Re: You'll need to provide a bit more information about your problem if you wish to get help. For example, what kind of soundcard is it? Have you attempted to install drivers for it? What is the output of running [icode]lspci[/icode] at a command shell? | |
Re: [QUOTE=cscgal;520706]Why do you have to disable cookies?[/QUOTE] I'm reasonably sure that was a bad joke by WaltP, but I could be wrong... Don't always take things at face value. :icon_wink: | |
Re: Since Turbo's from pretty much the dinosaur age, the help you receive is likely going to be very minimal (and most people won't be able to test any code snippets they give you). And by the way, [URL="http://www.daniweb.com/forums/announcement8-2.html"]we only offer homework help to those who show effort[/URL]. So... your best … | |
Re: Post what you've written so far (with [URL="http://www.daniweb.com/forums/announcement118-3.html"]CODE tags[/URL] please). | |
Re: Whoops, my bad. I split this thread off of another one, then had to set a name for this thread. Rereading the question, all the poster said was "limited connectivity", not "limited or no connectivity", so I must have misread. The OP isn't necessarily getting that error message, sorry about … | |
Re: A kernel is the main program or component of an operating system, it's the thing that does all the work, without it you have no operating system. Linux is actually nothing more than a kernel; the programs that make up the rest of the operating system are generally GNU software, … | |
Re: When I put the code into my compiler, I received the same errors you described. Funnily enough, when I removed the *s, those errors disappeared. | |
Re: [QUOTE=MrOlsen;543001]I mean .... Not send me a e-mail. (<email snipped>) . . .Send me a PM.[/QUOTE] If you want to post a job offer, go to the [URL="http://www.daniweb.com/forums/forum72.html"]Job Offers forums[/URL]. There you [I]are[/I] allowed to post your email address and relevant website urls. | |
Re: I don't particularly enjoy it either, especially when viewing screenshots. My browser window isn't very wide, which makes the attachment nearly useless. Also, it slows up my browser when trying to load several attachments at the same time (scattered among various threads). [edit] On another note, you can view attachments … | |
Re: I've split this thread as it is a separate issue from that of the original poster. | |
Re: You'll want to install something called Samba on your Linux computer -- this allows transmissions over the SMB protocol, Windows' native file sharing protocol. How complicated this will be for you depends on which way you're trying to go: sharing files from the Linux box will be more work as … | |
Re: The best commercial solution for databases on the Mac platform is [URL="http://www.filemaker.com/"]FileMaker Pro[/URL]. Although it does offer an Access database conversion tool, I'd avoid it as MacWorld is quoted as saying along the lines of "experts agree that the conversion tool will need much tweaking to get the database working." … | |
Re: >What does the second command mean? I'm logged in twice as alex? Sort of. tty7 is your 'virtual terminal' which X runs on. 'pts' is a pseudo terminal, which would be the terminal window you're executing the 'who' command from. >And also, after the date and time, the (:0) and … | |
Re: What's the output of [icode]lspci[/icode]? | |
Re: What you were essentially trying to do was mount the entire hard disk device onto your filesystem ([icode]/dev/sde[/icode]). What you actually want to mount is the partition that contains your data -- this is most likely [icode]/dev/sde1[/icode], as pointed out by techniner. | |
Re: [QUOTE=jbennet;537769]bad bad bad dont run the home versions of vista in a virtual machine - its against microsofts licence agreemenent to run the home versions in this way and if they find out then your product key will be blacklisted[/QUOTE] Except that forumdude123 didn't say he/she was using Vista Home. | |
Re: Your post was deleted because it contained profanity and rude, abusive language, something which currently violates the [URL="http://www.daniweb.com/forums/faq.php?faq=daniweb_policies"]DaniWeb rules[/URL]. No doubt the post which I'm responding to right now will get deleted and you'll receive an infraction for not keeping things pleasant here. Not to mention that the DaniWeb policies … | |
Re: >Whats the best way to start.. The best way to learn something quickly is to get out of your comfort zone. If you've set up Ubuntu and you're happily surfing the internet with a web browser, then you aren't learning much. If you really want to learn Ubuntu (or Linux … | |
Re: Don't make it so darn complicated. Here's a basic Fibonacci function that will never end: [code=c] void fib (int num1, int num2) { num1 += num2; fib (num2, num1); }[/code] The rest is up to you. | |
Re: I can't remember whether your Mac requires you to set a password for your primary account, I assume it does. In any case, you can see your username and change your password in the User Accounts section of your System Preferences. You'll need to know your existing user password, though, … | |
Re: I don't quite understand what you mean. The full and express editions of Visual Studio permit commercial usage. You won't get "caught in the tangled copyright web" unless you're using a compiler with some special education license, and even then there's usually a way to upgrade it to a full … | |
Re: When you pass arrays, you pass the pointer, not the entire array. And you can't declare variables inside a function. Thus, your function call would look like: [code=c]sort_date(Acc, n);[/code] | |
Re: In the installation options, make sure you choose "Erase and Install". If you're really paranoid, start up Disk Utility from the Utilities menu. You can then completely erase your hard disk (i.e. writing 0s all over the disk). | |
Re: [QUOTE=stymiee;239274]Trying to install Curl 7.15.4 on a Red Hat server with PHP 5.1.2 and Apache 1.3.*. When attempting to ./configure I get the following error message: configure: error: cannot run /bin/sh ./config.sub I'm not a server guru so I'm not sure where to go from here.[/QUOTE] Sorry, this is a … | |
Re: Hmmm... could it be something you installed recently? Usually things don't break down it Mac OS X without doing something first. :) Try disconnecting and reconnecting the webcam. Also, can you see video of yourself? (I'm not sure if yahoo messenger has this feature.) If it still doesn't work, try … | |
Re: Hi, and welcome to DaniWeb. I also enjoy a couple of Macs, an iMac and a MacBook. Glad to have you here. | |
Re: Here's how the forum hierarchy is organized on DaniWeb (some things have been purposely left out): [B]Admin[/B] -> Has complete control over the forum. They tend to handle things such as technical details of running it, as well as high-level issues and other stuff. [B]Super-Mod[/B] -> Kind of like the … | |
Re: The syntax for creating an array that's a member of a class is: [code=cplusplus] class MyClass { public: ... private: int array[4]; };[/code] Note that you don't necessarily have to declare it as a private member. | |
Re: Well, think about it. It says [I]"when given the old salary of the employee and the amount of increase for that employee ([B]parameters[/B])"[/I]. Half of the problem is already done for you. | |
Re: This probably won't cause too many problems, but just for consistency's sake, use an integer: [code=cplusplus]char length = strlen(tokenPtr);[/code] What does this line do? [code=cplusplus]cout << tokenPtr[length];[/code] Think carefully about what you want your program to do. Write it out if you have to. [LIST=1] [*]Print out all the characters … | |
Re: How about [code=cplusplus]Text1and2 = Text1 + Text2;[/code] | |
Re: Try this: [url]http://apps.carleton.edu/campus/its/training/macrovirus/[/url] | |
Re: Well, I think this thread is more relevant in the hardware forums. Moved. | |
Re: Personally I like this one: [url]http://www.winprog.org/tutorial/[/url] There's tons more out on the web, the best advice I can give you is to read MSDN to get official documentation once you understand the basic overview of coding using the Windows API. |
The End.