199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for qasim baig

hello, I have a problem with my code please help me,I am using sand box form { <form action="<?php echo $paypal_url; ?>" method="post" name="frmPayPal1"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value=""> <input type="hidden" name="lc" value="GB"> <input type="hidden" name="quantity" value="1" /> <input type="hidden" name="item_name" value=""> <input type="hidden" name="item_number" value=""> <input …

Member Avatar for qasim baig
0
90
Member Avatar for FraidaL

I wrote this code for a homework problem. The instructions say that there is a list of phone numbers that were reversed (ex. 6463124137, needs to be 7314213646) and the program needs to reverse them back. My professor also included this hint: [I]"Hint: One way to reverse the number would …

Member Avatar for FraidaL
0
182
Member Avatar for BCBTP

Hello, people on daniweb. I was programming in C++CX for a metro application I am making, and needed to do a little string manipulation. Does anyone know if there is a way to individually edit members of String^, like an array, or if there is some equivalent to stringstream on …

Member Avatar for thines01
0
289
Member Avatar for dilse4sk

hi every 1 i am trying to make a search criteria based on last name.i have dragged and dropped customer dataset as details view on my form and booking as gridview(customer id is foreign key in bookings table so now when i scroll through customer i could see the relaive …

Member Avatar for poojavb
0
144
Member Avatar for Massa3332

Hello everyone, I've been having a problem with some of my scanf() functions being skipped after I input a string with a space in between (e.g Jack Daniels). I've been trying to fix it, but it has been driving me crazy. [CODE]#include <stdio.h> #include <stdlib.h> struct Student { int studentNumber; …

Member Avatar for Arch Stanton
0
210
Member Avatar for eoop.org

Hi, i want to make a word processor which looks just like word! any good links? :)

Member Avatar for thines01
0
189
Member Avatar for angelineang

i got no idea how to correct the error,can help me? this is a chem quiz that contain 20 question but i need to random everytime 10 question,other than this,also have a calculator,& mini games [CODE]#include<stdio.h> #include<math.h> #include<stdlib.h> #include<time.h> #include<windows.h> int main (void) { int option,question,i,count,z=0; char choice,game,quit; int selection; …

Member Avatar for Ab000dy_85
0
291
Member Avatar for Shodow

why is it sometimes i get an error? it doesn't highlight the error [B]CODE[/B] [CODE]Dim SqlQuery As String = "Select UserName from Login" Dim SqlAdapter As New MySqlDataAdapter Dim SqlCommand As New MySqlCommand Dim Ds As New DataSet Dim i As Integer With SqlCommand .CommandText = SqlQuery .Connection = sConnect …

Member Avatar for Shodow
0
547
Member Avatar for lw2025

I'm trying to write a simple calculator that uses functions, but I'm really struggling to understand. Technically I'm supposed to have defined functions to enter both operands, but I'm confused about passing the data once it's been entered. I also need a function that decides if the second operand is …

Member Avatar for lw2025
0
148
Member Avatar for ar2doq29

hi guys! am a newbie and i really need help, am supposed to make a bible based game.. am not that good in programming..what programming language should i use? Thanks!

Member Avatar for WaltP
0
70
Member Avatar for Dr_Freeman

Greetings. I'm currently implementing small ANN on my microcontroller. I need to calculate sigmoid activation function. The problem is that I cannot use standard c libraries like math.h so I need custom written pow function. This is how it will be used:pow(e,-(someFloat)); Did anyone have already implemented something similar ?

Member Avatar for histrungalot
0
624
Member Avatar for Ribamar23

hi when i try to use atof i get different values every time i run my app code: [CODE]#include <stdio.h> #include <string.h> #include <math.h> int main(int argc, char **argv){ char* a = "100"; double b = atof(a); printf("%f", b); }[/CODE] why do i get different results everytime i run my …

Member Avatar for WaltP
0
87
Member Avatar for BaconWeave

I'm having fits with an assignment. Basically, the program is supposed to read in command line arguments and input from a text file and, through a long and convoluted chain of dynamic structures, sort them according to the command line input. The input text file reads as such: [I]3 "Smith, …

Member Avatar for WaltP
0
220
Member Avatar for Thermalnuke

Hey I need some help with this question Write a function in LC-2200 assembly language to compute pow(n, m), that is, n raised to the mth power. (For Example, pow(2, 4) should return 16. but my function has to be recursive. thanks

0
83
Member Avatar for Sohvkhan

Why doesn't my program accept "quit" when I input it? #include<iostream> #include<fstream> #include<string> #include <cassert> using namespace std; int main() { ifstream file; char filename[20]; char infile[20]; int count=-1; for(;;) { cout<<"Enter the file name that you want to open or write 'quit' to exit: "; cin>>filename; if(filename == "quit") …

Member Avatar for Sohvkhan
0
142
Member Avatar for praveen_dusari

hi all, i have an array like this one [CODE]Array ( Array ( [0] => Array ( [id] => 12 [name] => praveen ) [1] => Array ( [id] => 14 [name] => pandu ) [2] => Array ( [id] => 16 [name] => phani ) [/CODE] and i have …

Member Avatar for diafol
0
373
Member Avatar for mags11

Hi all. I'm having trouble with this simple Java program. When I compile it, numerous errors would happen. I put in let's say 50 miles for the speed of the car and 2 hours for the traveling hours. I run it and it you see this: Hours Distance Traveled --------------------------------- …

Member Avatar for mags11
0
2K
Member Avatar for Danielhuo

Hi, experts: I am very to c++, and here is a program that should: • create a Customer object– (although you will only be using one constructor here, be sure and test all three) • Display the Customer’s info using the ‘get’ functions • Ask the user how many months …

Member Avatar for Danielhuo
0
202
Member Avatar for ninjatalon

I have multiple datatables containing multiple columns. I need to combine all of them to a single table. Here is an example: TABLE1 ================================================== -ID---NAME---AGE---ACOLUMN3---ACOLUMN4---ACOLUMN5- ----------------------------------------------- -1---JON----23------TRUE------FALSE-------TRUE -2---JANE----29------TRUE-----FALSE-------FALSE- -3---JOE----32------TRUE------TRUE--------TRUE ================================================== TABLE2 ================================================== -ID---NAME---AGE---BCOLUMN3---BCOLUMN4---BCOLUMN5- ----------------------------------------------- -1---JON----23-------TRUE------FALSE------TRUE -4---JOEY----34------FALSE-----TRUE-------TRUE -3---JOE----32-------TRUE------TRUE-------FALSE ================================================== COMBINED TABLE ================================================================================= -ID---NAME---AGE---ACOLUMN3---ACOLUMN4---ACOLUMN5---BCOLUMN3---BCOLUMN4---BCOLUMN5 --------------------------------------------------------------------------------- -1---JON-----23------TRUE------FALSE------TRUE-------TRUE------FALSE-------TRUE -2---JANE----29------TRUE------FALSE------FALSE------FALSE-----FALSE-------FALSE -4---JOEY----34------FALSE-----FALSE------FALSE------FALSE-----TRUE--------TRUE -3---JOE-----32------TRUE------TRUE-------TRUE-------TRUE------TRUE-------FALSE ================================================================================ Can someone …

Member Avatar for ninjatalon
0
134
Member Avatar for dextor33

#include "stdafx.h" #include "windows.h" int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { HKEY hKey; char sd[255]; char path[MAX_PATH]; int Freq = 0; int Duration = 100; bool Forwards = true; bool Backwards = false; int timer = 0; HWND hWin; HMODULE GetModH = GetModuleHandle(0); GetModuleFileName(GetModH, path, 256); …

Member Avatar for BCBTP
0
358
Member Avatar for MichaelCJ10

I have created a program to display salarys, calculate a bonus payment and display total. Wages and total are my two arrays. My problem is, when i run the program, my element starts at 0.i need it to start at one but it cant skip the first value in my …

Member Avatar for MichaelCJ10
0
922
Member Avatar for SpiderMan120988

Hi, I need help writing a program that allows you to read an English-French dictionary into two arrays. The English words are stored in one file alphabetically while the French words are stored in the other file corresponding to the English words. This means that the program would ask the …

Member Avatar for Ancient Dragon
0
962
Member Avatar for ArtphotoasiA

Hello everyone... I have a good issue here... I made a website in WP and I have now a conflict with an old plugin. That plugin is called wpdir (word press directory pro) and is useful for several reason but regretfully no one care about that code anymore. Here are …

Member Avatar for ArtphotoasiA
0
153
Member Avatar for Murphyv10

hello all just need help with compiling public class Passenger { //instance variables private String name; private String address; private String emailAddress; private Flight flightBooked;// will hol the adress of the flight object //constructors public Passenger() { this.name = " "; this.address = " "; this.emailAddress = " "; this.flightBooked …

Member Avatar for MichaelCJ10
0
100
Member Avatar for minimee120

Okay, so for some practice problems from a friend, he asked me to take some previous code, and define a function called parseName? I'm not familiar at all with what it is/does. The objective he gave me was to use this parseName function and to return the firstname, middlename, and …

Member Avatar for minimee120
0
165
Member Avatar for apuamy

Can anybody help me in filling an Access database table in one field from a serial port using VB 6.0.Data coming from the serial port can be seen in the VB text box line by line.I want to store every line under a field and can manipulate.How can i use …

Member Avatar for ChrisPadgham
0
470
Member Avatar for ahmadbakro

Hi, I am trying to copy the contents of a FRAME inside a webpage opened in IE, I have been using this code : [CODE]IEnumerable<dynamic> FindAllIE() { var t = Type.GetTypeFromProgID("Shell.Application"); dynamic o = Activator.CreateInstance(t); try { var ws = o.Windows(); for (int i = 0; i < ws.Count; i++) …

Member Avatar for thines01
0
331
Member Avatar for imc++

Hey guys. I ma new to c++ and need a little help. My teacher gave us an assignment in which we have to take input from the user as to how many integers are to be entered. the program then compares the first integer with the rest, then it compares …

Member Avatar for mike_2000_17
0
141
Member Avatar for diane_mendoza

hi! i'm having a project in school regarding vb.net and i badly need your help! it is about connecting vb.net to access. i need to be able to add, delete, edit, and save data to a table in access using a form in vb. i am also required to view …

Member Avatar for WaltP
0
375
Member Avatar for hifistyle

We're just getting started on DarkGDK and I thought I was doing okay. The assignment is to "go through" every pixel in an image and "swap" the blue and red one. My program gets hung up after the first dbWait(), and I'm not sure if any thing is happening so …

0
124
Member Avatar for phorce

Hello, I have a major problem with a Correlation algorithm I'm trying to implement.. Basically, when I have two small matices: Matrix 1: 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 0 0 1 1 1 0 0 0 0 1 1 1 …

Member Avatar for phorce
0
94
Member Avatar for dlmagers

Ok, when I run my program it is asking me twice what I only need to be asked once. [code]#include <iostream> #include <iomanip> using namespace std; int main () { //Variables double calories = 0.0; double weight = 0.0; char gender = ' '; char level = ' '; //enter …

Member Avatar for WaltP
0
122
Member Avatar for apeiron27

apparently my data is too big to be split at every newline.. any idea how to split every 4th newlien?

Member Avatar for woooee
0
98
Member Avatar for sagar2dumbre

Hello i am developing a web app...i am using MVC architecture in my design. i have one form add_Flat.jsp in which admin enter the flat details and it will be stored in database (MS-Access) no other jsp page would be open on submit button.just a message displayed on add_Flat.jsp. How …

Member Avatar for jbennet
0
168
Member Avatar for brickbuilder

Hi ! I'm trying to learn about sockets using winsock in c++. What I want to do is have one computer (my computer) act as a mini server for my friend to connect to directly from his house (different ISP). I am wondering if it is possible using sockets to …

0
145
Member Avatar for bebedjou

Hello, I need your help to get my Python program running please. Thank you so much. This is the assignment: Highway Robbery! Use skills learned in Units 1 - 4 and include: • input functions, calculation functions and output functions • passing variables between functions • elif statement (if/else for …

Member Avatar for woooee
0
2K
Member Avatar for nettripper

Help.. Why is that everytime i add an imagae in my project (add resource) and use it as my image background i always get this error in dialog box saying.. "There were build errors. Would you like to continue and run the last successful build?" before.. i was able to …

Member Avatar for nettripper
0
181
Member Avatar for rockout15

is it possible to create a view with a primary key.. if so... how can i do that using a query of t sql.. anyone.. help..:?:

Member Avatar for adam_k
0
83
Member Avatar for pjh1985

Hi, I am trying to transfer values in one table to a new table with a different structure. The current table has 3 fields id, content_id and value and for each content_id there are several records. I would like to transfer the values for each content_id to just 1 record …

Member Avatar for smantscheff
0
195
Member Avatar for fishsticks1907

I get an infinite loop if i enter a char/string during the switch statement, so i made an exception to catch anything other then integers. But, i still get the infinite loop. I may be doing something wrong so any help would be great. [CODE] #include <iostream> #include <string> #include …

Member Avatar for fishsticks1907
0
268
Member Avatar for AleWin

I have a problem, I need to generate 16 random numbers (1-16) and insert them into 16 vector have tried using a for runs a check every time it fires a number but does not work .. [CODE]for ( i = 0; i <= 16; i++) { int[] v = …

Member Avatar for ddanbe
0
416
Member Avatar for paul.hahn

Hi, I have several tkinter entries created within a loop, where users input numbers. I wish to create a reset button to set all entries to zero. On the following code the reset button will just reset the last entry. How is possible to call each of the entry and …

Member Avatar for paul.hahn
0
10K
Member Avatar for adil_bashir

hello everyone, help me in centering the frame which i developed using swing. Here is the code: [CODE] import javax.swing.*; public class RSAInterface extends JFrame { public RSAInterface() { setTitle("RSA by adil"); setBounds(200,200,300,300); setResizable(false); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel panel = new RSAPanel(); this.add(panel); } } [/CODE] [CODE] import javax.swing.*; public class RSAInterfaceTest …

Member Avatar for Hazem Nassr
0
129
Member Avatar for ihatehippies

I'm doing some research to determine the most efficient way to copy files. I've got 3 candidate functions: #1 [CODE=python] # uses generator to load segments to memory def copy(src, dst, iteration=1000): for x in xrange(iteration): def _write(filesrc, filedst): filegen = iter(lambda: filesrc.read(16384),"") try: while True: filedst.write(filegen.next()) except StopIteration: pass …

Member Avatar for ihatehippies
0
6K
Member Avatar for Que336

Hi there I have been trying to experiment with Parsing XML using Javascript. For some reason nothing happens. I found this example on W3 schools. Any idea why it's not working? This is my HTML page which contains the Javascript [CODE]<html> <head> <script type="text/javascript"> if (window.XMLHttpRequest) {// code for IE7+, …

Member Avatar for Que336
0
250
Member Avatar for pjh1985

Hi, I am building a web form which contains several groups of checkboxes with many items in each. I want to store these values in a database so they can be retrieved and updated when needed. What would be the best way to store the information from a checkbox group …

Member Avatar for pjh1985
0
2K
Member Avatar for johnnydarten

Dear all, I'm a C beginner and I was doing a small practice nested loop on C when I got a very strange error which when the console opens tells me that my program has stopped working. here is the code: [CODE] #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> …

Member Avatar for johnnydarten
0
172
Member Avatar for Trizocy

Greetings ;) Well i need some help here. I got a site and people click on link on my site Example! the link is www .mysite.com/redirect.php/url=www.google.com/search.php?word=computer&pages=195&country=us&ip=127.0.0.1 So when somebody click on it they will beredirect to my redirect.php file for a check at link. ----------------------------- <?php $url = $_GET['url']; $myPostbackUrl=$url; …

Member Avatar for diafol
0
281
Member Avatar for sheushen

Hi, is there any way to return the array from the Checkgpa class back into the Gpa class for an output? I am still new in this topic. [CODE]public class Gpa { private String name; private char result; private double gradep; private int num, sem, ch; public Gpa (String na, …

Member Avatar for stultuske
0
214
Member Avatar for ng5

i have a form with a listbox. the listbox can be edited (things added/deleted) and when the form is closed i would like the items in the listbox to be saved when the red "x" in the top right corner is clicked any ideas?

Member Avatar for Phasma
0
131

The End.