All Questions

1
answer

Why does a char array support a character like 'ç' and a variable char not?

Even though the char variable supports only the ASCII characters, why does the following code have the normal output when a value is entered with characters that are not part of ASCII as accented characters? #include<iostream> using name...
asked on 19.04.2015 / 19:06
1
answer

How to make system login in the site using account of Instagram, Twitter or Google+ in Platform .NET (C #)

I want to develop something like this but I do not have any references how to do it, could you help me with some examples?     
asked on 08.04.2015 / 16:46
1
answer

What does "::" mean in C ++?

I have doubts about using the colon :: , used to do class implementation, [tipo] [classe]::[método] . It is also used, for example, in std::cout . What exactly would these two double points be and what do they serve for?     
asked on 18.09.2015 / 04:19
1
answer

Make truncate all tables in a database in MySQL

Is there a way to use TRUNCATE to clear all tables in the database? TRUNCATE tabela; This command clears one by one.     
asked on 10.03.2015 / 19:38
1
answer

What is a Prototyping Language?

Reading an article on the internet, I came across the following excerpt:    Python, by its more general proposal, is a great choice as    Prototyping language for systems constructed in, say, more bureaucratic languages such as C, C ++, C #,...
asked on 10.11.2015 / 19:19
5
answers

Removing the "\ n" of a string read using fgets ()

Generally when using the function fgets () it reads the string but is sensitive to Enter, how to read the string being to add the "\ n" ??     
asked on 16.09.2014 / 00:31
1
answer

Thread or Asynctask? When and which one should I use?

When is it recommended to use threads ? At what time is it advisable to use AsyncTask ? I would like to know what to use and what time it is needed.     
asked on 08.06.2015 / 17:07
2
answers

How to access information from a .torrent file?

I would like to know if it is possible and how to get information ( magnet link, seedes, leechers, peers, etc.) from a .torrent file using PHP .     
asked on 29.04.2015 / 19:23
2
answers

Confused about correct way of inheriting JavaScript

I'm looking at ways to apply Object Oriented in JavaScript. I noticed that there are several ways to do Inheritance in JavaScript. I did the one I found simple and worked. But is it really within the standards? is correct? Follow the Code:...
asked on 27.11.2014 / 14:54
2
answers

Default to typify errors / exceptions?

As far as I know, JavaScript has no error typing. In C # and Java, it is possible to do things like: try { /* .. snip .. */ } catch (FooException foo) { /* .. snip .. */ } catch (BarException bar) { /* .. snip .. */ } catch (Not...
asked on 25.09.2014 / 18:26