199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for smartness

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]

Member Avatar for mrnutty
0
140
Member Avatar for Alphard

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 …

Member Avatar for TomW
0
361
Member Avatar for tomtetlaw

How do you paint pixels in NASM, could someone tell me about it and mabey give me an example?

Member Avatar for NotNull
0
2K
Member Avatar for Diamonddrake

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 …

Member Avatar for sknake
0
4K
Member Avatar for pinsickle

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 …

0
64
Member Avatar for didi00

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 …

Member Avatar for Jocamps
0
154
Member Avatar for mr_scooby

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 …

Member Avatar for mr_scooby
0
101
Member Avatar for nikolai090

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 …

Member Avatar for NotNull
0
2K
Member Avatar for serkan sendur

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 …

Member Avatar for mac1546
0
442
Member Avatar for the_programmer

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 …

Member Avatar for vjwilson
0
128
Member Avatar for shadwickman

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 …

0
102
Member Avatar for sahar54
Member Avatar for boblarson
0
66
Member Avatar for neeraj20gupta

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 …

Member Avatar for neeraj20gupta
0
196
Member Avatar for Kruptein

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 …

Member Avatar for diafol
0
80
Member Avatar for dotnabox

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

Member Avatar for Peppercat101
0
115
Member Avatar for shahab.burki

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 …

Member Avatar for Dave Sinkula
0
116
Member Avatar for Grn Xtrm

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 _ _ _ * _ _ _ _ _ * * * _ _ _ * * * * * _ _ _ …

Member Avatar for Dave Sinkula
0
4K
Member Avatar for TechSupportGeek

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 …

Member Avatar for TechSupportGeek
0
2K
Member Avatar for pgulbis

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 …

Member Avatar for saasaa1
0
219
Member Avatar for marshall31415

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 …

Member Avatar for woooee
0
189
Member Avatar for Diamonddrake

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 …

Member Avatar for Diamonddrake
0
244
Member Avatar for pelupelu

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 …

Member Avatar for woooee
0
2K
Member Avatar for hcredence

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

Member Avatar for Arcaiz
0
116
Member Avatar for locked_twilight

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

Member Avatar for locked_twilight
0
953
Member Avatar for lancevo3

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 …

Member Avatar for native
0
512
Member Avatar for Daiosmith

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 …

Member Avatar for Rashakil Fol
0
297
Member Avatar for ritu verma

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

Member Avatar for ritu verma
0
4K
Member Avatar for mactavish

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

Member Avatar for quuba
0
70
Member Avatar for MORACOM

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 …

Member Avatar for peter_budo
0
135
Member Avatar for Dixtosa
Member Avatar for amail

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 …

Member Avatar for pritaeas
0
165
Member Avatar for arindamtech

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 …

Member Avatar for cwarn23
0
73
Member Avatar for ko ko

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

Member Avatar for ko ko
0
210
Member Avatar for j_limboo

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']) == '')) …

Member Avatar for j_limboo
0
72
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
318
Member Avatar for shroomiin

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?

Member Avatar for Jocamps
0
122
Member Avatar for gretty

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 …

Member Avatar for Jocamps
0
196
Member Avatar for axed

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

Member Avatar for axed
0
250
Member Avatar for ahsanmujtaba

hi everyone...can any one tell 10 advanteges and disadvanteges of c-language plzz urgent

Member Avatar for crunchie
0
74
Member Avatar for royalbow

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

Member Avatar for royalbow
0
75
Member Avatar for brant_chen

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

0
141
Member Avatar for RoflNinja

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

Member Avatar for quuba
0
176
Member Avatar for jmark13

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 …

Member Avatar for jmark13
0
175
Member Avatar for farsen

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 …

Member Avatar for farsen
0
193
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
163
Member Avatar for Sinh

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 …

Member Avatar for Sinh
0
179
Member Avatar for priya_esu

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

Member Avatar for WaltP
0
155
Member Avatar for sara_84

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 …

Member Avatar for reyatata
0
990
Member Avatar for ankiwalia

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

Member Avatar for ankiwalia
0
209
Member Avatar for ShadowScripter

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

Member Avatar for triumphost
0
214

The End.