Programming (C#, C++, JAVA, VB, .NET etc.)
Discuss how to make your own program in various languages.
Participation guidelines
Please read this sticky first before requesting help for your homework assignments.
Please use tags and prefix them in the title for more efficient indexing of topics and the chance of quicker support.
Explore Questions
There are no popular questions to show right now
-
0 votes3 answers
-
0 votes1 answer
-
0 votes2 answers
-
0 votes4 answers
-
0 votes2 answers
14,935 questions in this forum
-
Asking for help with your assignments...
Moderator note: this thread was stickied by moderation, and moderation will enforce these rules on this forum. Thanks, Andre S. It seems to be that we've got a lot of people in this subforum at the minute looking for help with school/college programming projects at the minute. I thought I'd share my 2 cents for both askers and answerers. #1 WE WILL NOT DO YOUR HOMEWORK FOR YOU. See below... #2 WE WILL NOT DO YOUR HOMEWORK FOR YOU. While I don't think anyone here will refuse to help a struggling student, a certain amount of offence is taken when you try to take advantage of our help to get your homework done without putting in any effort yourself. If you copy and …
0 votes25 answers -
-
What should I Focus More Java or Python?
I am confused between these two languages, as I wanted to learn Data Science. Since 1 and half months I am learning Java but as the trend says Data Science will be having more opportunity in the future. Can someone guide me one this? What should I focus more?
0 votes2 answers -
Which is the best way to Print Fibonacci Series in Java?
I was going through with lot of articles on this topic and found out there are 4 methods which can be used to print Fibonacci Series, 1. Using For Loop 2. Using While Loop 3. Using Recursion 4. Recursion with Memoization Now the question is, which is the one mostly use and why? Should I use all of them or it depends on the problem? My All Time Fav Resources: 1. WikiPedia 2. Scaler Topics Please suggest me!
0 votes1 answer -
Which compiler for c++ program
which is the best compiler that i can use for the c++ programs..........at the moment am using the hackerrank compiler which actually keeps failing out after every 2 to 3 seconds. I believe in this forum and I know am going to get solutions very quickly. Thanks in advance.
0 votes6 answers -
C and C++
I keep wondering if c++ and c programming languages can be separated. in the last two decades, c++ programming language has evolved too much and currently it has lee and less relationship with the c language. Does this mean that in the nearby future these two languages will be separated?
0 votes2 answers -
Smart Contracts
Hello! Does anyone have any experience coding smart contracts? Asking for a friend.
0 votes3 answers -
Database of Country, Code, Dial Code, Date & Time
Hi, Working on an app where I need to have a list of Country (Australia), Country Code (AU), Dial Code (61), Short Date Format, Long Date Format, Short Time Format, Long Time Format. Searched high and low and nothing I could find contains a succinct information. Is there a global list/database available with above information that I can use? Happy with CSV, JSON, XML or other format that I can convert as needed. Cheers
0 votes4 answers -
Raspberry Pi shield
hello everyone. Am trying to design my own customized copy of the raspberry pi shield like the one in the link below: RaspberryPi IO Shield v1.0 (EA) - Share Project - PCBWay Anyone with an idea of the best EDA software to use and which type of the chips are the best?
0 votes2 answers -
8051 AT89C51 PROGRAMING
which the best programming IDE one can use in the programming of the 8051 AT89C51 microcontroller? Currently am using KEIL IDE which am using to write C code then i convert the it into .hex file which gives the correct assembly language for my microcontroller. Is there a an IDE i can use to do the program in .hex directly? thanks!
0 votes0 answers -
PIC16LF1618 - mpasm how to work with arrays
Hi, I'm looking for a means to write a subroutine that fills an array with a value, as well as a way to parse/read data from an array. I've been looking about various keywords from the standpoint of a C/C++ coder, but I'm not sure how the piece fits together: - declare array in cblocks, which I am familiar with - What is mpasm's approach to array[index] access? - How do I raise the index? - How can I get from one array place to the next? - How do I create a while loop? In assembly, is the recursive loop GOTO $-n the only way?
0 votes2 answers -
What this compilation error means? I cannot solve it
I am making a fairly simple tictactoe game with Borland C++ Builder. But it is the first time i am making a project alone with it. I have worked with it for a few months, before, but in projects that were working. I just adjusted or added some kinds of things. My project is a win32bit thing. First, i had an issue with the "onClick" event function. The 9 buttons (the game positions where we play) must have 9 different position. When i drawed the dialog, i copied an empty and basic button to have them 9. But after doing this, if i double clicked the "onClick" event of one of them, and created a new function, this function were "magically" given to all 9 buttons.…
0 votes1 answer -
Py2EXE Not Importing PIL Properly?
I wrote myself a little QR code generator. I installed a flatpak of one and it would just straight up crash if you entered too much information, so I decided to just tinker around and write my own in Python that has some proper error handling to warn me if I give it too much to work with instead of just crashing out of the blue. I fired up my Windows 10 VM, did: python -m pip install qrcode And a handful of other libraries so that the raw Python file itself runs properly on Windows. But, when I try to compile it with Py2EXE, the resulting EXE file complains about not being able to import "Image", even though I've double checked that it is indeed…
0 votes0 answers -
Google Sheets: COUNT.IF over multiple cells
Hi all, Strange questions and didn't know where to go so I'm puting it down here. Hopefully in the correct place otherwise, please move. I have a Google Sheets document filled with raw data and would like to know per company name how many records they have published, between certain dates (= per month). Column A Column B Column C ... Neowin 16/11/2021 Bla bla Windows 12/11/2021 Meh meh Microsoft 01/11/2021 Moh moh Neowin 03/11/2021 Lalalala Neowin 02/12/2021 Sololal Windows 01/09/2021 Lasoldo Microsoft 06/08/2021 Boe Boe Windows 07/07/2021 Boe La Bam Windows 03/04/2021 Shakalaka Neowin 06/09/2021 Tripiedipp …
0 votes3 answers -
Decimal to Binary in Python: Converting Error
Hi All I was trying to convert Decimal to Binary, there is no error in the code but while executing I am getting no result. def decimalToBinary(ip_val): if ip_val= 1: # recursive function call decimalToBinary(ip_val // 2) # printing remainder from each function call print(ip_val % 2, end = '') # Driver Code if __name__ == '__main__': # decimal value ip_val = 24 # Calling special function decimalToBinary(ip_val) Read Couple of blogs from Scaler, GeeksforGeeks, Tutorialstpoint etc. to understand the mistake i did, but as I am not able to figure it out the mistake. Can someone help me to understand the mi…
0 votes2 answers -
Need help coming up with an efficient algorithm pseudocode.
I need help coming up with an efficient algorithm for the below. The automation software i am using has a very limited syntax, can use for loops and if else statements and all the math functions. I have several variables. Boolean Variable S = Start Step Sequence - True/False Integer Variable R = Total Number of Recipes - Constant of 50 Integer Variable X = Number of Recipe Steps - Can be 1 to (Variable R) Integer Variable Y = Starting Recipe Step - Can be 1 to (Variable R) Integer Variable Z = Ending Recipe Step - Can be 1 to (Variable R) Integer Variable C = Current Recipe Step - Can be 1 to (Variable R) Integer Variable …
0 votes1 answer -
Fortran to VB.Net conversion
Hi, Does anyone know any good resources for converting some Fortran sub-routines to VB? Cheers, Pete
0 votes1 answer -
Looking for a Solution that does the following
I am looking to implement something that contains the features below for my development team. Please let me know of the solutions that you would suggest. Secure Place Able to Put in Code Snippets Able to Save Passwords Able to Save Licenses Documentation around the Code Behind a SSO (SAML/AD/ADFS) Wiki type of interface Onsite or Cloud Solution
0 votes5 answers -
Jellyfin and Fail2Ban
Could somebody tell me what I'm doing wrong? I'm trying to set up Fail2Ban to handle my Jellyfin service. Jellyfin has a built in "block this user after X failed login attempts", but I'd like to use Fail2Ban in addition to that to block attempts to log in with incorrect usernames and such that wouldn't get caught by the built in autoban feature of Jellyfin. Fail2Ban sees the jail and when I query the jail status, it appears to correctly report a list of the appropriate log files, but when I intentionally enter incorrect credentials Fail2Ban doesn't register the failure, and I'm fairly certain it's something to do with my regex in the filter file. First off,…
0 votes0 answers -
Not sure how to tackle this any help would be appreciated
I am trying to design a search system that uses a string of characters to bring back a list of search results... Example user enters 123456 into the search bar on the back end the 123456 references an ID The ID references a list of associated results How would I go about doing this?
0 votes3 answers -
Efficient/fast CSV file from client (Windows) to server (CentOS)
Hello, I am seeking some guidance on the best possible way to send a CSV file from a Windows client to CentOS server with the lowest overheads. The CSV file changes perhaps 2-3 times a second and I need to send this to the server for data capture and processing. This send process happens for perhaps 8 hours and then sleeps for weeks or sometimes months. When not sleeping I need to send the CSV as fast as possible, once per second would be acceptable. Appreciate any suggestions or guidance. Client side current: Run a program and sends data when datafile.csv file is modified. Uploads via WinSCP / SFTP. Overhead of SFTP mean transfer takes 1-3 seconds before send…
0 votes1 answer -
I need Help in Recreating this because I am not good at VB
So this is basically an autoclicker that my friend gave me, it has randomization functions. Here are all the functions of the app: Click Interval (milliseconds) is the time before the next click. add random milliseconds adds a few milliseconds specified by the user to add random intervals every click. Add random pixel offset moves your cursor by the specified amount by the user. You can also select what the auto clicker uses (Left mouse button, Right, middle button). You can also see what your cursor's coordinates are. The purpose of my request is to add a customizable hotkey for start and stop or at least Just a single customizable hotkey for Tog…
0 votes0 answers -
Batch Script - Take user input and rename+move files
I am having difficulty with a script for work; what I am looking to do is allow the user to input a string, then the replacement string and the script will rename the files in the directory and move them to a location. I was able to get the user input and rename to work, however I am clearly not doing something correctly for the move function. Here is my code: @echo off setlocal enableDelayedExpansion set /p "string1=Enter the sequence to be replaced : " set /p "string2=Enter the new sequence : " for %%F in (*%string1%.*) do ( set "filename=%%F" ren "!filename!" "!filename:%string1%=%string2%!" ) & move "C:\myfilepath\*.xlsx" "C:\newfilepath\" I thi…
0 votes3 answers -
doing the Import of data into g-calendar
good day dear friends i wish you a happy new year! i want to do a import of data from calc via Google-API to google-Calendar!? see the differnt formats - in calc- and in a printed sheme.... or in other words - ready to print. question how to arrange to port to the google-calendar!? what is aimed: well i need a import of data into google-calendar via the API - an automation that is triggered by my calc shee and sends data to the Google Calendar, sending each one item i add to Excel and adding a…
0 votes2 answers -
Data normalization many-to-many relationship
I have three tables: Product(carrots, potatoes) id name Element(calcium, sodium) id name content100(content in 100 grams of product) 0 calcium 20 milligrams product_element id product_id element_id I cannot understand to which table the data on "Content in 100 grams of product" belongs The product does not apply to the item either. Any help please.
0 votes0 answers -
How to know the user who made the move - SQL Server 12
Hi, as the title say it. I have a program that use login with every user to access at every module ant this works with SQL Server 12. Until here everything is ok, but when I want to know witch user made de move (Insert, update or delete an record) I don't know how to know it. Is there a way in SQL Server to do this function? The important to me is know it, even if in the system doesn't show it while in the DB I can consult, thats works for me. Thx. Regards.
0 votes10 answers
-
Recently Browsing 0 members
- No registered users viewing this page.