| bio | website | |
|---|---|---|
| location | United States | |
| age | ||
| visits | member for | 2 years, 2 months |
| seen | 10 hours ago | |
| stats | profile views | 10 |
I like C++.
I like Linux.
I like Linux.
|
May 7 |
answered | Could not reliably determine the server's fully qualified domain name? |
|
May 5 |
awarded | Excavator |
|
May 5 |
revised |
“FirewallD not running” error when trying to install a printer Highlighting the solution as "code" and noting that the WORKAROUND is a quote from the linked article. |
|
May 5 |
suggested | suggested edit on “FirewallD not running” error when trying to install a printer |
|
Apr 12 |
awarded | Editor |
|
Apr 12 |
revised |
Valgrind does debug error follow up with solution that worked for me |
|
Apr 12 |
answered | Valgrind does debug error |
|
Feb 19 |
comment |
Netpbm PAM image format support not working I have found that ImageMagick (e.g. convert,display) knows how to deal with simple PAM images. You can generate a PAM image with convert - pam:- <input_file >output_file |
|
Feb 19 |
answered | 12.04 Stuck at 'VMware easy install' |
|
Feb 19 |
awarded | Student |
|
Feb 19 |
comment |
12.04 Stuck at 'VMware easy install' "Vmware Easy Install PLEASE WAIT! VMware Tools is currently being installed on your system. Depending on the version of Ubuntu you are installing, you may log in below and use the system during intallation. Otherwise, please wait for the graphical environment to launch. Thank you." |
|
Feb 19 |
asked | Netpbm PAM image format support not working |
|
Sep 4 |
comment |
Name resolution on home LAN? Excellent suggestion! Note that from the Windows client, you don't use the ".local" extension. |
|
Sep 4 |
awarded | Supporter |
|
Feb 26 |
comment |
How to redirect output of a C++ program to a file? You might try using tee... program.out |tee programresult.txt This should allow program output to go to both the file and the shell window. This is just a guess, but maybe the reason nothing happens is because your program is waiting for user input. Also, maybe the reason you don't see anything in the file is because the results are being buffered up to reduce file I/O overhead (which is not helpful in this case). You can defeat the buffering by using fflush():
printf("Type user input now: ");
fflush(stdout);
fscanf(...); |
|
Feb 26 |
comment |
How to redirect output of a C++ program to a file? Well, I had an answer for you -- but by the time I created an account and typed up my answer, the question had been closed. Post your question on stackoverflow.com (which is the same kind of site but for programming-specific questions such as yours). |