199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 . … | |
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"; … | |
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* … | |
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 … | |
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 … | |
Hi everyone.. Have you ever head of Ruby programming language? Waiting your comments and help | |
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 … | |
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] … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
I want to call a dos command, such as "dir/B *.txt >>a.txt", how can I realize it in C or Fortran code? | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello people! does anyone know in what way can you edit a default value inside a gtk.ComboBox? | |
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] | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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. | |
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 … | |
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 | |
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, … | |
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 … | |
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 … | |
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? | |
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; … | |
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? | |
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 … | |
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. … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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. | |
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 … | |
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 … | |
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: … |
The End.