Question about Intel Pentium 4 505J Prescott 533MHz (INTELP4505J)

1 Answer

Write a program in C to reverse each word at its own position in a string

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

HI..this is a program in C++..plz convert it to C by simply making some changes in the header files and cout, cin statements..

#include<iostream.h>
#include<conio.h>
#include<stdlib.h>
#include<stdio.h>
void main()
{clrscr();
char ch[100];
cout<<"\n Enter a Character: ";
gets(ch);
for(int length=0;ch[length]!='\0';length++);
for(int i=0,j=length;i!=j;i++,j--)
{char temp=ch[i];
ch[i]=ch[j];
ch[j]=temp;
}
cout<<"\n Reversed String: ";
puts(ch);
getch();
}

Posted on Mar 07, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

My usb port is not working


It sounds like your drivers are out of funk mate, this is a quick and easy fix and I'll step you through what a driver is and how to find it.

Pretty much, a driver is a set of strings and registries that tell a computer how to use a device that you plug into it.

So, let's take your USB for example. You have the hardware, now why isn't it working? Well, your computer can't just automatically identify the information plugged into it, it has to be told what it is by means of programming.

When a manufacture makes a computer, they make and sign drivers for the computer itself as well, so you have an Acer Aspire.

Okay, to get the drivers we will have to go to the Acer website.

That will take us to here:

http://us.acer.com/ac/en/US/content/home


After we are at the acer website, we'll select the "Support" tab, and then when we are in the next screen that pops up there will be a side panel with different options, we are looking for "Drivers and Manuals".

After we click this, it will bring us to the section that asks us to enter in our products information, model and serial.

The model for your computer is Aspire 5733. After you put this information in, it will bring up a list of drivers for your computer :) At that, signed drivers from the manufacture.



They are free also, so don't worry. :P You already paid for them, you shouldn't have to do it again.
2_27_2013_12_46_32_am.jpg
After you do this it will ask you what OS you're using, Windows 7 32x or 64x or Windows 8 32x or 64x.

You can figure out what OS you are using pretty easy, to figure out of it's 32x or 64x you can figure this out by right clicking "My Computer" and clicking properties and it will say under "System Type".

After you select your OS and system type, you will want to download the "Chipset" and "Card Reader"

After you do so, install them, restart and your problem should be fixed :)

Have a good one, and if you have anymore questions friend feel free to ask.

Feb 26, 2013 | Acer Aspire 5733-6607 Intel Core I3-370m...

1 Answer

What do the PUSHAD instructions accomplish?


According to several sources including online college level assembly language courses (check assembly language books or google it too)
It pushes all of the 32-bit general-purpose registers on the stack. According to Alpheus's post at:
http://stackoverflow.com/questions/9313098/pushfd-and-pushad-whats-the-point

it states:

The PUSHAD instruction always pushes all 8 general purpose registers onto the stack. A single PUSHAD instruction is equivilent to writing: Push EAX Push ECX Push EDX Push EBX Push ESP Push EBP Push ESI Push EDI POPAD pops the values back off the stack in reverse order, thus restoring all the register values.
PUSHAD and POPAD are useful for performing a easy save and restore of the general purpose registers without having to PUSH and POP every individual register in turn.
Similarly, PUSHFD and POPFD are used to save and restore the EFLAGS register. Although not really used that much in ordinary programs, the instructions are useful when (for example) a process context switch is performed (or anywhere else where the value of the flags register must be restored).
how does the pushfd operation push a value such as 00000A46 to the stack?
It's just how the data is interpreted. The EFLAGS register is a set of 32 bits. If you divide the bits up into 8 groups of 4 (8*4=32), you can map each 4 bit chunk to a hexadecimal character (0..9,A-F). Likewise, you can convert the hexadecimal values back to a set of bits:
00000A46 = 0000(0) 0000(0) 0000(0) 0000(0) 0000(0) 1010(A) 0100(4) 0110(6)
These are the values of the bits that were stored in the EFLAGS register.






Also, see this site for some question and snwer terms:

https://quizlet.com/30362170/assembly-quiz-5-flash-cards/

Feb 07, 2013 | Intel Computer Processors

1 Answer

Hello, I have a used alternator. It is belived to be a motocraft. It is a high output 160 amp model. 12V The alternator has two posts for battery lugs. Positive and negative. It also has field and stator...


you need to get the right book for your alt. libray would have it. find the model of truck otr car find the wireing diag. then copy it and take it home find the color wires and trace them out ok jim

Apr 13, 2011 | Intel (RK80532PG0881M) Pentium 4, 3 GHz...

2 Answers

Paint cannot save file windows 2000 proffessional


This fix should allow you to use MS Paint to Open and Save JPG files, and Open and Save GIF files. The quality of the saved GIF with MS Paint may be reduced because of the limited 256-color palette (See here for an explanation and workaround). A better alternative for opening and saving JPG and GIF files would be to download and install a great FREE image viewer called IrfanView (MS Paint is still better for individual pixel editing, so it's good to have both).
If you want to proceed with the MS Paint Fix, you should first do a search on your hard drive to see if you
have the jpegim32.flt and gifimp32.flt filters.
You can find those files here:
http://www3.sympatico.ca/one.human/files/Jpegim32.flt
http://www3.sympatico.ca/one.human/files/Gifimp32.flt
You need to make sure you have both filters in the following folders:
C:\Program Files\Common Files\Microsoft Shared\grphflt
C:\Windows\MsApps\Grphflt
You may already have the JPEG Filter on your system, but only in one location. If that is the case, Copy and Paste it to the other location. Once you have the JPEG Filter in both locations, you may only need to do a simple Registry edit to be able to "Save As" a JPG.
If you already have the JPEG Graphics Filter on your system (and in both locations as stated above), but MS Paint still won't let you "Save As" JPG, you can manually edit the Registry to correct this. It's a simple fix. Go to Start, Run, type REGEDIT, and click OK. Go to this key by clicking the + signs beside the keys (folders):
HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Graphics Filters\Export\JPEG.
Click on the "JPEG" key (folder) in the left pane, and you'll see a String Value in the right pane with the name "Extensions". Make sure under the "Data" column it shows only "jpg". If it shows "jpg, jpeg", double-click on the "Extensions" string and from the "Value data" field remove "jpeg" so that it only reads "jpg" (without the quotes).
If it worked, this edit allows you to "Save As" JPG. If it didn't work, or if you want to be able to also open and save GIF files, read on.

Or use this reg file to export your files as jpeg
http://www3.sympatico.ca/one.human/files/Filter_JPEG_Export.reg

Jul 29, 2009 | Intel Pentium III, 1.13 GHz...

5 Answers

Error in c:\program\MYWEBS~1\1.bin\M3PLUGIN.DLL Missing Entry: UPP


reinstall the MYWEBS program again, this is a driver problem which is easily sorted

regards

Dec 22, 2008 | AMD Athlon 64 X2 3800+ Dual Core Processor...

1 Answer

Image is not positioned properly on the wide flat screen


Hi... generally the image adjustment and positioning controls will be located on the monitor itself.But iam not sure about this model because i dont have one.You can try the user manualfor further adjustments. Also try changing the refresh rates..i.e keep them the highest possible. Also if your notebook uses inbuilt nvidia graphics, then you will be presented with a system tray applet something like "nvidia display control"... You can change the positioning from there as it will have a interactive GUI.[graphical user interface].

Nov 03, 2008 | Dell Precision 530 Minitower 2.4Ghz...

1 Answer

EZeroDivide problem


You need to Uninstall and then reinstall program

Aug 17, 2008 | Intel Pentium III, 800MHz (229725001)

1 Answer

Where can I find out how to remove programs from my computer to free space?


ok lets start by getting ccleaner from filehippo.com ... install it and use the cleaner function ... next goto the control panel and add/remove programs ... you have lots of free space on your c but hardly any on your d ... is d full with your installed programs or just your files?... if its installed programs you need to uninstall some and reinstall onto your c drive ... if its files you can just start moving stuff over to folders on c

Mar 30, 2008 | Computer Processors

1 Answer

CPU upgrade


Go to the Intel website--they are pretty good at telling you which CPUs are compatible with each of their motherboards.

Feb 24, 2008 | Computer Processors

1 Answer

Hi........


I wrote this as a vbscript. It's Visual Basic code in windows script. If you have XP, just copy the text into notepad and save it as "vowel.vbs". Now double click the newly created script file.

' vowel.vbs
'
' This VBScript is used to count the vowels and consonants in a string.
' Designed and Tested on Windows XP Pro SP2
'
' Version 1.0.0 - 02.20.2008
'
' This code may be freely distributed or modified.
' -----------------------------------------------------------------'

Option Explicit
Dim str
Dim vowels
Dim consonants
Dim i

vowels = 0
consonants = 0
str = "hello"

for i = 1 to len(str)
select case mid(str,i,1)
case "a"
vowels = vowels + 1
case "e"
vowels = vowels + 1
case "i"
vowels = vowels + 1
case "o"
vowels = vowels + 1
case "u"
vowels = vowels + 1
case else
consonants = consonants + 1
end select
next

msgbox "Vowels = " & vowels
msgbox "Consonants = " & consonants
'End of script.

Feb 21, 2008 | Intel (RK80532PG0881M) Pentium 4, 3 GHz...

Not finding what you are looking for?
Intel Pentium 4 505J Prescott 533MHz (INTELP4505J) Logo

Related Topics:

329 people viewed this question

Ask a Question

Usually answered in minutes!

Top Intel Computer Processors Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Shafky Khan

Level 2 Expert

85 Answers

joecoolvette
joecoolvette

Level 3 Expert

5660 Answers

Are you an Intel Computer Processor Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...