Yes...i've had the same problems. And then sometimes you end-up double posting!
Yes...i've had the same problems. And then sometimes you end-up double posting!
Please post the source code along with the objective of the program and it's requirements.
f-16...bloody keyboard?
WaltP....believe it or not....some professors still stick to the old way of teaching/programing...for example...i lost 10 points once for breaking out of a FOR loop....thats one reason some students are reluctant to really learn c++ and just do it because its a required course or something...and if you something another way and get the same bloody answer...they still take points off!!
lol....typo error...it's the f-18 falcon alright!
Antwane.....welcome aboard.I reccommend taking a look at the Rules & FAQ for the daniweb forum. Please do not re-open old threads....i'm pretty sure you could get some help from the 2 previous pages. Again ,welcome. If you are doing this for a school assignment, If you have specific problems when trying to do a program...please post the source code on your own thread along with what you think may be wrong. Also post the errors you get, so we can take a look and help you. Additionally, we don't do homework for people...we provide assistance.
ok ok...totally missed that one...i didn't see another thread started by jbstin...the title of the threads were different...so i just went right in...my eyes need tested anyways...and AD...i'm not in kindergarden yet...so i can't read too well.
So...what/where is the method you've tried? Without providing you the answer...here is a basic outline:
#include <iostream>
#include <cctype>
#include <iomanip>
#include <cmath>
#include <fstream>
#include <string>
using namespace std;
int main(void)
{
int num;//number to get it's factorial
cout << "Please enter a positive number: ";
cin >> num;//user enters number
if (num < 0)
{
cout << "That is not a positive number.\n";
}
else
{
cout << num << " factorial is: " << factorial(num) << endl;
}
The above isn't complete nor tested. Also, in the future, before posting, search the forums to see if someone else had the same problem/assignment. We are willing to help, but we don't want to waste time doing the same thing over and over again...In the factorial function, you could try something like this:
int factorial(int )
{
int temp;
if(num <= 1) return 1;
//figure out the simple calculaltion
return temp;
}//end for factorial
hope this helps.
Can you please list/post/tell what the errors are?
Welcome aboard. If you have specific problems when trying to do a program...please post the source code here along with what you think may be wrong. Also post the errors you get, so we can take a look and help you. We are not in the business of doing your home-work for you! You must TRY/show some effort!!
thunderstorm98..i'm actually planning to visit there
Welcome to Daniweb!
Welcome aboard. This forum is strictly for C++ assignments… However, if you have C++ computer programming questions, we’ll be more than happy to assist you. With regards to conversion....GOOGLE!!! or use AoA audio extractor....it works fine for me!
lol...keep em coming....for me...don't diss my F-18...you'll be in big trouble.(look inder the wings)
Well...caribbean food for me (other)...it's rather diverse...because the caribbean has people from all other the world...europe, NA, east asia, india ect...we have a lot going on. Jerk Chicken, curry, the soups are quite popular...can't forget the sunday evening dinner without a bottle of caribbean rum.
Since you've got the algorithim...it shouldn't be that hard....please post what you've got so far!
Welcome aboard. If you have specific problems when trying to do a program...please post the source code here along with what you think may be wrong. Also post the errors you get, so we can take a look and help you. We are not in the business of doing your home-work for you! You must TRY/show some effort!!
Thats not a hi-jack log. Try the following link:
http://www.trendsecure.com/portal/en-US/tools/security_tools/hijackthis
1. Run it to your desktop.
2. Let it scan your PC. The log should be saved as a notepad file. Please post it here. Thx.
welcome...hope you'll enjoy it here!
welcome...hope you'll enjoy it here! Since you've got a specific question about C, we recommend that you post your question in the C Programing section of this forum. Happy Coding
welcome...hope you'll enjoy it here!
welcome...hope you'll enjoy it here!
No i'm not able to run SFC!
welcome...hope you'll enjoy it here!
welcome...hope you'll enjoy it here!
welcome...hope you'll enjoy it here!
Welcome aboard. If you have specific problems when trying to do a program...please post the source code here along with what you think may be wrong. Also post the errors you get, so we can take a look and help you. We are not in the business of doing your home-work for you! You must TRY/show some effort!!
Good day. I am constantly getting a pop-up on startup of my laptop telling me that Windows Security Center is turned off and to click on that pop-up to turn it on. It brings up a window with a button that says "Turn On." When I click it, a dialogue box pops up that says "The Security Center Service can't be started." I have antivirus and anti-spyware programs installed on my laptop, so I don't really know what to do.
Windows Firewall, Windows Defender, and Windows Update all work perfectly, but the security center will not even try to function.
I tried to manually enable it in services...it shows the status as being automatic...however, when i try to start it. I get an error message:"Access violation at address 77BA7036. Read of address 00200068".
When i look at the log for SpyBot..it says this:
10/12/2007 2:05:30 PM Allowed (based on user decision) value "Skype" (new data: "") deleted in System Startup user entry!
10/12/2007 8:31:16 PM Allowed (based on user decision) value "Setup_" (new data: ""C:\Users\Neil\AppData\Local\Temp\SIT34641.tmp\setup.exe" /CmdLine C:\Users\Neil\AppData\Local\Temp\sit10226.tmp") added in System Startup user entry!
10/12/2007 8:38:28 PM Allowed (based on user decision) value "Setup_" (new data: "") deleted in System Startup user entry!
10/16/2007 10:23:43 PM Allowed (based on user decision) value "Shockwave Updater" (new data: "C:\Windows\System32\Macromed\SHOCKW~1\SWHELP~1.EXE -Update -1020022 -iexplore.exe7.0") added in System Startup user entry!
10/17/2007 12:28:26 PM Allowed (based on user decision) value "Shockwave Updater" (new data: "") deleted in System …
Ok...i got the ComboFix to finally work. Below is my log, but i still have a few questions:
ComboFix 07-11-08.1 - Neil 2007-11-15 11:55:42.1 - NTFSx86
Microsoft® Windows Vista™ Home Premium 6.0.6000.0.1252.1.1033.18.794 [GMT -6:00]
Running from: C:\Users\Neil\Desktop\ComboFix.exe
* Created a new restore point
.
((((((((((((((((((((((((((((((((((((((( Other Deletions )))))))))))))))))))))))))))))))))))))))))))))))))
.
C:\Windows\main_uninstaller.exe
C:\Windows\msmdev.dll
C:\Windows\msmhost.dll
C:\Windows\rs.txt
C:\Windows\system32\x64
.
((((((((((((((((((((((((( Files Created from 2007-10-15 to 2007-11-15 )))))))))))))))))))))))))))))))
.
2007-11-15 11:40 51,200 --a------ C:\Windows\NirCmd.exe
2007-11-15 10:51 <DIR> d-------- C:\Users\Neil\AppData\Roaming\AVG7
2007-11-15 10:50 9,216 --a------ C:\Windows\System32\avgwlntf.dll
2007-11-15 10:49 47,104 --a------ C:\Windows\System32\drivers\avgwfp.sys
2007-11-15 10:47 <DIR> d-------- C:\Users\All Users\Grisoft
2007-11-15 10:47 <DIR> d-------- C:\Users\All Users\avg7
2007-11-15 10:47 <DIR> d-------- C:\ProgramData\Grisoft
2007-11-15 10:47 <DIR> d-------- C:\ProgramData\avg7
2007-11-15 07:35 <DIR> d-------- C:\Program Files\Common Files\Merge Modules
2007-11-15 07:32 <DIR> d-------- C:\Program Files\Microsoft SDKs
2007-11-08 08:10 <DIR> d-------- C:\Program Files\ePrompter
2007-11-02 14:54 <DIR> d-------- C:\Program Files\Any DWG DXF Converter
2007-11-02 14:25 314,880 --a------ C:\Windows\IsUninst.exe
2007-11-01 23:21 <DIR> d-------- C:\Program Files\Opera
2007-10-19 22:54 <DIR> d-------- C:\Program Files\WinClamAVShield
2007-10-19 22:53 138,624 --a------ C:\Windows\System32\drivers\sp_rsdrv2.sys
2007-10-19 20:07 <DIR> d-------- C:\Users\Neil\AppData\Roaming\Application Data
2007-10-19 20:07 <DIR> d-------- C:\Users\All Users\Spyware Terminator
2007-10-19 20:07 <DIR> d-------- C:\ProgramData\Spyware Terminator
2007-10-19 20:07 <DIR> d-------- C:\Program Files\Spyware Terminator
.
(((((((((((((((((((((((((((((((((((((((( Find3M Report ))))))))))))))))))))))))))))))))))))))))))))))))))))
.
2007-11-15 18:08 --------- d-----w C:\ProgramData\McAfee
2007-11-15 15:20 --------- d-----w C:\ProgramData\Microsoft Help
2007-11-15 13:45 --------- d-----w C:\Program Files\Microsoft Visual Studio 9.0
2007-11-15 00:04 --------- d-----w C:\Users\Neil\AppData\Roaming\MP3Rocket
2007-11-11 02:07 --------- d-----w C:\ProgramData\Roxio
2007-11-10 13:31 --------- d-----w C:\Program Files\MP3 Rocket
2007-11-08 02:35 --------- d---a-w C:\ProgramData\TEMP
2007-10-27 21:29 --------- d-----w C:\Program Files\NCH Swift Sound
2007-10-27 21:22 --------- d--h--w C:\Program Files\InstallShield Installation Information
2007-10-17 21:01 …
Ok...thx for spotting that. Age....what else to blame. Pretty straight-forward assignment. To original poster. If your professor requires you to do it for a larger number...let's say....a 6 digit number, then you'll have to use the operations 6 times.
Ok....i think I've solved the problem. S&D has removed the items as i mentioned above. I'm posting my new Hi-jack log. Please let me know if there is anything additional that shouldn't be there. Also, what exactly do you look for in these logs..is there some type of tutorial...i'm interested. Since S&D didn't detect anything, is it safe to say that i don't need to run SmitfraudFix? AVG nor S&D found nothing after there removal.Thx:
Logfile of Trend Micro HijackThis v2.0.2
Scan saved at 11:25:31 AM, on 11/15/2007
Platform: Windows Vista (WinNT 6.00.1904)
MSIE: Internet Explorer v7.00 (7.00.6000.16546)
Boot mode: Normal
Running processes:
C:\Windows\system32\Dwm.exe
C:\Windows\Explorer.EXE
c:\PROGRA~1\mcafee.com\agent\mcagent.exe
C:\Program Files\Synaptics\SynTP\SynTPEnh.exe
C:\Windows\System32\igfxtray.exe
C:\Windows\System32\hkcmd.exe
C:\Windows\system32\taskeng.exe
C:\Windows\System32\igfxpers.exe
C:\Windows\sttray.exe
C:\Program Files\Common Files\InstallShield\UpdateService\issch.exe
C:\Program Files\QuickTime\qttask.exe
C:\Program Files\iTunes\iTunesHelper.exe
C:\Program Files\Spyware Terminator\Spywareterminatorshield.Exe
C:\Program Files\Windows Sidebar\sidebar.exe
C:\Windows\ehome\ehtray.exe
C:\Program Files\MSN Messenger\msnmsgr.exe
C:\Program Files\WIDCOMM\Bluetooth Software\BTTray.exe
C:\Program Files\Digital Line Detect\DLG.exe
C:\Windows\ehome\ehmsas.exe
c:\Program Files\WIDCOMM\Bluetooth Software\BtStackServer.exe
C:\Program Files\Java\jre1.6.0\bin\javaw.exe
C:\Program Files\Internet Explorer\ieuser.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Windows\system32\taskeng.exe
C:\Program Files\Grisoft\AVG7\avgcc.exe
C:\Program Files\Grisoft\AVG7\avgwb.dat
c:\program files\mcafee\msc\mcuimgr.exe
C:\Program Files\MSN Messenger\livecall.exe
C:\Program Files\Spybot - Search & Destroy\TeaTimer.exe
C:\Windows\system32\Macromed\Flash\FlashUtil9b.exe
C:\Users\Neil\Desktop\HiJackThis.exe
R1 - HKCU\Software\Microsoft\Internet Explorer\Main,Search Page = http://go.microsoft.com/fwlink/?LinkId=54896
R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://runonce.msn.com/?v=msgrv75
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Page_URL = http://go.microsoft.com/fwlink/?LinkId=69157
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Default_Search_URL = http://go.microsoft.com/fwlink/?LinkId=54896
R1 - HKLM\Software\Microsoft\Internet Explorer\Main,Search Page …
Good day. I've read several of the threads and I've tried several different programs to remove malwares off my machine. I've ran S&D (spybot), it removed three problems. However, I have the following:
1. Smitfraud - C
2. Smitfraud-C.MSVPS
3. Zlob. Downloader.vcd
My computer is getting sluggish. Spybot detects the errors but cannot clean them. It says i'm not the administrator....even though i'm the only user. I'm using vista and tried to run it as an administrator, but to no avail. Still detecting the above-three mentioned trojans. No other programs pick them up...not even mcafee. Below is my hi-jack log. Thank you!
Logfile of Trend Micro HijackThis v2.0.2
Scan saved at 10:17:02 AM, on 11/15/2007
Platform: Windows Vista (WinNT 6.00.1904)
MSIE: Internet Explorer v7.00 (7.00.6000.16546)
Boot mode: Normal
Running processes:
C:\Windows\system32\Dwm.exe
C:\Windows\Explorer.EXE
C:\Program Files\McAfee\MPS\mpsevh.exe
c:\PROGRA~1\mcafee.com\agent\mcagent.exe
C:\Program Files\Synaptics\SynTP\SynTPEnh.exe
C:\Windows\System32\igfxtray.exe
C:\Windows\System32\hkcmd.exe
C:\Windows\system32\taskeng.exe
C:\Windows\System32\igfxpers.exe
C:\Windows\sttray.exe
C:\Program Files\Common Files\InstallShield\UpdateService\issch.exe
C:\Program Files\QuickTime\qttask.exe
C:\Program Files\iTunes\iTunesHelper.exe
C:\Program Files\Spyware Terminator\Spywareterminatorshield.Exe
C:\Program Files\Windows Sidebar\sidebar.exe
C:\Windows\ehome\ehtray.exe
C:\Program Files\MSN Messenger\msnmsgr.exe
C:\Program Files\Spybot - Search & Destroy\TeaTimer.exe
C:\Program Files\WIDCOMM\Bluetooth Software\BTTray.exe
C:\Program Files\Digital Line Detect\DLG.exe
C:\Windows\ehome\ehmsas.exe
c:\Program Files\WIDCOMM\Bluetooth Software\BtStackServer.exe
C:\Program Files\Java\jre1.6.0\bin\javaw.exe
C:\Program Files\Internet Explorer\ieuser.exe
C:\Program Files\Internet Explorer\iexplore.exe
C:\Program Files\MSN Messenger\livecall.exe
C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe
C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\VCExpress.exe
C:\Windows\system32\taskeng.exe
c:\PROGRA~1\mcafee\VIRUSS~1\mcvsshld.exe
C:\program files\mcafee\msc\mcshell.exe
C:\Windows\System32\mobsync.exe
C:\Users\Neil\Desktop\HiJackThis.exe
…
Good day. In order for us to assist you better, please download the following and post the log back here along with your computer specs.
http://www.majorgeeks.com/download5554.html
welcome....hope you'll enjoy it here!
welcome....hope you'll enjoy it here!
welcome....hope you'll enjoy it here!
Near to Orlando I guess?
welcome...hope you'll enjoy it here...
welcome...hope you'll enjoy it here...
welcome...hope you'll enjoy it here...
welcome...hope you'll enjoy it here...
Ok...now i get you. I perhapds did mis-understand you initially. So what you'll have to do (this isn't the entire answer, but it's a start):
#include <iostream.h>
//other headers
using namespace std;
main()
{
int num; //user input
int a,b; //used for integer division and modulus operations
cout <<"Enter a two digit number." <<endl;
cin >> num;
#= #/10; //do calculation
# = #%10;//do calculation
cout<<#<<#<<endl;
double average = (# + # )/2;
cout<<average<<endl;
enough spoon feeding, you can figure out how to do the rest...or fill in the blanks, show us what you've come up with!
please let us know the specs of the computer. also, what are some of the crazy things going on with the computer?
Please let us know what type of computer you have and also what anti-virus program you’ve used. Personally, if a PC is infected, I do recommend using more than one antiviris program to help you. My personal recommendation for cleanup softwares are : Adware SE, ACE, Avast, AVG, Mcafee, ParetoLogic XoftSpySE, PREVX and spyware be-gone. Also, I do recommend that you clean/restore your registry files…if these are corrupted, your PC will slow down. The software to help you with your registry: RegCure and Regpair. Some of the above mentioned programs can be downloaded at www.cnet.com. Please use these utilities and let’s know the outcome. Also, you said that NOTEPAD is what opens when you try to run a program....right click on any of the programs and see if it states there that is opens with norepad. Thanks.