132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aktivo

Hi friends I need help whit a problem solver thst you can i want a code or program that realize a conversion of dates (kilometer _ meter, meter -libs etc. like15) its also whitout arrays or thats.

Software Development vb.net
0
64
Member Avatar for machine

Hi i have to use linked lists to get information from the user and dispaly it. I am having trouble with displaying the linked list. If you look at my second function where i am trying to list the information, you might be able to tell what the problem is? …

Software Development c++ linked-list
Member Avatar for John A
0
242
Member Avatar for scru

Hey. I'm having a problem. In a form's constructor, I have: [code=C#]this.KeyDown+=new KeyEventHandler(frmGScreen_KeyDown)[/code] but the event handler does not invoke at all when I press a key on the keyboard. I know this because i have the code "txtOutput.Text="Event handler entered" as the first line of the handler, and nothing …

Software Development
Member Avatar for dahwan
0
99
Member Avatar for fatnickc

I'm in the middle of writing a C++ program which will eventually sort data, using a tree. I would like to swap a child with its parent if the child's value (could be anything, using a template) is less than the parent's. however, I have become stuck when trying to …

Software Development c++
Member Avatar for fatnickc
0
241
Member Avatar for pavani2006

how can write a orogram to check whether palindromw is posiible from a given stirng for(i=0;i<strlen(a);i++0 { if(a[[i]==b[i]) printf(a[i]; ) }

Software Development c
Member Avatar for Salem
0
324
Member Avatar for MAYYOS

hi everyone, iam an IT student that tried to solve this java programming question but have many problems can anyone help me with it ?? here is the assignment .... using java programming language, write a program that will read a java code and locate all the assignment statements.from each …

Software Development java
Member Avatar for ~s.o.s~
0
94
Member Avatar for muzammilpn

Can any one help me in providing help I am working on Tree Structure My problem is to take input as an expression like a+b(c/t) and Using Binary Tree converting it into postfix RPN ab+ct/

Software Development c++
Member Avatar for iamthwee
0
140
Member Avatar for crienoloog

I'm not a programmer but I desperatly need help with the following please... it was written by someone but never tested, and contains some small mistakes that I can't solve. The person is not available anymore, so here my plea for help. I have a mailmessage looking like this: [URL]http://www.criens.nl/lambada/sailmailmessage.txt[/URL] …

Member Avatar for crienoloog
0
119
Member Avatar for rashmi43

Without changing the main function modify the following code so that the o/p is [B]Initialize[/B] [B]Hello world[/B] [B]clean up[/B] [code=c++] #include<stdio.h> #include<iostream.h> #include<conio.h> void main() { cout<<"Hello world"; }[/code]

Software Development c++
Member Avatar for Narue
0
91
Member Avatar for addlebrains

I keep getting this message during compiling. There are no strings or open " marks around. In fact, even if I move the lines around, the error remains pointing to the same line.

Software Development c++
Member Avatar for WolfPack
0
152
Member Avatar for jetru

Its pretty standard, why the hell isnt the window showing?? Cant figure it out :( [code] import javax.swing.*; import javax.swing.text.*; import java.awt.*; import java.awt.event.*; public class GUIpart { //All ze variables required int tempboard[][]=new int[9][9]; SudokuBoard fresh= new SudokuBoard(); JFrame sudoku = new JFrame("Srik Sudoku"); JFormattedTextField guiboard[][] = new JFormattedTextField[9][9]; …

Software Development gui java java-swing
Member Avatar for jetru
0
236
Member Avatar for gracie7725

I am new to vb.net 2003 and was wondering how to reference a control or method on one form from another. I have done this in other languages by doing: form.controlname.property form.methodname This does not seem to work on vb.net 2003. If anyone could stear me in the right direction …

Software Development vb.net
Member Avatar for waynespangler
0
198
Member Avatar for StrikerX

hi guyz, i'm a Python user (not so long) , anyway i've read some stuff about lua . i've written function like this [code]def pair(dic = {} ): return dic.keys(), dic.values()[/code] a dictionary is a parameter to the pair function . to use it like this : [code]dic = {1 …

Software Development operating-system python slackware
Member Avatar for StrikerX
0
152
Member Avatar for louis7370

[code=cplusplus] #include<iostream.h> #include<fstream.h> #include<cstdio> #include<typeinfo> #include<cstring> #include<sstream> #include<algorithm> #include<ctime> char* itoa(int n, char *buf,int) // { // ostring out; // out<<n; // strcpy(buf,out.str(),c_str(); // return buf; // } class string class const struct Node class VCDdetails { private: char vcdid[6]; char movietitle[50]; char castofmovie[50]; int numvcdcopy; public: void addVCDdetails() { …

Software Development algorithm c++ ios
Member Avatar for iamthwee
0
108
Member Avatar for 7even

I have a problem with tree control and i don't know how to solve it, maybe someone can help me. What i'm trying to do is display widgets in a staticbox plus a help text when i select different items in a tree. For example when i select item1 in …

Software Development python
Member Avatar for vegaseat
0
223
Member Avatar for Phaelax

Given a JTable which presents 30-50k rows, its responsiveness becomes very slow. Is there anything I can do to improve its speed? I don't see why the number of rows would affect it so much. Wouldn't it stop rendering rows once it passes the a point beyond the size of …

Software Development java
Member Avatar for Phaelax
0
128
Member Avatar for cirisha

Hi All, I am very new to DELPHI PASCAL Programming. I have imported the TLB file using Component->Import Component. I would like to use the class of the component and call its method. for that i have declared class object like type TSam1 = class(SampleClass) end; and called the method …

Software Development delphi pascal
Member Avatar for Terry Robinson
0
516
Member Avatar for chickenmcnugget

ok so im in college right computer science major first year and all and they still have pascal can you believe it wow so ne ways he gives out this assingment and the assingment is this i need to write a programm using delphi ythat would be able to name …

Software Development delphi pascal
Member Avatar for Terry Robinson
0
135
Member Avatar for IwalkAlone

Q.Using recursive function,reverse a string. Solution I tried [CODE] #include<stdio.h> #include<string.h> char reverse(char *ptr,int length) { return ptr[0]=ptr[length-1]; while(*ptr!='\0') reverse(ptr+1,length-2); } int main(void) { char string[40],answer; printf("Enter string\n"); gets(string); answer=reverse(string,strlen(string)); printf("%c",answer); return 0; } [/CODE] It gives an error sayin 'Unreachable code in function reverse(char near*,int)' because of the line …

Software Development c
Member Avatar for ~s.o.s~
0
143
Member Avatar for nloding

Alright, here's what I'm faced with, and I'm not a VB coder (I'm the guy who does PHP and some C++, so VB is quite a new ballgame for me). What I have is a very large network environment where we are replacing some proprietary software, and it requires reinstallation …

Software Development printer visual-basic
0
104
Member Avatar for Zay

Hi; need your help , now i want a hint for this question to know how to solve it : [code] template <class T> void sortqueu(queueType <T> & q); [/code] this function is to sort all elements of that queue . using queue operation only (it is not a member …

Software Development c++ queue
Member Avatar for Narue
0
1K
Member Avatar for Fungus1487

i have a GUI application that needs to check that it is connected to a database every 30 - 60 secs. can this be done with java threads or do i need to look somewhere different. obviously i need the application to be fully useable whilst it is performing this.

Software Development gui java
Member Avatar for Fungus1487
0
79
Member Avatar for Fungus1487

right MS Access is balls compared to other DB's i know but im working on a project which already uses an Access DB. Now after writing the following eclipse gives me a lovely error which im yet to figure out. Googling has thrown up people with similiar problems but no …

Software Development java microsoft-access
Member Avatar for Fungus1487
0
134
Member Avatar for matias.germany

Hi, im starting here with C and im stuck with a little problem...can someone helpme plz. The program is a ASCII to morse converter #include <stdio.h> #include <stdlib.h> #include <string.h> char text[200]; int x, y; char *characters[49]= { "------",".----", "..---", "...--", "....-",".....", "-....","--...", "---..", "----.", ".-", "-...", "-.-.", "-..", ".","..-", …

Software Development c
Member Avatar for WaltP
0
105
Member Avatar for shsh_shah

Hi, I have one form which is login form which contains username and image browsing field. Now in Login.cs [code] private void LoadGameButton_Click(object sender, EventArgs e) { TicTacToe tic=new TicTacToe(usernametextBox.Text,imgTextbox.Text); if (imgTextbox.Text.Equals("")) { MessageBox.Show("Please select any image"); return; } else { tic.Show(); // this.Hide(); } } [/code] In TicTacToe.cs [code] …

Software Development
Member Avatar for JerryShaw
0
116
Member Avatar for Covinus

[code] hBitmap = LoadBitmap(NULL, saFileName); [/code] ho come i cant load any bitmap using this function? hBItmap is always null

Software Development c++
Member Avatar for Covinus
0
234
Member Avatar for usguy

Hi, I am having difficult time to make this run. Can anyone help me please?. I have test form with 3 command buttons & one Richedit.Im using access database to test. It have just one table with two fields ID (Integer), sMemo (memo). I am trying to save richedit text …

Software Development microsoft-access pascal
Member Avatar for usguy
0
325
Member Avatar for CRD

I have a Problum building An Exicutable as It does not find the include file. code [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]"stdafx.h" [/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] _tmain([/COLOR][COLOR=#0000ff]int[/COLOR][COLOR=#000000] argc, _TCHAR* argv[])[/COLOR] { [COLOR=#0000ff]return[/COLOR] 0; } Error message fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory Any assistance would be appreciated in fixing this …

Software Development c++ visual-studio
Member Avatar for CRD
0
80
Member Avatar for Dhanesh.M

I want to store the results generated out of SQL query into excel file ... how do I go about doing it? help

Software Development java sql
Member Avatar for jwenting
0
102
Member Avatar for usavguy

I have a database (myDB1.mdb) that contains related data in seven tables. Using vb6 existing in a separate application, I would like to find a way to archive this data into a new database (myArchive1.mdb) located in the same location as the main database. I understand how to use the …

Software Development data-structure visual-basic
Member Avatar for usavguy
0
122
Member Avatar for jetru

How would I go about making JTextField allow the user to input only numbers 0 - 9? I looked into JFormattedTextField but it doesnt seem to be what I need. Would I have to code it to check the users' input everytime? Is there a simpler way?

Software Development gui java
Member Avatar for jetru
0
91
Member Avatar for snickers6226

I am trying to compile my project and I keep getting this error: cannot find `ld' C:\Dev-Cpp\Projects\Makefile.win [Build Error] ["Final] Error 1 The Compiler Log says: Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Projects\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Projects\Makefile.win" all g++.exe FinalProgram.o -o "Final Program.exe" -L"lib" collect2: cannot find `ld' make.exe: *** …

Software Development c++
Member Avatar for Salem
0
94
Member Avatar for IwalkAlone

I want to know when it is necessary to include a return statemnt in one's code and also what is the difference between recursion and iteration?

Software Development c
Member Avatar for IwalkAlone
0
143
Member Avatar for jaepi

hello there...is there a way to check if the file you get is the file you really want...like for example, you want an .iso file, if yo placed any file like .txt, the system will exit...but if you placed a file with .iso extension, it will continue to run...thanks...

Software Development c++ file-system
Member Avatar for Salem
0
117
Member Avatar for jpknoob

Alright guys? I've just started doin a bit of C++, but i'm havin a few problems!!! I'm makin a numbers game and so far have managed to program the game, but i'm wantin to juice it up a bit! Can anyone give me some help or hints how to include …

Software Development c++
Member Avatar for Lerner
0
96
Member Avatar for bufospro

Hi all, I am new in shell scripting and I would like to make a bash script which will inform me if one of my friend is already logeed in. If a friend is logged in I want to take as output USER1 : is in. else USER1 : last …

Software Development shell-scripting
Member Avatar for ghostdog74
0
139
Member Avatar for vinod_javas

Hi guys.., Is any one knows how to print barcode using java code?

Software Development java
Member Avatar for vinod_javas
0
110
Member Avatar for push

what is the difference between arrays and strings at java?

Software Development java
Member Avatar for push
0
112
Member Avatar for squinx22

Gud day, Suppose I have these files: hello.h hello.cpp main.cpp in what directory will I put the hello.o and hello.hpp so that I will only type $ g++ main.cpp -o main not, $ g++ main.cpp hello.cpp -I. -o main.cpp in the terminal.. thanks.... I will highly appreciate youre response....

Software Development c c# c++
Member Avatar for squinx22
0
100
Member Avatar for Gumster

Well im having a little problem with some tuples or more so about defining which tuple [CODE=python] #Start of my tuples Rock = ("Scissors","Fire","Snake","Human","Wolf","Sponge","Tree") Fire = ("Scissors","Paper","Snake","Human","Tree","Wolf","Sponge") Scissors = ("Air","Tree","Paper","Snake","Human","Wolf","Sponge") Snake = ("Human","Wolf", "Sponge", "Tree","Paper","Air","Water") Human = ("Tree","Wolf","Sponge","Paper","Air","Water","Dragon") Tree = ("Wolf","Dragon","Sponge","Paper","Air","Water","Devil") Wolf = ("Sponge","Paper","Air","Water","Dragon","Lightning","Devil") Sponge = ("Paper","Air","Water","Devil","Dragon","Gun","Lightning") Paper = ("Air","Rock", …

Software Development python
Member Avatar for jrcagle
0
104
Member Avatar for Monyet

[code=java] import java.util.Random; public class CardDeck { private String deck[] = new String[52]; private String shapes[] = {"heart", "club", "spade", "diamond"}; private String numbers[] = {"ace", "deuce", "three", "four", "five", "six", "seven", "eight", "nine", "ten", "jack", "queen", "king"}; public void CreateDeck() { for(int s =0; s < shapes.length; s++) { …

Software Development java
Member Avatar for Johnbull
0
129
Member Avatar for ptaylor965

I am using an MSAccess 2007 database file to retrive some info The tables look like this tblIncome Date | Takings 12/05/2007 | 10 12/05/2007 | 20 13/05/2007 | 10 16/05/2007 | 40 tblExpence Date | Takings 12/05/2007 | 10 13/05/2007 | 20 14/05/2007 | 50 When running the code …

Software Development vb.net
0
67
Member Avatar for ndeniche

[U][B]Dear poster:[/B][/U] we don't actually have any issues with answering your doubts/questions or solving your problems, but it would be very time saving for us (problem solvers) if you could please mark your threads as solved when your problem has been solved, since, when you don't do that, we read …

Software Development c++
Member Avatar for ndeniche
0
504
Member Avatar for JaksLax

I am getting a Segmentation fault when I run my code. It is happening right now when the 100,000th array location is being populated. But it has been at different spots when I ran it before. Any ideas?? [code] /** * @author Jason Mejak * * This program uses the …

Software Development c++
Member Avatar for Salem
0
145
Member Avatar for mevanga

I'm new with VB and I need to write a code that will calculate days starting from a start date (x), adding (y) days per month till the present date (z), subtracting given days (i) and finally giving remain days (j). Can anyone please given some examples.

Software Development visual-basic
Member Avatar for WaltP
0
338
Member Avatar for ally1002

hello, i'm studying files and streams in java from JAVA how to program - Deitel but it's so not clear,,, is there another book or a website that explains this better? i could really really use it. thanx ally:icon_biggrin:

Software Development java
Member Avatar for ~s.o.s~
0
81
Member Avatar for Dageki

I have been tasked with cleaning up some daily backups and I want to automate this. I have decided that Perl might just do the trick except up until about a week ago I did not know much about it. I have been doing some homework but I am stuck …

Software Development perl sharepoint
Member Avatar for Dageki
0
98
Member Avatar for venuaccha

I want to pass a 2D matrix to a function in C which modifies the elements of the matrix and the modifications should be effective in the calling function. How to achieve this in C.

Software Development c
Member Avatar for Salem
0
838
Member Avatar for ajaxjinx

Hi , I need to Assign 4 bits to unsigned char: I am using, unsigned short Ver : 4 ; My ques is ... howw do I initialize Ver , coz Ver=5 is not working.. If i need a type cast.. what will it be???

Software Development c
Member Avatar for ajaxjinx
0
194
Member Avatar for quintoncoert

I am new to c++ and I am using visual c++ express edition. I am spending quite a lot of my time doing excercises and am using the command line to compile them. I have now reach the stage where I am seperating the header files and the .cpp files …

Software Development c++
Member Avatar for Ancient Dragon
0
157

The End.