Click here to Skip to main content
15,893,487 members
Everything / General

General

general

Great Reads

by Andrew Rissing
An intuitive-fluent API for generating Linq Expressions.
by Kenneth Haugland
How to calculate a reverbration time in a room
by Ordiales
When no XP support is necessary. Better Icon structure arrises and easy conversion is allowed.
by John Atten
Examination of a quick way to create more useful expandable groups in the .NET ListView control.

Latest Articles

by Vincent Maverick Durano
This is a tale of a professional developer.
by Łukasz Bownik
Updated concept of "The Surgical Team"
by Łukasz Bownik
This article discusses the psychological reasons of software project failures.
by IAmJoshChang
Today we are going to demonstrate how to use Top Down Dynamic Programming to solve the problem, Coin Change.

All Articles

Sort by Updated

General 

6 Feb 2024 by Vincent Maverick Durano
This is a tale of a professional developer.
14 Oct 2023 by Gerry Schmitz
Learn and tutor with "Scratch" (free). C# is an abstraction for your average "10-11 year old". You'll even be able to create your own "demo". Scratch - Educators[^] Scratch - Starter Projects[^]
12 Oct 2023 by Member 16112906
I am asking this question from a quite specific situation, so allow me to elaborate a bit. Recently, I decided to make a job change to be a teacher (primary school btw, likely 10-11yr olds) - one of the subjects I have now is 'ICT in education'....
11 Oct 2023 by M Imran Ansari
Learning C# or another programming language can be a meaningful and valuable use of your 20 hours, as it aligns with your goals of gaining insight into programming logic and potentially creating engaging projects. Ultimately, the choice of...
18 Oct 2022 by HASEEB Ahmed 2022
So here's the deal... I have been a MERN stack developer for 1.5 years now. I've worked on numerous projects and used a wide array of technologies on both the Client and Server sides. But lately, I have plateaued a little bit. What I have...
9 Aug 2022 by Member 15732448
What are the technical solutions for guaranteeing (or at least making it more likely) that some program I wrote will be able to be executed and reproduce identical results for years? Imagine I use an external library in an interpreted language,...
9 Aug 2022 by k5054
How do you make sure any software runs for years to come? If we all migrate to 128 QBit cpus in the next decade, what happens to your x86 MS-DOS system (exaggeration)? Depending on the problem space, and the 3rd party involved, a 3rd party lib...
17 May 2022 by mla154
How do I change the Twitter account that's shown in my Professional Profile? What I have tried: I tried "My Professional Profile" and "My Settings".
17 May 2022 by OriginalGriff
Go to the Settings page (hover over your username in the top right and select "My Settings"). In the middle of the page, select the "Professional Profile" tab, and "Social Networks" are then at the bottom of the page.
29 Sep 2021 by Moises Rivera
It is possible publish an article on Spanish? Is there some kind of language restriction in order to develop an publish an article? What I have tried: I'd like to publish some article, but I'm from México and I feel more comfortable writing in...
29 Sep 2021 by Moises Rivera
Hello!! and Thank you for the feedback. Ok then, will be in English the the articles. Greetings from México!!
28 Sep 2021 by OriginalGriff
I'm afraid not - this is an English language site, and all articles must be submitted in that language. You can try Google translate which can work pretty well, but the moderators are pretty helpful if you need some areas improved. (We do have...
2 Jul 2021 by Łukasz Bownik
Updated concept of "The Surgical Team"
21 Apr 2021 by Łukasz Bownik
This article discusses the psychological reasons of software project failures.
31 Dec 2020 by Member 12712527
how does interpreter works...? What I have tried: i don't have any idea about it.
31 Dec 2020 by OriginalGriff
Instead of posting questions every time you don't understand something and hoping people will explain in the detail you want, start using Google to at least do some research for yourself. I copied a bit of your question and pasted it into Google,...
31 Dec 2020 by Richard MacCutchan
Quote: i don't have any idea about it. Looking at your other questions, that seems to be your standard request. I would suggest you get hold of a book on basic computing, which should answer some of them. You can follow that with books on the...
31 Dec 2020 by RickZeeland
See: Compiler vs Interpreter: Complete Difference Between Compiler and Interpreter[^]
17 Dec 2020 by IAmJoshChang
Today we are going to demonstrate how to use Top Down Dynamic Programming to solve the problem, Coin Change.
25 Oct 2020 by senguptaamlan
Hi All,I think it's a very basic question, but I'm stuck with it. When we copy text from a webpage and paste it in notepad, no HTML Markup gets pasted, only the plain text gets there. How, notepad handles it and removes the markup, but if we paste the same thing in any rich text editor like...
23 Sep 2020 by Dinamo Hajduk
Hi, I need a little help with someting I'd like to implement, but not sure how to do it. Image classifieds site like eBay. There are a lot of filters there: by price, by category, by city, by condition... Let's say we have this use case: - User...
28 Aug 2020 by Monica989
I am also interested to know how to do that. If you find out, please write to me.
27 Aug 2020 by Sandeep Mewara
AFAIK, you cannot upload a video article here at CodeProject. You can put up a request for such feature or ask if anyway possible here: CP Admins: Bugs and Suggestions[^]
10 Aug 2020 by Arindam Tewary
Hi Team, Earlier there used to be a forum called "General Indian Topics" - Is that forum got removed now? Thanks Arindam, What I have tried: Searched that forum but could not find, even my old old posts also not opening in that forum.
10 Aug 2020 by Arindam Tewary
Oh thats pretty bad. But this is true that a set of user started tolling and abusing there, actually I got fed up and left "General India Topics" forum where I was once a regular. I guess its good that forum got closed. It deserved by the time I...
10 Aug 2020 by OriginalGriff
Yes, it permanently closed earlier this year along with the Chinese forum, and the soapbox as they had become a sewer of abuse and trolling. Despite numerous warnings, they continued to be a problem and were terminated.
10 Aug 2020 by Sandeep Mewara
Yes, that was closed. Almost an year now I believe.
11 Jun 2020 by Member 14860567
what is the difference between compiler and interpretor? What I have tried: what is the difference between compiler and interpretor?
11 Jun 2020 by OriginalGriff
Compilers convert your code into a machine readable form which can be executed later. Once successfully compiled, the machine code version can be released without the source or the compiler being needed to run it. Interpreters execute your code...
11 Jun 2020 by Rick York
Search engines are your friend. Compiler vs Interpreter - GeeksforGeeks[^]
22 May 2020 by shashank89
Question:The following is a dump of a TCP header in hexadecimal format.05320017 00000001 00000000 500207FF 00000000a. What is the source port number?b. What is the destination port number?c. What is the sequence number?d. What is the acknowledgment number?e. What is the...
6 Mar 2020 by Lukasz Szyrmer
This post discusses reasons why new tech products stumble and suggests some ways in which that can be prevented.
9 Jan 2020 by Dr. Song Li
Hi Guys, I have posted - A-Note-on-JMeter-Async-Await Some readers complain that they are unable to see the pictures, but the pictures show up in my browser well. Now, the pictures even disappear from my brower. I do not know what is happening, please take a look. Thanks .... What I have...
9 Jan 2020 by User 11060979
You should post this here: Bugs and Suggestions[^]
22 Nov 2019 by Pete O'Hanlon
This is a puzzler because you have been given incomplete information. The first step I would do, if I were you, would be to identify the missing pieces. For instance, the requirement says you are given a number of candidates with values; do those values have to be greater than zero? If they can...
22 Nov 2019 by Jitesh Gala
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to target. The same repeated number may be chosen from candidates unlimited number of times. Note: All numbers...
22 Nov 2019 by Patrice T
Quote: i tried linear way of thinking, but it is not sufficient. What is 'linear way' ? When you have no known efficient algorithm for a problem, you have to fallback to brute force search. Brute force is trying all possible combination to get all answers. Solving the problem by hand is a good...
21 Nov 2019 by OriginalGriff
Start by thinking about how you would do it manually - get a pen and paper and generate some examples, and try it. When you're sure you can do it for yourself, write down how to do it as a set of instructions, as a set of simple steps. Then generate some new sets of numbers, and try following...
7 Oct 2019 by ♥…ЯҠ…♥
I really wonder while logging into Lotus notes. Where i typed 8 characters of password while logging,it appears to be more than 12 characters.I thought, typed some extra characters. Then only i realize that the format is set like that.If I type 1 character it shows as 4 character...
30 Sep 2019 by OriginalGriff
No. This is not a "Job swap" site, nor does it wish to be. We do get recruiters here - like rats and fecal coliforms they get everywhere - but they are generally kicked off pretty quickly.
30 Sep 2019 by Member 14608520
Is there a job board on this website where employers can post jobs, and job seekers can review job postings to find their next career? There are a lot of engaged, highly skilled, and sought after participants on this platform, and it seems like there could be an opportunity for Code Project to...
6 Aug 2019 by Salvatore Allegra
I think my question may best be explained by some examples... Example 1: I open up the developer tools in chrome and select the console. I wonder how in the world the developers of chrome are showing compiler/interpreter output in the console window, or something as simple as console.log...
6 Aug 2019 by Richard MacCutchan
Buy books, find sources on the internet, and practice, practice, practice.
22 Apr 2019 by OriginalGriff
This is a known current bug, and the admins are working on it. But this is the wrong place to post site-based problem reports - you need to get it directly to the admins, and this is a general purpose QA area so they may well miss it here. In future, please try posting site bugs in the...
23 Dec 2018 by KarstenK
You must use the debugger to find out what is your problem. Set a breakpoint and move maybe some formatted output helps. Important tip: learn to work with structs and arrays. Your maze is a two-dimensional (not 3, was typo) array char *maze = malloc() char value = maze[x][y];//access this make...
23 Dec 2018 by Rick York
Have you noticed how similar the code is for each key entry? That is an indication that you should make a function out of that sequence of code and pass the values that differ for each key to it which appear to be the x and y values. My general rule of thumb is if I see a sequence of code...
23 Dec 2018 by Member 14092627
I have been making a game to walk through mazes and solve them for a college project. I have been trying to make my character move and, oddly it was working perfectly for like 20 minutes with the character moving and the steps counting. After that, it just stopped working and the code was the...
23 Dec 2018 by Patrice T
Quote: Was it a problem with the compiler (DEV C++) or the code is faulty? Oddities are against your code, you are the only one able to tell because we can't run your code. Your code do not behave the way you expect, or you don't understand why ! There is an almost universal solution: Run...
18 Dec 2018 by Member 14094070
Should I create tables by hand or by queries? What I meant is let say I have a page that records height and weight and I want the values to be stored in "measurements" table, should I create the table in a command line or should I write a create table query to create table if the table doesn't...
18 Dec 2018 by Member 14094070
Thank you for your responses. The reason that I asked is it is my first time creating a system which is dynamic. It may alter or create table based on the end goals of the system. I am wondering should I create the table and leave it there, it is being used or not is another story or I should...
18 Dec 2018 by Wendelius
Typically tables are permanent objects, created and set up before the usage of a program starts. Based on that, I personally would avoid creating a table in a program that uses it. Furthermore a table creation may contain several aspects that are not in the scope of the program using the...
18 Dec 2018 by MadMyche
This is a matter of preference. These are my opinions * You are better using CREATE statements * Too many of the newer programmers rely on ORM's to take care of everything DB. * A programmer who knows SQL is worth more
1 Oct 2018 by Member 14003186
I get it it was hard work for a long time. I installed openssl-1.1.0h and make it works with Visual Studio 2017 I create a subfolder in c:\openssl-1.1.0h and put the files of openssl in this folder. (I have Visual Studio in Spanish, so it is possible that some menu option are not correctly...
30 Sep 2018 by VISWESWARAN1998
Sir,I have searched in google for finding SHA(Secure Hash Algorithm) using C program and came to know about Openssl library which is to be used for finding SHA etc.,I have downloaded Openssl binary Rar file and extracted it.But I don't know how to add Openssl library to my visual studio...
3 Jul 2018 by Member 13897314
I'm writing a story where a character solves a cryptic coding puzzle. I'm looking for advice on what an expert coder would do in order to find patterns in code. Would they use software to test code for patterns, just use their eye, how would they test their theories, etc? I want the...
3 Jul 2018 by Patrice T
Quote: I want the character to appear a coding genius who can see patterns / complete the puzzle where others can't. To get you started, have a look at this TV series, 1 of the characters is a mathematician genius, most of the problems solved can be seen as a kind of puzzle. Numbers (TV series)...
25 May 2018 by Karthikeyan Mathiyalagan
Dear All, i have plan to create technical blog, could you give suggestion for how to know technical blog are creating like blog name, maintenance.
17 May 2018 by vnmatt
7 May 2018 by Rajesh Anuhya
Hello.., I guess, this Modem is going to sleep mode after sometime. I have worked on this couple of years back. But I can suggest here something, may be you can try that. Please check the modem documentation wherein any command available for the wakeup the modem, or any command...
7 May 2018 by jnai_yarm
i have an issue for sending sms using huawei e160 usb modem .. problem is that after a couple of hours, the modem would become unresponsive, and my sms application would be unable to communicate with the modem. When I unplug this modem and plug it again its start working again..i have an other...
11 Apr 2018 by W Balboos, GHB
Interesting term, "arsenal". Well - running with your metaphor, I'd say that what you really want to do is be sure you're not shooting blanks. Proficiency, else you're wasting your time. You just started coding. What advice would you give to anyone just starting out in anything? There's a...
11 Apr 2018 by Member 13774022
hey guys, i have just started coding and i have a question, i know python and html and Css, and i'm learning java and JavaScript, what other languages should i learn to complete my arsenal, and why should i learn them? will they have new usages other than the other 5 i'm learning? PHP? ruby?...
11 Apr 2018 by Patrice T
Rather than more languages, technical background is a must have: - Learn one or more analyze methods, E.W. Djikstra top-Down method is a good start. https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^] https://en.wikipedia.org/wiki/Structured_programming[^]...
11 Apr 2018 by RickZeeland
If you are looking for a job that seems enough to me, knowing some SQL is always good, it also helps knowing about patterns e.g. Factory pattern. But there are a lot of companies out there, all with their particular skill set demands, so maybe you need to focus on what company you want to work...
11 Apr 2018 by Mehdi Gholam
Generally you learn something to overcome a problem and the problem defines what you should do and what tools you need. For the UI you should be familiar with (web tech) : javascript, css, "a framework/library" (like vuejs, angular, react) For the back end (for serious apps) : java or c#...
23 Mar 2018 by CHill60
Any particular reason why you felt the need to say this 10 times in the wrong forum? - Click on your user name in the top right corner of the page - Select "My Settings" from the menu on the left - Follow the link "Change" next to the word "Password"
7 Jan 2018 by kkdxghlctlcxxtidyuum
Hello, Just a general question: A made-up programming language that is then interpreted/compiled(?) using a high-level programming language such as C++ to give output is what: a compiler or an interpreter E.g. MoveCursor(132, 242 (Spline)) - made up programming language example. This...
7 Jan 2018 by Thomas Daniels
Quote: My question is: Is this made up language a source-to-source compiler, or is it an interpreter? Neither. It's a programming language. A compiler is a program that transforms code from one language to another (for example, C to Assembler). An interpreter is a program that performs...
7 Jan 2018 by kkdxghlctlcxxtidyuum
Hello, For the past two weeks I've been trying to find a way to apply native icons to my TBitmapButtons. I have been scouring the source code for all of Lazarus' components and have found some relevant functions. However, I don't know how to call these functions. function...
4 Jan 2018 by john morrison leon
Class method emulation for plain arrays plus unified handling of plain arrays, std::arrays and std::vectors
28 Nov 2017 by RedDk
Here's my search text: 2017-11-24T18:47:26Z Here's my regex expression for a FIND: [0-9]T[0-9] Here's my REPLACE expression: [0-9][0-9] And finally here's the result: 2017-11-2[0-9][0-9]8:47:26Z What am I doing wrong here? What I have...
28 Nov 2017 by Patrice T
With a little stydy of xml date/time format, you would know that the 'T' is unique, so FIND => "T" REPLACE => "" is enough. Just a few interesting links to help building and debugging RegEx. Here is a link to RegEx documentation: perlre - perldoc.perl.org[^] Here is links to...
28 Nov 2017 by PIEBALDconsult
Try it this way instead. Here's my regex expression for a FIND: (? (Just a quick guess.) And you'll still have mal-formed XML.
23 Nov 2017 by Oktay Ekincioglu
Exception handling practices like avoiding null values, writing predictable function signatures, avoiding null reference exceptions, etc.
30 Sep 2017 by Richard MacCutchan
See Submit a new Article[^] for the submission template.
30 Sep 2017 by OriginalGriff
No, you can't have "private articles" on Codeproject. All of Codeproject is open to anyone (with the exception of a few group-based forums), there is no private area for article storage.
27 Jul 2017 by Member 13331619
Hi all, I am only just starting out learning to code, but I realise that there will be plenty of times where I want to google some syntax and see a reference for how to implement a feature etc. I'm just wondering if there are any well known tips other than going in to google and smashing...
27 Jul 2017 by Jochen Arndt
Select some often used resources and bookmark the links: The reference pages for the used language (e.g. cppreference.com[^] or Reference - C++ Reference[^] for C/C++). The reference pages for used APIs (Application Program Interfaces) and third party DLLs. Like MSDN with Windows, or Qt. When...
27 Jul 2017 by RickZeeland
Here is tutorial site with a plethora of examples and online development environments: Text and Video Tutorials for UPSC, Civil Services, Banking, Aptitude, Questions, Answers, Explanation, Interview, Entrance, Exams, Solutions, Examples, Online, Quiz, Current Affairs 2017, Aptitude Test, Verbal...
27 Jul 2017 by OriginalGriff
For basic questions such as "how to make a for loop in C" then pretty much that is what you need to type. I'd leave out the English and just go for "C for loop": C for loop - Google Search[^] which will get you the same results. For basic stuff, it doesn't matter much which site you go to, but...
1 Mar 2017 by OriginalGriff
We can't give you a complete solution, because you don't give us any information on how they are stored, what language(s) you can use, or indeed anything other than to say "how do I sort these?"But in principle it's simple: split each ID into two parts, one to the left of the '-' hyphen...
1 Mar 2017 by Karthik_Mahalingam
and i got this static void Main(string[] args) { string[] items = new string[] { "TO - 1","TO - 2","TO - 3","TO - 4","TO - 15","To - 18","TI - 50","TI - 58","TI - 59","TO - 60","TO - 63" }; string asc = string.Join(",", items.OrderBy(k => k)); //TI - 50,TI - 58,TI -...
1 Mar 2017 by Member 13032463
TO-1, TO-2, TO-3, TO-4, TO-15,To-18, TI-50, TI-58, TI-59, TO-60, TO-63what can the display order when the above mentioned id's are sorted in a. ascending order b. descending orderWhat I have tried:descending: TO-63,TO-60,To-18, TO-15, TO-4,TO-3, TO-2, TO-1,...
31 Jan 2017 by Joe Brar
On MAC computer hard disk.Is there are way to trace the folder create series or order which folder was created first.Example I have 3 folders in my computerFolder 1Folder 2Folder 3I created folder 1 on 1st January 2017I created folder 2 on 2nd January 2017I created folder 3...
31 Jan 2017 by OriginalGriff
No. The "Created date" and "Modification Date" of files and folders is not maintained in an "undoable" state, nor it it logged.If you manually alter them, you have discarded the previous values. If you have a good backup regimen, you should be able to recover the info from there.
10 Jan 2017 by Jakub Szymanowski
The article presents idea and implementation of fundamental algorithms in image processing.
11 Oct 2016 by Oliver Bleckmann
I often have to import data from multiple sources, including text and XML files. Sometimes I ask myself, why is the SQL server so extremely slow? Currently, a SQL bulkcopy command is freezing my application after a few seconds (at about 600 data sets out of 15,000! 11MB csv file), while loading,...
11 Oct 2016 by Oliver Bleckmann
Four years later knowing some other solutions, I can tell that some of the really huge companies ended up writing their own storage strategy to fit their need. That's where solutions like HBase, BigTable, etc. came from. Companies tend to go hybrid or non-relational. The later doesn't mean there...
24 Sep 2016 by Nelek
Although the text editor from the site is very powerful, sometimes... well if you use it, you know what I mean ;)
17 Sep 2016 by Arun_P
Hi ,I posted a thread. But I do not want it to be present in the forum. Hence I need to delete by complete thread.(though it has answers).Is it possible?. If so, please guide me.If above is not possible, does the closure of my code project account serves the purpose?Please...
17 Sep 2016 by OriginalGriff
Depends on what it is, and where it is.A question in QA can be deleted - even if it has answers - by the original poster. A forum post can be deleted provided it doesn't have answers.A Protector or above member can deleted pretty much anything.Closing your account does not automatically...
16 Sep 2016 by Sanjeev236
Hi,I want to develop an installer and a program(.exe) independent of windows version and .net framework. Which language should I prefer? I am trying to build a program, which is ready to run on all available windows version with default framework or available with windows installation....
16 Sep 2016 by Dave Kreskowiak
Get used to it. Everything is going to have some kind of runtime you have to install to get it to work. Be it the C#, VB.NET, C/C++, ... except for Assembler. Good luck learning that one.Your problem is that you're targeting Windows XP, which hasn't been supported for years now. Newer stuff...
15 Sep 2016 by Member 12742263
Q1. Step through the following code and fill in the final valuesx = 4y = 10z = 'Cat'if x 4: z = x + yfor x in range(11): y += x# What would be printed to the repl? What are the final values of x,...
15 Sep 2016 by Patrice T
We do not do your HomeWork.HomeWork is not set to test your skills at begging other people to do your work, it is set to help your teacher to check your understanding of the courses you have taken and also the problems you have at applying them. Any failure of you will help your teacher spot...
15 Sep 2016 by OriginalGriff
We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.Try it yourself, you may find it...
29 Aug 2016 by Sergey Kizyan
My lecture #8 about exceptions handling and organization of error handling in the project
29 Aug 2016 by Maciej Los
I'd suggest to post that question here: Bugs and Suggestions[^]. CodeProject team/staff is able to check out what's happened with your previous account. And, if you wasn't a spammer/plagiarist (or any person whose behaviour was reported as rude), your account could be activated again.
29 Aug 2016 by OriginalGriff
You can't.It was closed because (as you are well aware) you copied someone else's work and claimed it as your own. This is called plagiarism and is absolutely not permitted.Plagiarists - such as yourself - are not welcome here and such accounts are not reopened.And thank you for bringing...
15 Jul 2016 by Nethaji chennai
I've got a windows CE device without Internet Explorer installed. I need a browser to test WiFi connection but I cannot find anything. I cannot build the system, I have to use the current one.I've tried to run Opera, Skyfire and some other less known browsers but none of them works on my...