199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yaragalla_mural

Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance.

Member Avatar for yaragalla_mural
0
336
Member Avatar for jdm

I'm helping a friend out with some code and I'm having the hardest time figuring out how to do this. I know it is simple, but for the life of me I can't remember how to do it. Any help or advice would be welcomed. Thanks for the help in …

Member Avatar for jonsca
0
119
Member Avatar for Iam3R

[CODE] enum fivenums {Z,O,T,TH,F,FI} int main() { char ch; int num; do{ scanf("%d",&num); switch(num) { case Z: printf("ZERO\n"); break; case O: printf("ONE\n"); break; case T: printf("TWO\n"); break; case TH: printf("THREE\n"); break; case F: printf("FOUR\n"); break; case FI: printf("FIVE\n"); break; default : printf("Invalid\n"); break; } getchar();// to eat '\n' terminator so …

Member Avatar for kvprajapati
0
83
Member Avatar for satedoflove14
Member Avatar for smjabbar

Dear Sir, I would like to change page setup to be landscape to print a data report in VB6. I need the full details.Is there is procedure or function pls. help me how to make it, where to write the code Thank you in advance A.jabbar

Member Avatar for abu taher
0
105
Member Avatar for RThomasM

Hey there, so I am new to this forum and to C++ it is my first year in computer science and I am having some problems with this assignment, which is easy enough but I have hit a hitch and would appreciate if someone could point me in the right …

Member Avatar for RThomasM
0
203
Member Avatar for codewalkz

I am currently working on an MLM System which supports Unilevel with Dynamic Compression. So far, though the below code looks really messy, it was able to get what I want which is to get the Unilevel 8 Levels Deep. The system should run this way: 1 is sponsor of …

0
212
Member Avatar for SamY

I mean we create our own game engine which works well with vectors and can mainpulate the 3d card and sound cards.And works with USB control pads

Member Avatar for Pokeking
0
220
Member Avatar for mtusk

I have a program, call it X, that uses two classes: call them Y and Z. X uses Y which uses Z. Y contains an array of Z's. How do I construct an array of Z's and still allow me to set Z's variables. For example I know how to …

Member Avatar for mtusk
0
119
Member Avatar for DaBunBun

For some reason netbean hates me, as well as eclipse. So i set cygwin as the compiler and debugger and everything, and tried a simple print statement and all i got was: The system cannot find the path specifiedProcess is started in an external terminal ... RUN FAILED Any help …

Member Avatar for DaBunBun
0
131
Member Avatar for Sabaa

Hi, My problem is that in my C++ program (not written yet!) I have to login to a website (like [url]www.example.com[/url]) first. Simply I don't know how to do this! I did not find any useful tutorial or code by searching. I would be so grateful if you can help …

Member Avatar for taylorc8
0
235
Member Avatar for klackey19

Hey everyone, I'm coding a program in C and have a pointer called pRoot. I need to do (2 * pRoot) .. but the compiler says I cannot. Is there some legal way of implementing this pointer arithmetic? Thanks in advance for your help!

Member Avatar for Narue
0
142
Member Avatar for tootaa

hi every body i have a problem whit the condition to check if the element is duplicate element or not this is the problem Duplicate Elimination Use a one-dimensional array to solve the following problem: Write an application that inputs 10 integers. As each number is read, display it only …

Member Avatar for mrnutty
0
954
Member Avatar for Doughnuts

Hello, I am trying to get the coordinates of the cursor when the user left clicks the mouse. I read that you can use this: [CODE]if (WM_LBUTTONDOWN) { int x = LOWORD( LPARAM ); int y = HIWORD( LPARAM ); }[/CODE] However, when i compile, it gives me this error: …

Member Avatar for Intrade
0
4K
Member Avatar for SKANK!!!!!

like i need to copy something to my clipboard by pressing a button. i can echo the value into a hidden form input field i guess. how can i get the value copied to clipboard?

Member Avatar for SKANK!!!!!
0
139
Member Avatar for jonathanYoung

problem; im currently in highschool, and the school uses an older version of visualc++ that does not support strings with all of the functions. the function im talking about is the one when you try to "open" a file to write onto it. what i need to do is find …

Member Avatar for Doughnuts
0
118
Member Avatar for smartness

Hi DaniWeb users. I am creating a mp3 shop cart script, and I need a function to create a unique id of multiple items in the cart. for example in cart are these id's: [U]1,6,21,5[/U] base64 would make this: [U]MSw2LDIxLDU= [/U] I need it only alphanumeric as it is ment …

Member Avatar for kireol
0
84
Member Avatar for tomtetlaw

What kind of debugging features are there in VC++ 2008? I'm looking for things like: -Something to show which functions are being called and what functions are they calling, but limiting what it shows to only functions in my source files. -Something to show me if there are any recursive …

Member Avatar for jonsca
0
98
Member Avatar for sexyzebra19

I've put so much effort into making this program and it keeps crashing! I previously had the two functions in separate files which were working fine, but I combined them into 2 - the poly function is still working fine, but the bisection function crashes at the line: "Enter the …

Member Avatar for jonsca
0
126
Member Avatar for Member 164344

Hello, I'm having some problems in decoding urls on IIS6. When I click on URL UTF-8 encoded, resulting querystring replace any non english chars with question marks. For example, if you open [url]http://www.qmpeople.com/[/url] you can see a link in the middle of the page [url]http://www.qmpeople.com/tag/%D1%84[/url] containing an UTF-8 char properly …

Member Avatar for gdarcan
0
658
Member Avatar for Nada_ward
Member Avatar for davidm23

Hi dear friends, a few days before I did a work in simple html and css. As the same service is going to add some database operations they have asked me to re do the same with php. Is it possible to add the new pages alone in php. Or …

Member Avatar for davidm23
0
182
Member Avatar for tomtetlaw

I've heard that compilers are built by compiling themselves? How can they possibly do this, how would you get it to compile itself?

Member Avatar for Narue
0
95
Member Avatar for fawkman

Hey guys I am Using Oracle APex and have created a some tables running SQL commands. I am now trying to INSERT multiple rows of data into one of the tables but am running into issues. I firstly tried the following: [CODE]INSERT INTO stock_item_table (stock_item_no, item_desc, item_price) VALUES(11,'item1',12); VALUES(12,'item1',22); VALUES(13,'item1',32); …

Member Avatar for fawkman
0
1K
Member Avatar for neithan

Hi, i'm just mixing file handling and struct types and pointers to learn, but i'm a little stuck on this. I might be doing something awfull i can tell, sorry for that. Can anyone help? What's the best way to pass [CODE]#include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> struct …

Member Avatar for Narue
0
117
Member Avatar for sexyzebra19

This program was working fine yesterday, and then all of a sudden today it isn't working and I haven't changed anything?! It complies OK, but for for easy functions that I enter and know the roots of, it says there is no root. Can anyone please explain what is going …

Member Avatar for sexyzebra19
0
155
Member Avatar for levsha

I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit …

Member Avatar for levsha
0
127
Member Avatar for Jaydenn

Well, I have a main form (Form1) and a second form (Form2) which is a preference box. Anyways, I made a combobox and a button on the second form, and a button on the first form which opens up the new one. Everything works well until you try to use …

Member Avatar for Jaydenn
0
97
Member Avatar for ellimist14

I have my BST built and it's working. But the only thing that doesn't seem to be working are the following functions which I built to print out the maximum and minimum of the gpa's (each tree node contains a struct of an ID, gpa, and age). It prints out …

Member Avatar for Intrade
0
139
Member Avatar for Archenemie

Just like in the title, instead of renaming the files in the "target folder" it just renames all possible files in the python directory, and im not sure how to fix it, although this is my best attempt. [CODE] #!usr/local/bin/python import re, os from os.path import join as pjoin targetfolder …

Member Avatar for Archenemie
0
197
Member Avatar for Stefano Mtangoo

Hello, is there any other site that is dedicated on python exercises from standard Library to external? I plan to start doing exercise to measure my muscles in python and enrich my understanding! I have seen here some exercises which I'll do them (on stickies) Thanks all Steve

Member Avatar for elasolova
0
184
Member Avatar for tkud

Hi everyone, I just downloaded and registered Visual c++ 2008 express edition so that i can learn win32 programming. How do I get started? any help will be very much appreciated(I have been using borland C++ !!) [I]<<fake signature, [URL="http://www.daniweb.com/forums/profile.php?do=editsignature"]click here[/URL] to make a signature>>[/I]

Member Avatar for jonsca
0
99
Member Avatar for Der_sed

What would be the psuedo code to : recursively draws squares. The picture shown below depicts squares drawn recursively on each of the 4 corners of a square. • The base case is draw nothing for n = 0. • The reduction step is to draw, on each corner of …

Member Avatar for sirdanman10
0
2K
Member Avatar for Instinctlol

So I made a class with an array with a bunch of numbers. I want to know how I can add up all those numbers and get an average for them. [CODE]#include <iostream> #include <string> using namespace std; class WeatherStation { string StationDesignation; //Identifies the station string StationAgent; //Who's responsible …

Member Avatar for jonsca
0
102
Member Avatar for Soileau

I am trying to write a function to add two arrays. The catch is that the arrays have to parts of a structure. So here is what I have so far: [CODE]#include <stdio.h> struct poly { array1[]; array2[]; length; }; void polyadd(int array1[],int array2[],int length) { int i; struct poly …

Member Avatar for dan63043
0
126
Member Avatar for Diamonddrake

When I installed windows 7 I opted to do a fresh clean install, but the key I purchased was an upgrade key and required that I performed an upgrade. The disk itself was bootable so I performed a clean install and modified some registry keys and ran a vb script …

Member Avatar for DdoubleD
0
105
Member Avatar for pac-man

Hi guys, I'm banging my head against the wall with this one. I want to sort a <string> vector which contains the following: "Pen 0.99" "Pen 0.99" "Paper 1.50" "Pad 1.99" "Paper 1.50" Into a vector which would sort it as follows: "Pen 1.98" "Paper 3.00" "Pad 1.99" I know …

Member Avatar for mrPaul
0
318
Member Avatar for FanatiK

Hi, I'm new to this site and also to c++. I am currently in the process of learning c++ and would like the ability to read certain portions of a windows-based registry hive. I have found the source code for and compiled a working program that outputs all values within …

Member Avatar for FanatiK
0
140
Member Avatar for contactnaveen

I want a shell script program for this purpose and here is my requirement. I have two files 1.txt and 2.txt In 1.txt I have the following contents: label.abcd.1 = asdfgf label.abcd.2 = qwerqwe label.abcd.3 = zczxvzx label.abcd.4 = ;lkjj;l label.abcd.5 = pupoiup and in 2. txt I have the …

Member Avatar for issue9
0
234
Member Avatar for c.pentasuglia

Okay so far this is what i have, i havent really gotten very far but id like to get the layout all set before i try to tie things together. The problem im having is getting the JButtons colored. In order for my game to be like the game simon …

Member Avatar for Ezzaral
0
113
Member Avatar for RogerBailey

I am a student This is my very first post in this forum. I have been taking this class in C# concentrating on window forms. I have for the most part been able to figure out how to do what I have been assigned without outside help. My grade to …

Member Avatar for ddanbe
0
180
Member Avatar for Mitja Bonca

This is the code I have: [CODE] public class BusinessLayer { public Employee[] GetAllEmployees() { Employee[] employees; DataSet myDataSet = DataBaseLayer.GetAllEmployees(); /// How can I convert the myDataSet to Employee List return employees; } }[/CODE]

Member Avatar for DdoubleD
0
2K
Member Avatar for mitchstokes225

Here is my assignment. 5. Assignment: Using the code given below develop a solution to the game Tic-Tac-Toe. a. The game is played between a human user and the computer. The computer’s moves are made randomly. You must get 3-in-a-row to win; getting five of the nine squares is a …

Member Avatar for mitchstokes225
0
255
Member Avatar for HITMANOF44th

ok i can post the script if you guys want its kinda on the large side mostly i just need to bounce some ideas off you i made a event calendar and now i am making a script to email users of the current months events i have this working …

Member Avatar for HITMANOF44th
0
94
Member Avatar for CanYouHandstand

Hey All I'm trying to write a simple write .csv file function that can take multiple arrays of objects and write to a specified file. I understand that I can use params to pass an unspecified number of variables, but is it possible to use it to pass an unspecified …

Member Avatar for CanYouHandstand
0
1K
Member Avatar for neel_patric

hello, i am a little confused with something. im reading values from a text file which only contains 1's and 0's. here is the code. [CODE] char y; ifstream inFile2; inFile2.open("c:\\binary.txt"); ofstream fileout2; while (inFile2 >> y) { //cout<<y<<" "; this would print either a 1 or 0 // based …

Member Avatar for J.Turnbull
0
85
Member Avatar for jimmiller96

I'm not really sure which forum this belongs in, but please bear with me as I try to explain what I am looking to do. I have a PHP web site designed to display status updates from several dozen computers around the world. Up until now an administrator updates a …

Member Avatar for kireol
0
169
Member Avatar for xcrypted

First post and glad to be here! I am doing a project for college. I am stuck on a certain page though and hope you guys/ladies can help. I have made a form that a user can enter there name(txtName), preferred user name(txtUserName), and preferred password(txtPassword). Also I made a …

Member Avatar for gusano79
0
123
Member Avatar for puneet21

Hi, I want to validate an xml which will be in the fol format : [CODE]< Root > <Hierarchy> <!--Optional Tag --> <Subjects> <!--Optional Tag --> <Subject> </Subject> </Subjects> <Hierarchy> </Root>[/CODE] As stated above the Hierarchy and Subject tag are optional. Following are valid xmls : [CODE]<Root><Subject>xyz</Subject></Root> <Root><Subjects><Subject>xyz</Subject></Subjects></Root> <Root><Hierarchy><Subjects><Subject>xyz</Subject> </Subjects></Hierarchy></Root>[/CODE] …

Member Avatar for gusano79
0
116
Member Avatar for mn_kthompson

I have some processes that I need to keep running on a linux host. For some reason the processes are dying (possibly being killed by another admin). I can hunt that down later, right now I need to make sure the processes are running and relaunch them if necessary Launching …

Member Avatar for donaldw
0
133

The End.