132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Amani_2

I am having trouble coding an animation for a pendulum simulation. I can never seem to get any of the code right. I tried using pygame, but it didn't work even after I installed it into my computer! I just need to know where to start! Help please!!!

Software Development python
Member Avatar for rproffitt
0
228
Member Avatar for cambalinho

the C++ have virtual functions, but, for me they have 1 problem: on derived class, i must prototype them, for define them on Global Scope. how can i avoid the re-prototype them on derived class? i tried 1 way: template <class Type> class TypeHasToString { // This type won't compile …

Software Development c c# c++
Member Avatar for cambalinho
0
551
Member Avatar for Adm666

why at line 12, the expression : (char*)str+3 , adds the 2nd index to the string? for example when str="123123" , (char*)str+3 is "3123" instead of "123" ? input: 3 0 3 123123 output supposed to be: "Mybcmp result: 0" since the 3 indexes that's compared from b1="123123" and b2="123" …

Software Development c
Member Avatar for Ren C
0
428
Member Avatar for emilio_3

//Create a random 10 character password with the first character being a upper case letter. The remaining characters are random selections of Upper case //letters, lower case letters, 9 digits and/or special characters (found only on the top row of your keyboard). Please exclude 0 and O's from being used.After …

Software Development c++
Member Avatar for ryantroop
0
580
Member Avatar for John_196

I am making a user form in Delphi for documents tracking application. I am interested in functionalities **input new entry (record) **and **view list by... (date, name of document, ID,...).** My problem is that I don't know how to implement these functionalities for more than one user. Currently, I have …

Software Development delphi
0
448
Member Avatar for Jomz_1

Hello, I am writing a simple program. I want to select the date and time, it should appear like this: DAYS HOURS MINUTES SECONDS when the time reached set date my timer must stop like this 0(d) 0(h) 0(m) 0(s) and show Form2. But my timer continues to count from …

Software Development vb.net
Member Avatar for rproffitt
0
317
Member Avatar for Mike_51

Hello, all. I am trying to calculate entropy, and I cannot get the calculations correct, or match the results with the assigned if-statements. I get a number that differentiates a bit from the answer that I want. So far, this is my code: #include <iostream> using namespace std; float Entropy(float …

Software Development c++
Member Avatar for xrjf
0
1K
Member Avatar for Adm666

just as the title says how to compare between memory addresses's contents?, my function will get two memory pointers and i want to compare their first "len" from what they're pointing to i'm getting here invalid use of void * when i compile int my_bcmp (const void *r1, const void …

Software Development c
Member Avatar for rproffitt
0
504
Member Avatar for xrjf

Here I present a WebSite containing just Default.aspx. Current snippet code has to do with coloring text in an input field of a web page. The input field is an editable DIV HTML element. While the user writes, there is a partial post (an XMLHttpRequest) to the server. Then the …

Software Development asp.net html-css javascript vb.net
0
316
Member Avatar for Naveed_786

Dear Friends, Good Day, I am facing an issue in one of the functions the code is given below if someone can help on this actually this function is supposed to check the work ordewr number if it's nulll then it is suppose to take default value as 4999 and …

Software Development oracle vb.net
Member Avatar for xrjf
0
394
Member Avatar for rat1973

I am new to XSLT. I am trying to transform one XML document to another. My first step is to try an do a really simple example. I want to see the results to my simple example in a browser, but neither IE7 or Firefox is not returning the results …

Software Development xml
Member Avatar for Krishna_30
0
10K
Member Avatar for hefaz

Hi guys! i think this is usefull, a lot of the users have problems with .Net Framework installation, Error code: HRESULT 0xc8000222 Do these to solve: a: Click Start > Run. b: Type cmd and press Enter. Please run the following command in the opened window. net stop WuAuServ c: …

Software Development
0
462
Member Avatar for Reverend Jim

There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one. Does anyone here have any experience setting up and developing in CUDA on a Windows platform? I know that there is a system that can be set up …

Software Development c++ display visual-studio
Member Avatar for Reverend Jim
0
3K
Member Avatar for Izzah_2

ive been develop a project known as ordering system i need to delete data from db by clicking the button ive follow a tutorial from utube and to the exact same code he been used error "object reference not set to an instance of an object" ive double check my …

Software Development mysql vb.net visual-basic
Member Avatar for Santanu.Das
0
868
Member Avatar for javaprog200

Hello Members, I have a basic java question about non-terminating float values: public class FloatandDouble { public static void main(String args[]){ float a = 1.0f/3.0f; System.out.println (a); System.out.println (b); } } The output of the program is 0.33333334. Why is it not 0.33333333? Thank you

Software Development java
Member Avatar for javaprog200
0
180
Member Avatar for Heung min

import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class DataStreamExample { public static void main(String[] args) throws IOException { File f = new File("seminar.txt"); if (f.exists()) { BufferedReader br = new BufferedReader(new FileReader(f)); String dat; StringBuilder text = new StringBuilder(); while ((dat = br.readLine()) != null) { text.append(dat); } …

Software Development java
Member Avatar for JamesCherrill
0
284
Member Avatar for zebnoon1

Dear Friends, I am facing a problem, I have two forms, Form1 Has one DataGrideview and Button redirect to Form2, which has Button(Browse Excel File) and combobox(Sheet No of excel file) and Button to load Excel file list in Datagrideview , **want to show excel file list in Datagrideview of …

Software Development c#
Member Avatar for Teme64
0
2K
Member Avatar for mrgreen108

in working with my 2d arrays, i have to read in from an input file a char array of NxN and manipulate the matrix in various ways. i have gotten just about everything finished, except i cannot figure out the logic of shifting a row left or right, or shifting …

Software Development c++
Member Avatar for happygeek
0
1K
Member Avatar for Josh_6

Good Morning everyone, My intention is not to get someone to do the whole code to help me but I'm currently learning c++ and I'm working on a homework project to create 10 small programs inside of 1 code and I'm having a hard time doing the last one. It …

Software Development c++
Member Avatar for ryantroop
0
555
Member Avatar for jigar_2

I have 300+ files and I am reading it via C program...i am able to compile but what should I pass while executing C program...below is my code...i am bit new to the C ... int i; FILE *in; FILE *out; char ifile[100],ofile[100]; main() { for (i = 0; i …

Software Development c
Member Avatar for Schol-R-LEA
0
284
Member Avatar for lashbandi

HI.. i had started a thread before about the same code...not sure if i was suppose to keep going in the same one or create a new thread..i am sorry if i did anything wrong mods... my program should just ask the user to enter words.. "The program must simply …

Software Development java
Member Avatar for sandy_5
0
12K
Member Avatar for Vinod_16

How we can a make a setup file in vb6 as other software need to install ( Like need a product key to Install )

Software Development visual-basic
Member Avatar for LesF
0
558
Member Avatar for Vinod_16
Member Avatar for john_111
0
244
Member Avatar for kugan80

Hi Guys, im facing problem at cmd.ExecuteNonQuery() kindly correct me wer is the mistake? n how to correct? Private Sub btnSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSave.Click Dim sqlinsert As String ' We use the INSERT statement which tells our program to add the information ' from …

Software Development vb.net
Member Avatar for Neena_3
0
5K
Member Avatar for dmanw100

I'm trying to read in from a .txt file with a Scanner (see code). For some reason this line of code will never execute even though it can open the file and there is, in fact, data in it as such: Name Name Number Number [CODE] File playerFile = new …

Software Development file-system java
Member Avatar for JamesCherrill
0
968
Member Avatar for Sajid_10

https://github.com/shivamshekhar/PyGalaxian Please update PyGalaxian file as i want the number of hits by the aeroplane into another file either text file or excel file or jupyter notebook and want to plot using plotly and plotlib library and show the analytics at what rate the hits are occuring after firing and …

Software Development github python
Member Avatar for JamesCherrill
0
536
Member Avatar for J_5

import java.util.Scanner; public class Rational { private int numerator; private int denominator; public Rational() { numerator = 1; denominator = 2; } public Rational(int numerator, int denominator) { this.numerator = numerator; this.denominator = denominator; } public int getNumerator() { return numerator; } public void setNumerator(int numerator) { this.numerator = numerator; …

Software Development java
Member Avatar for JamesCherrill
0
334
Member Avatar for charlybones

I've looked around this forum, and the rest of the internet, but my code is not working. Here is the problem: I read XML files that are in en-US culture. The decimal separator is a dot ".". Given the string "123.45", I want to convert the separator from a dot, …

Software Development xml
Member Avatar for DOUGLAS_9
0
19K
Member Avatar for Jiby_1

I have wriiten a script to switch on buzzer and given the path of that script in '/etc/rc.local'. So after booting my script works and it make the buzzer to switch on... my question is i want to switch the buzzer off when my device is shutdown.(for startup we use …

Software Development shell-scripting
0
392
Member Avatar for Jean-Claude

Hi, I run a VB6 programm that open Excel.xlsm I close the VB6 programm Excel.xlsm is always open I run a VB6 programm How can I work on the already ope n Excel.xlsm and not open an other Excel.xlsm? My OS = Windows 10 Thanks in advance for your help …

Software Development visual-basic windows-10
Member Avatar for Neena_3
0
671
Member Avatar for PerplexedB

The following (see the full code below) successfully adds a page in a section in Onenote. What I don't seem to be able to do is to get the lastly created page on top of the section. Here's the code that is puzzling me. onenoteApp.GetHierarchy(sectionId, OneNote.HierarchyScope.hsPages, out string xmlPages); var …

Software Development microsoft-office xml
Member Avatar for PerplexedB
0
861
Member Avatar for Violet_82

HI guys, as I was playing with observers today I came across something interesting. I have a program which keeps a list of users (Observers) and products (Observables) and the idea is that whenever the availability (that's a property of a product) changes the Observers are notified of this change. …

Software Development java
Member Avatar for Violet_82
0
1K
Member Avatar for Violet_82

hi guys, I've come across observers while working ona very very large project, and I didn't quite understand how they were structured and I suppose this had something to do with the huge size of the project itself. Anyway, I then decided to delve a little more into that, I …

Software Development java
Member Avatar for JamesCherrill
0
358
Member Avatar for Markuss_1

How i can get in result this picture: [Click Here](https://imgur.com/a/ddBb6) for now my code is: program cikls; label m; var a:byte; begin write('Ievadiet veselu skaitli:'); readln(a); if a<1 then goto m; repeat writeln(a); a:= a-1; until a = 0; m: readln; end. When i runit it make numbers counting down. …

Software Development pascal
Member Avatar for Schol-R-LEA
0
392
Member Avatar for user2018

Hello I want to write a mips program that collects user input, and indicates if the input is all uppercase letters or not. (self.user_2018_2019) submitted just now by user_2018_2019 Write a MIMPS program that collects user input, and indicates if the input is all uppercase letters or not. The program …

Software Development assembly
Member Avatar for user2018
0
414
Member Avatar for James_95

I’m new to this and talking an intro class. I’ve read and reread my course material so far and I can’t get this line to work. It has to display You have 2 even and 3 odd numbers but no matter what I do, it keeps coming out with 0 …

Software Development c++
Member Avatar for Smith5646
0
394
Member Avatar for ruisi

hi, im new to vb.net and recently i am doing a web application on sending sms. anyone has got any codes for sending sms using vb.net? or does anyone know where i can get relevant info for it.

Software Development vb.net
Member Avatar for Mr.M
0
7K
Member Avatar for dibakarmishra

I'm working with VB.net 2010. I need an windows form where i can select scanner's connected to my pc and then scan image and save it by a save dialogbox.... Waiting for help.....

Software Development image vb.net visual-basic
Member Avatar for Mr.M
0
2K
Member Avatar for Dom_2

[Here is a pic of my project](https://ibb.co/eUD3vS) Basically what i am trying to achive here is as follows (I am very new to programming) I have done the front end, now its the back end that is troubling me...... first of all... i have css that is creating a progress …

Software Development sql
Member Avatar for Dom_2
0
485
Member Avatar for Sydrick James
Member Avatar for Mridula_1
0
268
Member Avatar for Andrew_46

I'm trying to convert the following C code to MIPS64 (very new to this): If Im given the addresses: (a @ 100) (b @ 200) (c @ 300) long int a, b, c; // 64-bit ... if (a < b || a == 4) c = 1; else c = …

Software Development assembly c c# c++
Member Avatar for Schol-R-LEA
0
4K
Member Avatar for Zack_9

Hi yall! I have to create a priority queue with out using built in librarys. I have tried to write a bit of code so far, however I dont know if it works and am a little confused on a few things. What follows this line is the main cpp …

Software Development c++ linked-list queue
Member Avatar for Schol-R-LEA
0
874
Member Avatar for Hamsterking

hello coders, i hope you all are going well, one thing blows my mind today in c i can't explain it this is why title is akward, so the thing is i have an array called tab[n] i wanted to invert it elements from tab[0] to tab[n-1] and and the …

Software Development c c++
Member Avatar for Hamsterking
0
469
Member Avatar for random_1

First of, i didn't know where to post this question as it isn't actually programming based but yeah. sorry.. Anyway, I was going through my binary file trying to figure out something for my program and i realized that I didn't know what the 00 sequences actually represent. what are …

Software Development
Member Avatar for Reverend Jim
0
313
Member Avatar for John_192

I have an Epson receipt printer (Model number: TM-T88V), but I cannot use it. I do not have a POS (point of sale) software that will let me do what I need to do, nor do I have the knowledge I need to understand the developers guide manual that comes …

Software Development java visual-basic xml
Member Avatar for rproffitt
0
825
Member Avatar for Obbie_1

INGGRIS How to connect device scanner with visual basic, its analogy I made button scan in vb and typing button scan in press scanner live and walk .. how? Help me sir

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
3K
Member Avatar for johndohmen1963

I have the following problem. when i pres buttun printpreview (button 5) the the print preview fires up. and when i close the print preview without printing and minimize the form (after close the printpreview), and when i maximize the form again the image in the picturebox is turned 90 …

Software Development vb.net
Member Avatar for johndohmen1963
0
1K
Member Avatar for Zack_9

Hi all! I need help understanding what my teacher expects from this project. Here is the link to the instructions for the project: http://cs.ecu.edu/~karl/2530/spr18/Assn/Assn5/assn5.html I wrote a little bit of code but i am stuck and dont know how to move forward This is as far as ive gotten with …

Software Development c++
Member Avatar for Schol-R-LEA
0
378
Member Avatar for ajeckhobar

Please tell me by which DOS command, we can protect a file or folder with a password.

Software Development
Member Avatar for Reverend Jim
0
4K
Member Avatar for Densino

Hi all... I've been asked to write a password generator in C for a project. the guidelines are very vague and all I've been told is: Password must be 9-15 characters long at least 2 numbers 2 upper/2 lower case latters 1 symbol and I need to write a dictionary …

Software Development c
Member Avatar for Schol-R-LEA
0
6K

The End.