132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nish88

hi everybody..... i'm using an array to make a program but i'm not able to find the size (length) of the array.can anyone tell me how to do this?

Software Development python
Member Avatar for nish88
0
245
Member Avatar for spywx2003

private static int readFile (String filename, String[] capacities) the file whose filename is given as a parameter, and fills array of strings representing capacities. Error checking: Each line of the file should be checked for the following errors. Lines of the file that contain errors should not be put in …

Software Development java
Member Avatar for taineechan
0
182
Member Avatar for hendyhanusin

Dear friends, I wrap an unmanaged VC++ 6.0 class in VB .NET like below : [code] Declare Function ACR120_ReadATQB Lib "ACR120U.DLL" (ByVal rHandle As Short, ByRef pATQB As Byte) As Short Declare Function PICC_RATS Lib "ACR120U.DLL" (ByVal rHandle As Short, ByVal FSDI As Byte, ByRef atslen As Byte, ByRef ats …

Software Development asp.net vb.net
Member Avatar for kerek2
0
352
Member Avatar for Cobus Steyn

Hi everyone I have a simple yet annoying problem. I'm trying to change the selected color in a stringgrid, ie when selecting a cell the background must change color. The grid has no fixed rows or columns and only one column (like a simple list editor). I've overridden ondrawcell for …

Software Development pascal
Member Avatar for Cobus Steyn
0
170
Member Avatar for nikita_knp

can anyone plz help me out..to make a text editor in C... i dun even know where to start with... it should perform basic functions like moving cursor up and down.. cut,copy,paste,delete,moving to a new line on a enter etc..

Software Development c
Member Avatar for rizwan_aman007
0
160
Member Avatar for alexgv14

I have a .txt log file and must of it is crap. But there are parts that display when a user logs in, and at what time the logged in. Below is a portion of the log file. For example, "user1" is a user logging in and "user2" is another …

Software Development file-system python
Member Avatar for jrcagle
0
119
Member Avatar for bleonard989

These are the errors I am getting. I have never worked with classes before, I posted before but have done some work to it since then, and have gotten less errors. The main problems are the push function, the copy constructor, and the function that creates a new stack. prog4.cpp: …

Software Development c++
Member Avatar for bleonard989
0
212
Member Avatar for SYT

Hello, I've developed my project using C language on Linux platform. When I compiled my program, I got some linkage errors. I've read in some other C forum that the errors I'm getting is due to a linkage problem with the libraries. Can someone tell me the proper steps to …

Software Development c
Member Avatar for SYT
0
115
Member Avatar for evios

I'm doing tic tac toe. I am planning to show the scores of the users and computers using the same form. So, for each time the user or the computer loop, i need to add a timer to it so that it can update the scores. Refer to the source …

Software Development flash legal open-source visual-basic
Member Avatar for evios
0
156
Member Avatar for sfurlow2

For my homework assignment, I'm supposed to get five numbers from a user and print the highest one using a loop. I'm not sure what to do. Any suggestions?

Software Development c++
Member Avatar for sfurlow2
0
469
Member Avatar for orcboyx

Has anyone else had trouble using the sleep function?

Software Development java
Member Avatar for VernonDozier
0
91
Member Avatar for DarkDot

Basically for a class project/assignment we need to take another persons program in class and correct it for them, if they are good at assembly then your in luck if your person is bad like mine seems to be your screwed. Below is the exact code they posted, I've gone …

Software Development assembly os-x
Member Avatar for DarkDot
0
5K
Member Avatar for Tinemelk

Hi! Im trying to make a program where I fill an array with elements from my defined class cars in cars.h /cars.cpp, and then sort the elements by using the selectionsort algoritm. Im guessing I have to replace my filling of the tab with random numbers with something like Cars<int>Cars[10]? …

Software Development c++
Member Avatar for Ancient Dragon
0
134
Member Avatar for sebe

hello, My computer have a problem when i start, there a error message "couldn't load main class". I need to know if i update the java can resolve this problem. Thanks

Software Development java
Member Avatar for shinnxennosagga
0
69
Member Avatar for slayman89

Ok i apologize in advance for my ignorance but i have just started learning c++ and my first program went off without a hitch now this one that im doing completely on my own is giving me some hiccups. The best i can tell is that im just having some …

Software Development c++
Member Avatar for Ancient Dragon
0
83
Member Avatar for mevtho

Hi, I have to refactor the method kingRange under, the goal being code readability : [code=java] /* For information, here are the class fields needed here : private String setUp; public final static Collection validPieces = Arrays.asList(new String[] { "R", "N", "B", "K", "Q" }); public static final int LEFT …

Software Development java
Member Avatar for mevtho
0
121
Member Avatar for eleonora

Hello, Im trying to implement a program which will split a text file and then parses the elements to an arraylist. My text file looks like that: [QUOTE] Name: Mariah Johnson Customer no: 663,283 Post code: BA1 74E Telephone no: 028-372632 Last modified: Jan 11, 2007 8:10:05 PM GMT Name: …

Software Development java
Member Avatar for eleonora
0
227
Member Avatar for wonder_laptop

well , i know java, but im new to c. i came across this while learning c : int my_function(const char *str1){ unsigned char c1; c1 = (*(unsigned char *) str1); } well i suppose this code is casting from a string to the character value of it but what …

Software Development c
Member Avatar for wonder_laptop
0
108
Member Avatar for ulasu

hi, i want to link to dll files in my project. I have the header and implementation files and object library file to that dll file. I don't know how to call the functions out of the dll file. I am using Visual studio.NET C++ IDE. Any help will be …

Software Development c++ ide visual-studio
Member Avatar for twomers
0
161
Member Avatar for Jboy05

Given the following variable declarations and function prototype. How do I write three different calling statement to the MyFunction function without declaring additional variable. int I; bool B; double D; double MyFunction (bool, int&);

Software Development c++
Member Avatar for Jboy05
0
101
Member Avatar for apuM

hey, basically I have an assignemnet to write a C and MIPS code to determine if a number is a power of 2 or not.(that is only a beginning part to the main core of this assignment which needs this code to be used later). I'm capable of doing the …

Software Development assembly engineering
Member Avatar for Duoas
0
210
Member Avatar for HeroOfTime

Hello all. I was looking for a set of java classes that I can use to synch midi output of a speaker to output on the monitor (or other actions). I've been looking for the longest time in google, and I can't find exactly what I want, or at least, …

Software Development java
Member Avatar for Ezzaral
0
137
Member Avatar for AbuShokry

Hi everybody, my problem is as follow, I have two classes myClass and myGUI myClass code is [CODE] public class MyClass { public void start() { while (true) { // do some stuff } } public void stop() { System.out.println("Hello from stop method!"); } } [/CODE] myGUI code is [CODE] …

Software Development gui java java-swing
Member Avatar for Ezzaral
0
91
Member Avatar for cbattagler

Hello, I need to overload my comparison operators such as == and < so that I can use things such as std::sort and std::unique on a vector of some user defined classes. I know how to overload them globally. The problem is I need to overload these operators as member …

Software Development c++
Member Avatar for cbattagler
0
111
Member Avatar for Matt You

I have a simple program (code follows) that circle_shifts an array, but I need it to be able to quit when the user enters a character, (ex. q). Where do I start?[code]#include <stdio.h> #include <stdbool.h> #include <math.h> int printAr(int n[], const int SIZE){ unsigned int i; printf("Array contents: "); for( …

Software Development c
Member Avatar for Matt You
0
121
Member Avatar for Sampath.nalaka

Hey I Want to know How Can i develop a software to send sms pc to all mobile phones using vb.net. Can you guide me how to do it or plz send me a sample code.

Software Development vb.net
Member Avatar for densman
0
90
Member Avatar for what_is_that???

If i have an audio file that is in .py format how do I play it?

Software Development audio python
Member Avatar for Ene Uran
0
47
Member Avatar for mlattanzi

Dear all, this is my first post on the Forum, so hello everybody! :) I am newby with Python (I have only 4 days experience), I have started to leanr because I will need to develop some software to the company I working in. Currently I am developing a code …

Software Development mac-software python
Member Avatar for Ene Uran
0
174
Member Avatar for landercat

I can get the code to compile, and essentially do what I want it to. The problem I'm having is in my getData(int choice) function. I want the function to keep asking the user to enter a valid number (1-8) if they enter something else. If I put an if...else …

Software Development c++
Member Avatar for landercat
0
4K
Member Avatar for mjsinpl

Hey guys. I have to create an alarm clock in python. i really really need some help in creating this thing.. seeing that i have absolutely no clue what i am doing. I have found some basic code that supposedly makes a clock which updates but the bleeeding thing just …

Software Development flash python tkinter
Member Avatar for Ene Uran
0
684
Member Avatar for ghost_squad7

i would just like to ask i'm making a timer w/in a game my problem is with the scan function the game is like a guessing game. where a jumpled word appears on screen the timer is supposed to be displayed like this -------------------------------------------- output/user screen: -------------------------------------------- sampleword time left …

Software Development c
Member Avatar for WaltP
0
469
Member Avatar for manzoor

Hi i have to complete a program which do the following If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 …

Software Development c++
Member Avatar for manzoor
0
113
Member Avatar for Jennifer84

I am trying to delete what is written in a textBox like this in C++ .NET. When pressing the button the text/Numbers I have written in the textBox doesn´t deletes. I beleive 0 is the index from where to begin the delete wich should be from the first character in …

Software Development c++
Member Avatar for Jennifer84
0
185
Member Avatar for sean_morris9

Hi, I'm trying to display an image that's stored in a SQL Server database. The ContentType and binary data are being returned but the image is coming up as a broken image. To test that the data is being retrieved I tried outputting the content type. [code=C#] Response.Write(adm["Image_MIME_type"].ToString());[/code] It is …

Software Development
Member Avatar for JerryShaw
0
125
Member Avatar for rohoni

when i use for loop to get a string i have following problem why? [code=c] include<stdio.h> void main() { int i; char name[5]; for(i=0;i<5;i++) scanf("%c",&name[i]); for(i=0;i<5;i++) printf("%c",name[i]); }[/code] output world here for [COLOR="Green"]world[/COLOR] i get only [COLOR="Green"]worl[/COLOR]. that is for 5 char I get only four why ?

Software Development c
Member Avatar for gerard4143
0
97
Member Avatar for maydhyam

Hi, I have an application set to run in a .bat file, and would like to know what I can do to hide the command window that comes up with the application when it is executed, but still have the application running.

Software Development java
Member Avatar for maydhyam
0
113
Member Avatar for charitha_sharma

hello all i have experience with windows forms programming but now i have to work independently for the whole project i need help in two topics pls help me 3 clients will be connected to my server front end : VB.Net my database : Oracle my question is how to …

Member Avatar for charitha_sharma
0
86
Member Avatar for bleonard989

I am pretty new to c++, and have never worked with stack or templated classes before. I have started this program, but I am not done, I was wondering if I am at least on the right track, because I get a ton of compile errors. The assignment: Implement the …

Software Development c++ data-structure
Member Avatar for mitrmkar
0
529
Member Avatar for joker40

Frist I would Like to Welcome All the members in this Forum And Also i would like to represent some tutorials about Java , and this frist tutorials maybe look selly to some people but as we move far in this programming language it will get harder and harder ... …

Software Development java
Member Avatar for joker40
0
124
Member Avatar for ihtraa

hi, I want to read the string as many time and filter that string, store in hashtable. I don't know any filter command is present in java.here I am sending the code. [code] import java.util.StringTokenizer; import java.util.Hashtable; import java.util.Enumeration; public class test123 { public static void main(String[] args) { String …

Software Development java
Member Avatar for stultuske
0
104
Member Avatar for vectra17

Is it possible for an imported COM DLL server to be seen as an object in the 'TOOLS PALETTE' ? Thanks.

Software Development pascal
Member Avatar for vectra17
0
76
Member Avatar for mahibha

hai i am working with vb6 with mapobjects2.4 and i wrote code for MaxFileBuffer Property and i also got the error message as ActiveX component cannot create object th code is as like below: Dim dc As New MapObjects2.DataConnection Dim geo As New MapObjects2.GeoDataset Dim layer As New MapObjects2.MapLayer Private …

Software Development visual-basic
Member Avatar for debasisdas
0
180
Member Avatar for bashir matovu

dear brothers i have a problem in saving ma data in the database.so i need help thanks.

Software Development visual-basic
Member Avatar for debasisdas
0
101
Member Avatar for nish88

hi everyone....... i am writing a program where i have 2 ovals and i want my first oval to appear then after 2 seconds the second one...but am failing in doing this. can anyone help me to do this please. thank you in advance here is my code [ICODE] from …

Software Development python tkinter
Member Avatar for nish88
0
173
Member Avatar for behnaz

hi, i have 1 question ebout this file : in the program , when we include this file? #include<dos.h> #include<graphics.h>

Software Development c++
Member Avatar for WaltP
0
68
Member Avatar for chaitramutalik
Member Avatar for stultuske
0
70
Member Avatar for sfurlow2

For my homework assignment, we were asked to: Prompt the user for a positive number and get it from the user. Print each integer from 1 up to and including the user's number and the sum of all the integers from 1 up to and including each integer. Your output …

Software Development c++
Member Avatar for codeaa
0
153
Member Avatar for vickyx

Hi, I am making a programme where I use a timer, I have 2 command buttons, one starting the timer, another stopping the timer, currently this works. But when i press the comand button starting the timer I want to have it reset to 0 because at the moment it …

Software Development visual-basic
Member Avatar for debasisdas
0
1K
Member Avatar for jesseb07

hi, this should be a fairly simple question to answer. I have a function in my program that takes the content of a text file and populates an array with all the information. First it has to see how many lines the file has (as it can change) so it …

Software Development c++ ios
Member Avatar for jesseb07
0
6K
Member Avatar for delete_at

[B][COLOR="Red"]Hello I am new to this site I wish you to help I use Visual Basic Version 6 and database ACCESS would connect database to the server So I can use the database in more than one device Example If the two fields in the database the First for the …

Software Development visual-basic
Member Avatar for debasisdas
0
99

The End.