this is my code:
I am getting an error:expected unqualified-id before string constant - #include<iostream>
-
#include<string>
-
-
"version":1
-
"name":"Example project"
-
"build_commands": {
-
"CompileC++" : {
-
"action":"compile"
-
"args":["-fms-extensions", "-fms-compatibility", "-x", "c++", "-std=c++14", "-w"]
-
"sys_include_dir":["C:/include/ucrt", "C:/include/msvc"]
-
"include_dir":[""]
-
"comment":"The empty string in include_dir has the effect of adding the project folder to non-system header search path. For the record, any field not-interpreted by DevMax can be used to add comment like this."
-
}
-
"MakeExe" : {
-
"action":"link",
-
"args":["/defaultlib:msvcrt.lib", "/subsystem:Console"],
-
"sys_lib_dir":["C:/lib/msvc", "C:/lib/winsdk"]
-
}
-
},
-
"build_definitions": [
-
{
-
"name":"Build program",
-
"build_steps": [
-
{
-
"command":"CompileC++",
-
"inputs":["src/Source.cpp"]
-
},
-
{
-
"command":"MakeExe",
-
"inputs":["src/Source.o"],
-
"output":"Source.exe"
-
}
-
]
-
},
-
{
-
"name":"Inline/anonymous build command",
-
"build_steps": [
-
{
-
"action":"compile",
-
"args":["-fms-extensions", "-fms-compatibility", "-x", "c++", "-std=c++14", "-w"],
-
"sys_include_dir":["C:/include/ucrt", "C:/include/msvc"],
-
"include_dir":[""],
-
"inputs":["src/Source.cpp"]
-
}
-
can somebody help me please.
I am getting an error:expected unqualified-id before string constant
2 3869
Where's the code? ⠀⠀⠀⠀ ⠀⠀⠀⠀
Banfa 9,065
Expert Mod 8TB
Are you trying to compile a JSON file as C code?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Elie B. |
last post by:
Hi,
I'm new to Python. I'm trying to embbed Python in my Windows
application having some success with redirecting the stdin/out to my
windows application using:
In my C++ code I use...
|
by: gbgbgbgb |
last post by:
Hi,
I have a definition
bool operator<(string s_s, string s_t)
{
....
}
and a variable
list<string> concomp;
|
by: Tan Thuan Seah |
last post by:
Hi all,
I have a string with several numbers in it. The numbers each can be up to
14 characters.(i.e ---------12345---------1234, where - represents spaces).
Is there any way to retrieve the...
|
by: Keith Chadwick |
last post by:
XML
<data>
<option>this is test 1</option>
<option>this is test 11</option>
<option>this is test 111</option>
<option>this is test 1111</option>
<option>this is test 11111</option>
</data>
|
by: J |
last post by:
I have a string with lots of numbers i need in a seperate
an array. each number is split using a ",". How do i
split them up and put them in to an array.
eg.
egstring = 1,23,423,2,2
i need...
|
by: jobo |
last post by:
Hello,
If I'm given a string that always starts with the word "free" followed
by an integer ("free xx"). How do I parse through the characters and
get to the integer value? Thanks.
|
by: R2d2Rabeau |
last post by:
Hi,
I'm new to C#, please be patient :-) I am trying to pass an Arraylist (myAL) to a jagged array (myAL2) . The problem I have is that when I write the values to a file i do not get the values...
|
by: Vinodsrvk |
last post by:
I am having a situation that I need to convert string in to an object
The string will be like "this.loanoverview.Text" since loanoverview is an existing element in the page and its having value...
|
by: Vinodsrvk |
last post by:
I am having a situation that I need to convert string in to an object
The string will be like "this.loanoverview.Text" since loanoverview is an existing element in the page and its having value in...
|
by: RP |
last post by:
I have a string in the following format
Computer
I want to remove the text that starts with [. Though I used substring
which keeps checking whether the character is [ and stops reading more...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
| |