199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for QuantNeeds

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 …

Member Avatar for Ancient Dragon
0
321
Member Avatar for RedDem0n

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 …

Member Avatar for hinde
0
147
Member Avatar for ramseswar

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!!!!!

Member Avatar for Shanti C
0
92
Member Avatar for Prabakar

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 …

Member Avatar for Prabakar
0
151
Member Avatar for kahaj

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. …

Member Avatar for kahaj
0
144
Member Avatar for lich

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 …

Member Avatar for sciwizeh
0
90
Member Avatar for worldwaffle

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

Member Avatar for Alex Edwards
0
151
Member Avatar for cam875

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 …

Member Avatar for cam875
0
78
Member Avatar for edel

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: …

Member Avatar for CoolGamer48
0
297
Member Avatar for 2ashwinkulkarni

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 …

Member Avatar for jlm699
0
109
Member Avatar for Malwarehunter94

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 …

Member Avatar for ripsocrates
0
147
Member Avatar for joey101

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 …

Member Avatar for ovoid
0
762
Member Avatar for veledrom

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

Member Avatar for veledrom
0
104
Member Avatar for piods

how to cast a floating point to display an fraction form?? is there a way??

Member Avatar for ArkM
0
133
Member Avatar for guravharsha

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 …

Member Avatar for peter_budo
0
134
Member Avatar for IT_Techno

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 …

Member Avatar for vckicks
0
126
Member Avatar for QuantNeeds

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 …

Member Avatar for QuantNeeds
0
141
Member Avatar for andy4919

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 …

Member Avatar for andy4919
0
128
Member Avatar for rich_m

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 …

Member Avatar for rich_m
0
101
Member Avatar for jamello

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:

Member Avatar for jel3
0
112
Member Avatar for jhonnyboy

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 …

Member Avatar for jhonnyboy
0
129
Member Avatar for Sharaiha

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 …

Member Avatar for peter_budo
0
114
Member Avatar for darkivader

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 …

Member Avatar for mitrmkar
0
168
Member Avatar for Natso

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 …

Member Avatar for ripsocrates
0
118
Member Avatar for tuse

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 …

Member Avatar for tyagi
0
256
Member Avatar for Punky

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, …

Member Avatar for ripsocrates
0
114
Member Avatar for newtechie

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[]) …

Member Avatar for tyagi
0
157
Member Avatar for satheeshmanian

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 …

Member Avatar for MattEvans
0
322
Member Avatar for mayoub

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 …

Member Avatar for mayoub
0
145
Member Avatar for Dr Windows (XP)

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(); } } } …

Member Avatar for sciwizeh
0
109
Member Avatar for jeffchan86

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 …

Member Avatar for tuse
0
238
Member Avatar for just asif
Member Avatar for Ezzaral
0
96
Member Avatar for new_2_java

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 …

Member Avatar for new_2_java
0
1K
Member Avatar for integer*09

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 …

Member Avatar for vmanes
0
124
Member Avatar for skalra63

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 …

Member Avatar for suchisuchi07
0
229
Member Avatar for Neerajjaggi

[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 …

Member Avatar for peter_budo
0
95
Member Avatar for vibhashin
Member Avatar for cellus205

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 …

Member Avatar for cellus205
0
205
Member Avatar for skymuss

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 …

Member Avatar for Gribouillis
0
323
Member Avatar for MDGM

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 …

Member Avatar for MDGM
0
193
Member Avatar for ishlux

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

Member Avatar for Shanti C
0
83
Member Avatar for makubexiii

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++; …

Member Avatar for makubexiii
0
114
Member Avatar for Nithya.G

iam using two checkbox inside the gridview, when i select one of the checkboxes the second box should automatiocally checked Thanx in advance Nithya

Member Avatar for Kusno
0
106
Member Avatar for deftones

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?

Member Avatar for deftones
0
42
Member Avatar for psathish2

How upload file to mysql db in server and show to link in next page the uploaded files ..

Member Avatar for shadow_kira
0
118
Member Avatar for preethi_ga

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 …

Member Avatar for tchawurura
0
201
Member Avatar for ManiacPC

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 …

Member Avatar for Ricendithas
0
154
Member Avatar for FaridMasood
Member Avatar for Ramy Mahrous
0
89
Member Avatar for knrakesh

hii, can anyone please see the doc in this the del is not working pleaseeeeeeeeeeeeeeee Rakesh Nagekar

Member Avatar for Shanti C
0
85
Member Avatar for hapax

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 …

Member Avatar for stultuske
0
102

The End.