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.
Type: Posts; User: epb613; Keyword(s):
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.
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?
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...
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/...
I never comment out the backport repos and I have never had a problem.
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.
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?
Haha I found it! After hours of searching... http://cboard.cprogramming.com/showthread.php?t=27714
Using this, my code is:
while(seconds < timeUp)
{
Haha I found it! After hours of searching... http://cboard.cprogramming.com/showthread.php?t=27714
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.
...
:) 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?]
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!
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.
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;
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...
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.
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:...
Ah I see. Thanks for the clarification.
Also thanks again for the backport. :)
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...
Thanks jdong!
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?
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...
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?
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...
After lurking the forums for weeks, I finally decided to sign up just to tell you that I think this guide is really fantastic!