•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 426,517 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,051 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 1979 | Replies: 2 | Solved
![]() |
•
•
Join Date: Nov 2004
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
I keep getting an error message on my computer called General Protection Exception...
#1
Nov 10th, 2004
Hi,
I am very new to this forum and i have a problem with my C assignment. Im using Borland C++ 4.52 and i keep getting an error saying:
General Protection Exception
0x241F:0X41C1
NONAME02(1)0X241F:0X41C1 Processor Fault
It not the computer its the code at least thats what i figured because i tried the same code on 6 pc and the same error pops up.
I will attach the code so that you can have a better understanding of my problem.
I am very new to this forum and i have a problem with my C assignment. Im using Borland C++ 4.52 and i keep getting an error saying:
General Protection Exception
0x241F:0X41C1
NONAME02(1)0X241F:0X41C1 Processor Fault
It not the computer its the code at least thats what i figured because i tried the same code on 6 pc and the same error pops up.
I will attach the code so that you can have a better understanding of my problem.
•
•
Join Date: Sep 2004
Location: Overflow State
Posts: 183
Reputation:
Rep Power: 5
Solved Threads: 4
Re: I keep getting an error message on my computer called General Protection Exceptio
#2
Nov 10th, 2004
Greetings,
A simple fix I saw. In your function gettemps() change: To" if If you want to store the result of a scanf operation on a standard variable you should precede it with the reference operator, i.e. an ampersand sign (&).
- Stack Overflow
A simple fix I saw. In your function gettemps() change:
scanf("%f",temp[i]);scanf("%f",&temp[i]);- Stack Overflow
Following the rules will ensure you get a prompt answer to your question. If posting code, please include BB [code][/code] tags. Your question may have been asked before, try the search facility.
IRC
Channel: irc.daniweb.com
Room: #c, #shell
IRC
Channel: irc.daniweb.com
Room: #c, #shell
•
•
Join Date: Nov 2004
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
Re: I keep getting an error message on my computer called General Protection Exceptio
#3
Nov 16th, 2004
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
algos blog blogging breach capable ccna child protection coding computer daniweb data protection database dell developers family fortitude government hope it jargon language linux mcse microsoft monitoring software networking news open operating opinions pedophiles preinstall programming sans second security source struggle system trial-and-error upgrade using computer victory vista windows xp
- Error message upon startup - PLEASE HELP!! (Viruses, Spyware and other Nasties)
- Critical System Error Message Keeps Blinking (Viruses, Spyware and other Nasties)
- Help!!!!!! General Protection Exception (C++)
- Computer keeps shutting down (serious error message) (Windows NT / 2000 / XP / 2003)
- IEXPLORE caused a general protection fault (Web Browsers)
- General Protection Exception Error Please Help! (C++)
Other Threads in the C++ Forum
- Previous Thread: Geting elements from a String Array
- Next Thread: percentage


thanks for your help i really appreciate it.
Linear Mode