132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pompy

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
Member Avatar for Santanu.Das
0
414
Member Avatar for cheeseman125

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
Member Avatar for BustACode
0
246
Member Avatar for nhiap6

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++
Member Avatar for David_50
0
297
Member Avatar for Sarkurd

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 …

Software Development algorithm c++
Member Avatar for Sarkurd
0
284
Member Avatar for Mohamed_26

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
Member Avatar for ddanbe
0
363
Member Avatar for Michael_39

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
0
143
Member Avatar for fonzali

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 …

Software Development python tkinter
Member Avatar for fonzali
0
4K
Member Avatar for Lutina

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
Member Avatar for mike_2000_17
0
276
Member Avatar for ganesh_bala

what is the difference in exit(0),exit(1),exit(2) ? how it differs from Return statement?

Software Development c++
Member Avatar for chandanraj
0
706
Member Avatar for Abdullah_7

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
Member Avatar for JamesCherrill
0
188
Member Avatar for karodhill

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
Member Avatar for Mr.M
0
317
Member Avatar for Lutina

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 …

Software Development c c# c++
Member Avatar for Lutina
0
410
Member Avatar for Tcll

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) …

Software Development ide python
Member Avatar for Tcll
0
260
Member Avatar for jolio5

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
Member Avatar for vegaseat
0
180
Member Avatar for Levellous

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
Member Avatar for JamesCherrill
0
361
Member Avatar for Navee30

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
Member Avatar for JerrimePatient
0
9K
Member Avatar for parkp

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++
Member Avatar for ddanbe
0
143
Member Avatar for S-e-c-r-e-t

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++
Member Avatar for ddanbe
0
591
Member Avatar for Tcll

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
Member Avatar for Tcll
0
2K
Member Avatar for rose_2

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++
Member Avatar for tinstaafl
0
147
Member Avatar for RayvenHawk

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
Member Avatar for RayvenHawk
0
116
Member Avatar for ccandillo

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 …

Software Development gui python tkinter
Member Avatar for ccandillo
0
769
Member Avatar for karodhill

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
Member Avatar for djjeavons
0
303
Member Avatar for vulcano224

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!!!!

Software Development gui python
Member Avatar for minyechil
0
425
Member Avatar for Ahmed_62

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++
Member Avatar for Ion_1
0
289
Member Avatar for scomx

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 …

Software Development gui vb.net
Member Avatar for scomx
0
1K
Member Avatar for basit_3

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++
Member Avatar for ddanbe
0
237
Member Avatar for S-e-c-r-e-t

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++
Member Avatar for basit_3
0
426
Member Avatar for shafiqkuidad

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++
Member Avatar for basit_3
0
251
Member Avatar for lewashby

#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(); } …

Software Development c c# c++
Member Avatar for Ion_1
0
493
Member Avatar for Rana_4

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
Member Avatar for Rana_4
0
64
Member Avatar for priyanka_12

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
Member Avatar for JerrimePatient
0
186
Member Avatar for carall

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
Member Avatar for carall
0
114
Member Avatar for scomx

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
Member Avatar for scomx
0
242
Member Avatar for Emmanuel Atiemo

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++
Member Avatar for basit_3
0
78
Member Avatar for parkp

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...

Software Development algorithm c++
Member Avatar for basit_3
0
115
Member Avatar for davidbr

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 …

Software Development python tkinter
Member Avatar for sepp2k
0
222
Member Avatar for vikcyrao

i want to copy data from one VM(windows) to another VM(windows) using perl script. plesae guide

Software Development perl
Member Avatar for laosland_1
0
106
Member Avatar for Mbusi

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 …

Software Development java oracle
Member Avatar for Mbusi
0
603
Member Avatar for prahesh

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++
Member Avatar for deceptikon
0
192
Member Avatar for complete

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
Member Avatar for Vijay_18
0
253
Member Avatar for Fares_1

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++
Member Avatar for ddanbe
0
164
Member Avatar for ali11

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
Member Avatar for stultuske
0
149
Member Avatar for Tecuajlo

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
Member Avatar for Tecuajlo
0
175
Member Avatar for TekknoDraykko

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
Member Avatar for TekknoDraykko
0
102
Member Avatar for algerino83

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 …

Software Development algorithm c++
0
105
Member Avatar for ShiftLeft

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
0
404
Member Avatar for Spyderbane

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 …

Software Development microsoft vb.net
Member Avatar for Spyderbane
0
239
Member Avatar for Teeban Jay

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 …

Software Development python tkinter
Member Avatar for vegaseat
0
226
Member Avatar for nitin1

#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++
Member Avatar for deceptikon
0
336

The End.