199,114 Archived Topics
Remove Filter ![]() | |
Can someone help me to solve this algorithm, I tried our school book but can't understand it. I'm not good at math! Should be simple, but i just can't understand it! [IMG]http://i38.tinypic.com/5wdau.jpg[/IMG] | |
Hi everyone! I am having difficulties in terms of manipulating data using datagrid. So my problem is this, I have 2 forms;namely, a form for logging in, then secondly, a form which is similar to an inbox. I have a datagrid in my inbox to call on records in my … | |
How do you paint pixels in NASM, could someone tell me about it and mabey give me an example? | |
I recently started messing with tcp socket programming. I hacked up a little instant messaging application that seems to work has some little problems but the world isn't in need of more IM clients. but I wanted to know a good practice for sending large files over tcp sockets. i … | |
Ok guys, i'll say this first. I got it 99% working (100 % working if I test it with the much shorter name list that we are suppose to use for the homework.) For some reason the code skips the very last name. Honestly, I think I am over thinking … | |
Hello everyone, can someone help me with this please? Create class which will create tables in data base (Microsoft Access). About the tables: number of columns, type of data, lenght of the data. And mantaining the information (the data) in the tables- add data, delete data and edit data. So … | |
Hi, I have 2 tables that I have made using sql create table which seem to work ok until I try to insert data into the 2nd table then it throws a: didn't add 1 record due to key violations. When I use the design wizard and do exactly the … | |
Hi there, I'm kinda new to making asm programs and i was wondering if you could make a countdown timer where the user is asked for the input and it is displayed in countdown, lets say a max of 59 secs. I was only able to make one that counts … | |
hi guys, do you have any valid, tested example about how to run windows installer in silent mode? i want to see an example which to be told to six year old. i am fed up with implicit stuff, aliases and all other ambiguity. Thanks. By the way, the english … | |
hey; I'm creating a image database. I want each user to register, login and be able to upload images. I however, do not know if each user needs to have their own database for images to be stored in or if I can grab the image via foreign ids from … | |
Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script … | |
I have access 2003 and sombody send me an access 2007 db . how can I open it? | |
i m a stater with jsp .... have installed Tomact 5.0.28. Its displaying server page when i type [url]http://localhost:8080[/url] now i have made a simple context.jsp file----> [code=JSP]<HTML> <HEAD> <TITLE> Context </TITLE> </HEAD> <BODY> <% out.println("First JSP APPLICATION"); %> </BODY> </HTML>[/code] placed it in a folder ch in webapps folder … | |
I got a table that is made up as followed: [icode=table]region_id,...nation_id[/icode] the regions are countries, the nations are names users choose. I want to have a world map showing which nation has which region, Is this possible? I'm not sure how to do this, but maybe something with <map> and … ![]() | |
Recently I was assigned a program for class and I've been having some problems. At my old school, the teacher worded the instructions differently, so I am not entirely sure how to translate the following lines of instruction into the proper setup for my structs, arrays, and shorts. Instructions: 1. … | |
Hi, I am newbie to network programming in C. I want to implement a file transfer program in C on a Linux environment . I am sending the file name to the server and tries to print it on the server. But the server doesn't print it. I think I … | |
Hello friends. I'm trying to write a program that accepts an odd number from 1-9 and outputs the diamond of asterisks as follows [code] user enters 5 _ _ _ * _ _ _ _ _ * * * _ _ _ * * * * * _ _ _ … | |
Hello guys, it's me again :) This time I want you to show me a way to hide the Windows taskbar in Visual Basic 2008. To be more specific, I created a button in my application that says "Enable Full-Screen". The code I used so far in order to make … | |
Hi all I am in the process of designing a database structure for a very common use: to store client data such as names, addresses, company information, etc. I have been reading up a lot efficient database design and am trying to normalise to 3NF. As I am new to … | |
I am working with classes for the first time in Tkinter. I have no experience working with classes before this, although I have had experience with basic coding syntax before. I am trying to make a function plotter. If I have a class PlotApp. This is my the class that … | |
I have been working with desktop server/client applications today, making pretty good progress when I came across a problem. the webserver I use for my website is shared and doesn't allow me access to start programs so I must use my desktop as a server. The problem with this is … | |
I am trying to build a histogram. So far I have coded the following: from Tkinter import * def plot(data): numberOfBins = len(data) root = Tk() width, height = 200, 630 #taille de la fenetre die = Canvas(root, width = width, height = height) die.pack() numberOfStripes = 2 * numberOfBins … | |
Basic structure of main.c: int main () { Open the file data.txt and obtain the file handler fh; Create a thread my_thread using pthread_create; pass fh to my_thread; Wait until my_thread terminates, using pthread_join; Print out how many lines exist in data.txt. } Basic structure of thread_function.c: void *count_lines(void *arg) … | |
package MyJava; //change package name according to what the name of the package //the class would be installed to import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public class [B]Calculator[/B] extends JFrame implements ActionListener{ private JTextField displayText = new JTextField(30); private JButton[] button = new JButton[16]; private String[] keys = … | |
I am working on a doubly linked list assignment for my class and I am getting a segmentation fault on my test for the copy constructor. I don't know if the problem lies within my copyList method or my copy constructor logic. Any assistance be great. Here is my header … | |
Hello all, I'm having some trouble with a project I am doing and I was wandering if anybody could help me/point me in the right direction. So the gist of what is happening is I have a program that is supposed to be flipping 2 coins independently of each other … | |
[code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim lCount As Integer For lCount = 1 To 5 ListView1.Items.Add(lCount.ToString) Next If ListView1.Items.Count > 0 Then ListView1.Items(0).Selected = True End If [/code] I have even write the code to select the first node,i want first row … | |
i am new in j2me programming and i want to code a file compression/decompression in series 40 phones. anyone could help me or could share their codes with me. thank you very much | |
I have this JSP code that i found online and it seems to work cuz it loops thru the xml file and writes the HTML code for the TRs and TDs but for some reason is not displaying the data. Am i missing something? [CODE]<%@page import="org.w3c.dom.*, javax.xml.parsers.*" %> <% DocumentBuilderFactory … | |
can you tell me what differences are between c & c++? | |
hi. I have been working on this page for a while and all I get is errors...(this time: Parse error: syntax error, unexpected $end in /header.php on line 291) can someone please help to fix this? [CODE]<?php class headers { function startheaders() { global $ir, $set; echo <<<EOF <!DOCTYPE html … | |
Hello Php Champs, I am new in php , I am getting this problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent I have written the following code at the top of header.php [code=php]<?php ob_start(); session_name(); session_start(); ?>[/code] I am new, failed to understand what could … | |
Hi Everybody.. I installed wamp server and Mysql services doesn't start. I've found on Google Search. and nothing to solve my problem. Can anyone help me? Thanks.. | |
Please advice once the session is created by A client and B client logs in with the same username and password I want to logout A client Is this possible? [CODE] <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) … | |
hi i m sorry for this noob question but there something i don't get i was reading abt File format like PE for example i was wondering how is C unverisal on MAC win and unix since they use diffrent file format does C takes care of each file format … | |
hello everyone. when working with objects, how would one specify that the input of negative numbers is not allowed in the constructor part of the code? | |
Hello I'm new to java & I am trying to convert a float to a string in my simple program. But I get an error on that line. Can you tell me why or what I need to do to fix it? Maybe I haven't imported the right things or … | |
#include <iostream> #include <sstream> #include <fstream> #include <vector> #include <string> using namespace std; class PriceFeed { public: PriceFeed(vector<string>& tickers) { // init(tickers); } } int main () { vector<string> tickers; tickers.push_back("AAPL"); tickers.push_back("XOM"); //PriceFeed(tickers); PriceFeed pf = new PriceFeed(tickers); [COLOR="Red"]// Error on this line[/COLOR] system("pause"); //return 0; } Can you please … | |
hi everyone...can any one tell 10 advanteges and disadvanteges of c-language plzz urgent | |
I have a calculator program and I want to add a progress bar. The progress bar is for visual effects only; I want it to animate for just enough time so that it will be noticed everytime I hit the "=" button. I'm a newbie in making forms and actually, … | |
[B]Why I can't compile a helloworld with Unicode supported by wxDevC++? [/B] I made a test programm. But I can only compile it by GCC compiler (library type is static lib) without wxwidgets Unicode support. If I checked the Unicode support at compiling setttings, it said ld error, can't find … | |
Hey, ran into a little trouble with this, keep getting this error. I went over it many times, but can seem to find where the curly bracket is missing or if I have too many or so. [CODE]import java.lang.*; /** * Carries out the instructions from all the objects. * … | |
Maybe someone can help me with this. I've been working with python for less than a week, and it's my first programming language. I'm looking to figure out some basic things in python for an algorithm I wrote in a pseudo-code. I'd like to know how I can take an … | |
Hi. I want to compare two arraylists with each other, but not with the compare method. The problem is that i am using .net remoting, and i gotta keep a clients arraylist updated. And it would be a waste of bandwith to send the arraylist as an object over to … | |
Topic The topic of this question is: JSF_navigation and database connection Hello and Thank you in advance for any assistance. [b] System info: [/b] Netbeans6.7.1,jsf1.2,two MySQL databases.(one for login one for searches) [b] The purpose of this post is: [/b] Try to get the login jsp to switch to the … | |
Okay, we are on the third assignment in Java, Java, Java. I do not understand the book that well and while I have been searching google for something explained in simpler terms it hasn't came up. We have two files: OneRowNim2.java and Assign3.java The specifications were: You are to create … | |
Hi, I need to copy a file from one location say c:\a\abc.txt to c:\b\abc.txt. I used the following below code #include <stdio.h> #include<fstream> int main() { if ( rename("c:\a\abc.txt","c:\b\abc.txt") perror( NULL ); system("pause"); return 0; } when i ran this code, the original file in the folder "a" gets deleted. … | |
i found this code in C++ but i can't convert it from C++ to C, help me please i don't know C++. [code=cplusplus] #include <iostream> #include<stack> #include<stdio.h> #include <string.h> using namespace std; #define MAX 10000 /*class node{ int */ unsigned int graph[MAX][MAX];// = { { 0, 1 },// 0 1 … | |
Hi all, i am new to java servlets. i simply created a login form with username and password fields. now when i deployed it on tomcat server, after i click on submit button it gives the following error: java.sql.SQLException: Column not found codin of this login servlet is attached below. … | |
Hi, [? 1] How do I create an API for a game? [? 2] If this subject is too hard for a novice/intermediate programmer, where do I best find tutorials/resources about API's? [1] I asked myself this question, as well as google, yet no easy answers or explanations popped up, … |
The End.