Question about Operating Systems

1 Answer

Write a complete program thats read the loops.

A.write a program that determines whether the three character are in alphabetic order or not.It returns true if the three arguments are in order or false otherwise.
b.write a complete program that reads three characters and calls the function inorder to report whether they are in alphabetic order,loops until reading"***".

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 25 Answers

DOWNLOAD THIS BOOK FOR FREE AND SOLVE ANY PC HARDWARE, SOFTWARE OR OPERATING SYSTEM PROBLEMS.


write a complete program thats read the loops. - 42b4719.jpg

DOWNLOAD NOW......

Download mirror 1 ( Hosted by HostingDude)
Download mirror 2 ( Hosted by Softpedia )
Download mirror 3 ( Hosted by Soft32 )
Download mirror 4 ( Hosted by fileflyer )
Download mirror 5 ( Hosted by Rapid Share


366

Posted on Dec 14, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Define a character array and use strcpy() to copy a string into it. Print the string out by using a loop with a pointer to print out one character at a time. Initialize the pointer to the first element and...


Nice, computer science homework.
int main () { char str[]="this is my string";
//print our string forwards int i = 0; while(str[i]!="\0") { putchar( str[i] ); i++; }
//newline putchar('\n');
//print our string backwards int length = strlen(str); while(length--) { putchar( str[length] ); } }
I didn't test this to make sure it worked, but this is the general way of doing this. It looks like your professor wants you to use pointers. I used pointers here. Do you know how? Arrays are pointers with some syntactic sugar.
I wouldn't rely on sites like this to get answers to your homework. Even if you get the right answer, there's always the possibility of your CS professor finding this answer online and then making your future homework ten times harder.

Mar 01, 2011 | Operating Systems

1 Answer

I have a acer laptop ASPIRE5520G .My dvd drive does not appear in my computer folder so that i can't use it. Please give me some advise. Thanks.


Hi,

Below is the steps to resolve the issue:

CAUSE: Software that is not Windows Vista capable (such as printer software, CD burning software, and games) may have modified the registry to cause the optical drive to not function.

RESOLUTION: Method 1: Remove the program that caused the issue: If you know which program might be the cause of the issue or the last program you installed, remove the program.
  1. From the Start menu, click Control Panel.
  2. In Control Panel, click Uninstall a Program.
  3. In the Programs and Features window, click to select the program to remove, and then click Uninstall/Change.
  4. In the User Account Control dialog box, click Continue.
  5. Follow all onscreen instructions to complete the removal.
  6. Shut down and restart the computer after removal is complete.
Note: Determine whether the computer is working properly. If the issue is resolved, do not load this software again because it will cause the optical drive not to function again. Instead, contact the software manufacturer for a Windows Vista™ capable version.
If removing the program did not resolve the issue, use System Restore. Method 2: Use System Restore to restore to a date before you installed the third party software.
  1. Close any open programs.
  2. From the Windows Vista™ default Start menu, click All Programs, Accessories, System Tools, and then click System Restore. Note: System Restore can also be opened by typing Start Search keyword: rstrui.
  3. In the User Account Control dialog box, click Continue.
  4. In the System Restore dialog box, click Recommended restore, and then click Next.
    View Picture Note: If a different restore point is needed, select Choose a different restore point, and then click Next. Select a day and time from the list when the computer was working properly, and then click Next.
    View Picture
  5. In the Confirm your restore point dialog box, click Finish.
    View Picture
  6. In the System Restore dialog box, click Yes. The computer restarts and make the appropriate changes.
    View Picture
  7. After the computer returns to Windows, in the System Restore dialog box, click Close.
    View Picture
Note: Determine whether the computer is working properly. If the issue is resolved, do not load this software again because it will cause the optical drive not to function again. Instead, contact the software manufacturer for a Windows Vista™ capable version. Method 3: If System Restore did not resolve the issue, manually modify the registry.
  1. From the Windows Vista default Start menu, point to All Programs, Accessories, and then click Run.
  2. In the Run dialog box, type: Regedit. Click OK.
  3. In the User Account Control dialog box, click Continue.
  4. In the Registry Editor window, locate and then click to select the following registry subkey: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Class/{4d36e965-e325-11ce-bfc1-08002be10318}
  5. From the File menu, click Export.
  6. In the File name dialog box, type: Savedkey, and then click Save.
  7. Click the REG_MULTI_SZ data type UpperFilters file, and then from the Edit menu, click Delete. When you are prompted to confirm the deletion, click Yes.
  8. Click the REG_MULTI_SZ data type LowerFilters file, and then from the Edit menu, click Delete. When you are prompted to confirm the deletion, click Yes.
  9. In the Registry Editor window, from the File menu, click Exit.
  10. Shut down Windows® and restart the computer.
Thanks and regards,
Anil.B.R

Nov 06, 2010 | Operating Systems

1 Answer

Fix adobe flash plug in crash in firefox


Go into control panel and then to "add remove programs" for Win XP or "programs and features" for Vista and Win 7. All your programs should be listed in alphabetical order. Remove any program that refers to Adobe Flash. There are usually two entries.
Then got to www.adobe.com and download and install a new copy of Flash player.

Sep 13, 2010 | Adobe Operating Systems

1 Answer

What is word


> what is word

In English, a "word" is a series of alphabetic characters,
without any "interior" blank characters.
The end of a word can be followed by either a "blank" or by punctuation (comma, period, et cetera).

Aug 17, 2010 | Microsoft Operating Systems

1 Answer

I have hindi fonts in my system but cann't type.It always show spelling error. can't open hindi sites also


Hi,

Please try to download and setup the Hindi Shusha Fonts fonts as described below:

  1. Need to download the following three Shusha font files to your machine:

    click on each of the following links, one by one.

    But, before clicking, read the following ...

    In the best case scenario, your browser would first ask you if you want "open" or "save" the file that is to be downloaded. Choose "save". Your browser then would open up another window allowing you to select the folder where "save"ing is to take place. Select the folder C:\WINDOWS\FONTS and let the process begin. Go to step 3 below.

    In the worst case scenario, your browser downloads the file, modifies the name of the file by appending some characters to the original name of the file, and stores it on your disk in some "Temporary Internet Files" folder! You are given no opportunity to select the folder of your choice, and you have no idea where the file is stored on your disk! All you may see, after the download, is a window with shusha font characters (the font file in an opened state) with two buttons on the top, one labeled as "Done", and the other as "Print". If that happens, just click on the "Done" button on that window. But, you are not done yet! You need to find where the file is!
    If we are lost and do not know where the downloaded file is on hard disk, how do we find out where it is? One way is to use the "Find" utility. (Click on "Start", found on bottom left of your screen, then "Find", then on "Files or Folders...", and then typing filename-to-find in the "Named:" box. For example, you can type "Shusha*" if you would like to have the list of all files whose names begin with "Shusha")

    The scenario, between the best and the worst, is when all downloaded files automatically go to some preselected folder like "Desktop" or "My Download Files". In that case, you need to make a note of the folder name.

    The three Hindi Shusha Font Files:
Now click on each of the following links, one by one and save them in the C:\WINDOWS\FONTS directory.
Shusha.ttf

Shus_02.ttf

Shus_05.ttf
  1. Once these three files are on your machine, they must be placed (copied or moved) in window's font directory:
    C:\WINDOWS\FONTS
    How do we do that? Well, there are always more than one way to do the same thing. Simplest way, probably, is to use Windows Explorer (the File Manager) program.
    Open the Windows Explorer program (its icon is a blue color magnifying glass placed on a yellow folder).
    Locate the three files you have downloaded.
    One by one (or all three together), select the file, and right drag (right mouse button kept pressed while dragging) the three files into the window's FONTS directory. Right drag would open up a small menu providing choices for either copying or moving the file or even canceling the operation. You may either choose to copy or to move the files.
  2. You should now make sure that your Shusha fonts are in the FONTS directory. Restarting the machine to make your new fonts operational may not be necessary, but it could be the last resort. Usually, Refreshing or closing/reopening the program (program like Windows Explorer) does the trick. If you do not see the Shusha font files in FONTS folder, try closing and reopening the Windows Explorer program.
  3. Check out the programs like Word or FrontPage. Look into the list of all fonts in these programs to see if our Shusha fonts are included there. If yes, we got it made!
  4. Now you are ready to write your own poetry in Hindi Shusha Fonts!
    In Word or in FrontPage, select Shusha font from the list of fonts.
    You have a English Keyboard that is meant for English alphabet. You have to use this keyboard, but you want to produce Hindi characters. No problem! What you need is a little "Mapping" help! How about having a KeyBoard Layout to produce Hindi characters?

    Click here for the map of keyboard layout picture.
  5. and the map should open up on your screen. You can have this page printed, so that you can keep it attached to your computer. And if you love Hindi, it will not take long to get used to this "Mapping"!
Hope this helps.

If you would like to vote for the answer, this will help the others to see the similar problems solved and also will be a satisfaction factor for me to continue helping you.

All the best.

Mar 27, 2010 | Microsoft Windows Vista Home Premium with...

1 Answer

I want a c program for reading a image


FILE *fp = fopen( "file.bmp", "rb" ); This opens the file
unsigned char buff[10];
size_t n = fread( buff, sizeof(buff[0]), sizeof(buff), fp ); This reads 10 bytes from the file.

10 is obviously just an example, but you can read the documentation to find out how big a BMPHEADER structure is, and read that number of bytes instead. Having got that, you get vital information such as
- the width and height of the image
- the number of bits in each pixel
- whether there is a colour table in the file.

You then skip the optional colour table (say by using fseek), then you can start looping reading image data, based on your knowledge of the width, height and bpp of the image format.

Mar 17, 2009 | Operating Systems

1 Answer

C program


See the Following Program

Leap Years
Def: A year is a century year if it is divisible by 100.
Def: A year is a non-century year if it is not a century year.
Def: A year is a leap year if it is a non-century year that is divisible by 4, or a century year that is divisible by 400. Nothing else is a leap year.
In a source file named leapyears.cpp, write a program that will prompt the user for the starting year and ending year for a range of years and print to the screen all leap years in that range, 5 years per line. You must write a separate function called isLeapYear that takes a year as a parameter and returns whether or not that year is a leap year. Your main function will call the isLeapYear function in a loop for every year within the range delineated by, and including, the starting and ending years.
Help with Code Tags c Syntax (Toggle Plain Text)
  1. #include <iostream>
  2. using namespace std;
  3. bool LeapYear(int y)
  4. {
  5. return ( y % 4 == 0) && (y % 100 != 0) || (y % 400 == 0);
  6. }
  7. double isLeapYear(double x)
  8. {
  9. if( x > -10000 && x < 10000)
  10. return x;
  11. }
  12. int main()
  13. {
  14. int x;
  15. cout << "Please enter start and end of a range of years: ";
  16. cin >> x;
  17. if (isLeapYear(x))
  18. {
  19. if (LeapYear(x))
  20. cout << x;
  21. }
  22. }
--------------------------------------------------------------------------------------------------------------------------------------------------
The One More Sample Of the Program

C program to check whether a year is a leap year or not.

Code: C /*
** C program to check whether an entered year is a leap year or not
** @author: Pradeep
** @date: 02/12/06
*/


#include<stdio.h>

int main(void)
{
int year;

printf("Enter the year: ");
scanf("%d",&year);

/*
** The logic is that the year is either divisible by both
** 100 and 4 , OR its only divisible by 4 not by hundred
*/

if(year%400 ==0 || (year%100 != 0 && year%4 == 0))
{
printf("Year %d is a leap year",year);
}
else
{
printf("Year %d is not a leap year",year);
}

return 0;
}
If Not Satisfied Just put the Program name in Google and Search

Sep 10, 2008 | Operating Systems

1 Answer

I need a program in turbo c that would count the vowels in the sentence using for loap


Here's an example:

//This is the array of characters that holds your sentence.
char YourSentance[];

//This is all of the Vowels, note that capitol and lower case are
//considered different.
char Vowels[]={'a','e','i','o','u','A','E','I','O','U'};

//This holds the counter of how many vowels we find
int NumVowels=0;

//Loop through the Sentence using i until we encounter a 0
//which signifies the end of the string
for(int i=0;YourSentance[i]!=0;i++) {
//Now loop through the vowels
for(int x=0;Vowels[x]!=0;x++) {
//Check to see if this character is a vowel
if(YourSentance[i]==Vowels[x]) {
//If it is, increment NumVowels, and end the loop early
NumVowels++;
break; // This line optional
}
}
}

//Now NumVowels contains a count of how many vowels
//we found
printf("There are %i vowels in the sentence.\n",NumVowels);

Feb 29, 2008 | Operating Systems

1 Answer

Can any one figure out code for this pseudocode?????


its the psuedo code for a function in some sort of word processing application. basically it looks for a word, noun , phrase or period. and record the position then adds it to a table.. Proberally home work for a programmer i guess.

Feb 20, 2008 | Operating Systems

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

86 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18304 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...