Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
preprocessor errors in c
–2
votes
asked
Oct 2, 2019
by
Sai Prasad
(
100
points)
which one is find the errors in cpp(c preprocessor)
i.e syntax are finds by the compiler like this errors in cpp
example:
#include<stdioh>
ERROR : fatal error
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
6 Answers
0
votes
answered
Oct 12, 2019
by
Awais ul HAssan
Three typre of errores in programing language
1) syntax error
compilier show this if use wrong syntax like int to INT etc
2) Logical error
compilier not show this error. this error deficult to find.example of this
use wrong condition & logic like 2+3 to 2=3 etc
3) Run time error
during the execution of program this error apper.
example : devide any number by Zero so comliier not have any n output of it
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Oct 14, 2019
by
md shamim
(
140
points)
.prototype is errors in header file error.
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
+1
vote
answered
Apr 12, 2020
by
Finlay Mitchell
(
240
points)
you need to do <stdio.h>
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Apr 14, 2020
by
keithAtSpacee
(
150
points)
If you're using C++, most likely you'd want
#include <iostream>
and then probably
using namespace std;
then you could use iostream functions with ease, like
cout << "Hello World\n";
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Apr 15, 2020
by
Asri8655
(
140
points)
Compile time error
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
0
votes
answered
Apr 15, 2020
by
Shoaib Muhammad
(
150
points)
#include<stdio.h>
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please
log in
or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...