132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zack.walters

I am working on this project for a class. I have input the students last name, first name, student ID and three test scores. I have to make the first step a function that stores the data into an array. Inside this array it is also going to give the …

Software Development c++
Member Avatar for yun
0
148
Member Avatar for sdas7

Hi, i need to transfer binary data over socket and write the data to a file. Can anyone please help me out with this issue. I am using fread() to read the file and fwrite() to write the file,send() and recv() as the socket calls. I am able to transfer …

Software Development c
Member Avatar for William Hemsworth
0
1K
Member Avatar for massivefermion

Hi people Could someone tell me what is the difference between runtime and compiletime polymorphism? thanks alot

Software Development c++
Member Avatar for siddhant3s
0
189
Member Avatar for tonig_ccc

i wanted to ask you guys for some help i use microsoft visual studio 9.0 and i have downloaded hotspotter but it resulted it was all a source now i dont know how to compile it with mocrosoft visual studio any help???????????

Software Development c++ visual-studio
Member Avatar for siddhant3s
0
134
Member Avatar for nanchuangyeyu

Hi, I am trying to declare a 3D array with the size of 6,400 and 400 in each dimension using the code as following: [CODE] short matrix[6][400][400]; [/CODE] but actually it introduced a run time error "stack overflow" after surviving the compilation.So what's wrong with this code and how to …

Software Development c++
Member Avatar for ArkM
0
212
Member Avatar for lqdo

Hey, I'm creating a web application with the use of a ObjectDataSource. When I try to run the webapp i get the following error: [CODE] The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' could not be found. [InvalidOperationException: The type specified in the TypeName property of ObjectDataSource 'ObjectDataSource1' …

Software Development web-server
Member Avatar for lqdo
0
937
Member Avatar for RobinTheHood

Hi all, I’m trying to re-write a solution from Ms. Access to VB.Net Previously I had a number of queries that filtered records depending on what value of a filed on my main menu, if the filter was empty (Null) than all records were returned. Here’s the criteria part of …

Software Development microsoft-access vb.net
Member Avatar for RobinTheHood
0
160
Member Avatar for neutralfox

Hello friends, As usual .. when i have a problem ... daniweb.com is here ;). So I need some information from you. Ok, let me explain ... I am currently developing a chat application ! Ok ... everything works fine till now but I have doubts. My application uses 3 …

Software Development java socket-programming
Member Avatar for JamesCherrill
0
154
Member Avatar for Talguy

For my Electrical Engineering summer research project we're using a single mysql server and multiple iPhones. The iPhones are going to collect data and send it to the server which will populate the database with the data. I am new to socket/network programming so I need some pointers to my …

Member Avatar for Salem
0
83
Member Avatar for Eliza123

I am using datagridview in vb.net 2.0 I want to execute 2 queries. in the first query --- 1. Can anyone tell how to check that whether the query is fetching records from the database or not.Like i want to put a condition that if query is returning record then …

Software Development vb.net
Member Avatar for Eliza123
0
915
Member Avatar for Sniper87

Hey guys first post here. Down to business, i have to create a hangman game in VB5 for a Yr 12 assignment. So far i have created a help screen and a word list and a main menu list to navigate to these forms, however i am struggling with the …

Software Development visual-basic
Member Avatar for Jupiter 2
0
103
Member Avatar for free_eagle

Hello, I am starting out with learning C# language. Recently, I bought a book "VISUAL C# 2005, How to Program by Deitel". Later I found that there is 2008 version of C#. Would you please tell me what is the difference between these two versions of the language? Is it …

Software Development c c# c++
Member Avatar for jjoensuu
0
303
Member Avatar for InVerteBrain

I have a problem with VB.Net: Having a section of Text Boxes that I need to enable and disable by command buttons. The names are: txtBx1, txtBx2… and so on. Attempting to loop through those with the assignments to en- or disable failed. VB.Net does not recognize the names when …

Software Development vb.net
Member Avatar for Teme64
0
92
Member Avatar for IT_wannabe

Hi, I'm new here. I am an IT student in my third week of my first programming class learning the fundamentals such as algorithms, pseudocode, etc. I do not want to post my pseudocode in the forum because other students taking the same course may be able to cheat. The …

Software Development c
Member Avatar for Narue
0
125
Member Avatar for karjan

how i can convert string to int in c++ gui mode

Software Development c++ gui
Member Avatar for Narue
0
206
Member Avatar for karthik.c

hi ,when im trying to insert key-value pair in map(key-char array field of a structure,value-entire structure)im having errors . NDBAPI/TGBitsNdbApi.cpp: In function `int get_map(Ndb*, char*, char*, void*, void*)': NDBAPI/TGBitsNdbApi.cpp:154: error: request for member `Msisdn' in `structPtr', which is of non-class type `void*' NDBAPI/TGBitsNdbApi.cpp:156: error: `void*' is not a pointer-to-object type …

Software Development c++
Member Avatar for karthik.c
0
2K
Member Avatar for tomtetlaw

When I run this code, the window opens, and i can click on the X button and it quits normally, but my image doesn't show up, heres my code: [code=python]import pygame class Player: def __init__(self, speed, image): self.move_speed = speed self.x = 0 self.y = 0 self.speed = [0,0] self.image …

Software Development python
Member Avatar for slate
0
137
Member Avatar for newbie_newbie

Maybe it's a really basic question..... ..but why does this NOT work? Respectively what options do I have to get this working? g++ reports: expected constructor, destructor, or type conversion before ... (I marked the line below in which the error occured.) Your help is very appreciated! Thanks! [code=c++] #ifndef …

Software Development c++
Member Avatar for newbie_newbie
0
148
Member Avatar for aparadox

I'm kinda new to python, it really reminds me of Qbasic =\ ANYway lol. I'm looking to do something extra in a class I'm taking. We were to make a budget program. That wasn't the hard part, what im looking to do is be able to save each entry of …

Software Development python
Member Avatar for comprookie2000
0
175
Member Avatar for JamesKox

I'm was wondering if someone can check if this method produce the right result? [CODE] public int fileSize (String name) throws IOException { int charLength = 0; File file = new File("name"); Scanner input = new Scanner(file); while (input.hasNext()) { charLength++; } return charLength; }[/CODE] What this is supposed to …

Software Development java
Member Avatar for JamesKox
0
260
Member Avatar for cwarn23

Hi, I have been trying to get the Jsapi (Java Speech API) embeded into my web applet but have had quite a few troubles. The script for the Jsapi from what I can see was designed for .Jav files where as I am trying to make a .class file. So …

Software Development api audio java java-netbeans web-browser
Member Avatar for cwarn23
0
191
Member Avatar for gabec94

for those of you not familiar with the rules they can be found [URL="en.wikipedia.org/wiki/Conway's_Game_of_Life"]here[/URL]: i am sort of new to java and i am trying to write the game of life, i have got the board made and how to randomly assign each cell a true or false (living or …

Software Development java
Member Avatar for gabec94
0
5K
Member Avatar for Sarlacc

I have some real time data that i want to show in an edit box but at the moment it only displays the first value when the program starts. What i would like to know is how to go about updating what is displayed in the edit box every so …

Software Development c++
Member Avatar for Sarlacc
0
458
Member Avatar for yigster

Hi, I am having trouble whit writing a code for game of life.. This is what I came up with; [code] #include <stdio.h> #include <stdlib.h> void header(void); void survivalRule(char [][20], int, int); void birthRule(char [][20], int, int); void deathRule(char [][20], int, int); int main(void) { char Life[20][20]; int orgs, gens; …

Software Development c
Member Avatar for yigster
0
146
Member Avatar for gabohan

Hi Everyone. I'm pretty new to C++ and C, but I have experience with other languages (not OOP). I'm working on a project that requires me to take a working source code in C++ and convert it run in C. Luckily the inheritance diagram isn't too bad, so theoretically, I …

Software Development c c# c++ oop
Member Avatar for gabohan
0
240
Member Avatar for zuzu22

Hello friends, Since I'm not too familiar with win programming may I ask a dumb question. I made a small app on D7 using TclientSocket which connects to some embedded server and request some data. Now I use string based functions like sock.Socket.SendText('text to send'); but I send pure binary …

Software Development pascal socket-programming
Member Avatar for FlamingClaw
0
231
Member Avatar for lolwtf

I created a program in VB to send text messages to cell phones a while back but never got it to work. I using my friends mail server(I had to block out the username and password when posting the code below, but his server works) to relay the message. Here …

Software Development vb.net
Member Avatar for lolwtf
0
138
Member Avatar for weblover

hi all,how are u? ..i have an encryption project.. i have to implement some of the encryption algorithme in java but i have a problem ..it's the same in all the ciphers ..when i type the key and press encrypt the encrypted text is not right ..i make my calculus …

Software Development encryption java java-swing
Member Avatar for weblover
0
100
Member Avatar for edwardtong694

Hi Guys Im having a problem. Im very new to Java and am using blueJ. I would like to displya a picture on a label when I click a button. At the moment all I can get it to do is to print a message when a button is clicked. …

Software Development java java-swing
Member Avatar for JamesCherrill
0
101
Member Avatar for djdanjo82

Hello All, First thanks for taking time to read my thread. My problem is I have created a Gui Class that contains multiple JPanels inside another JPanel or ContentPane. I have just now created another Gui2 Class in the same java project and I would like this new Gui2 Class …

Software Development gui java
Member Avatar for djdanjo82
0
140
Member Avatar for edogg23

Hello. I am a beginner to programming. I would like to use a form to populate my sql database. Can somebody tell me where to find information on doing this? I have my database and I'm able to display the information from from the database but I don't know how …

Software Development sql vb.net
Member Avatar for jbisono
0
110
Member Avatar for mrgregkid

Hello im quite new to java and have been writing this game for my computer science class. ive been getting this illegal start of expression error on line 215 which is my 2nd public class dice extends applet and can not figure out how to fix it. ive tried moving …

Software Development java
Member Avatar for peace_of_mind
0
85
Member Avatar for serkan sendur

Note : this is not a question but a snippet(i dont prefer to post to snippet section as it is not much useful) Form1.Designer.cs : [CODE]namespace GrabDeviceInfo { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up …

Software Development microsoft-windows
Member Avatar for serkan sendur
0
107
Member Avatar for jephthah

im going to risk getting a beating, because this is something i should (used to?) know... anyhoo, given a function, how do you tell the size of the array that is passed? obviously trying to find the sizeof the pointer doesn't work (it returns the size of the pointer, duh) …

Software Development c
Member Avatar for nalply
0
513
Member Avatar for k1lguy

hello, i have a java game but i have a problem with healing i get the error client.java:2791: orphaned case case 315: ^ 1 error files compiled successfully! this is the code: [ICODE]public boolean healing() { boolean eat = false; int heal = 0; case 315: Message("You eat the shrimps."); …

Software Development java
Member Avatar for JamesCherrill
0
234
Member Avatar for kiddo39

How can I write a loop using letters instead of numbers so it looks like this: 2 sets used 'a-z' and 'A-Z' aaaaa aaaaA aaaAa aaAaa and so on: aaaAA then on to b: bbbbb bbbbA I can do it with numbers, something like this: [code] for i in range(10): …

Software Development python
Member Avatar for kiddo39
0
4K
Member Avatar for ashishchoure

Hi, I have PCRE library for window 32 bit . I want it for window64 bit From where can i get this? I have source code also and i built it on 64 bit machine but created library is not supporting.

Software Development c++
Member Avatar for ashishchoure
0
189
Member Avatar for sivak

string path =c:/document/abc.doc this is my input string i want the output only abc not .doc can any one tell me the code for this plz

Software Development
Member Avatar for kvprajapati
0
108
Member Avatar for seriousgeek

Hi all python programmers..I'm new to python and i'm having a doubt.. I'm running linux in my machine and i use "ipython" to run my python programs. I also write them in independent .py files.. But I'm not able to write loop-based programs in .py files, because after i save …

Software Development python
Member Avatar for jlm699
0
199
Member Avatar for sam1

Hi, I am trying to insert into Access Database using following code [CODE]OleDbConnection empConnection = connection; string insertStatement = "INSERT INTO d " + "([Employee],[Deduction Type],[Number of Hours],[value],[Month],[Year],[Comment]) " + "VALUES (@Employee,@DeductionType,@NumberofHours,@value,@Month,@Year,@Comment)"; command = new OleDbCommand(insertStatement, empConnection); command.Parameters.Add("Employee", OleDbType.Numeric).Value = Convert.ToInt16(txtID.Text); command.Parameters.Add("DeductionType", OleDbType.Numeric).Value = Convert.ToInt16(cmbDedNum.Text); if (txtNoOfHours.Text == string.Empty) { …

Software Development
Member Avatar for sam1
0
175
Member Avatar for hughesadam_87

Hey fellas, I have searched for this answer for about an hour on and off and cannot find anything so sorry to have to resort to posting. I have a list [a, b, c, d] And I want to write it to a simple output file, but I want it …

Software Development python
Member Avatar for jlm699
0
141
Member Avatar for farooq82

I am trying to develop a java program containing two threads that reads two files simultaneously. In a program, first thread reads data from file “Personal_Record.txt” and second thread reads the data from file “Academic_Record.txt”. When one thread reads a line from one file then it should allow another thread …

Software Development java
Member Avatar for verruckt24
0
159
Member Avatar for Qasim Ali

Hi every One I am using FormView which is bound to EntityDataSource (VS 2008). It is working Correctly when I Add data manually But I want to add Dropdownlist which is bounded to another table Its Selected Value should be inserted in Database (Orginal Table of EntityDatasource). How I accomblish …

Software Development
Member Avatar for kvprajapati
0
179
Member Avatar for tayspen

Ok so i want my program to read a text file to a certain point. Lets say to the line line that says fn: i then want it to read the one line only and only the the text after fn: and i want it to shoew that text in …

Software Development
Member Avatar for jaiprakashv
0
618
Member Avatar for aot

Okay, so I'm thinking of taking the plunge into wxPython. But it's especially important to me to know if wxPython can do the following things easily and well: 1) Display a vertical array of radio buttons (or perhaps any buttons will do). They must have no labels, and I need …

Software Development python tkinter
Member Avatar for aot
0
255
Member Avatar for sanushks

Hi All, Currently i'm using `sprintf` to copy from pointer variable to a character array. `sprintf(length,"%.*s",(int)len,part1);` where part1 is a pointer to a character array.. length is a characteter array too. Is there a way i can do the above thingy to copy the part1 to a integer variable? Thanks …

Software Development c
Member Avatar for sanushks
0
160
Member Avatar for VMG

Hi everyone, I'm trying to link a class with a library. The script is: /bin/sh ${BOREALIS}/common/bin/libtool --mode=link --tag=CXX ${BOREALIS}/nmstl/bin/wtf g++ -g -Wall -o $1$app $1.o -L/home/vincenzo/software/borealis-projects/LoadDistributionTool -lwld I get the error: Linker errors follow. This mode is untested; type "wtf 0" for the original output. cannot find -lwld in /usr/bin/ld …

Software Development c++
Member Avatar for acastella
0
112
Member Avatar for mysqproject

Hello, I'm a bit new to VB (actually use VBA), but would like to get some knowlegde about class module. One thing I was thinking of would be to create a class module which take cares of the connection to the MYSQL database. Please let me know if you have …

Software Development mysql visual-basic
Member Avatar for mysqproject
0
734
Member Avatar for serkan sendur

hi i have to create two programs for the same project; live and test respectively. everything for these two will be the same except for the product names and shortcut names on user's programs menu. And also i need to set setup project's removepreviousversions property to true. What i did …

Software Development
Member Avatar for kvprajapati
0
115
Member Avatar for szcfama

After adding information, when i choose the option "Display all" it crashes right before it's going to display GPA... can anyone help me...also can anyone help me read from the file into the array... plzz...this is really frustrating...any help greatly appreciated. [code=cplusplus]# include <stdio.h> # include <string.h> # include <iostream> …

Software Development c++ display ios
Member Avatar for Daiva
0
173

The End.