199,113 Archived Topics
Remove Filter ![]() | |
Hello, Finally I am down to the last issue with my program: text file writing and reading. My file has a function whose ofstream object does work and produces a text file for printing called "print". This function is the printTextFile(fstream &readFromFile ) function. But initially it is supposed to … | |
Hey everyone, I am on a month long project on a coldfusion script I have to work on. Bare with my noobness here :P Basically here is the jist of it. -- I have a huge sql database filled with various random people information, such as their phone #"s, email … | |
i m not able get the session variables on the other pages....................... if i use session_start(); it gives error:header already sent............... kindly help me ..................i m stuck.!!!!iiii!!!!! | |
I have mentioned this before, I have to use turbo c++ in class. [B]Problem:[/B] I wrote the following code & to my surprise the code passed the compilation without any problem. I was even more surprised with the output. I just don't understand whats happening. This code won't compile in … | |
I'm trying to access a cgi script when a form is submitted. With that script, I want to display a page that basically says, "Is this info correct?" and show them what they entered. Then, if they hit "Yes", I want to send an email to myself with their info. … | |
hi well i just started learning java. and up to now we did exceptions and loops and most of the java concepts.. and i used J creator lite version. but in my project i have to make a interface. so do you have any idea how to make it done … | |
I'm only 11, but I know html, CSS, javascript, and C#. I was wondering, [B]if Java is like C#[/B], as it looks pretty similar, I could just start coding :)! -worldwaffle | |
Hello, I am working on a very simple bootloader for my 80386 AMD CPU in assembly, my assembler is NASM and I am wondering why this code is not working properly. When I boot from my floppy disk It says reading DMI pool data and than an error. Is it … | |
Please, can you help me to solve these problems??? I've compiled codes on linux with make command and.... THANKSSSSSSSSSSSSS trinity@trinity-laptop:~/a-saodv$ make gcc -Wall -pthread -g -DDEBUG -c -o main.o main.c main.c:3:20: error: config.h: Nessun file o directory In file included from main.c:12: /usr/include/linux/wireless.h:660: error: expected specifier-qualifier-list before ‘__s32’ /usr/include/linux/wireless.h:673: error: … | |
Hello, I am using the RE, Regular Expression Module. The operation I need to perform is a search; The syntax for which goes like this re.search(pattern, string, flags) #flags being optional where 'pattern' is the string I am looking for in 'string'. My problem is I want to look for … | |
Hi, Im trying to develop a game with Gamemaker 7, problem is I dont know a bit of programing, and I dont know were to get things like sprites, backrounds, etc, is there any way I can rip sprites from a website? I would like to make an turn-based RPG … | |
I'm working on making a server control panel in python (like cpanel, plesk, etc) and wanted to know if any one knew of some tutorials on using bash and python together for creating users and stuff on a *nix system. Also if any one knows of a tutorial on using … | |
Hi, What should i do for "logout link" to clear "login session" because, when i click "logout link", i can come back to same page without any problem with clicking on back button on the IE. Thanks | |
how to cast a floating point to display an fraction form?? is there a way?? | |
Hi; This is my first project. I am developing a project: student feedback system for an institution. Here each student will get an userid and password . There are six tables in database to support project 1. User—consist of user information like username, password etc. 2. Groupid—consists of various groups … | |
hi every one i need your help to now if there is a way in c# can write int numbers like this 4 -> 0004 or 3 -> 0003 or 25 -> 0025 or 123 -> 0123 or 1234 -> 1234 (no change) i want to generate ID that ID … | |
I am having some issues. I was trying to use my setToolName function to copy the string into the array – this would check if the string was too long. But then it does not capture 2 words, say if the string is “lawn mower”. So I started to use … | |
I have a little problem with decision tables. I do under stand that for every 2 conditions there should be 4 possible outcomes or true/false condidtions. I have this telephone problem where the telephone company charges .10 a minute for all calls outside the callers area code (2 outcomes) and … | |
My team( all freshers) are developing a project that will involve many Modules. I want to know if it is a good practice to have different databases for a single project!!! I know that this could lead to a bad design, if you make the wrong decisions of placing the … | |
I have a project I am currently working on and I need users to be able to chat online amongst themselves. Please experts, what are the basics I need to know and implement so that this becomes possible.:?: :cool: | |
hey guys just joined the forum and so far it looks very promising :D got a quick question for everyone that can help, i am trying to organize a txt file to output the "gpa" from highest to lowest. Now this is what i have so far... [code]#include <iostream> #include … | |
hi i need help with a web page i am making the index page is a common subscription form for students you enter name email and student number, the page validates them then send them to a JSP page. the problem is i am not good at all with JSP … | |
Hello, im new to working with windows controls and im trying to create a simple listbox inside a main window. It compiles fine, but when i run it, the listbox is all screwed up and im fairly sure that my error message is trying to pop up (but for some … | |
Without getting into too much detail about my own history, I'll be a junior in college this fall semester. My Bachelors Degree is "Computer Science" (the other degree offered being "CS - Information Technology" which is a bit more hardware based). My end goal is to be a programmer (on … | |
I'm doing a program on the addition of 2 Sparse Matrices. This is what I have coded- [code=java] import java.io.*; class Sparse { int r,c,m[][],s[][],count,rt; static int res[][]; public Sparse() { count=0; rt=1; } //Take the matrix public void read() throws Throwable { BufferedReader buff=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the number … | |
The project I've been developing is Web TORPG where users develop their character(s) appearance and fighting tactics, adventure/discover new places, take on quests, join forces or go solo to battle against monsters/bosses or even other players, participate/effect the storyline via events, create/raid guild castles, steal from stores/players, open up shop, … | |
i was trying to write a code for counting the number of ocurence of a particular word from a sentence.it gives me a wrong output it starts checking for the same alphabets in the sentence rather than the word. [CODE]import java.lang.String; public class StringCount2 { public static void main(String args[]) … | |
Hi All, When i tried to execute my ASP.Net Application, I got the Runtime error in IE " 'null' is null or not an object ". Im using Visual Studio.Net 2005 and using some Ajax Controls in my application. If i click some Events, it shows the above message. Please … | |
Dear DaniWebbers, If you would all be so kind to help me, I have a problem here and I am trying to know why this happens... In a large application I am working on, I need to have a struct of some sort with a sub struct-array and the sub … | |
Hello all. I would like to calculate, assign and do a lot with my program (java). Here are my codes. import java.util.*; public class Test { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String[] s = new String[9]; int a; for(a=0;a<9;a++) { s[a]=scan.next(); } } } … | |
i'm doing a online hotel reservation project using asp.net Vb script now. but i'm facing problem that once the users has submitted their reservation form. how can i redirect the user to another page while the data can be inserted into my MS SQL database? hope somebody can help me … | |
Hi all, I am getting the content of an object which is returned as [B]ByteArrayInputStream[/B], and then I am assigning to another object, which accepts input as [B]ByteArrayOutputStream[/B]. Can someone please suggest as how can I convert ByteArrayInputStream to ByteArrayOutputStream... Here's my code: [code=java] ByteArrayInputStream b_input = source_object.getContent(); // how … | |
In my development com there's no issue of handling 4MB of text file data but it took about 1-2mins for my program to finish. I got a few questions here: Q1-> how much can this string "line" store? Q2-> should i use sstrm.clear() and line.clear() inside the while loop or … | |
currently, i have got code that will let someone search a table in a database and return any possible recordsets into a listbox. however, i would like to be able to click on any of those items added to the list box, so that it will return other data from … | |
[code] <%@ page import="java.sql.*"%> <%String fname=request.getParameter("name"); String lname=request.getParameter("last"); String id= request.getParameter("id"); String pass=request.getParameter("password"); String pass1=request.getParameter("passcon"); String month=request.getParameter("Months"); String date=request.getParameter("date"); String year=request.getParameter("year"); String gender=request.getParameter("gender"); String country=request.getParameter("country"); %> <%=try { Connection c=null; Statement st= null; DriverManager dm=null; String pass=""; String user=""; PreparedStatement pt=null; String url="Jdbc:Odbc:jaggi"; Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); c=dm.getConnection(user,pass,url); if(pass.equals(pass1)) { pt=c.prepareStatement(insert into Registration … | |
Which keyword should be used in a SELECT statement to retrieve only parts of the result set? | |
Hows it going everyone. Right now I am working on a project with VS2008 that parses directory and subdirectories and lists all filenames/paths/size/etc. This is working correctly, but I also need to parse the contents of zip files without actually unzipping them. What would be the easiest method to return … | |
Hi daniweb users My name is luc. I'm from Germany. Before I have started with Python I used PHP. There you have the funktion [B]urldecode[/B] to decode a url string or [B]urlencode[/B] to encode a url string. I don't really know I a function like that in python. can you … | |
Hi all, Im editting a whois script so when it returns the details of the whois search it returns one positive answer if the "loggedin" cookie is found, and another positive answer if it is not, and a negative one if the domain is taken. The whois script works fine … | |
Hi all, I have the code for uploading the file......but to store the uploaded file in database and how to retrieve the uploaded file...... i want the code and logic Thanks in advance | |
I'm almost finished with this but got stuck in trapping it when 1)there is a winner 2) a player attempts to enter a position that has been previously filled [CODE]#include<stdio.h> #include<conio.h> display(); game(int turn, int board[3][3]); output(int board[3][3]); main() {int turn=1, board[3][3]={0}; clrscr(); display(); while(turn <= 9) {game(turn, board); turn++; … | |
iam using two checkbox inside the gridview, when i select one of the checkboxes the second box should automatiocally checked Thanx in advance Nithya | |
Hi, I've just finished working on my little project and I've already compiled it. But when I run it and input necessary data, I get "out of memory" error. The program suppose to deal with a lot of information. How can I fix that problem? | |
How upload file to mysql db in server and show to link in next page the uploaded files .. | |
Hi, i have a form in VB. iam using SQL Server as Back-end. And connection string and all works properly. the only one thing is i want to retrieve data from database into a combobox. i'am using this code.... [ dim i ] [ for i = 0 to Combo1.ListCount … | |
Hi everyone, I'm trying to fix this issue .... I'm really annoyed about this... I'll explain you: I have a main computer, called "maniacpc" wich it's choosen ip its: 192.168.0.106 (constant ip) and i have installed windows xp with iis 5.1(updated till now 06/13/2007), i created my applications using postgresql … | |
Please some one help to build my concept that what are com components. | |
hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar | |
I want to learn Java web development. What should I study first? JSP, servlets, and JDBC? Or should I jump right into learning to use environments like Struts, JSF, Spring, Hibernate? Which of these would you recommend, if so? (I'm from an ASP.NET/C# background, but I want to start learning … |
The End.