Search:

Type: Posts; User: epb613; Keyword(s):

Search: Search took 0.05 seconds.

  1. Replies
    4
    Views
    481

    converting text to MS Excel

    I wanna write a program that will input data from a user and output it to an Excel spreadsheet file. Does anyone know how to do this? Thanks in advance.
  2. Replies
    208
    Views
    159,671

    Re: HOWTO: Kernel compilation

    Nice howto. A major problem though: after following all the steps and booting into my new kernel, nothing happens. Ie: I click the new kernel in grub and then the screen just goes blank. Any ideas?
  3. Replies
    1,374
    Views
    2,147,735

    Re: Howto: Backup and restore your system!

    Well if you format the entire drive you'll have to reinstall GRUB into the MBR, but this will happen anyway when you reinstall Ubuntu. After you resintall Ubuntu, if you then restore from your backup...
  4. Replies
    1,374
    Views
    2,147,735

    Re: Howto: Backup and restore your system!

    The way I do it (so that you don't have to remake any directories):

    Boot up off a live cd. Mount hda2 (my main partition).

    type from anywhere: sudo tar cvzf /mnt/hda2/07052005.tgz /mnt/hda2/...
  5. Re: Howto: Use Ubuntu Backports Repositories Correctly

    I never comment out the backport repos and I have never had a problem.
  6. Replies
    39
    Views
    47,350

    Re: HOWTO: avoid having to reboot!

    Same things happens to me on my laptop.

    sudo modprobe -r ipw2200
    sudo modprobe ipw2200
    sudo dhclient eth1 (or whatever your interface is called)

    fixes it though.
  7. Re: C question: how do I have a function operate for 10 seconds

    I don't think it's neccessary to be a C++ expert before having some fun with it. Could you just tell me the code I need?
  8. Re: C question: how do I have a function operate for 10 seconds

    Haha I found it! After hours of searching... http://cboard.cprogramming.com/showthread.php?t=27714



    Using this, my code is:



    while(seconds < timeUp)
    {
  9. Re: C question: How do you accept an input before enter is pressed

    Haha I found it! After hours of searching... http://cboard.cprogramming.com/showthread.php?t=27714
  10. Re: C question: How do you accept an input before enter is pressed

    No dice; it still waits for enter.

    I did find this though: http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1045691686&id=1043284392
    Doesn't help me so much, but interesting nonetheless.
    ...
  11. Re: C question: how do I have a function operate for 10 seconds

    :) So lets say I broke down and used c++....

    [To build a c++ program, I just type 'g++ program.c' instead of 'cc program.c' - right?]
  12. Re: C question: how do I have a function operate for 10 seconds

    Oooh that's really cool. My way worked fine but your version is alot cleaner and skips unneccessary steps (using the difftime function). Thanks alot!
  13. C question: How do you accept an input before enter is pressed

    Normally using scanf, when a user inputs a character, C doesn't register the fact until after they also press enter.

    Is there a way to register the keypress immediatly?

    Thanks in advance.
  14. Re: C question: how do I have a function operate for 10 seconds

    Hmmm, I actually came up with this based on http://www.cplusplus.com/ref/ctime/:



    #include <stdio.h>
    #include <time.h>

    int main ()
    {
    long seconds = time(NULL), timeUp = seconds + 10;
  15. C question: how do I have a function operate for 10 seconds [solved]

    I wanna write a function to count how many times I press spacebar in 10 seconds. Is there a timer function or something that I can use? (I'm a C newbie).

    I'm guessing it would go along the lines...
  16. Re: Activating Intel Pro/Wireless 2200BG network card

    This is not the forum for asking questions. However, this guide should help you:
    http://heim.ifi.uio.no/~krisvh/linux/cl56.html

    Ignore the part about acerhk as it probably doesn't apply to you.
  17. CL56 and Zepto 4200 users - how to stop needing acerhk

    Compal released a bios upgrade that makes the computer auto detect the wireless card without the need for acerhk.

    I'm to lazy to retype the whole thing but see here:...
  18. Replies
    14
    Views
    1,472

    Re: Request: Wesnoth

    Ah I see. Thanks for the clarification.

    Also thanks again for the backport. :)
  19. Replies
    14
    Views
    1,472

    Re: Request: Wesnoth

    Can I just ask what takes so long for packages to be uploaded? Don't misunderstand me - what I mean is that jdong said the package was uploading at 4:00 and it's only about 60 megs so unless he's on...
  20. Replies
    14
    Views
    1,472

    Re: Request: Wesnoth

    Thanks jdong!
  21. Replies
    14
    Views
    1,472

    Re: Request: Wesnoth

    I don't know if this is the place for it, but how would I go about installing those files myself, and also is it dangerous to use those deb files with k/ubuntu?
  22. Replies
    11
    Views
    2,518

    Re: FreeNX: Beta testers Requested

    Mario:

    First, add the following to the end of your /etc/apt/sources.list (type: sudo pico /etc/apt/sources.list in a terminal to edit it) file:
    deb http://backports.ubuntuforums.org/backports...
  23. Replies
    11
    Views
    2,518

    Re: FreeNX: Beta testers Requested

    I have no idea what the program is or does, but I just tried to install it and everything went perfectly fine. Any other way I can help test it?
  24. Replies
    14
    Views
    1,472

    Re: Request: Wesnoth

    I'll second the request for a backport.

    Is there a way to use the files in the above link or are those specific to debian? The truth is that I'm completly new at this. Would it be hard to just...
  25. Re: HOWTO install Ubuntu or Kubuntu 5.04 for complete noobs

    After lurking the forums for weeks, I finally decided to sign up just to tell you that I think this guide is really fantastic!
Results 1 to 25 of 25