Programming :: Temperature Converter In C - Feedback?

Sep 24, 2010

I'm a C newbie. Just wrote this temperature converter. I know it's very basic but, as it is, is there anything wrong with it? any things that are done incorrectly? It seems to work fine.

Code:
#include <stdio.h>
int main(void)
{
float fahr, celc, result;
int choice;

[Code]...

View 10 Replies


ADVERTISEMENT

Programming :: Send Message To Display And Get Feedback [tcsh Script]?

Jun 23, 2011

I want to write script at "tcsh" that send message to user ($DISPLAY) and let him to answer me.below command line that open xterm at any user displayQuote:setenv LESS "P'HIT q TO QUIT'"/usr/bin/xterm -display $USER_DISPLAY -geometry 60x7 +sb -rv -e less ./MESSAGE_FILEpressing "q" will close the window.there is any way to press "r" ->
new window will open ->user write a feedback ->message will send back to sender.

View 11 Replies View Related

Programming :: C++ Roman Numeral Converter?

Jan 12, 2011

I am trying to finish up my intro C++ course, and have to make a Roman numeral to Arabic converter. I had no trouble with the reverse (Arabic to Roman), but I must be missing something on this one. I tried a few variations, and either got 0 or an insanely high number as the output.

Code:
#include<iostream>
#include<cstring>

[code]....

View 3 Replies View Related

Programming :: Developing HTML To PDF Converter Project?

Dec 31, 2010

I am new to linux. I am pursuing bachelors in computer science engineering. My final year project is to develop a "html to pdf converter using linux". I have some basic knowledge of commands used in unix

1) Where can I get the basic idea about the existing converters, their pros and cons.
2) Any kind of material or source where I can get basic idea.

View 14 Replies View Related

Programming :: Graycode To Hexadecimal Converter From Input File?

Aug 25, 2010

Design, debug and test a C program that uses Gray Code for decoding information stored in a binary file. Gray Code G(A)of any value A can be easily produced from unsigned binary B(A) using the expression: G(A) = B(A) ^ ( B(A) >> 1 ) (1) The formula may be used to generate coding tables. For example for 4-bit codes:

Table 1. Coding table

Hex Value Binary Gray

0 0000 0000
1 0001 0001
2 0010 0011

[code]....

If the first option is selected, your program shall prompt the user to enter the file name and open the specified file. In this assignment you can presume that the file size is always limited to 64 bytes. If the file is not found, the program shall display a message: File not found and display the menu, so the user can enter file name correctly or exit the program.

View 3 Replies View Related

Ubuntu :: Get Launch Feedback For Qt Applications?

Dec 30, 2010

How do I get launch feedback for Qt applications such as VLC? For example, if I open a file with a gtk application the mouse turns into a spinning thing to show the application is loading, but this does not happen with Qt applications.

View 7 Replies View Related

Fedora :: Feedback About Dell's Support Website?

Jan 7, 2010

At Dell we have worked hard to build out the Dell Consumer Support Home Page to be a thorough support website providing all levels of self-support service, as well as providing easy access to all of the relevant information needed to obtain assisted support. The design of the page has grown organically over time, but we feel it's time to give the look/feel of the page a facelift.

View 1 Replies View Related

OpenSUSE Hardware :: Automatic Feedback From Live CD?

Mar 14, 2011

There is a new openFATE proposal (http://features.opensuse.org/311661) to add a desktop icon to the Live CD's that will use smolt to provide feedback for hardware options that work.

View 2 Replies View Related

Ubuntu Multimedia :: Looking For Feedback Frequency Trainer?

Aug 17, 2010

I am a sound engineer trainee and I'm desperately looking for a Linux version of the Simple Feedback Trainer [URL]. It's a rather easy but very good program that provide info to sound engineers train the detection of feedback frequencies. Do you know if such a thing already exists? I haven't been able to find it in the Ubuntu Software Center.

View 2 Replies View Related

Security :: Feedback For Server Firewall Script?

Apr 7, 2010

I've read tutorials and put together this IPTables firewall for my LAN fileserver. Appreciate any feedback you may have to offer:

Code:
*filter
# Flushes any current rules
-F
# Sets all default policies to DROP
-P INPUT DROP
-P FORWARD DROP

[Code]...

View 6 Replies View Related

General :: Audio - Fix A Feedback Loop On My Microphone In System?

Feb 25, 2011

First off, this isn't the usual "physical" feedback of a speaker being too close to the mic. This mic is part of a headset so there's no way for the output and input to overlap and cause feedback. This mic has worked perfectly for me in the past, but I recently re-installed my OS and it hasn't worked since.

It seems as if my audio out is getting redirected to microphone in. If I open up and sound recording program while I have some audio being output, the output will get echoed back in through the microphone channel, although any actual microphone input is never picked up. I can blow or scream into the mic and there's no indication at all that Linux is picking it up.

I'm running ArchLinux with ALSA. I've gone into alsa mixer and played with just about every channel in every way I can think of, and none of the options seem to fix the problem.

How should I fix this? I use my mic pretty much constantly when I'm on the computer, being without it sucks.

View 1 Replies View Related

Ubuntu Multimedia :: X-Fi Titanium Microphone Feedback (echo)?

Oct 12, 2010

I'm running Maverick right now, but the problem also occurs with Lucid. My sound card is a creative X-Fi Titanium (emu20k2). Audio playback is fine, surround is fine, etc. Audio capture is "fine" too - the problem is that the microphone picks up everything that the headset is outputting. This is very strange since the headset is a noice-cancelling headset and in order for that to happen on other platforms (windows) I essentially have to turn the volume up to astronomical levels. As always, this doesn't happen on windows.

Needless to say this poses somewhat of a problem with VoIP applications since folks I'm interacting with constantly hear themselves echoed back by me. The only solution is to tune down the microphone volume but that adds another problem: people can no longer hear me clearly.

So my question is: is there a way to enable echo reduction for Pulse Audio so that the mic doesn't constantly capture what's coming from the outputs? And yes - when I look at the "input" tab in the sound preferences application I can see the marker move if I speak - same with pavucontrol

View 1 Replies View Related

Ubuntu :: Feedback On Lubuntu Natty 64bit Version

May 16, 2011

Have been using Lubuntu Natty (32-bit) happily for a few days now, even generated a remastered iso (urxvt, custom .bashrc, .bash_aliases, Chromium with AdBlock Plus, Tabs to the Front, Context Menu Search, Unified Openbox and GTK themes, aria2c, htop). One of the Peppermint OS developers put together a 64-bit version of Lubuntu Natty. Downloaded and installed it from USB (using USB Creator) today. Hangs pretty bad at LXDM login screen.

View 1 Replies View Related

Ubuntu Multimedia :: Jack Control - Feedback Crescendos Then Cuts Out

Jun 12, 2010

So I've used Jack Control for sometime now to control my recording suite that I use (Ardour, Rakarak, and Hydrogen Drum Machine) recently however, when I start the Jack control, as soon as I connect input to output in the connections window, it's like it has internal feedback. The feedback crescendos, then cuts out. after that (let's say I have my Fender plugged into the sound card) if I strike a string there it comes out muddy distorted with an awful echo (some what like what echo would sound like on blown speakers). I have checked all the settings, everything is as it was before when it worked fine... dunno... is Lucid possessed?

View 9 Replies View Related

Debian :: Dist-upgrade Giving Weird Feedback On DVDs

Mar 7, 2011

I use Squeeze. I just recently upgraded from Lenny. My sources.list is a combination of Debian DVDs and some http repos (for multimedia, non-free, and security updates). I rely largely on DVDs because I use dial-up.

When I tried to run apt-get dist-upgrade for the multimedia packages on my system, it told me to insert Debian DVD disc #1, and from that attempted to install the following programs: librtmp0 libdirac-decoder0 libggiwmh0 libggiwmh0-target-x libvdpau1 twolame. But, it then told me:

[Code]....

View 5 Replies View Related

General :: Feedback Requested On Planned Multiple Filesystem Copy

Jan 14, 2010

I am going to be involved with a massive filesystem copy from a local to a remote server in the next couple of weeks. There are ten filesystems in involved in this process. All, except one, are one hundred gigabytes in size, with the remaining one at twenty gigabytes.The cp command with the -pr options will be used to copy the directories to their new location. A speed test, involving ten directories, was done to determine the average amount of time it would take to complete the process. The ten directories used in this test ranged in size from 2.3 gigabytes to 4.3 gigabytes. The results indicated the average amount time to complete the copy was around one minute and thirty seconds.

The question I have is the following: Is it better to interactively go to each filesystem and run the cp -pr command there, or should I write a script that will automatically go to each filesystem and run the copy?

View 1 Replies View Related

Ubuntu :: 11.04 Unity - Manage Workspaces \ Still Miss The Good Visual Feedback And The Single Click Action That The Lower Panel (classic) Desktop Switcher Used?

May 21, 2011

I like 11.04 with Unity however I would like to find a method of managing workspaces with mouse (not keyboard) which gives constant visual feedback and is faster than using the launcher bar, which although not 'slow', takes time to appear and it then takes time to locate the (non movable) desktop switcher item.I happily adopt most of what 11.04 (Unity) offers, however, I really still miss the good visual feedback and the single click action that the lower panel (classic) desktop switcher used. Is there a way of me using some item in unity which is closely similar?

View 3 Replies View Related

Red Hat / Fedora :: Get Temperature Of CPU?

Jun 6, 2011

In my system, the temperature of the CPU can be known from the file,/sys/bus/acpi/devices/LNXTHERM:00/ thermal_zone/temp . But I have found that not all systems have this file. Is there a generic method to get the temperature. Installing a package for this purpose won't be a solution as I'm building a simple gnome-shell extension. Something that comes along with the kernel would be perfect.

What could be other files that can possibly store temperature information, so that it would work on most atleast if not all? Any help like the file that stores temperature on your particular system only would also be highly appreciated.

View 3 Replies View Related

Hardware :: VIA C7 CPU Temperature

Mar 5, 2011

Does anybody know wich temperatures a VIA C7 processor can tolerate (max) ?

If i let the server run without the top: ~40C (104 Fahrenheit)
If i let the server run _with_ the top on: ~65C (149 Fahrenheit)

Someone over at silentpcreview.com suggests that the C7 can easely tolerate temperatures of 100C (212 Fahrenheit)

View 4 Replies View Related

OpenSUSE :: HDD Temperature Control?

Mar 29, 2010

There is a question, i'd like to ask: is there any decent program to monitor HDD temperature for linux? WHy are they so few? Suse Install repositories do not show any that could be installed. I used to use hddtemp on my previous 11.2 gnome installation, but it seems now something gone wrong, and i cant get this program anymore through: "sudo apt-get install hddtemp" and receive "sudo: apt-get: command not found", so as i am a newbie i can barely guess what is wrong. maybe there are any other programs to get this thing running. Its really puzzling because every laptop user need such tool badly, and i do not understand why is there so many monitor tools for cpu temperature and not a single good for hard drive which is far more important than cpu temperature, that rises and drops constantly as soon as your fans are fine???

View 2 Replies View Related

OpenSUSE :: Can't Measure Temperature

Sep 3, 2010

I installed opensuse 11.3 to my laptop.Toshiba L505-13w satellite. core i5 2.27 ghz , 4gb ram, 1gb ati display.I can't measure cpu temperature. I tried "acpi -t" and sensors but nothing happened.I also tried system information widgets from plasma menu.Still I can't see my cpu temperature. Can anyone help me about this problem? I want to see my cpu temp.

View 1 Replies View Related

Ubuntu :: Can't Monitor Cpu Temperature?

Jan 2, 2010

I've recently installed Karmic on my new machine with the following specs;

Asus M4A785TD-V EVO Motherboard
AMD Athlon II X4 620 2.6GHz
Crucial 4GB (2x2GB) DDR3
Coolermaster Elite 330 Case
Western Digital WD5000AAKS 500GB

I'm looking to install some sort of temperature monitoring for my cpu and have had luck using either lm-sensors or acpi. With lm sensors, I've followed the various how to's on the forum and am still coming back with nothing. Trying to add hardware monitoring to panel brings up a 'no sensors found!' error, and x-sensors just starts up with a blank screen.

'sensors' in terminal spits back this -
Code:
lou@lou-quad:~$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
lou@lou-quad:~$

I've added the relevant lines into etc/modules as per the last question during configuration but still no joy. I've just run 'sensors-detect and had a gander at the output, and I'm wondering if its as simple as no one has written a driver for my mobo yet.

[Code]...

View 2 Replies View Related

Ubuntu :: Getting CPU Temperature With MSI Board?

Oct 1, 2010

So I just got a MSI 870A-G54 and have been trying to get the CPU temperature on the command line. I ran the following

Code:
sudo apt-get install lm-sensors hddtemp sensors-applet computertemp

And ran sensors-detect

Code:
sudo sensors-detect
# sensors-detect revision 5818 (2010-01-18 17:22:07 +0100)
# System: MSI MS-7599
# Board: MSI 870A-G54 (MS-7599)

[Code].....

View 9 Replies View Related

Ubuntu :: Check Out Temperature Of Cpu?

Sep 1, 2011

So I would like to check out my cpu temperature in function of time. I've followed [URL]...gpu-en-ubuntu/ but unfortunately in the description it was for the old version of Ubuntu and despite having downloaded the program, I simply can't add it in the taskbar. I did in a terminal: sudo apt-get install sensors-applet. Then I installed a few remaining packets from synaptic. Now how do I run the program?

View 6 Replies View Related

Hardware :: GPU Temperature And Fan Speed?

Apr 5, 2011

My nVidia graphics card gets too hot to touch very quickly. Below is current statistics, but it is usually 93C.Is this too hot? Should I speed up the fan? How I do this without risking frying the thing?

View 10 Replies View Related

Software :: Cpu Load With Temperature?

Jun 5, 2011

i need a script that can log simultaneously the individual cpu core load and individual cpu core temp, like the "cpu core temp" software in window. write that script that can log these values for over a certain period of time with a fixed time of interval in between the two values?or is there any such tool in unix?

View 7 Replies View Related

CentOS 5 :: Lm_sensors - To Get CPU Temperature?

Oct 24, 2010

Trying to find the CPU temperature, I found this lm_sensors is what I need..I do this;

wget http://dl.lm-sensors.org/lm-sensors/releases/lm_sensors-3.2.0.tar.bz2
bzip2 -dv lm_sensors-3.2.0.tar.bz2
tar xvf lm_sensors-3.2.0.tar[code].....

View 9 Replies View Related

OpenSUSE :: Temperature Plasmoid Do Not Work On Kde 4.6.2?

Apr 25, 2011

openSUSE 11.4 64 bitsI have "sensors" package installed and configured with sensors-detect.The cpu temperature monitor plasmoid worked on kde 4.6.0 without problems but after installing 4.6.2 the monitor do not show any info.By running "sensor" from konsole I can see the temperature for both processors so it seems to be something related with the kde update

View 9 Replies View Related

OpenSUSE Hardware :: App To Show The Temperature (probably Of The Cpu)?

Nov 28, 2010

I'm using default KDE openSUSE 11.3 64 bit In windows I can see the temperature of my HP laptop (cpu I suppose). Is there a facility for viewing that in Linux / openSUSE. Maybe in KDE, maybe in Yast, wherever?

The reason is that my laptop's temperature and fan speed increases slowly when I convert large video files from one format to another and the computer eventually shuts down spontaneously when the temperature becomes critical. I'd like to watch this so I can prevent it. So I need the app.

View 9 Replies View Related

Ubuntu :: 10.04 - 2 Cores CPU Temperature High

Apr 13, 2010

I have a notebook with AMD Athlon 64 QL-62 2 cores CPU. Normally the temperature is 50-52 Celsius in idle but with Ubuntu 10.04 beta 2 idle temp is 60 Celsius. /proc/cpuinfo shows both cores on 1GHz which is good but still temp is higher than usual. I tried to find solution using Google but I didn't find anything.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved