199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chakkilam

Hi All I am getting below error. basically I want to loop through all controls in a page and make sure they have not changed the values. if they have i want to prompt a message asking to save. while looping the controls I am not able to send it …

Member Avatar for serkan sendur
0
812
Member Avatar for waves

Hi I am trying to set up remote access to mysql on a headless server. From what I have read this can be done by installing phpmyadmin on the client pc. Is this all I need? I have changed the entry in my.cnf "bind = localhost" to "bind = ipofserver". …

Member Avatar for waves
0
258
Member Avatar for mohammad8065

Hi !!!! I want to write a program that print the character # like a triangle in the middle of the page.I mean like this : # # # # # # # # # # # # # # # # # # # # # # # # …

Member Avatar for siddhant3s
0
262
Member Avatar for ddanbe

Say I have two classes : a provider A and a consumer B. My question : who should do the error handling, validation etc.? Example : a Garage class and a Car class. Should the Garage class tell the Car class : "He Car you are to big to enter …

Member Avatar for ddanbe
0
99
Member Avatar for progurammaar

hi this is what i'm making [url]www.gojyotish.com[/url] go here and enter username="nagz" pass="nagz" the problem you'll see is that after submitting the information the page will return bak as it was, nothing wd be notified regarding the success of the login. But if you just refresh the page, you will …

Member Avatar for progurammaar
0
125
Member Avatar for C++.java

// Sum of Squares and Cubes.cpp : Defines the entry point for the console application. // [code=cplusplus] #include "stdafx.h" #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int n,j; cout<<"Enter a Number:"; cin>>n; for(j=1;j<=n;j=j+1) cout<<j*j<< " "; cout<< endl; int a,b,c,sum; a=n+1; b=2*n+1; c=n*a*b; sum=c/6; cout<<"the sum …

Member Avatar for siddhant3s
0
176
Member Avatar for lil_panda

Is there a way for me to use an obj-C class with my C++ program? If so, what special parameters do I have to specify during the compilation phase, and if I needed, changes to my source code files?:-/

Member Avatar for ArkM
0
169
Member Avatar for cproud21

I have attached 4 classes which I have created for the following assignment, as well as a test program which tests the other four classes. The only thing that I am having a problem with is reporting the amount of the fine in the ParkingTicket class, as well as determining …

Member Avatar for javaAddict
0
254
Member Avatar for siddhant3s

I have read prior post on the forum but I came up with few specific questions about Porting Unix Socket(hereby calling it BSD socket) to Win32 Platform : First of all, I am a native Linux C/C++ Programmer. I program in Ubuntu with GCC. But, I usually also port my …

Member Avatar for siddhant3s
0
1K
Member Avatar for Venom Rush

What I'd like to do is store the "selected" value of the drop down box in a DB. At the moment the selected value for the drop down list is pulled from the DB. Now what I want to happen is if I don't want to change that specific option …

Member Avatar for Venom Rush
0
1K
Member Avatar for SADIYA4

hey how to make an object move in an C graphics program, eg; i have drawn a swing and i want it to move... i am beginner in C graphics program so please help me...:(

Member Avatar for csurfer
0
56
Member Avatar for chriscross86

hi, there...im trying to figure out where to use these authentication codes as im trying to come up with a login page. these codes are used over the <head> tag, but is it used within the <html> tag? [code=xml]<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- enable forms authentication --> <system.web> <authentication …

Member Avatar for johnny.g
0
75
Member Avatar for arussell817

Hello, I looked around and saw similar problems, but None of the answers seemed to help my situation. Im almost done with my HW Just have come across this minor bump. The error is in the title, and is happening in my addressEntry header, or cpp. not sure: : error …

Member Avatar for siddhant3s
0
450
Member Avatar for vartikachandra

i am trying to accept a 3 by 4 integer matrix from the user and an unable to do so.here is my code. [code] void accept()throws IOException { int i,j; InputStreamReader instream = new InputStreamReader(System.in); BufferedReader stdin = new BufferedReader(instream); System.out.println("\nEnter the coefficients and the constants for the 3 equations …

Member Avatar for vartikachandra
0
132
Member Avatar for otterfreak

Hi guys, i'm working on trying to pass commands from the console from one program to another program by using pipes() and the execve() system calls. I'm pretty much stuck right now, because I can't seem to determine what i'm doing wrong. Here are my code listings [code] #include <errno.h> …

Member Avatar for Salem
0
1K
Member Avatar for jeevsmyd

Hi friends.. Last day at school my teacher gave the following code.. But it is not working.. 16 errors.. I am a beginner in C++ .I badly need your guidance a help in finding the errors... the for loops is all wrong.. To be frank I don't understand the working …

Member Avatar for siddhant3s
0
370
Member Avatar for mikemea

[B]cannot convert parameter 1 from 'char' to 'char *'[/B] calcCharges(type_of_gas, &rate_of_gas, number_of_gallons, &total_gas_of_price, car_wash, &price_of_car_wash, &total_cost);

Member Avatar for ArkM
0
77
Member Avatar for johnny.g

hii alll,... i have a feedback form whr the user enters the data and it gets stored in the database.i have also given validations for submitting the form,,(for e.g. the user wil have to enter his name,,he cant leave tht field blank)...the prob is whn i click on the signout …

Member Avatar for serkan sendur
0
143
Member Avatar for jloyzaga
Member Avatar for vegaseat
0
854
Member Avatar for buug

hello, when compiling this method, i get a "missing return statement error" because there is no return statement after the while loop and before the method closes. i understand that there needs to be one there, i'm just not sure what the value should be. i have commented out the …

Member Avatar for sillyboy
0
94
Member Avatar for theimben

Im trying to delete records. Most delete ok but some don't and Im completly lost as to why... The information Im storing are just URLs. Could it be to do with some irregular characters within these URLs? Is there a recomended way to store a URL? Please help me out. …

Member Avatar for theimben
0
130
Member Avatar for kischi

Hi I have a scrollbar on my page with a lot of text. And sometimes when I start scrolling, it jumps up again. You can see what I mean on: [url]http://radiojazz.dk/udsendelser.aspx[/url] I have tried to write: [CODE] MaintainScrollPositionOnPostback="true" [/CODE] on the top of my aspx page but it won't work, …

Member Avatar for serkan sendur
0
130
Member Avatar for lucstrato

If someone could help me out here I would really appreciate it... I have to get this code running for my programming class and i keep getting same symbol error here is the code: [code] public class fourseventeen { public void main(String[] args) { int j = 0; int sum …

Member Avatar for lucstrato
0
77
Member Avatar for nokomoli

Hi guy, i'm newbie of .net language. Last week i found a new method at the .net with vb.net language. That is in the Global.asax, you are enable to store a global variable. The common at below: [ICODE]Application("ABC")="CDE"[/ICODE] i doubt that this method with cookies or session. Besides this, i …

Member Avatar for nokomoli
0
123
Member Avatar for maccold321

I'm a huge newbie and any help would be amazing and it would mean so much!! I have to make a program that The application should display the addition, subtraction and multiplication problem on the screen, and switch depending on what the user wants to use, then allow the student …

Member Avatar for maccold321
0
78
Member Avatar for efaith77

Ok, I love movies, and I am building a website to chronicle the movies in my collection. I have the layout, graphics and all of that. I can do all of that myself. I need to know what the best way to show the movie cover, synopsis and my own …

Member Avatar for efaith77
0
140
Member Avatar for rickster11

Ok, stuck on homework. The program is supposed to read a list of presidents from a binary file and display them. I have it all working..except..when it gets to Truman...it just keeps repeating his information. I know its still going in the loop, but for some reason the pointer stays …

Member Avatar for rickster11
0
146
Member Avatar for jo8594

Ok, here is the problem. I have to ask a group of people for donations and get the total average and so on. The only problem I have is trying to get the lowest donation from the inputted numbers. I can't seem to get the actual lowest number. It just …

Member Avatar for sillyboy
0
132
Member Avatar for shamila08

hello, dear all. below is my program code. the problem is an half of my output is zero for entries of matrix for n greater than 4. [code=cplusplus] #include <stdio.h> #include <stdlib.h> #include <iostream> #define MAX 100 int num[MAX][MAX]; int n; int nrows = 0; using namespace std; void print(int …

Member Avatar for shamila08
0
144
Member Avatar for daniellamae

uhm, i really need help on recursion problems, and the first problem before my assignment is me because i really dont know how to do it, or how to construct it successfully... this is my assignment: a program that will read 10 integers,display them as inputted and in reverse order, …

Member Avatar for csurfer
0
127
Member Avatar for ronizam

print the decimal, octal and hexadecimal values of all character between the start and stop character entered by user, For example, if the user enters and 'a' and 'z', the program should print all the character between 'a' and 'z' and their respective numerical values. make sure that the second …

Member Avatar for Dewey1040
0
118
Member Avatar for ronizam

hello...i am new here and also new in IT enviroment, try to do my assignment as below Write C program that accept a character using scanf () function,if the character is lowercase letter,convert to uppercase letter and display the letter in its uppercase form, if the character is uppercase, convert …

Member Avatar for csurfer
0
103
Member Avatar for saquib189

Hi, I'm create a console application for extracting system drives through driveinfo class & i also extract files and folder for there usage class but in website how can i display drives in treeview control. plz give the example in vb. thank you

Member Avatar for serkan sendur
0
79
Member Avatar for bossie09

im writing a calculator programme for my project. But i dont know how to find Tan, Cos, Sin. Any one can help I would appreciate that. what is the formula

Member Avatar for csurfer
0
171
Member Avatar for neo.maverick

hi guys... Can anyone gime some points on the drawbacks of using layered architecture...?? or when to go with layered arch. (BLL, DAL etc). Suppose we got a project .. say 150 hrs in total... do we need to go with layered one or go with conventional method of writing …

Member Avatar for serkan sendur
0
116
Member Avatar for hardikpatel

hi i have made one website in VS 2008 (Asp.net 3.5) using back end SqlServer 2008 and when i configure my website on my local pc so it will generate the error "Login failed for user" when i will going to run the website .

Member Avatar for serkan sendur
0
82
Member Avatar for Yersey

Hello, I am fairly new to C++ and am having a bit of trouble reading in a text file to my program which contains numbers(integers) and names(strings) and checking for spaces in the names(strings).I basically am reading in a .txt file which contains numbers and letters. In this file, the …

Member Avatar for Ancient Dragon
0
169
Member Avatar for bigOnotation

Hi I am new to c programming language, I have written this small code and I dont know why cant i use the free() here, any clarification highly appreciated. [code=c] int insert(element **head, int d) { element *temp; temp = (element*)malloc(sizeof(element)); if(temp == NULL) { printf("\nError: Failure to allocate memory\n"); …

Member Avatar for nucleon
0
98
Member Avatar for curtissumpter

Hi, Everything else in this code works properly but the keyTyped method is not working properly. I have been working on this for sometime. Any help would be appreciated. Also, any advice on getting my southPanel to appear when I start the application? It appears but only after I expand …

Member Avatar for sciwizeh
0
139
Member Avatar for swatirao

Hi! Please help me .. urgent How do i using a Query in crystal report?... I tried using the select expert but I dont know how to go abt it... from srao

Member Avatar for benuu
0
120
Member Avatar for sciwizeh

So, I got this idea that I could make a simple game in Java, with animated GIFs for the running animations, but I have a problem, although Java will display the animation on a JLabel when made into an Icon, but I don't know how to, and can't seem to …

Member Avatar for sciwizeh
0
453
Member Avatar for crewxp

When declaring get_color and get_size, my compiler gives me errors, and I don't know how to solve them. It's probably something really simple, but I think the more I try at it, the more messed up my code becomes (hence the 'this' and '->' references) marble.cpp(11) : error C2143: syntax …

Member Avatar for Rashakil Fol
0
160
Member Avatar for dvsConcept

Im writing my final project and i have everything in one .cpp file and i was wondering if someone could tell me in detail how to go about putting things in their own file and leaving the main function by itself in the main file. for example i have some …

Member Avatar for dvsConcept
0
102
Member Avatar for Argo54325

Ok so i made a decoder for this that gets the letters from the numbers that this encoder gets. Problem is that i think the numbers its giving me are wrong and i can't seem to figure out whats causing the problem. Help please! :( [CODE=C++]#define _CRT_RAND_S #include <iostream> #include …

Member Avatar for Argo54325
0
107
Member Avatar for StainlessSteelR

This is what I'm suppose to do: "Create a while loop to read in the corporate sales data from the pgm3.dat file and create a report listing data for each division as well as some of the summary data described in Programming Challenge 12 in the textbook. Inside the loop, …

Member Avatar for Ancient Dragon
0
122
Member Avatar for .11

I cant check if this is write as I have to do it at school. But I wanted to know if you can read over for me. This is my multiplication [CODE] add $s2, $zero, $zero add $t0, $zero, $zero LOOP: beq $t0, $s0, EXIT add $s2, $s1, $s2 addi …

Member Avatar for .11
0
126
Member Avatar for cppStudent

Hi [CODE]int** numberLists = new int*[count];[/CODE] I'm having difficulties understanding this line of code, I've just started programming in c++. I think I got the basics of pointers but I can't find any helpful "enough" info about arrays of pointers. I understand that an array of pointers to integers is …

Member Avatar for death_oclock
0
147
Member Avatar for codedhands

Hello everyone,i really need help with this big problem(to me its big).The project am writing requires a panel to display its current status information on.I figured that i will need to make that panel scrollable because it will contain multiple lines of the text.My problem is i do not know …

Member Avatar for codedhands
0
2K
Member Avatar for loveforfire33

Hi guys, im trying to get this code to work, im basically trying to write a programme that will find the smallest possible amount of coins needed to make up the amount of pence entered into a text box. ive managed to get it working with a very long If …

Member Avatar for LizR
0
108
Member Avatar for jeffc418

Hi all! I've been working on the validation for my web site, and I am currently trying to write a script so that if I have the following usernames in the username column of my MySQL table entitled "members": -Jeff -Pete -Bob That no one who is registering a name …

Member Avatar for jeffc418
0
100

The End.