256 Kilobytes

Computer Programming Answers

Type AnswersAsk and answer questions, if that is something that you want to do. Category Computer ProgrammingContent about programming computers. Tag All

Profile Photo - Some Guy

Error compiling for board arduino/genuino uno?

Answers in Computer Programming | By Some Guy

Published 3 months agoSun, 16 Dec 2018 09:30:08 -0800

Profile Photo - Univa

Last Reply Many users have had Arduino problems, including Arduino crashes and strange compile errors, when they install a new version of the Arduino.  F... Univa,

Many users have had Ardui...

Mon, 18 Mar 2019 09:12:53 -0700 2 days ago
🗨
1
🐏
0
👁
46
Profile Photo - Some Guy

How to convert double to int in Java?

Answers in Computer Programming | By Some Guy

Published 3 months agoSun, 16 Dec 2018 09:43:37 -0800

Profile Photo - Univa

Last Reply 1. double to int in Java - Typecasting This is one of the easiest ways to convert a double to int in Java.  Syntax: double data = 3452.3... Univa,

1. double to int in Java...

Thu, 14 Mar 2019 12:26:12 -0700 6 days ago
🗨
1
🐏
0
👁
41
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply The ampersand (&) does that job. roxblade,

The ampersand (&) doe...

Mon, 11 Mar 2019 12:14:54 -0700 1 week ago
🗨
1
🐏
0
👁
37
Profile Photo - Some Guy

Set hasdigit to true if the 3-character passcode contains a digit?

Answers in Software Development | By Some Guy

Published 3 months agoSun, 16 Dec 2018 09:28:32 -0800 | Last update 2 weeks agoWed, 06 Mar 2019 09:06:12 -0800

Profile Photo - August R. Garcia

Last Reply This is a bad question (from a C++ textbook -- "ZyBook CSCI 40") and you should feel bad, but this is one possible answer: // Set hasDigit t... August R. Garcia,

This is a bad question (f...

Wed, 06 Mar 2019 09:04:32 -0800 2 weeks ago
🗨
1
🐏
0
👁
134
Profile Photo - Some Guy
Profile Photo - roxblade

Last Reply This is a ggplot.data.frame error in R. Check out this answer on Stack Overflow to understand what you're doing wrong. roxblade,

This is a ggplot.data.fra...

Mon, 25 Feb 2019 11:26:16 -0800 3 weeks ago
🗨
1
🐏
0
👁
45
Profile Photo - Some Guy

Getting error "err_ssl_version_or_cipher_mismatch"?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 14:14:21 -0800

Profile Photo - roxblade

Last Reply Check this Kinsta knowledgebase page for more information on this error. You might need to install custom certificate. roxblade,

Check this Kinsta knowled...

Sat, 23 Feb 2019 11:31:09 -0800 3 weeks ago
🗨
1
🐏
0
👁
44
Profile Photo - Some Guy

How do I install Hadoop?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:59:59 -0800

Profile Photo - roxblade

Last Reply Any Linux-based operating system will work. You need to install Virtual Box, Java, and the Hadoop package (latest). After that, follow the steps menti... roxblade,

Any Linux-based operating...

Mon, 18 Feb 2019 09:54:29 -0800 1 month ago
🗨
1
🐏
0
👁
38
Profile Photo - Some Guy

How to make a GUI in C++?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 15:56:00 -0800

Profile Photo - roxblade

Last Reply Building a graphical user interface through C++ is not an easy task, but will come easily to a seasoned programmer. First of all, I'd need to know whi... roxblade,

Building a graphical user...

Sat, 16 Feb 2019 10:25:57 -0800 1 month ago
🗨
1
🐏
0
👁
51
Profile Photo - Some Guy

How to round up in Python?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 15:53:30 -0800

Profile Photo - roxblade

Last Reply The ceil function is quite useful. Import the math library and issue the following code:print(math.ceil(6.3)) and it will be rounded off to 6.There ar... roxblade,

The ceil function is quit...

Thu, 14 Feb 2019 23:41:39 -0800 1 month ago
🗨
1
🐏
0
👁
38
Profile Photo - Some Guy

How to clear the screen in Python?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 16:18:12 -0800

Profile Photo - Some Guy

MoreI am still trying to figure out and teach myself this coding language Python. Can someone tell m
🗨
0
🐏
0
👁
41
Profile Photo - Some Guy

How to print a table in Java?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 16:18:02 -0800

Profile Photo - Some Guy

MoreI have been using Java for some time now for computer programming but I am unsure how to do every
🗨
0
🐏
0
👁
39
Profile Photo - Some Guy

How to reverse a linked list in C++?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 16:17:22 -0800

Profile Photo - Some Guy

MoreI don't know much about computers but am trying to figure out something that has to do with
🗨
0
🐏
0
👁
38
Profile Photo - Some Guy

How to convert char to int in c?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 16:10:51 -0800

Profile Photo - Some Guy

MoreI know Java, python, ASM, a little bit of cobalt and dark basic (not regular. Basic though it was
🗨
0
🐏
0
👁
33
Profile Photo - Some Guy

How to square a number in Java?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 15:34:18 -0800

Profile Photo - Some Guy

MoreI am new to computer programming using the Java programming language. I would like to square a nu
🗨
0
🐏
0
👁
38
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI am interested in computer programming, specifically the Python programming language. How long d
🗨
0
🐏
0
👁
32
Profile Photo - Some Guy

Latest application development trends in 2019?

Answers in Software Development | By Some Guy

Published 1 month agoWed, 06 Feb 2019 14:14:11 -0800

Profile Photo - Some Guy

MoreI am working on a new application but I do not know if this time will be a good market for it. I
🗨
0
🐏
0
👁
43
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI was working on my computer and I got the error "your PHP installation appears to be missin
🗨
0
🐏
0
👁
30
Profile Photo - Some Guy

Is LibreOffice base a relational database?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:49:28 -0800

Profile Photo - Some Guy

MoreI have a question about the LibreOffice software suite. LibreOffice contains a database software
🗨
0
🐏
0
👁
17
Profile Photo - Some Guy

srand(time(null)) doesn't change value fast enough?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:49:18 -0800

Profile Photo - Some Guy

MoreI have a question about computer programming. I am trying to generate a random number. I am using
🗨
0
🐏
0
👁
16
Profile Photo - Some Guy

Python floor division: Difference between '/' and '//' ?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:49:08 -0800

Profile Photo - Some Guy

MoreI am new to learning the Python programming language. I have a basic question about operators in
🗨
0
🐏
0
👁
15
Profile Photo - Some Guy

Using setprecision in C++?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:47:18 -0800

Profile Photo - Some Guy

MoreIs setprecision in C++ used to set decimal precision?
🗨
0
🐏
0
👁
14
Profile Photo - Some Guy

Implementing priority queue in C++?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:47:08 -0800

Profile Photo - Some Guy

MoreI have a question about computer programming, specifically C++. I want to implement a priority qu
🗨
0
🐏
0
👁
13
Profile Photo - Some Guy

C++ How do implement a 2D vector array with user defined size?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:46:58 -0800

Profile Photo - Some Guy

MoreI have some experience with C++, but not a lot. How would I implement a 2D vector array that has
🗨
0
🐏
0
👁
15
Profile Photo - Some Guy

Converting a string to a char array in C++?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:46:48 -0800

Profile Photo - Some Guy

MoreIn my C++ program, I keep getting the error ‘cannot covert std::string to char[] or char* data ty
🗨
0
🐏
0
👁
17
Profile Photo - Some Guy

How do you use JOptionPane?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:46:38 -0800

Profile Photo - Some Guy

MoreI have a question relating to computer programming using the Java programming language. How do I
🗨
0
🐏
0
👁
12
Profile Photo - Some Guy

Math.powe() in Java - any examples?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:46:28 -0800

Profile Photo - Some Guy

MoreI'm taking a beginner's course in Java programming and right now we're learning ab
🗨
0
🐏
0
👁
15
Profile Photo - Some Guy
Profile Photo - Some Guy

MoreI'm new to Java programming, I'm making a simple program when I get the following error
🗨
0
🐏
0
👁
14
Profile Photo - Some Guy

C: lvalue required as left operand of assignment?

Answers in Computer Programming | By Some Guy

Published 1 month agoWed, 06 Feb 2019 13:44:38 -0800

Profile Photo - Some Guy

MoreI'm a computer science major and I'm working on a program for school and I'm writi
🗨
0
🐏
0
👁
24
Profile Photo - Some Guy

Does GROUP BY remove duplicates?

Answers in Database Development | By Some Guy

Published 2 months agoSun, 13 Jan 2019 04:21:55 -0800

Profile Photo - roxblade

Last Reply The GROUP BY is only used for aggregation. It groups contents by arguments. To combine the duplicate rows, I'd suggest using the SELECT DISTINCT comma... roxblade,

The GROUP BY is only used...

Tue, 05 Feb 2019 03:28:32 -0800 1 month ago
🗨
1
🐏
0
👁
60
Profile Photo - Some Guy

Best method to store an array in a MariaDB/MySQL database?

Answers in Database Development | By Some Guy

Published 3 months agoThu, 06 Dec 2018 22:55:02 -0800

Profile Photo - August R. Garcia

Last Reply If you want to store array and/or object data as a string (i.e., in a single DB field), it is possible to encode it as JSON: http://php.n... August R. Garcia,

If you want to store arra...

Mon, 04 Feb 2019 14:09:39 -0800 1 month ago
🗨
1
🐏
0
👁
85