Questions tagged as 'sintaxe'

2
answers

Redirect Flex input to a string

Good, I have a flex file and a routine in C to check text writing. I've been testing on the command-prompt using test < inputFile What I wanted now was to be able to indicate in my C file a parameter (a string) that it then check...
asked by 19.02.2016 / 17:36
0
answers

Best method to make code editor in JavaScript

I'm creating a JavaScript plugin to create HTML games. I'm creating GML-based functions to appeal to users who use this language. Such functions are named object_create() , instance_create() , and so on. The plugin would run hidden a...
asked by 31.10.2014 / 14:24
2
answers

Different errors in C code in different compilers

In the following code below there is an error that the LCCx86 compiler for Windows claims to exist, but I have copied the codes of a C class I am watching. Link to the lesson for anyone interested In the C Online compiler link It displ...
asked by 31.07.2017 / 14:31
2
answers

Concatenate String in Firebird

How to concatenate String in Firebird? I'm trying like this: select ("00"||"01") AS TESTE from tabela I have tried with parentheses, no parentheses, with column name, without the column name ... it just will not ... is giving the fol...
asked by 12.08.2015 / 22:29
1
answer

Error: expected {when creating a class

I wrote the code below but it is giving me the error    Expected { After my class declaration public class book(string title, string text){ string _title = title; string _text = text; void NewTitle (book livro, string newtit...
asked by 28.09.2015 / 23:33
1
answer

Rewrite code using the try-with-resources feature [duplicate]

My problem is to rewrite a code using the try-with-resources feature, as I'm new to the programming world, I'm not able to learn how to do this, which is becoming rather overwhelming because it's apparently simple but I'm not getting it. I...
asked by 25.12.2016 / 16:02
1
answer

Select with condition

I have the following sample table (tbl_Local) in MySQL: ID| LOCAL| COR 1 | A |RED 2 | A |RED 3 | B |RED 4 | B |BLACK 5 | B |WHITE 6 | C |RED 7 | D |BLUE 8 | E |BLUE 9 | E |ORANGE 10| E |YELLOW 11| E |RED 12| F...
asked by 03.05.2018 / 21:22
1
answer

This is valid (x = (* mat) ++;)?

(x = (*mat)++;) If it is valid, explain to me why and how it will work.     
asked by 10.09.2017 / 23:48
1
answer

Difference in whether or not to use the term function

I'm starting the study with Vue.js and I came across a situation within one of the options and I imagine it will serve other options that is the use of the term function, for example: var vm = new Vue({ methods : { /* assim */ en...
asked by 28.09.2017 / 13:54
2
answers

Make multiple inserts in SQL, multiple inserts

Good night to all, once again live my Achilles heel with the blessed sql ... I want to insert data into two tables ... client table and address. I get the sql below, fill in the variables and execute the sql in phpmyadmin and it works ......
asked by 20.05.2015 / 00:03