199,114 Archived Topics
Remove Filter ![]() | |
I'm having trouble reversing a string. Me thinks I've stared at this too long. [CODE] Private Sub btnReverse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnReverse.Click Dim strOrgText As String Dim strRevText As String Dim array As Array strOrgText = Me.txtTheString.Text array = strOrgText.ToCharArray() strRevText = array.Reverse 'Here is … | |
Hi, I am working on a perl script, were a program is given a file, another file and a deviation (a number) as input on the command line. I also wants the program to complain when its too many arguments , it should just be to filenames followed by a … | |
hello,,,everyone,I just want to ask a list of sites to where i could learn GUI programming in c++ for the beginners like me.i hope you could help me about this one and be one of my circle of friends.you may just add me in your yahoo messenger jk_bscomp or e-mail … | |
Hello, I recently downloaded and uploadee Secuimage CAPTCHA Class Version 0.3 PHP4 from [url]http://www.neoprogrammers.com/[/url] and Im having some problems. 1) It always says that the code entered is wrong, even in the example forms. I tried it with my altered code and without and it still never says it is … | |
hi, does anyone knows if is there a way to make getchar non blocking? I'm using curses and I'm on linux platform. With a thread version of the same program I have solved my problems with getch and with the timeout function but now the program doesn't work properly and … | |
Good day! I have a problem in changing a properties of a control in class module. I want to put it in a function so that every now and then I can call it. Could anyone help me how to change it! Thanks in advance! | |
Any body knows a way to create a uninstaller in vb6 or any easy to use third party software... thanks | |
Hi there, I'm trying to screen some programmers I'm looking to potentially hire & I have a list of questions a previous programming consultant drew up, but I don't know what to do with them b/c he did the screening b4. Can someone please help me determine if I place … | |
Hi, I have a file in the format of: First-Name Last-Name StudentNumber Grade1 Grade2 Grade3 Any student may up to 10 grades, and I want to read the information from the text file into a vector. My question is, how can I read the file into the vector so that … | |
i wrote this script, and everytime i run the script the code deletes and i want to know why EDIT: i also chmod 755 if anyone wanted to know [code] $ cat > ispostive #!bin/sh # # Script to see whether argument is postive # if test $1 -gt 0 … | |
Hi, I am writing a function that needs to return either a R S or P. It works fine if what I am inputing is a R S or P. If something else is enter it acts funny. Any suggestions to help me out? [code=c++] char getUserChoice () { char … | |
I'm going nuts i need to do a program that will count words, vowels and consonants and special character, i'm just a beginner and my teacher is killing me with this. | |
i have this simple program im writing to help my dads business. thoguh it doesnt seem to be working, this is what i have currently [code=c++] #include<iostream> using namespace std; int change(double money,int onedollar,int fiftycent,int twentycent,int tencent,int fivecent); int main() { int money, onedollar, fiftycent, twentycent, tencent, fivecent; cout << … | |
,DIV,TABLE,THEAD,TBODY,TFOOT,TR,TH,TD,P { font-family:"Nimbus Sans L"; font-size:x-small } --> ahmm hi everyone i'm a newbie here at daniweb.. but i have an unfinished business(project).. guys.. pls.. help me to solve this.. or give some comments or replies in my problem.. this is my problem.. i don't know what function/s should … | |
Hey, this isn't an, "I have an error" post! It's more like I'm taking a basic java course in High School and want to include an image as a background in a project in swing. I found some code online that seems to do this quite well, but I need … | |
[CODE]#ifndef HUGEINTEGER_H #define HUGEINTEGER_H class HugeInteger { public: HugeInteger(); void input(); int setNumber(char []); void output(); void convertToInteger(); void subtract(); bool isEqualTo(); bool isNotEqualTo(); bool isGreaterThan(); bool isLessThan(); bool isGreaterThanOrEqualTo(); bool isLessThanOrEqualTo(); bool isZero(); ~HugeInteger(); private: char a[41]; char b[41]; int *array1; int *array2; int result[41]; }; #endif [/CODE] [CODE]#include<iostream> … | |
Hey all, I was wondering could someone help me on writing a file to a notepad.exe file. What i need help on is i have a gam and i want to record how many times the player 1 & 2 has won lost or had a draw. How would i … | |
guys, can you help me to get data from a text file and putting it in an excel file? my programming language is visual basic 6.0 here is a sample data from the text file: ANO,BNO,TRANSDATE,TRANSTIME,ORIGINS,DESTINATION,CA LL_TYPE,OUTROUTE,INROUTE,CALLS,ACTUAL_MINS,COST 0498373386,[U]006623322001[/U],20070216,16:33:35,SRO,THB,IDD,IBEF7O,,[U]1[/U],[U]0.766666666666667[/U],-0.014413 0498373386,006623322001,20070223,12:59:40,SRO,THB, IDD,0241,,1,0.8,-0.01264 0498373521,0096265522113,20070207,11:22:59,SRO,JO, IDD,0241,,1,0.433333333333333,-0.019717 i wll get the underlined data, then i … | |
[code=c++] void playAgain() { char again; cout << "Do you want to play again (y/n)?: "; cin >> again; if (again == 'y') chooseOption(); else if (again == 'n') cout << endl << "Thanks for playing Connect Four, the game of the clever people!"; else cout << "Invalid Choice" << … | |
Hi, I can't get cin.getline to work properly, I'm using it inside a for loop.. it gets the input sucessfuly when the loop is executed for the first time(i=0), but it doesn't wait to take any input on the next times..the program just moves to the next line.. [code=c++] #include … | |
Hello, let's say the user enters a value in this format xx:xx:xx where xx is an integer, how can I assign each xx to integer vars? I though of everything I know.. can't use getline(),getchar() bcuz they accept characters only, can't use cin either.. thought of storing the xx:xx:xx on … | |
I need help someone im trying to delete the blanks of this array of strings stored in str[i] loop but cant copy wihtout delete spaces please help some one.. thanks [code=c] void deblank(char str[MAX_STR], char result[MAX_STR]) { int num; //variable to hold value for string length int i, j; // … | |
ok you will probably be sick of my posts but i have tryed and got this far, i ripped the program to pieces and started again. basically its a atm program that i have to do for college. if anyone can see why its not workin properly it would be … | |
Hi, I'm currently trying to make a simple picture Puzzle Game ,but i have some questions. I hope I found the answers here . First, How I can separate a picture into small pieces? Second, I want the user drag and drop the parts of the picture into the playing … | |
I've created a simple table quiz program in VB6 and I want to load a help file (help.hlp) from within my code. I want the program to load the file when I select it in the Main Menu. I've tried using the load ("") function with the file file path … | |
Hi, 1 ) I must take a back up of a access data base daily and store in my desktop. Please give me coding to copy the access data base from the c drive and to paste in my desktop. Every time when i save the access in my desktop … | |
hi, i want a idea how to find a host ip address in a network. | |
Hi all, I am trying to create a file and write something into that file. Here's what I have tried: [code] import java.io.*; import java.util.*; public static void main (String[] arg) { try { String file_name = "test.txt"; FileWriter file = new FileWriter(file_name); BufferedWriter out = new BufferedWriter (file); String … | |
Hi, I have this program in C++ and I am struggling to understand as to why I am not able to store a value in an integer declared in the program as double within the acceptable range of [B]2.2e-308 to 1.8e308[/B]. Here this page also says so in a table: … | |
Hi all, I must print the data collected from a jsp page into a table with rows n columns consisting of data accordingly.Can somebody help me with this? | |
Hi, i am a beginner in java. i have to put two text fields in my form, one for username and the other for password. i want the password text box to hide input when user types in it. Can someone please tell how can i do that in java, … | |
Hi, i am trying to write an alternative MIPS program the multiplying two given integers 6 and 8 i have already written # Program to multiply 6 by 8 answer = 48 .text main: addi $t1, $0, 6 # store integer 6 in $t1 addi $t2, $0, 8 # store … | |
I need your help . i have to develop my knowledge in‘English words’. I try to byheart the new words from books, and I am unable to keep in mind and often forgetting. So I decided to develop a package for my won use. It should be like a simple … | |
[COLOR=darkorchid]Good afternoon;[/COLOR]:) [COLOR=darkred]what is wrong in this code ,[/COLOR] [COLOR=darkred] its job to print a name in reverse order[/COLOR] [code] name dword 20 dup(' '),0 . . . . . mov edx,offset name mov esi,offset name mov ecx,lengthof name L7:mov edx,[esi] call writestring dec esi loop L7 [/code] [COLOR=darkred]when running … | |
I need some help on this program that i have. i can't seem to get it to work. any comment on the program would be appreciated. Thx in advance. I have uploaded my program in case u need to take a look. [CODE]Dim first As Double Dim second As Double … | |
Hi, it's me again and i have new question: This is my code: [CODE]# -*- coding: cp1250 -*- import string as _string import time as _time import wx from math import* class Canvas: def __init__(self,parent): self.okno=parent self.okno.SetBackgroundColour("#FCFCFE") self.radic = wx.FlexGridSizer(2,2,0,0) self.canvas = wx.ScrolledWindow(self.okno, -1) self.canvas.EnableScrolling(True, True) self.P_WIDTH = 1000 self.P_HEIGHT … | |
hi,i have to implement multiplication of two huge integers of 40 or more digits.i've made a function in a class for its implementation but its not working.plz help if u find any logical errors in it. [CODE]void HugeInteger::multiplyHugeIntegers(HugeInteger H1,HugeInteger H2) { int carry=0; int count=0; // introduced to place the … ![]() | |
I can't seem to get access to images in my application when i pack the executable jar file. I've tried everything i can find in examples and nothing is working. Can anyone help please? Is there a way of specifying where images are in the manifest file. | |
i use thsi code for timer , but it shows the messagebox 50 times.. i just need the mesage box to be showed once only [COLOR=#008000]Dim conn As New OleDbConnection [/COLOR][COLOR=#008000]Dim dap As OleDbDataReader [/COLOR][COLOR=#008000]Dim cmdb As New OleDbCommand [/COLOR][COLOR=#008000]conn.ConnectionString = Provider=Microsoft.JET.OLEDB.4.0;DATA SOURCE= c:\ApptDB.mdb" [/COLOR][COLOR=#008000] conn.Open() [/COLOR][COLOR=#008000]cmdb.Connection = conn [/COLOR][COLOR=#008000]cmdb.CommandText … | |
I'm working with metrowerks codewarrior to do this program. This program asks you to create fibonacci sums up to 2^23 and then asks you to do some more stuff after that. I'm just wondering if you would set up an array or a for or a while loop to complete … | |
Hello, I need to print a menu, displaying the available choices as characters, no problem. I need to store that character into a variable, then check to make sure that character isn't Q or q, no problem. However, if the user enters anything other than a, b, c, d, or … | |
Can anyone help me to store my result set into another object so that I can display it on my jsp page in a table. I can get output of my resultSet from a System.out.println(rs.getString(i)) stance. I tried storing each row in a vector and then each row of vectors … | |
Hi there, I need to make a piece of code in C that 1. opens a specified file, 2. Reads the data in the file and separates it as shown below, 3. Converts the strings into integers and then perfoms some manipulation on them, 4. returns the new values to … | |
i want to right a code to display a blinking z for example if i write an A then i write 0x0741 in this asccii where is blinking bit to be set | |
Hi guys, I´m using VB6 and its Active Report My problems are: 1) I have several dir with some pictures and I would like to use like image1.picture= = LoadPicture(c:\dir1\pict1.jg) image2.picture= = LoadPicture(c:\dir1\pict2.jg) image3.picture= = LoadPicture(c:\dir2\pict1.jg) and so on.. One page with 2 coluns / 3 rows with image.picture, But … | |
Hi , I've been working on comparison query with PHP and MySql 5.0 yet not getting anywhere with it. I'm trying to perform a search ( query ) I have several tables within the same database that contain same fields yet hold different data eg Table 1 id |Product | … | |
Hello, I found the code for bubble sort in C++. With the code below th[U][/U][URL="http://www.webmaster-talk.com/#"][/URL]e output will be: 23 8 7 6 6 5 2 2 1 Is it possible that sorts the numbers so the output will show all changes. In example: 9,6,5,23,2,6,2,7,1,8 9,6,23,5,2,6,2,7,1,8 .... .... .... 23,9,8,7,6,6,5,2,2,1 Thanking … | |
HI, I am having some trouble with my assignment. I have created the gui and i am now writing the event handling. My problem is with the arrays. I have 3 seperate arrays all the same length.1 is a string and the other two are ints. in each array the … | |
Hi I have used a tutorial on full text search which was brilliant...I now want to add in pagination to it....Bu ti can;t seem to work it from the pagination tutorial... This is the code for my full text search... <html> <head><title>Search</title></head> <body> <?php // Database Connection include 'db.php'; // … | |
hey guys i got this iece of code on a program i am writing, and i was jus twondering if you could help me to convert it so it uses the conditional operator to make it into a 1 line code, cheers [code=C++] int total, start, stop, increment; if (total … |
The End.