Click here to Skip to main content
15,892,746 members
Everything / All Topics

All Topics

All-Topics

Great Reads

by honey the codewitch
Take control of which thread your code gets executed on, and how it does
by CodeProject, Mike Meinz
Welcome to our continuing series of CodeProject interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we talk to Mike Meinz, who shares some highlights from 45 years in the industry.
by CodeProject, Iris Classon
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we talk to Iris Classon.
by Arik Poznanski
The question this posts tries to address is: Where to put value converters?

Latest Articles

by Vincent Maverick Durano
This is a tale of a professional developer.
by Southmountain
Some quick configurations to get MFC support for console application
by Łukasz Bownik
The article describes technical and sociological reasons for software companies deaths.
by honey the codewitch
Designing infinitely scalable JSON: JSON (C++)

All Articles

Sort by Updated

All Topics 

6 Feb 2024 by Vincent Maverick Durano
This is a tale of a professional developer.
18 Dec 2023 by pasztorpisti
Have some balls and don't be afraid to choose your destiny for yourself. Do you want us to tell you what to do with your life??? (Hmmm, a few tips from me: go and try working as a makeup artist or a ballet dancer...) If you have no clue about any...
8 May 2023 by xiaobai627823
I want to find the data to traning a code audit AI What I have tried: I want to find the data to traning a code audit AI
20 Feb 2023 by Addy__0
#include #include #include int main() { char **Str; Str= (char**)calloc(20,sizeof(char)); Str[0]= (char*) calloc(10, sizeof(char)); Str[0]= "Hello, world"; printf("%s", *(Str+0)); } What I have...
20 Feb 2023 by Fred van Lieshout
Just keep in mind that everything takes up memory, including pointers. It can be handy to let a pointer (to a pointer) point to something else. Also, the line where memory is allocated to store the actual string, is not needed. Str[0]= (char*)...
18 Feb 2023 by merano99
Currently, this is C source code. The other programming languages according to the tag are irrelevant. There are several errors: // Str = (char**)calloc(5, sizeof(char)); need space for pointer, use n for size! Str = (char**)calloc(n,...
18 Feb 2023 by Addy__0
#include #include #include char **StringArray(char **arr, int size); int main() { char **Str; int n= 5; int i; Str= (char**)calloc(5,sizeof(char)); Str[0]= (char*) calloc(10, sizeof(char)); ...
17 Feb 2023 by OriginalGriff
Probably because it doesn't compile: you declare StringArray as returning achar** - but the function body does not have a return statement. If code doesn't compile, then it doesn't generate an EXE file - so what you are running is the previous...
17 Feb 2023 by CPallini
Quote: Str= (char**)calloc(5,sizeof(char)); That should beStr= (char**)calloc(5,sizeof(char *)); Might be there are other errors, as well. Anyway the code is not robust against user input.
17 Feb 2023 by OriginalGriff
You allocate a block of memory (20 chars worth) and tell the system that that is a set of pointers to chars - because Str is a pointer to a pointer to a char. Which is effectively a pointer to a string. Think of Str as a array of pointers to...
8 Jan 2023 by alisa brigita
1. i have a textblock in the list which 2. i need to change the forground of text 3. i need to change the background image of the textblock my problem is i can,t change both text and image if anyone know about this please help...
6 Dec 2022 by Ailiseu Brigitta
i have create a search list which shows the student details i need to find the student name with both upper case and lower case Eg student 1 name = arun student 2 name = Aravid if i enter the letter (a) in searchbar both arun and aravid should...
6 Dec 2022 by Richard Deeming
Based on that code: List searchlist = DataAccess.getallstudent(empdetails); if (!string.IsNullOrEmpty(prefix)) { for (int i = searchlist.Count - 1; i >= 0; i--) { StudenItem item = searchlist[i]; if...
28 Nov 2022 by Ailiseu Brigitta
i have read the text file i need to insert a new data in the text file this is the method i have read the text file try { var path = @"text file\\GetAllEmp.txt"; string rawJson =...
27 Nov 2022 by OriginalGriff
THe only practical way to add data to a JSON file is to add it to the objects(s) you read from the file into your application, then write a new file that includes the old data. JSON is not a database, it's a data transfer format - and it isn't...
23 Nov 2022 by Danhh Nguyễn
A used bicycle shop lends bicycles with the following rules: A deposit of $150 must be made before taking any bicycle from the shop. The charges for hiring depend on the month in which it is hired. If the number of days of hire exceeds 15, a...
16 Nov 2022 by RickZeeland
There are database conversion tools like: Dbmate[^] and Data Puppy Lite (64-bit) - Windows 10 Download[^] For more options just Google "What are the best relational database migration tools?"
16 Nov 2022 by Ailiseu Brigitta
i am working on C# code i need to convert java sql table to c# sqlite table there are 800 table i should convert What I have tried: is there any online website to convert java sql table to c# sqlite table .If any one knows please let me know
15 Nov 2022 by OriginalGriff
SQL Tables aren't "Java" or "C#" - they are language independent and just exist within the SQL Server instance. I'd start by using Google: convert SQL server db to SQLite - Google Search[^] - it shows a lot of routes to get from one DB system to...
6 Nov 2022 by Ailiseu Brigitta
i am working with uwp i can't able to find the what mistake i have done in the program when i debug the code is running prety well but i am getting exception error . the error i got i have written in // (error) What I have tried: ...
6 Nov 2022 by OriginalGriff
Read the error message: it's pretty explicit. Your JSON does not match the class you are trying to deserialize into. So use the debugger to look at exactly what the JSON in response contains, and if necessary use an online class constructor ( I...
5 Oct 2022 by Venki Vky
I am learning how to develop a uwp software is there is any scope for it .now a days. which company will select me ? is there is any idea guys What I have tried: if any one know about it please let me know . which platform can i learn android...
5 Oct 2022 by Richard MacCutchan
This is a common question, and one that is impossible to answer. If you want to know what opportunities are available then you need to look at the local trade press to see which companies are recruiting and what skills they are looking for.
3 Oct 2022 by Venki Vky
i don't know how to delete the (asked question) because i leaving this site so anyone who know to delete the (asked question) i don't get answer for my question and there are some down voting for my question it make me feel sad if any one feel...
3 Oct 2022 by OriginalGriff
You didn't get an answer because you didn't ask a question. All you did was post irrelevant code, and shout at us: "I NEED TO CREATE A SEARCH BAR IN MY UWP APP" Shouting is rude: that's probably why you were downvoted. Not showing any effort?...
21 Nov 2021 by Fabian Palacios
I want to iniciate my own learning abouth the programming, but i dont konw how to start and i want know what i must to learn, or what books do you recommend? PLs I need help for this What I have tried: I have tried to see youtube videos
21 Nov 2021 by Patrice T
Quote: How I start to programming? You have to know that you can do pretty much anything in any language, simply some languages are harder for beginners because there is more pitfalls to handle. You need to master a set of techniques that are...
26 Mar 2021 by Southmountain
Some quick configurations to get MFC support for console application
29 Jan 2021 by Łukasz Bownik
The article describes technical and sociological reasons for software companies deaths.
22 Dec 2020 by honey the codewitch
Highly efficient access to JSON data sources and selective bulk loading JSON on any platform using a new JSON paradigm
6 Dec 2020 by honey the codewitch
A rundown of some common tricks and pitfalls when working with SD readers for IoT gadgets
3 Dec 2020 by honey the codewitch
Implement swipe left/right/up/down using a TFT touchscreen and an Arduino compatible device
22 Nov 2020 by honey the codewitch
Revisiting our WiFi enabled smart clock project with more modern hardware
5 Nov 2020 by honey the codewitch
A walkthrough and source code for automatically configuring your ESP8266 IoT devices
5 Nov 2020 by honey the codewitch
Explore an Arduino based IoT web server and UDP multicaster for monitoring a remote water pump
4 Nov 2020 by honey the codewitch
Unleash the tiny ESP-01 on your network
2 Nov 2020 by honey the codewitch
Turbocharge your device with a clever way to configure your board
30 Oct 2020 by honey the codewitch
Using this cheap, powerful little device to make magic
27 Oct 2020 by Richard MacCutchan
The answers can be found at AllenNLP[^]
27 Oct 2020 by Member 14976401
Hi every one Is there any one using allennlp library? My question is : this library is an open code library and it is updated regulary should I update my code too or what Iam tired. What I have tried: updating code regularly according to the...
27 Oct 2020 by OriginalGriff
Depends on what the updates do or contain: if it's security patches or bug fixes, then updating is probably a good idea. I'd suggest you talk to the people who wrote it to find out what updates contain, not ask a random website that has nothing...
29 Sep 2020 by CPallini
You have several alternatives: Learn C# and adapt the C# sample code to Java. Learn C# and write your application using it (could be more fun than using Java). Ask help to the device manufacturer in order to get a clean example of accessing...
29 Sep 2020 by ZU IT
I recently bought an ARCA LS150 and now I'm trying to connect it to a Java-based system. How do I do it? What I have tried: reding lsApi.dll using java platform i git c# sample code but can,t convert it to java
25 Sep 2020 by Sergey Morenko
Guide: How to prepare for a coding interview
21 Sep 2020 by Dave Kreskowiak
You can't. Your app would have to be shipped as part of the phone O/S image.
28 Jul 2020 by honey the codewitch
Take control of which thread your code gets executed on, and how it does
24 Jul 2020 by honey the codewitch
Using await in scenarios where you want to await custom items with or without using Task.Run()
23 Jul 2020 by honey the codewitch
Add progress reporting to your downloading or copying using this code
23 Jul 2020 by honey the codewitch
Explore adapting Socket's async model to a task based one and adding some awaitable socket operations to your projects
22 Jul 2020 by honey the codewitch
Diving into some of the core plumbing behind the Windows operating system
18 Jul 2020 by honey the codewitch
Leveraging some less well known areas of the .NET Task framework to schedule tasks to execute on your own conditions.
17 Jul 2020 by honey the codewitch
Add a flexible knob control to your .NET projects
15 Jul 2020 by honey the codewitch
How to implement a complicated multithreaded message passing scenario
14 Jul 2020 by honey the codewitch
This article explores a message passing mechanism for safe thread to thread communication
14 Jul 2020 by honey the codewitch
Continuing our series with a knob control and a MIDI visualizer
12 Jul 2020 by honey the codewitch
PianoBox is a customizable musical keyboard control for Windows Forms. This is the first part of MidiUI.
11 Jul 2020 by honey the codewitch
Exploit the memory layout of your data to make your P/Invoke code more accessible and maintainable
9 Jul 2020 by honey the codewitch
Easily create zip packages from source code, suitable for upload on CodeProject
6 Jul 2020 by honey the codewitch
Provides a complete managed API for working with MIDI files, sequences and devices
4 Jul 2020 by honey the codewitch
How to marshal structs that the .NET marshaller just can't handle without a lot of help
4 Jul 2020 by Lukasz Szyrmer
Why it is important to address errors effectively for better team performance
27 Jun 2020 by honey the codewitch
Extensive performance and API improvements for streaming MIDI and more
16 Jun 2020 by honey the codewitch
Easily word wrap strings of text in C#
5 May 2020 by honey the codewitch
This tip shows you a robust way to get the type of items a collection can hold. It works with non-generic collections too.
4 May 2020 by honey the codewitch
Start out with the basics for command line argument processing and exception handling for your console based utilities
1 May 2020 by honey the codewitch
Creating an application that can run once, but then accept command line args from subsequent runs
1 May 2020 by honey the codewitch
This tip demonstrates how to create an app that only allows one instance to run at a time
16 Apr 2020 by OriginalGriff
How many times are you going to ask the same question until you learn to fix this yourself? Why my code not working ?[^] Why my code not working ?[^] Can you help me to fix my code ?[^] If you had done what you were told to the first time you...
16 Apr 2020 by Effendy Hendra
i was trying to run my code but error come out class Board:public State(){ private: vectorblocks; public: void generateIntlState() { int bIndex = 0; intializeBlocks(); for(int r = 0; r
16 Apr 2020 by steveb
Ok let me see where do I start. class Board:public State(){ should be class Board:public State{ For loop setVal(r, c blocks[bIndex]); should be either setVal(r, c, blocks[bIndex]); or remove "c" token. I assume that the majority of...
15 Apr 2020 by Effendy Hendra
i was trying to run my code but it isn't working at all and so much error The Error is under the code #include #include #include #include #include #include #include #include...
15 Apr 2020 by OriginalGriff
Those are all compilation errors, which means you typed a load of code - 600 lines - and then tried to compile it. And some of it you typed wrong! That's a bad idea, especially when you are starting out: type a function, compile and test it. Type...
26 Mar 2020 by honey the codewitch
An in depth guide on doing advanced MIDI things. Includes a demo Drum step sequencer and file slicer
19 Mar 2020 by honey the codewitch
Learn how to use a powerful programming technique for multitasking in your projects
19 Mar 2020 by honey the codewitch
BinaryReader and BinaryWriter can be used to parse or write binary files more easily and in a portable manner
19 Mar 2020 by Nikola M. Živković
Pomodoro is a technique in which you work for twenty-five minutes (which is considered one Pomodoro), after which you take a five-minute break. After four Pomodoros, you take a fifteen-minute break.
14 Mar 2020 by honey the codewitch
Learn how to implement recursive descent parsers, with examples for JSON and an integer expression evaluator
13 Mar 2020 by honey the codewitch
How to provide custom formatters for string.Format() in C#
25 Feb 2020 by Lukasz Szyrmer
How to get a better sense of how team members are doing, both as a functional unit and individually
24 Feb 2020 by honey the codewitch
A relatively safe, simple, yet high performance technique for using lists as dictionary keys.
23 Feb 2020 by Member 14750355
DevOps is a methodology that aims to create a synergy between software engineering and IT operations teams.
22 Feb 2020 by honey the codewitch
Glory can parse virtually anything, even natural language. Add powerful parsers to your projects. Parse languages like C# or incorporate human language parsing with your AI code.
18 Feb 2020 by honey the codewitch
A crash course in GLR parsing which can be used to parse highly ambiguous grammars
12 Feb 2020 by Rion Williams
This post discusses different ways in which one can incorporate fitness while working remotely and outlines the benefits of doing so.
9 Feb 2020 by honey the codewitch
Using IEqualityComparer to allow collections to be keys in dictionaries and hashsets
6 Feb 2020 by honey the codewitch
A circular buffer implementing IList
5 Feb 2020 by V.
The easy view of the Software Development Process
3 Feb 2020 by honey the codewitch
A Pike virtual machine and optimizing compiler for regular expressions using an NFA engine
2 Feb 2020 by honey the codewitch
Add UTF-32 support and easy foreach streaming to your apps
1 Feb 2020 by honey the codewitch
Add non-backtracking fast DFA regular expression and finite state automata to your projects
31 Jan 2020 by honey the codewitch
A small library for providing baseline Context-Free Grammar computations
31 Jan 2020 by honey the codewitch
Add fast scanners/tokenizers to your C# project
19 Jan 2020 by honey the codewitch
A completely programmable lexer/tokenizer/scanner generator in C# using a Pike Virtual Machine
17 Jan 2020 by honey the codewitch
Manage location tracking, lifetime, error reporting and basic parsing/lexing with this simple class
14 Jan 2020 by honey the codewitch
Add the ability to run a service in console mode and to control or install your service from the command line
14 Jan 2020 by honey the codewitch
Easily add scripting support to your apps using Microsoft's active script technology
11 Jan 2020 by honey the codewitch
Using Parsley to prototype and test hand written parsers
9 Jan 2020 by honey the codewitch
Enumerate store and retrieve characters as sets of ranges using this efficient struct