256 Kilobytes

Computer Programming > Programming

Type All Category Computer ProgrammingContent about programming computers. Tag Programming

Profile Photo - Some Guy
Profile Photo - Default

Last ReplyC++ compiler gives warnings about something like a comparison between signed and unsigned variables. Compilers give this warning because the ranges of... Hellothere404,

C++ compiler gives warnin...

Mon, 23 Nov 2020 12:44:53 -08001 year ago1
🗨 2
🐏 0
👁 1,050
Profile Photo - Some Guy
Profile Photo - Default

Last ReplyWhen Talking about the standard period it Shouldn’t Take more than One Month to learn to learn the basics and syntax of python i.e., loops, vari... Ghulam Murtaza,

When Talking about the st...

Wed, 14 Oct 2020 11:28:59 -07001 year ago1
🗨 2
🐏 0
👁 873
Profile Photo - Some Guy

Help needed with "Class interface or enum expected"?

Answers in Software Development | By Some Guy

Published

Profile Photo - Default

Last ReplyThe class interface or enum expected error is a compile-time error in Java which arises due to curly braces. Typically, this error occurs when there i... reekjohns,

The class interface or en...

Mon, 20 Jul 2020 23:54:09 -07002 years ago1
🗨 1
🐏 0
👁 797
Profile Photo - K. Crezcheezy

[Python] How do global variables work?

Answers in Computer Programming | By K. Crezcheezy

Published

Profile Photo - Default

Last ReplyVariables that are created outside of a function are known as Global Variables. A global variable is one that can be accessed anywhere . This means, g... germyrinn,

Variables that are create...

Wed, 18 Mar 2020 22:58:39 -07002 years ago1
🗨 2
🐏 0
👁 860
Profile Photo - Some Guy

NodeJS error "Can't set headers after they are sent"?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Default

Last Reply<p>Hi Everyone,<br /> &nbsp;</p> <p>What is meant by <a href="https://softwaretestingboard.com/q2a/3379/">softwa... Ellen Dares,

<p>Hi Everyone,<...

Tue, 09 Jul 2019 03:55:40 -07003 years ago1
🗨 2
🐏 0
👁 1,485
Profile Photo - Some Guy

How do you fix "unexpected end of JSON input"?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Univa

Last ReplyUnexpected end of input means that the parser has ended prematurely. For example, it might be expecting "abcd...wxyz" but only sees "abcd...wxy. Th... Univa,

Unexpected end of input m...

Sat, 01 Jun 2019 08:36:54 -07003 years ago1
🗨 1
🐏 0
👁 627
Profile Photo - Some Guy

How to remove duplicates from sorted array?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Default

Last ReplyYou can use Set. var arr = [1, 2, 3, 4, 5, 6, 7, 7, 8, 9, 10, 10, 10, 11, 12, 13, 13, 13, 14, 15, 15, 16, 17, 18] arr = [...new Set(...[arr])]... Ali,

You can use Set.

Tue, 28 May 2019 23:48:26 -07003 years ago1
🗨 2
🐏 0
👁 656
Profile Photo - Some Guy
Profile Photo - Univa

Last ReplyThe reason for the above is referred to as CORS (Cross-Origin Resource Sharing) The easy way is to just add the extension in google chrome... Univa,

The reason for the above...

Thu, 16 May 2019 08:18:38 -07003 years ago1
🗨 1
🐏 0
👁 711
Profile Photo - Some Guy

Fix "Editor does not contain a main type"?

Answers in Software Development | By Some Guy

Published

Profile Photo - Univa

Last ReplyMaybe the folder is not identified as a Source folder. Right click on the project folder -> Properties Choose 'Java Build Path' Click on... Univa,

Maybe the folder is not i...

Mon, 06 May 2019 10:37:14 -07003 years ago1
🗨 1
🐏 0
👁 676
Profile Photo - Some Guy
Profile Photo - Univa

Last ReplyThis is a simple solution as you only need to add an enclosing parent element to all components inside the render function. Check out the code below f... Univa,

This is a simple solution...

Sun, 28 Apr 2019 05:23:59 -07003 years ago1
🗨 1
🐏 0
👁 651
Profile Photo - Some Guy
Profile Photo - Univa

Last ReplyIf you want to set a pointer to the beginning of an array, use Code: p = password An array name is essentially a pointer to the start of the ar... Univa,

If you want to set a poin...

Sun, 14 Apr 2019 03:38:46 -07003 years ago1
🗨 1
🐏 0
👁 618
Profile Photo - Some Guy
Profile Photo - Univa

Last ReplyA non-static variable only exists when there is an instance of an object. If you have a static method, it can NOT get to any variable in a class objec... Univa,

A non-static variable onl...

Fri, 12 Apr 2019 11:27:25 -07003 years ago1
🗨 1
🐏 0
👁 667
Profile Photo - Some Guy

What is "pthread_mutex_init"?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - roxblade

Last ReplyThis is a function used to initialize the mutex that you reference by the "mutex" part. It also takes in additional attributes using the attr part. Yo... roxblade,

This is a function used t...

Thu, 04 Apr 2019 04:18:56 -07003 years ago1
🗨 1
🐏 0
👁 578
Profile Photo - Some Guy

How do you fix "Comparison between pointer and integer"?

Answers in Computer Programming | By Some Guy

Published | Last Update

Profile Photo - roxblade

Last ReplyThis is a warning that you will get when you try to compare acharacter with a string. Note that C is different from other programming languages in man... roxblade,

This is a warning that yo...

Wed, 03 Apr 2019 12:45:37 -07003 years ago1
🗨 1
🐏 0
👁 563
Profile Photo - Some Guy

How to clear the screen in Python?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - SiteIessVagrant

Last ReplyI do not know how to do this. I have not had much experience with python and coding. SiteIessVagrant,

I do not know how to do t...

Sat, 30 Mar 2019 14:48:00 -07003 years ago1
🗨 1
🐏 0
👁 657
Profile Photo - Some Guy

How to print a table in Java?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - mrabrahamthidkin

Last ReplyLook into the format settings and you'll see where it will allow you to add a table, or copy one from a Java file into your own file that you're needi... mrabrahamthidkin,

Look into the format sett...

Sat, 30 Mar 2019 14:47:21 -07003 years ago1
🗨 1
🐏 0
👁 555
Profile Photo - Some Guy

How to reverse a linked list in C++?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - reuval

Last ReplyYou can reverse a linked list in two methods (iterative and recursion) by re-connecting the directions. So basically it can be reversed with recursion... reuval,

You can reverse a linked...

Sat, 30 Mar 2019 14:30:41 -07003 years ago1
🗨 1
🐏 0
👁 548
Profile Photo - Some Guy
Profile Photo - Zhaybib

Last ReplyMany people have a preference between object oriented and procedural programming. Ultimately it is up to you and your own style. You can check out oth... Zhaybib,

Many people have a prefer...

Sat, 30 Mar 2019 14:18:43 -07003 years ago1
🗨 1
🐏 0
👁 445
Profile Photo - Some Guy

Latest application development trends in 2019?

Answers in Software Development | By Some Guy

Published

Profile Photo - KacssPL

Last ReplyAnything can start 'trending', it really just depends on what people find appealing. The first thing you should know is what type of app you are tryin... KacssPL,

Anything can start 'trend...

Sat, 30 Mar 2019 13:55:23 -07003 years ago1
🗨 1
🐏 0
👁 743
Profile Photo - Some Guy

Coding vs programming - what's the difference?

Forum in Computer Programming | By Some Guy

Published

Profile Photo - jbr0s305

Last ReplyAt a high level, they are the same thing. One might argue coding can encompass both scripting and writing computer programs whereas programming is spe... jbr0s305,

At a high level, they are...

Sat, 30 Mar 2019 13:45:07 -07003 years ago1
🗨 1
🐏 0
👁 445
Profile Photo - pls_stop_this

How to implement a hashmap in Java

Answers in Computer Programming | By pls_stop_this

Published

Profile Photo - Zhaybib

Last ReplySince you are curious as to how to implement a hashmap in Java, there are many resources that are great for this. One website details an explanation r... Zhaybib,

Since you are curious as...

Sat, 30 Mar 2019 13:43:11 -07003 years ago1
🗨 1
🐏 0
👁 383
Profile Photo - Some Guy

How to convert char to int in c?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Zhaybib

Last ReplySince you say that you want to convert char to int in c, you should take a look at Stackoverflow right here which offers a great solution, https://sta... Zhaybib,

Since you say that you wa...

Sat, 30 Mar 2019 13:35:25 -07003 years ago1
🗨 1
🐏 0
👁 461
Profile Photo - Edgelady43069

[Python] How to unpack a tuple?

Answers in Computer Programming | By Edgelady43069

Published

Profile Photo - Zhaybib

Last ReplyWhen you are learning Python, you will learn about how to unpack a tuple. The way to unpack a tuple is to follow the steps that are outlined in this w... Zhaybib,

When you are learning Pyt...

Thu, 21 Mar 2019 00:52:27 -07003 years ago1
🗨 1
🐏 0
👁 475
Profile Photo - Mark3t_Crash

C# vs. C++ - Who would win in a fight?

Forum in Computer Programming | By Mark3t_Crash

Published

Profile Photo - Zhaybib

Last ReplyIt is personal preference to choose whether to code in C# or C++. That being said, C++ is a more popular programming language. Check out this guide he... Zhaybib,

It is personal preference...

Wed, 20 Mar 2019 22:24:19 -07003 years ago1
🗨 1
🐏 0
👁 431
Profile Photo - pls_stop_this
Profile Photo - Boats, LLC

Last ReplyComputer Science is an integral part of mechanical engineering even at this point. Sure, by nature 'mechanical' means without technological input, but... Boats, LLC,

Computer Science is an in...

Wed, 20 Mar 2019 14:25:00 -07003 years ago1
🗨 1
🐏 0
👁 411
Profile Photo - NelsAmmo

Java vs. JavaScript: Differences, pros, and cons?

Forum in Computer Programming | By NelsAmmo

Published

Profile Photo - masshoIe3

Last ReplyJava is an object oriented programming language that can be run on a browser or a Java virtual machine and needs to be compiled. JavaScript is an obje... masshoIe3,

Java is an object oriente...

Wed, 20 Mar 2019 08:06:23 -07003 years ago1
🗨 1
🐏 0
👁 406
Profile Photo - Some Guy

Error compiling for board arduino/genuino uno?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Univa

Last ReplyMany 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 -07003 years ago1
🗨 1
🐏 0
👁 602
Profile Photo - Some Guy

How to convert double to int in Java?

Answers in Computer Programming | By Some Guy

Published

Profile Photo - Univa

Last Reply1. 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 -07003 years ago1
🗨 1
🐏 0
👁 542
Profile Photo - Some Guy
Profile Photo - roxblade

Last ReplyThe ampersand (&) does that job. roxblade,

The ampersand (&) doe...

Mon, 11 Mar 2019 12:14:54 -07003 years ago1
🗨 1
🐏 0
👁 446
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last Reply"What will you use to slit your fucking wrists after you realize that you're at an interview where you're being asked questions about object oriented... August R. Garcia,

"What will you use to sli...

Sun, 03 Mar 2019 07:13:59 -08003 years ago1
🗨 1
🐏 0
👁 474