132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for silvercats
Member Avatar for Moschops
0
169
Member Avatar for nmakes

I had a doubt in one of the usages of typedef. I want to know the meaning of this line: typedef char Text[80]; What is the meaning of this line and what does it do? Does it create an array of typedefs relating to char, or does it mean "Text …

Software Development c++
Member Avatar for deceptikon
0
579
Member Avatar for SHINICHI

I'm currently try to write a program as below : A college would like to automate managing courses offered to students. initially only three courses are involved. each courses has a code, a name, students enrolled, a current number of student, a maximum number of students allowed (quota) which is …

Software Development java
Member Avatar for JamesCherrill
0
242
Member Avatar for Jake.20

Guys i'm having another problem here. I have a data report that prints the student's information but my problem is how to create a report that prints only one student because my report prints all the student. Thank you in advance.

Software Development visual-basic
Member Avatar for Jake.20
0
114
Member Avatar for VernonDozier

I have developed a program for a word game that reads from a text file containing a list of all legal English words, then stores those words in an array used by other parts of the program. The program works, but I am not very happy with the word list …

Software Development c++ legal
Member Avatar for Saumil11
0
4K
Member Avatar for somjit{}

can anyone help me understand this code part ? this is about binary minimum heap , ie root has the lowest key.. the part of the code im trying to understand checks whether the subtree ( of a certain minHeap pq[1..N] ), rooted at k is also a min heap …

Software Development java
Member Avatar for somjit{}
0
194
Member Avatar for kidkardel

hi pls I need someones help. i am not good at programming and i have this subject ; but i am a BSBA major. it is like free section for me and i want to learn it to so i can be flexible. but this project is getting all my …

Software Development c# linked-list visual-studio
Member Avatar for tinstaafl
0
4K
Member Avatar for tomz6

(C++ question) I need to be able make a compiled code (like a .dll?) which other programmers can use on linux, win,, mac, etc. The compiled code would simply do calculations and spit out an answer in memory. I need it to have certain functions that they can easily call …

Software Development c++
Member Avatar for rubberman
0
182
Member Avatar for tomz6

Are there any other good/reliable hashs which are smaller than MD5 and faster? (for purposes of checking for file corruption - not for security purposes) (preferably 16bit?)

Software Development c++
Member Avatar for rubberman
0
316
Member Avatar for iEpic

I hate being a perfectionist it's driving me crazy. I can get it to resize to the words, but when I replace them with small 3 letter words, the design messes up and everything gets out of place. I'm a beginner and you guys are probably going to laugh at …

Software Development c++ web-design
Member Avatar for nullptr
0
2K
Member Avatar for kevin.bryant.3701

I am trying to create hashing function the algorithm requires me to take each letter of the string and converting it to ascii, multiply it by a number based on its position in the string (for example Input is STACK; ascii for S would be 344 multiply that value by …

Software Development algorithm c++
Member Avatar for tinstaafl
0
194
Member Avatar for Aurax

Hi all How i can read txt file and put it into textbox? Please help me. Any help will be appreciated. Thank you

Software Development visual-basic
Member Avatar for Aurax
0
343
Member Avatar for konradwalsh

Hi I have a very large app built on my desktop. I want to continue working on it on my laptop. I tried out Team Server and uploaded the solution. I then download the solution to my laptop. I cannot build it on my laptop. I get 75 errors for …

Software Development vb.net
Member Avatar for konradwalsh
0
330
Member Avatar for babateejay

I am working on a keyboard teaching aid similar to mavis beacon. With the following code i am able to detect if the enter key is pressed on the keyboard. If e.KeyChar = Microsoft.VisualBasic.ChrW(keys.enter) Then MsgBox("Enter key is pressed") End If but what i want to do is that i …

Software Development vb.net
Member Avatar for Jx_Man
0
3K
Member Avatar for Papa_Don

While creating a module within my program, I created a second Dataset (and it's called DesignDataSet2). I would like to delete it from the database altogether. I have already removed the one datatable that was within this dataset. I now want to eliminate this completely. How do I go about …

Software Development dataset vb.net
Member Avatar for Reverend Jim
0
114
Member Avatar for Gubbei

I have a project due for my programming class on Friday and im hopelessly stuck on this problem if anyone could help me please, it would be great >The question is: Write a function that takes 4 arguments (integer, integer, picture, string). This function should be able to be used …

Software Development python
Member Avatar for bumsfeld
0
230
Member Avatar for Yorkiebar14

Hello, I am trying to make a program which will login to a website with many different accounts one after another. The problem I have though is, the documentCompleted event either doesn't run at all or it runs more than once before the page is fully loaded. This causes the …

Software Development asp.net vb.net visual-basic web-browser
Member Avatar for Yorkiebar14
0
1K
Member Avatar for Jake.20

Greetings guys how can i delete the selected items on the datagrid. I'm trying to search for some code but i can't find anything. And i need to finish this before thursday. i really need your help guys thanks!

Software Development visual-basic
Member Avatar for Jake.20
0
252
Member Avatar for dendenny01

I want to designe a code at display a perticular data Example a time table of the week For instance if someone view a page on monday so it show display result of the table or data which is set to display on monday or if some one view same …

Software Development c display
Member Avatar for dendenny01
0
294
Member Avatar for Decode098

This code wont doest display the answer why???/ #include <stdio.h> #include <conio.h> void main() { int opcode; int num[2]; int result; clrscr(); printf("Program for Addition, Subtraction, Multiplication and Division\n"); printf("Enter First Number:"); scanf("%d", &num[1]); printf("Enter Your Choice: 1 - Add, 2 - Sub, 3 - Mul, 4 - Div: "); …

Software Development c display
Member Avatar for Decode098
0
135
Member Avatar for tomz6

What is the most efficient (fastest) way to load data from a file on HDD to RAM? (which would allow to only load a limited section of that file - eg. load only half of the file etc.)

Software Development c++
Member Avatar for mike_2000_17
0
305
Member Avatar for rwe0

Using Ubuntu 12.10 have been using python 2.7 and python 3.2 successfully. 2.7 is my default interpreter. Now, after installing python 3.3 it looks like the python3.3 version of "/usr/include/python3.3" was not installed (as it is for "usr/include/python3.2" . I have already done "sudo apt-get install python-dev" . I discovered …

Software Development python ubuntu
Member Avatar for rwe0
0
775
Member Avatar for jethro28

#include<stdio.h> #include<conio.h> #include<ctype.h> char c,ch; //choosing long int dec,quotient; // long int *pdec; // int bin[100],i=1,j; //Binary int *pbin,*pi,*pj; // long int octal,*poctal; //Octal long int hexa,*phexa; //Hexadecimal main() { clrscr(); gotoxy(5,7); printf("A. Binary"); gotoxy(5,8); printf("B. Octal"); gotoxy(5,9); printf("C. Hexadecimal"); gotoxy(5,5); printf("Convert decimal to: "); scanf("%c",&c); c=toupper(c); { if(c=='A') { …

Software Development c
Member Avatar for jethro28
0
184
Member Avatar for saurabh.mehta.33234

This might be a very basic question but still I am not able to figure out why is the foll code giving stackoverflow exception in main?? public class HelloWorld{ public static void main(String []args) { System.out.println("Hello World"); Animal c = new Animal(); } } class Animal { Animal e = …

Software Development java
Member Avatar for saurabh.mehta.33234
0
140
Member Avatar for adamwilden

Hi, Been having real problems listing members of an AD group. The examples I've found online either don't work either or are a bit beyond my humble skills! I can get members of simple groups easily enough, but teh code I'm using returns nothing at all if a group contains …

Software Development vb.net
Member Avatar for adamwilden
0
1K
Member Avatar for tensity

I was wondering how one might go about the following: I am reading in data from a file using `getline(inputFile, tempString)`. Some of this information has to stay in string format, and other information must be converted to floats, ints, etc. I anticipate there being a problem if there is …

Software Development c++
Member Avatar for deceptikon
0
158
Member Avatar for solomon_13000

I wrote a code to represent the factory design pattern as below: package com.factory2; public interface CreditCheck { Double creditLimit(int id); } package com.factory2; public class CreditCheckFactory { public boolean isAgencyUp(){ return true; } public CreditCheck createCreditCheck(){ if(isAgencyUp()){ return new CreditCheckOnline(); }else{ return new CreditCheckOffline(); } } } package com.factory2; …

Software Development java web-design
Member Avatar for JamesCherrill
0
286
Member Avatar for teha.sani

please do help me with this programming problem as i found it difficult. develop a c++ program to accept the number of km to travel.calculate the hours need to travel the distance. assume to travel 70km takes 1 hour. if the required hour is higher than 2 hours then for …

Software Development c++
Member Avatar for Lucaci Andrew
0
162
Member Avatar for JannuBl22t

Hey! I have a problem.. I need to remove items from array that are duplicated here's my code: [CODE] private void Form2_Load(object sender, EventArgs e) { openFileDialog1.Title = "Open Links List"; openFileDialog1.Filter = "Text File|*.txt"; openFileDialog1.FileName = ""; openFileDialog1.ShowDialog(); var file = openFileDialog1.FileName; if (file != "") { StreamReader read …

Software Development
Member Avatar for saclines
0
1K
Member Avatar for Manasarala

hi, Below is the code that displays 2 similar images and pixel values BGR of both images. I wanted to know , how to calculate the distance(euclidean) between selected pixels in 2 images[like (100,100),(100,101) coordinate and so on.how to go about it?how to use the values of BGR and B1G1R1 …

Software Development c
0
146
Member Avatar for Matigo

Hello guys Anybody could help me please to make the Windows estimated usage in visual basic 2010 "To show how many MB/GB of internet i have used" I'm running windows 8 and this application will will be used on windows 8 Only Thanks in advance guys and i hope to …

Software Development microsoft vb.net visual-basic
Member Avatar for Matigo
0
211
Member Avatar for 2mhzbrain

Dim oWord As Word.Application Dim oDoc As Word.Document Dim oTable As Word.Table Dim x As Integer Set oWord = CreateObject("Word.Application") oWord.Visible = True Set oDoc = oWord.Documents.Add Set rs = New ADODB.Recordset With rs .Open "SELECT * FROM ClientTable", cn, 2, 3 Dim r As Integer, c As Integer Set …

Software Development visual-basic
Member Avatar for 2mhzbrain
0
233
Member Avatar for trishtren

Iv been developing a parser using java, however due to testing on multiple machines i have errors now on one machine i corrected as the machine was using jdk/jre v1.6, and on my newer machine jdk/jre 1.7 The question i have is, what are the implications of using the String …

Software Development java
Member Avatar for delta_frost
0
301
Member Avatar for Taras20

hi everyone :) what i'm trying to do is to check if word in a string has numbers in it for example: if i enter string of one word "he11o" i want to show error message that says "One or more characters are numeric! Please re-enter the word!" and if …

Software Development c++
Member Avatar for nullptr
0
419
Member Avatar for clouds_n_things

So, I have a quick question about a small password cracking program that I wrote. The syntax seems to be fine, but when run at the command terminal (I'm on a mac), the program doesn't really DO anything. I'll click "run in terminal" or I'll already have the terminal window …

Software Development python
Member Avatar for clouds_n_things
0
250
Member Avatar for eric.inclan.3

Hi all. I've been learning programming from the web for almost 2 years now and this'll be my first post ever on DaniWeb (or any forum ever). I have no experience with parallel programming but read about the simplicity of working with OpenMP, and that's what I need. Something that …

Software Development c++ daniweb-bug
Member Avatar for eric.inclan.3
0
518
Member Avatar for MRehanQadri

is it necessary to include base class in the header and or .cpp file of derived class?

Software Development c++ oop
Member Avatar for MRehanQadri
0
481
Member Avatar for linezero

I'm currently working on a project on VB.NET and I'm getting this error below. > Error 2 Overload resolution failed because no accessible 'New' is most specific for these arguments: 'Public Sub New(name As String, dataSourceValue As System.Collections.IEnumerable)': Not most specific. 'Public Sub New(name As String, dataSourceValue As System.Data.DataTable)': Not …

Software Development gui vb.net
Member Avatar for tinstaafl
0
259
Member Avatar for Decode098

Is there a possible way to stop an incrementing array ex. A[9]1~10 normaly it goes like 1 2 3 4 5 6 7 8 9 10 but is there a way that if a press a key it will stop at that point?? ex. 1 2 3 4 5[key pressed] …

Software Development c
Member Avatar for dendenny01
0
201
Member Avatar for tony75

Hi I wonder if somthing wrong with this script? I get this resuly in my linux ./accessdll.py : No such file or directory #!/usr/bin/env python from subprocess import Popen, PIPE from re import split from sys import stdout class Proc(object): ''' Data structure for a processes . The class properties …

Software Development data-structure python
Member Avatar for tony75
0
199
Member Avatar for asaidi

Hi i have linux mint os i have instaled python..and also wxpython and now i cannot run my application fron anywhere how i can add a path that i can run my python scripts from anywhere in my pc..

Software Development python ubuntu
Member Avatar for asaidi
0
64
Member Avatar for Nagarajan M

Hi Friends, I have PSKC XML file.. That contains my Salt/Key,IV(Initialization Vector),Encrpted Data,password also. Now, I am trying to Do Password Based Encyption and Decryption Using PBEWITHSHA1AND128BITAES-CBC-BC Algorithm. It works,If i generate salt and IV randomly. But,it fails to work,if i dont generate it randomly... Instead of generating Salt and …

Software Development algorithm encryption java
Member Avatar for JamesCherrill
0
2K
Member Avatar for game06

i had a question but i am not sure what the problem is. if user keep right key down. than camera should move left.and my player should fall down bc there are two empty(sky,'0') under player. move camera. 2d map: (0=sky,1=ground,2=player) 0,0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0 2,0,0,1,0,0,0,0,0 1,1,0,0,1,0,1,1,1 int camera_pos_x = 0; int …

Software Development java
Member Avatar for JamesCherrill
0
192
Member Avatar for krimgo

Hi, I've just started out with Python and I've been stuck on this problem for a few hours now trying to parse a file into a certain format.. I am trying to create a list in a list out of a list. I currently have this list; ['MPNRRRCKLSTAISTVATLAIASPCAYFLVYEPTASAKPAAKHYEFKQAASIADLPGEVLDAISQGLSQFGINL', 'MQLVDRVRGAVTGMSRRLVVGAVGAALVSGLVGAVGGTATAGAFSRPGLPVEYLQVPSPSMGRSELPGWLQA', 'etc'] …

Software Development python
Member Avatar for krimgo
0
346
Member Avatar for PreethiGowri

My TCP/IP server socket is not accepting connections from other systems. When i try to send data from the client to server within the same system i see them working fine, Here is what i get by printing the stacktraces - Waiting for client on port 50000... java.net.SocketTimeoutException: Accept timed …

Software Development java socket-programming
Member Avatar for JamesCherrill
0
1K
Member Avatar for aishapot

Hello, I have a listview wherein when I double click a student another form pops up where i edit the student info. When i click on cancel it goes back to the menu and when i click on the reports i want it to be able to [B]refresh[/B] so that …

Software Development listview vb.net
Member Avatar for shah unnati
0
2K
Member Avatar for Matigo

Hello guys, I really need your help on this one, Please help me out with it I'm using a webBrowser in my application "Visual Basic 2010", And what basically it will do, Once you open up the application, It will show you a URL, let's say for example Google.com by …

Software Development open-source vb.net visual-basic
Member Avatar for Matigo
0
469
Member Avatar for varadha_sd

#hai.i am using libavcodec to write video file from buffer which is capture from usb camera.i am getting video output file with larger in size.i have to compress my video file size.plz suggest me needful thing..my code is here... OS:linux IDE:Qt # void videoctl(uint8_t *destination) { //destination -->buffer from video …

Software Development ide os-x qt video
Member Avatar for varadha_sd
0
202
Member Avatar for DevilDog22

I am making a video poker game for my class assignment. I have the program running that gives out 5 cards. I don't know the easiest way to do this but say after card1 suit1 is dealt I want those values stored so card2 suit2, card3 suit3, etc.... cannot have …

Software Development java
Member Avatar for <M/>
0
182
Member Avatar for deadsolo

Hi everyone! I am having troubles making the second IF statment execute in my code: Pattern dl_noise_rates_p = Pattern.compile("\\d+\\s(.+)\\s(.+)\\s(.+)\\s(.+)"); Matcher dl_noise_rates_m = dl_noise_rates_p.matcher(lineString2); if(dl_noise_rates_m.find()){ String s_dl_nr1 = (dl_noise_rates_m.group(1)); //checking for non numbers pulled in the regex if(s_dl_nr1 == "NaN"){ //| s_dl_nr1 == "NaN" | s_dl_nr1 == " NaN" System.out.println ("OMGOMGOMGOMGOMGOMGOMGOMGOMG …

Software Development java programming-construct regex
Member Avatar for bguild
0
185

The End.