199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ultimate_fusion

I am trying 2 write a program to solve a soduko. I have lots of text fields and I need to compare them like if (string1.equals(textfield){ do whatever} but it only works for "0" e.g null??/ I have tried parsing it to an int but get the same result. any …

Member Avatar for ultimate_fusion
0
362
Member Avatar for nabil1983

Ok i decided to start from scratch for my CD database. I've created an array structure, i can enter the fields, but for some reason it dont display to screen neone know why please??? also how can i add an option to either add more records or just quit . …

Member Avatar for perniciosus
0
114
Member Avatar for vicky_dev

Hi, this program is supposed to print the first word of a string ( the whole string could be a single word as well. But it gets stuck in an infinite loop :!: : [code] #include <stdio.h> #include <conio.h> int main() { char *str = "This is a sample string"; …

Member Avatar for ajit.nsit
0
188
Member Avatar for fidelljf

how could i display the reverse the values of the array that are random numbers using pointers. So far this is what I have. it displays the array but it does not display the reverse. [code] #include "stdafx.h" #include <iostream> #include <ctime> #include <cstdlib> const size = 10; typedef int* …

Member Avatar for fidelljf
0
103
Member Avatar for ilikerps

Hello, I am having a problem with sockets. Not the sockets themselves, exactly, but more of the recieving and accepting of messages and connections (respectively) at the same time. My program runs a loop where it will wait to accept a connection (using accept()), and then wait to recieve a …

Member Avatar for ilikerps
0
131
Member Avatar for iqbal

I am try to write a C++ program that tells the eldest and youngest sibling in a family. I am write this program declaring a class.I write all code program but my program does not compiles and give oprator error. Please someone check this and make it correct.I need this …

Member Avatar for dwks
0
171
Member Avatar for Dabdob

Hi everyone.. Have you ever head of Ruby programming language? Waiting your comments and help

Member Avatar for Rashakil Fol
0
100
Member Avatar for Operator

Hey everyone, I'm writing a program for a class. It's a relatively simple C program that I'm compiling in Dev C++. I'm trying to make it as complex as possible, but I'm just a college freshman and don't know much beyond the basics of programming. I'd like to enable option …

Member Avatar for Dave Sinkula
0
160
Member Avatar for kdw3

Im trying to create a simple RLC program. Im n ot sure the best way about it, but im trying to to use to 20 character arrays. One to read in the characters to be compressed (buffer) and the other is used to as a check. Either way, the buffer[20] …

Member Avatar for Ancient Dragon
0
298
Member Avatar for vrsane

[b][color=sienna]Understanding Caching in ASP.NET. [/color][/b][b][color=#a0522d]This tutorial is based on ASP.NET 1.1[/color][/b] This tutorial explains about The Importance of Caching, Declarative Page Output Caching, Programmatic Page Caching, Caching Page Fragments, Caching Data and Monitoring Performance. Caching is one of the coolest features in Asp.net. Caching enables you to store the expensive …

0
114
Member Avatar for TimC

Now that my program is growing in size and I have quiet a few display functions is it possible to put all these display functions in another header file eg. display_functions.h My objective is to clean up my main() file so I dont have to scroll up and down all …

Member Avatar for winbatch
0
264
Member Avatar for TimC

I have 2 functions in my main(). When I call the first function void patient_main_menu(); it will leave me input all the required fields and it also will print to screen EXACTLY what I had inputed originally. When the second function is called void doctor_main_menu(); it SKIPS/ Will not leave …

Member Avatar for TimC
0
229
Member Avatar for sybil

Running PHP v5.0.4 (and I'm a newbie to php) I am setting up functions for the database and the only bit of code in the file that works is the bit that is commented out! I've tried the variables with "var " in front to declare them explicitly, I've taken …

Member Avatar for sybil
0
145
Member Avatar for paradox814

so I'm looking at the [URL=http://php.he.net/manual/en/function.setcookie.php]PHP docs[/URL] for setcookie and this is what I see: [PHP]bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] )[/PHP] they say if you want to have the cookie expire when the browser closes …

Member Avatar for Lafinboy
0
885
Member Avatar for nabil1983

Hello I done the program below for a CD database but im having a few problems with some of the functions can someone please help me out here ,, :: First this is when i enter a record i can enter the first set but when i try to enter …

Member Avatar for Dave Sinkula
0
152
Member Avatar for mark1048

[b]Introduction and Installation of PHP [/b] [B]Intro[/B] This tutorial describes: [INDENT] What is PHP. Download PHP binary version for Windows. Writing the first PHP script. Installing PHP on IIS as CGI.[/INDENT] [b]What Is PHP? [/b] PHP stands for PHP: Hypertext Preprocessor, a recursive acronym. It is mainly a Web server …

0
540
Member Avatar for iqbal

I am try to write a C++ program that tells the eldest and youngest sibling in a family. i try to write write a member function that overloads the > Operator to sort the Siblings according to their ages after making comparisons.but i am fail. please someone write this. thanks …

Member Avatar for Dave Sinkula
0
242
Member Avatar for pplqingshi007

I want to call a dos command, such as "dir/B *.txt >>a.txt", how can I realize it in C or Fortran code?

Member Avatar for dwks
0
108
Member Avatar for diddle

I would like to sort the temp.txt contains like the following. 1_r0.png 1_r10.png 1_r100.png 1_r105.png 1_r15.png 1_r150.png 1_r155.png 1_r160.png 1_r20.png I want the sorted result to be 1_r0.png 1_r10.png 1_r15.png 1_r20.png 1_r100.png 1_r105.png 1_r150.png 1_r155.png 1_r160.png like the above. Anybody can help me? I used sort -n temp.txt sort.txt But …

Member Avatar for dwks
0
89
Member Avatar for shanenin

I am not sure if any of you use a pvr. Linux offers some good choices. One of the choices is freevo, it is fully implemented in python. Of cource it uses tools like mplayer(video player) and others that are written in c/c++ . I wrote python script that makes …

Member Avatar for vegaseat
0
234
Member Avatar for iqbal

I am try to write a C++ program that tells the eldest and youngest sibling in a family. i try to write write a member function that overloads the > Operator to sort the Siblings according to their ages after making comparisons.but i am fail. please someone write this.i need …

Member Avatar for dwks
0
278
Member Avatar for Avner .H.

Hello everyone..! I'm having a problem with gtk.ListStore class, while i'm trying to insert values into it. It seems that after I create the class object and use each one of the functions which responsible for values insertion (insert, append, prepend etc...), the only value that gets inserted to the …

Member Avatar for vegaseat
0
212
Member Avatar for Avner .H.

Hello people! does anyone know in what way can you edit a default value inside a gtk.ComboBox?

Member Avatar for Avner .H.
0
172
Member Avatar for superiorss

JOB: Telecommute Python Programmer - IMMEDIATE NEED Please see [url]www.superiorss.com/jobs.htm[/url] ---- Python, Zope, and Plone Jobs [url]http://groups.yahoo.com/group/pythonzopejobs[/url]

0
120
Member Avatar for gokul

hi, i developed a chatting application.. i want to do three things in the Frame Resizing. but i don't know how to do..? any one pls help me.. 1. i tried to restrict the user cann't resize the frame less than (300,600) by setPreferedSize(). it works. but the user can …

Member Avatar for mmiikkee12
0
81
Member Avatar for nisaa15

Hi all, I am trying to take a list of words (from a text file) and then split each word into characters how can I do this? The code I currently have just reads in all the words (at, as, ate, apple, apply) found in text file and prints them …

Member Avatar for mmiikkee12
0
211
Member Avatar for evilbenking

you guys ready for this, this is the worlds bigest problem, i will be super happy if you can help me here is some code i have for a countdown script " #!/usr/bin/perl ############################################################################## # Define Variables # @from_date = (yyyy,mm,dd,hh,mm,ss); # Which means: (year,month,day,hour,minute,second) @from_date = (2006,2,15,00,00,XX); # Done …

Member Avatar for chrisbliss18
0
206
Member Avatar for mrnath

My project needs to be able to calculate percentages based upon days and bookings and i need to know, if there is a specific function that allows you to.. Enter [Month] And [Year], Count the Amount of days in that Month. Or Enter a Date ##01/01/06## And it Returning how …

Member Avatar for jim mcnamara
0
77
Member Avatar for Deepa

i have a sqldatabase in remote local system.from the web i have to connect to local remote system and copy the sqldatabase using dotnet.how to do.

Member Avatar for campkev
0
177
Member Avatar for fidelljf

I'm working on a problem where the user inputs the first name, middle name and last name and should produce the output, last name, first name then midde initial. example: input: John Smith Doe output: Doe, John S. the program should also work even if the user does not put …

Member Avatar for Lerner
0
140
Member Avatar for Manojsah

Hi All, I am implementing simple SHELL similar to bash having functionality that support some BUILT-IN commands like cd, kill, bg, fg, job, wait. It should also support piping and job control. please Guide me how to start this. Thanks manoj

Member Avatar for Manojsah
0
129
Member Avatar for Dorothy.Maseko

I have a value E101 as my empId in my employees table and now i need to increment this value, i.e. E102, E103...etc. How can i get this to work? I've used the procedure but it's not working what am i doing wrong? ALTER PROCEDURE CalcPrimaryKey AS DECLARE @numValue int, …

Member Avatar for campkev
0
179
Member Avatar for sweety engineer

hello every one, how are you?! I come back after long absent ,, and I want help from you,, just small question :D Suppose you wish to write a method that prints a heading on a new output page, along with a page number that is 1 in the first …

Member Avatar for sweety engineer
0
172
Member Avatar for skoiloth

Can one give a exat answer for this question i have a java program with hundred packages imported but iam not using any one of them in program .i have only a SOP which prints [B]hello world![/B] .the qustion is will this program is thick with all the imported 100 …

Member Avatar for skoiloth
0
98
Member Avatar for atrusmre

I have a MFC application that uses a menu, I want the menu disabled by default (easy enough), but what command do I use to reenable it? I tried [CODE]GetDlgItem(IDM_FILE_TEST)->EnableWindow(TRUE);[/CODE] The program runs up until it executes that statement, then it crashes. Any ideas?

Member Avatar for atrusmre
0
165
Member Avatar for Cudmore

This is irritating me so bad, I have spent three hours aimlessly trying to get JScrollPane to work on my JList and I can't figure it out.. here is the code, please make the scroll bars work! :sad: [CODE]public class ChatServer extends JPanel { private JList lstUsers; private JScrollPane scroller; …

Member Avatar for jwenting
0
1K
Member Avatar for diddle

Hi friends, I want to learn about basic mathematical solving(matrix, eign value) problems, using c language. Could anyone give you the site or book which dealing with easy steps?

Member Avatar for diddle
0
168
Member Avatar for bennieblanco

Hi there ,I am working on my web site and I need some help with my search result query's If you look here [url]http://www.sensitivetechnology.com/search.php[/url] and in the top search field enter 74AC86SC the resilt will show Product ID and Description ,but it won't show quantity and price And also I …

Member Avatar for bennieblanco
0
128
Member Avatar for NSCelica

Alright, This is really bothering me that I can't figure this out since I took 3 terms of Java. Alright, I have a text file that contains addresses. ex: Name 1234 5th St Orlando, Fl 19191 Name2 1423 4th ave New York, NY 09987 and so on and so on. …

Member Avatar for NSCelica
0
95
Member Avatar for blackbabydoll

[code] import java.io.*; import java.math.*; import java.util.*; public class GrowthofaFunction { public int calculateFunction(int x) { return 0; } /** * @param args */ public static void main(String[] args) { public void calculateFunction(); { final int x; final int y1; final int y2; final int y; Scanner stdin = new …

Member Avatar for server_crash
0
135
Member Avatar for Acidburn

Hello, I've figured out how to transfere a full contents of file into a buffer. Nut now say if i wanted to do: Surname[20]; Firstname[20]; Age and its stored in: user.txt like: Chilver Jackson 25 How would I get the input stream to stop filling the surname up when it …

Member Avatar for Dave Sinkula
0
120
Member Avatar for winbatch

I have developed a set of libraries/common classes that I use in all my apps (this is on unix), and compiled them into a shared object (.so). Then, when I compile my individual apps, I link the library with the executable with -L /libs/ -l mylib . When running any …

Member Avatar for winbatch
0
243
Member Avatar for ToySoldier

Hi everyone... I'm learning arrays and cant figure out why my cout is showing "scattered" output... I'll upload my infile and source code. I'll also upload the example of the correct output my teacher wants us to show on execution. I'm struggling with the "UNKNOWN" State Name listing too. I …

Member Avatar for ToySoldier
0
195
Member Avatar for ylithian

Hi all, I'm a newbie of JSP programming... I've a great problem (but for you surely is a little thing)... I get an error on the last version of Tomcat with my webapp (weird but with the older 5.4 it runs perfectly...) this line in my index.jsp is the source …

Member Avatar for jwenting
0
282
Member Avatar for mjc

I have windows xp pro i installed IIS and put the asp script in the wwwroot virtual directory but i cant run the script i dont know why i think i made everything that i saw in all websites about the subject. Some help please!! Thanks in advance

Member Avatar for Lafinboy
0
105
Member Avatar for lallous

Forgive me for my questions but i am still an extreme beginner with VB I'm just practicing some programming so i decided to code a simple program which will help users convert between different units of measurement. I started with Temperature conversion and what do u know i got stuck …

Member Avatar for Comatose
0
132
Member Avatar for Loopah

Is this possible? I would like to have a user input a sentence, and then have each word in that sentence be put into its own array.

Member Avatar for Loopah
0
312
Member Avatar for paradox814

I am trying to create a script and I want to be able to say [php]require "~/functions/functions1.php"; require "~/functions/functions2.php"; require "~/functions/functions3.php";[/php] but php doesn't seem to understand what the tilde means (and yes this for a linux server). Is there any way I can specify the home dir without actually …

Member Avatar for paradox814
0
199
Member Avatar for ban26ana

I know you don't do homework for people. But I'm not really sure where else to turn to, because my online tutor for my class isn't really helping. I'll show you the code I have. (I worked about 6 hours on it, honestly. I'm really really bad at this.) If …

Member Avatar for ban26ana
0
275
Member Avatar for bucsoldier03

i have this program trying to read from a file but i keep getting this error message what am i doing i cant figure it out. [code]#include<iostream> #include<cstdlib> #include<cstring> #include"assignment9.h" #include<fstream> using namespace std; const int MAX_LEN = 30; int numofRecords() { int numRecords; cout <<"number of courses to process: …

Member Avatar for dwks
0
110

The End.