| | |
I keep getting an error message on my computer called General Protection Exception...
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Nov 2004
Posts: 7
Reputation:
Solved Threads: 0
I keep getting an error message on my computer called General Protection Exception...
0
#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.
Re: I keep getting an error message on my computer called General Protection Exceptio
0
#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:
C++ Syntax (Toggle Plain Text)
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:
Solved Threads: 0
Re: I keep getting an error message on my computer called General Protection Exceptio
0
#3 Nov 16th, 2004
![]() |
Similar Threads
- Obscure error message. File operations. Comparing strings. (C++)
- 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)
- 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
| Thread Tools | Search this Thread |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets





thanks for your help i really appreciate it. 