132,728 Archived Topics
Remove Filter ![]() | |
Hi im trying to do this projexct for class. Here is the code Public Class Form1 Dim index As Integer = 0 Structure Gradebook Dim ID As Integer Dim Exam1 As Integer Dim Exam2 As Integer Dim Exam3 As Integer Dim Avgg As Integer Dim LG As Char End Structure … Software Development vb.net | |
So im extremely new to python. Im teaching it to myself for a school project and i heard that calculators are a good place to start so that's exactly what im doing. I have only been using it for about a day now so like i said im pretty newb. … Software Development python | |
I have used function write() in a loop to write 2 names in binary mode to a file. Now, when I try to read those 2 names I use this logic : 1) find size of file in bytes; 2) create buffer with that size; 1) read into buffer until … Software Development c++ | |
Hi It's been a while i'm learing C++ but still i have some issue with `Move semantics` and some other stuff. I wrote this class but i don't know why the `Copy constructor` is getting called and the output is a little strange to me, shouldn't the `Move Constructor` gets … | |
Hello ALl, I have found this project online which I would like to do. The link for the project is http://1000projects.org/network-intrusion-detection-system.html#comment-249119. If I am correct, this application if built properly is meant to look at all the packets and store them into SQL server?. I have got many problems before … Software Development asp.net sql visual-studio | |
Hi, Basically I have a graph that is bound from a DataTable which source is from a DataGridView. I have zoomable functions on the graph and I need it use X Axis SelectionStart and SelectionEnd in order to calculate the block of data that is selected. So I have some … Software Development vb.net | |
hi , I am trying to first ask the user how many numbers he has ( I have not coded this part yet but assumed number 5 ), then enter the first number , hit enter , enter another number in the same entery widget up until the numbers are … | |
Good day to you all people. I personally like to use Visual Studio and Dev C++ to develop my c++ apps. Recently, I was introduced to a new environment, Textpad as the editor and Cygwin as the compiler. I found interesting that in Visul Studio and Dev C++ you are … Software Development c++ visual-studio | |
what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement? Software Development c++ | |
This is my link class fill-up form: private void cmd_updateActionPerformed(java.awt.event.ActionEvent evt) { UserClass UC = new UserClass(); String password = new String(PW.getPassword()); String confirmPassword = new String(RPW.getPassword()); try { if(!UN.getText().trim().equals("")&&!RPW.getText().trim().equals("")) { DefaultTableModel model = (DefaultTableModel) UC.table_user.getModel(); String value1 = UN.getText(); String value2 = PW.getPassword().toString(); model.setValueAt(value1, UC.table_user.getSelectedRow(), 0); model.setValueAt(value2, UC.table_user.getSelectedRow(), 1); … Software Development java | |
0 down vote favorite I want to make my click procedure read five names on a list called names.txt file and store them in a five element one dimensional array and then arrage them in descending order what am i missing from this code that is keeping the file from … Software Development file-system vb.net | |
Good day people. They say the only way you can be a good programmer is if you learn it the hard way, by coding a lot and working on the analytical skills. I believe that all of us in this community have faced some problems in c++ and then were … | |
alright, so here's what I got: # -*- coding: utf-8 -*- W = 25 l = [[u'░' for c in range(W)] for r in range(5)] _Y = 2 for X in range(W): Y = _Y+((X&3)-(X&2))-(2*((X&3)==3)) # <-- this could be better l[Y][X] = u'█' for r in l: print ''.join(r) … | |
I need to reduce the length of this code in Python3 as much as possible (even if it will be less readable): a,b,x,y=[int(i) for i in input().split()] while 1: r='' if y<b:r='S';y+=1 if y>b:r='N';y-=1 if x<a:r+='E';x+=1 if x>a:r+='W';x-=1 print(r) It's a map: you are on (x,y) and you need to … Software Development python | |
Hey guys, I'm working on a chat program where a UDP console-based chat program's client sends a message to the server and subsequently the server sends it to all other clients on the network. As of this moment the program is able to: 1. Client send message to server 2. … Software Development client-server java | |
Hello, I need the path (string) of an embedded file in a Console application. I tried "Properties.Resource.file", but I got its content, not the path. Any help is appreciated. Software Development | |
is it possible to show c++ coding output which was made in empty project to windows form application program?? I made windows form for example i used spiltcontainer toolbox for panel 2 contains my c++ console output i expect someone's reply thank you Software Development c++ | |
PLZ Don't make mistake about what i'm writing & if u dont understand dont answer plz. I need just a digital clock in C++ with gotoxy &print"****" &... i want to find the difference between this one & the others completely no different if any one just wrote with gotoxy … Software Development c++ | |
as the title states, on on linux (Wine32) it works perfectly: http://lh3.ggpht.com/-heB_VObWcwE/VUgfS4bkLkI/AAAAAAAAJAA/tHZzjq2RElw/s642/SIDE_firstPort.png but on windows (synced code) I get this: Python 2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. >>> ================================ RESTART ================================ >>> C:\Documents and Settings\Owner\My … Software Development file-system microsoft python | |
I want to write a function that displays the frequency of occurrence of an element entered by the user in a stored array. The array always has the following elements: 4, 2, 7, 10, 9, 7, 6, 10, -8, 7, 9. well i wrote this one but i have a … Software Development c++ | |
I have a project that is due in a few days and I'm having an issue with one section. I created a really simply movie rental program and have a form for customers that uses a local DB for all the information on that form, one item on that table … Software Development vb.net | |
I have a tkinter app that has 2 frames. The frame on the left has a bunch of buttons and the frame on the right has a text widget. I use the create_buttons function below to make the buttons. Is there a way to have the button stay sunken when … | |
I have a linq statement where i turned letter grades into numbers to calculate a gpa can anyone tell me why no matter what grade i click i get the same gpa of 68 for each one? maybe someone can look over my code and give me an answer or … Software Development asp.net vb.net visual-basic | |
HI Guys, I am trying to Create a GUI in Python that calculate the average of three numbers. I am having some issues tring to create the three boxes where the user should enter the numbers, so can anybody please give me a hand? Thank you so much!!!! | |
i wrote this code yesterday and i traced it myself but the problem is the array doesn't store any number in it and the output was like this : //convert from decimal to binary #include<iostream> using namespace std ; void main(){ int n,c=0,*pointer,temp=0,r,i,y ; cout<<"Enter number\n"; cin>>n; y=n ; for(;;){ … Software Development c++ | |
i have a tool strip button for bookmarks like the one in Mozilla fire fox or google chrome, i can add button and i can click it but i cant remove it , because that i added context menu to the tool strip with remove, so i want the code … | |
i want to get input from a textbox in visual c++ 2010 window form application i try this but it not work private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { std::string m; m==textBox1->Text; MessageBox::Show("developed by basit "); } }; help me plzz Software Development c++ | |
Could anyone help me to write a digital clock in C++ (with some charachters,i mean the time numbers should be made by charachters)? i'm confused Software Development c++ | |
hello friends i need help in c++ programe i want to print the diamond of the type shown in picture any one help me in this regards............................ if possible then send me email at <snipped email> Software Development c++ | |
#include <iostream> #include <string> #include <stdlib.h> #include <cstring> using namespace std; class Fraction { private: int num, den; // numerator & demoninator public: Fraction() { set(0, 1); } Fraction(int n, int d) { set(n, d); } void set(int n, int d) { num = n; den = d; normalize(); } … | |
the codding of form view is form.show and i want to know how can i embed many form in each other or one another.. Software Development vb.net | |
private void comboKeyPressed() { cboAuthor.DroppedDown = true; object[] originalList = (object[])cboAuthor.Tag; if (originalList == null) { // backup original list originalList = new object[cboAuthor.Items.Count]; cboAuthor.Items.CopyTo(originalList, 0); cboAuthor.Tag = originalList; } // prepare list of matching items string s = cboAuthor.Text.ToLower(); IEnumerable<object> newList = originalList; if (s.Length > 0) { newList … Software Development | |
hi, i need some help! based on the image attached: I need to concatenate from APPLE to the last column in its row and down all the rows and columns UNTIL It sees APPLE again. My problem is that I am being able to concatenate but only the first row … Software Development apple visual-basic | |
after i copy the link by this code. Dim myElement As HtmlElement = browser.Document.ActiveElement Dim target As String = myElement.GetAttribute("href") how i can i open new window in a tabbed browser with that link. i did it in different ways but it not working, and here is one of tries. … Software Development vb.net web-browser | |
write a c++ program to acquire scores from a Student and determine the grade based on his/her scores: <30 is fail 31 to 50 is pass 51 to 60 is credit 61 to 80 is very good 81 to 100 is excellent Software Development c++ | |
i made c++ algorithm code. But i don't know how to connect this output which shows in console to windows form application program. please tell me about detail... | |
I have this code which if i press msgbox yes it opens another frame but if i do same thing from another function (counter) i get an error. Can someone help me and tell what is wrong? import tkMessageBox import Tkinter as tk from Tkinter import * from functools import … | |
i want to copy data from one VM(windows) to another VM(windows) using perl script. plesae guide Software Development perl | |
I installed Eclipse and it worked for few days and it nolonger openned giving error:- can someone help me (mbusi.ndlovu@gmail.com) Java was started but returned exit code=13 C:\ProgramData\Oracle\Java\javapath\javaw.exe -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmsx512m -jar C:\Program Files\eclipse-java-luna-SR2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.la uncher_1.3.0.v20140415-2008.jar -os win 32 -ws win32 -arch x86_64 -showsplash C:\Program Files\eclipse-java-luna-SR2-win32-x86\\plugins\org.eclipse.platform_4 .4.2v20150204-1700\splsh.bmp -launcher C:\Program Files\eclipse-java-luna-SR2-win32-x86_64\eclipse\eclipse.exe -name … | |
void cAppMath::vregisterFunc(int index, int(*fPtr)(int a, int b)) //Application to register their functions { arrFptr[index] = fPtr; } int main() { appObj.vregisterFunc(EN_ADD, &cAppMath::add); //application that is registering the callbacks. } { Getting follwoing ERROR in vregisterFunc() func call. Error 1 error C2664: 'void cAppMath::vregisterFunc(int,int (__cdecl *)(int,int))' : cannot convert argument 2 … Software Development c++ | |
How do I make the TextBlock in Expresion Blend look better? I want the Text Blook to have that 3D embedded look where it appears pushed in deeper than the surrounding area. What I mean by that is that the top of the box is a darker and more refined … Software Development | |
Hello Guys, I create a small program than allows user to create bank account and add or get money but now i want to edit my code to accept more than one account how can i do it ? #include "header.h" Account::Account(){ int i=0; cout << "To create account enter … Software Development c++ | |
Hi i am trying to make taxi meter which shows the current price.Rightnow I have to click startmeter afterevery 1 minute than it's update the new price but I want it to update automatically once the price change after 1 minute instead of me pressing startmeter everytime.thanks for your help. … Software Development java java-swing | |
Right now im testing a script to start at boot up. I accomplished starting it at boot up by creating a new string value in the HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run registry. Now my question is how do I run the script so that it doesn't display the dialog box? Is there a silent … Software Development microsoft-windows vb.net | |
Hello all: I'm teaching myself Java (but for now I'm using one of the Teach Yourself Java 7 books). I'm currently learning about channels and sockets and I'm reading about blocking an nonblocking methods. The book discusses a three steps to set up nonblocking communication, and because technology is ever … Software Development java | |
i need to create a deck of cards and shuffle it as well and display and sort 4 cards as a hand ahich i have done already please i need to include straight, full house, pair, 3 of a kind and 4 of a kind i have no clue how … | |
This will take a value in EAX or AX, convert to ASCII hex with optional padding and upper or lower case This example would yield "---fc103a" push word 0x222d ; 32 bit conversion, padd output with '-' push word ASCPntr ; Pointer to end of conversion buffer push 0xfc103a call … Software Development assembly | |
I am looking for a way to reboot the system and launch the program with elevated permission without user interaction after the first time the program is launched. The program I am trying to write is for new system. Part of the setup I want to perform system updates then … | |
This is a program that will calculate stockin expenses and other but the problem is whatever value i entered in the cement, bricks and etc(line 120-line155) part it keeps on showing zero import Tkinter Total_StockIn = 0 Total_Expenses = 0 def win1(): global root global s # this is the … | |
#include<iostream> using namespace std; class Singleton { static Singleton * s; Singleton() { } public: ~Singleton() { s = NULL; } static Singleton * getInstance(); void print() { cout<<this<<endl; } }; Singleton* Singleton::s=NULL; Singleton* Singleton::getInstance() { if(s == NULL) { s = new Singleton(); } return s; } int main() … Software Development c++ |
The End.