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.

expected initializer before 'namespace'

0 votes
asked Feb 2, 2018 by Nicole Zino (120 points)
how do I fix it

1 Answer

0 votes
answered Feb 4, 2018 by Shahzab Khan
do you mean in c++ if so,

#include <iostream>

using namespace std;

int main(){

}

//Your problem is that you probably must've forgotten to put the semi colon
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.
...