199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for prasanthsagar

HI everyone.... I need some custom THEMES for a grid view.... can anyone send me a link where i can find some sample themes for a gridview or u can just post the code for the theme..... Regards, Prasanth

Member Avatar for prasanthsagar
0
110
Member Avatar for MVideoGms

I keep getting this error and I can't figure out what is wrong. error C2227: left of '->capacity' must point to class/struct/union/generic type 1> type is 'int *' Here is the class header and declaration that I am working on. [CODE]#ifndef MYVECTOR_H #define MYVECTOR_H #include <iostream> //#include <sstream> //#include <string> …

Member Avatar for Ancient Dragon
0
185
Member Avatar for lulemurfan

This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE …

Member Avatar for Nyight
0
106
Member Avatar for TheSecOrg

Hi everyone, How do I create a timer in Java? It's for a quiz I'm making and I want a time limit for each question.

Member Avatar for coil
0
117
Member Avatar for hari.sarvothama

Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does …

Member Avatar for lambing
0
251
Member Avatar for TheSecOrg

[CODE] import java.util.Scanner; class apples { public static void main(String args[]){ System.out.print("Hello, today I'm going to give you a quiz. \nWhat's your name?\n"); Scanner name = new Scanner(System.in); System.out.print(name.nextLine()); System.out.print(" Is a nice name.\nToday I am going to test your knowledge.\nLet's begin!\n"); int score = 0; System.out.print("Who is Bill Gates?\n1. …

Member Avatar for TheSecOrg
0
200
Member Avatar for sphynx_25

Hey everyone, (Hopefully) a rather quick question. I'm currently trying to use regex to search a string for the location of the longest continuous match in a string where the *same* character keeps repeating. It doesn't matter which character it is, as long it is the highest number of consecutive …

Member Avatar for sphynx_25
0
2K
Member Avatar for aminit

Helllooo I want to ask a question about the programming language , why there is no single or one programming language for diffrent programming fields ? thx

Member Avatar for leo002000
0
112
Member Avatar for cogitoergosum18

#include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second number are subtracted int resultMult,// variable for result when first …

Member Avatar for cogitoergosum18
0
232
Member Avatar for ChPravin

Hello, I know this question might sound stupid! I am using recursion inside a loop. I want to stop the loop as soon as the method is called recursively and resume it again when the call returns. I am not able to do so. Do I need to lock the …

Member Avatar for jon.kiparsky
0
1K
Member Avatar for dany12
Member Avatar for leo002000
0
110
Member Avatar for ben.matthews18

Ok so I am able to create a user login system with data such as user ID, Username and a password. Here's the scenario - I add a field into the SQL table called 'Firstname' How do I retrieve the 'Firstname' of every user which relates to their user ID …

Member Avatar for diafol
0
121
Member Avatar for aikiart

Good afternoon, I'm working on a class assignmeent trying to use overloaded math operators + - but i'm getting the following error when I compile. Line 29 of the main program generates this error: Linker error undefined reference to 'TimeClass::operator+(TimeClass const&) any help is appreciated. Here is the code: TimeClass.h …

Member Avatar for aikiart
0
186
Member Avatar for mroberts50

When I hit the button in my program the button does not work. How do I get the message to point to this url "http://mweisfeld.1upware.com/joke.txt" when I hit the button? Thanks [CODE]<html> <head> <title>Ajax Joke of the Day Application</title> <script language = "javascript" type = "text/javascript"> var Request = false; …

Member Avatar for mroberts50
0
138
Member Avatar for XMasterrrr

hello guys i'm proud to join this community and be with you guys so i saw the sticky thread but i can't figure out what the best book i'm new to programming but i was reading a book called : starting out c++ early objects 5th edition and i already …

Member Avatar for XMasterrrr
0
170
Member Avatar for wesduncan

I'm actually not even sure if this is possible. But I'm making a program just to help make checking gains/losses with the stock market easier for me. It's not real money just trying it out to see how I would do. But with the program, I'm just going to ask …

Member Avatar for prvnkmr449
0
116
Member Avatar for andrewliu

Hello, I'm following this script [url]http://evolt.org/PHP-Login-System-with-Admin-Features?from=2450&comments_per_page=50[/url] and it uses username to sign up. I was wondering if anyone can help me out in figuring out what to change in order for the user to input the username to email sign in. I know how to change the main.php where you …

Member Avatar for andrewliu
0
312
Member Avatar for Mbot

Hey, Im learning assembler and have written as small test program. the aim of the program is to take a char input from the keyboard and compare it wit "A". This section of the program works. At the start of the program I want to output a message just to …

Member Avatar for 1stDAN
0
180
Member Avatar for cjreischl

Hi. I am creating a program for class that can be used to gather statisctical data about the number of movies college students watch in a certain time frame. I have to find the average, median and mode and show this in the output. I am able to get my …

Member Avatar for cjreischl
0
141
Member Avatar for RazorRamon

Hello, I am trying to Build a Form where the use clicks on check boxes and radio buttons. I want each to have a cash value to them and calculate the final price once the User clicks submit. I've read around the web and have tried changing the value in …

Member Avatar for RazorRamon
0
278
Member Avatar for ajay_p5

Hi This may seem pity stupid but I am somehow stuck in this: I have got a file containing years like this : 1913 1913 1917 1917 1917 1917 1917 1955 1955 now this is just a part of a file containing almost 50000 years. What I want to do …

Member Avatar for ajay_p5
0
105
Member Avatar for jonsan32

I'm trying to search for the correct code to make my form work. I have 3 select boxes - one with 2 options, one with 8 options, and the last with 2 options... All of this adds up to 32 different url paths. Can anyone tell me how to get …

Member Avatar for jonsan32
0
155
Member Avatar for breakid

Hi I created small application that can show images and do zoom, I want to create DLL file to import into my software with picturebox and all the property, how can I do it ?

Member Avatar for Nyight
0
159
Member Avatar for dkalmase

hello friend s i am making the simple timer module which will display time in count down format as if user wnters 1 hour 3 mins and 30 sec so it will count in revers i have almost half code done but afer trying the all tricks and logic i …

Member Avatar for dkalmase
0
906
Member Avatar for IDC_Sharp

im don't know so much english so im soory// try to understand. i made a browser// but alawys when i get into some websites its open some more pages in internet explorer page and its not good// i want that it won't open this pages at all or if its …

Member Avatar for Nyight
0
153
Member Avatar for titan_31

I wrote this simple program in C to generate binary search tree, but i am unable to go beyond level 0. Note that I have not incorporated the printing part. [code] #include<stdio.h> #include<malloc.h> struct node { int data; struct node *lc; struct node *rc; }*start,*link,*tmp; int a[100]; int main() { …

Member Avatar for Narue
0
177
Member Avatar for amanu092

I Can't upload imige as my database donot support update although i give all previliges to the user root.Whats the problem?? Please Any one help me.The same code work on local PC. The link is: [URL="http://csefriends.com/index.php?page=auth/change_image.php"]http://csefriends.com/index.php?page=auth/change_image.php[/URL] The code is given below: [CODE] <?php $id=$_SESSION['userid']; $name=$_POST['name']; $fname=time(); $type= ".jpeg"; $fname = …

Member Avatar for mwasif
0
1K
Member Avatar for extemer

here is my code [code]import javax.swing.*; import java.text.DecimalFormat; class method { private static void start() { JOptionPane.showMessageDialog(null," Area of a Circle"); String n = JOptionPane.showInputDialog(null,"Enter a Number"); int num = Integer.parseInt(n); DecimalFormat twoDigit= new DecimalFormat("0.00"); double form1 = 3.14 * (num*2); JOptionPane.showMessageDialog(null,"… is "+twoDigit.format(form1)); } public static void main(String[] args) …

Member Avatar for coil
0
103
Member Avatar for Jazerix

Hey there At the moment I'm working on a little project that will make my life a little bit easier. Nevertheless i need my application to read the memory from a proccess and then translate it into a label. Right now i got a Memory address that goes 1 and …

Member Avatar for Jazerix
0
97
Member Avatar for TOROOOLOLOOLO

Hi I have a problem, i have designed a database program with vb6 and ms access. and the program is suppose to display specific records using datareport. eg ,display records of student whose fees are> 10000. But i dont know my way out. hope to get help from anybody.thanks in …

Member Avatar for anandlalroy
0
631
Member Avatar for jrw89

I am working through Accelerated C++ and am on exercise 3-5. The question is:[QUOTE]Write a program that will keep track of grades for several students at once. The program could keep two vectors in sync: The first should hold the student's names, and the second the final grades that can …

Member Avatar for mrnutty
0
191
Member Avatar for camelCase

Hello DaniWebbers, How would I go about taking user input into a string? It is not allowing me to do: [CODE] #include <iostream> #include <string> using namespace std; int main() { string users_name; // Reserved for the users name (input) cout << "Enter your name: "; cin >> users_name; // …

Member Avatar for Stefano Mtangoo
0
298
Member Avatar for jjemphoung

Good day! Can I run PHP(in WAMP) scripts without internet connection? Replies are really appreciated.

Member Avatar for hielo
0
709
Member Avatar for alex1986

Hi, My java is really bad and I haven't had to use it in a few years but I want to make it better so I've decided to try building it up slowly but at the moment I'm a little stuck and was wondering if anyone could help point me …

Member Avatar for alex1986
0
181
Member Avatar for grahf23

Hi, i'm supposed to write a function, countGrade that takes in the Grade and find the number of students that have this grade. This value is returned to the calling program. The function prototype is int countGrade(char). Currently all i have written is this. Seem like there's something wrong with …

Member Avatar for grahf23
0
157
Member Avatar for XodoX

Hello, it's been a while since I took my last programming class, and I must say I don't know how to do the following. I want to create a program that pulls data from a txt file and then lists that data. The data is simply C++ variable names, reserved …

Member Avatar for XodoX
0
196
Member Avatar for TylerSBreton

Hey guys, I was wondering if anyone knows a good VB.net tutorial. I'm not a beginner programmer by any means, I have experiance in another .net language, C# but I have a course in VB.net next semester and wanted to get a head start. Any help you could give would …

Member Avatar for P-Geist
0
645
Member Avatar for xterradaniel

Hello everyone, I am having trouble finishing my program. I am having the most trouble with the method, as described in my book, parseInt(char[]). I can't figure out what to do, I don't know how to properly write the method for this. I will include the entire program description for …

Member Avatar for xterradaniel
0
7K
Member Avatar for PixelExchange

Does anyone know the event that causes the carriage return animation to play? I would like to have the carriage return animation to play after clicking in a box.. that is not a textfield. Essentially.. I am attempting to create a custom text field. (In case you do not already …

Member Avatar for PixelExchange
0
147
Member Avatar for Danny_501

Hi all, I need to convert a char array to an int. But the char array has regular characters in them('A', 'B', 'C'...) and numbers. how would I omit those characters and extract the number, then store it as an int. any help would be great thanks.

Member Avatar for Ancient Dragon
0
204
Member Avatar for akshayinbox

Hello. I don't know any code of Javascript. I programme in PHP. I grabbed this piece of code for javascript timer: [CODE] <form name="counter"><input name="d2" type="text" size="8" style="font-size:72pt; border:none; font-family:Verdana; color:#00BFFF; text-outline: 1px 1px #009ACD;"></form> <script> <!-- // var milisec=0 var seconds=<?php echo $s;?> document.counter.d2.value='0' function display(){ if (milisec<=0){ milisec=9 …

Member Avatar for akshayinbox
0
226
Member Avatar for shivaniaroraji

what is the difference between instance variable and methods and their counterparts,clas variable and methods? i understood that instance is other name for object but what i have undersood till know is that method is somewhat like function (but i could not understand the explaination given for this question in …

Member Avatar for shivaniaroraji
0
210
Member Avatar for D33wakar

[CODE]def nod(n): c,i=0,0 while n>0: c=n%10 if c!=0: i=i+1 n=n//10 print(i)#prints the number of digits in the given integer 'n' [/CODE] how to make it able to count 'zeros'?

Member Avatar for Beat_Slayer
0
144
Member Avatar for xterradaniel

Once again I need help with my Java program. I am running out of time to complete this program and I accidently deleted what work I had done. I am going to try to edit this post with what I have tomorrow but until then I was hoping someone could …

Member Avatar for xterradaniel
0
1K
Member Avatar for Aneurinbiker

Hi I'm learning C++ as a beginner through the book "C++ Primer by Stephen Prata". I have just learned a bit about creating my own functions and I'm now doing some practice at the end of the chapter. The problem is I'm meant to make output of: "Three blind mice …

Member Avatar for NubTruck
0
191
Member Avatar for liyakat

Hi, I have a javascript which updates price and unit from mysql database. The option onchange event calls 2 javascript functions each one for price and unit. The code works fine in IE, but does not work correctly in firefox. Below is the code, can anyone suggest! [CODE] <html> <head> …

Member Avatar for Graphix
0
141
Member Avatar for dexter1984

Hi guys, need some help with this. I googl'ed but found no solution. :icon_sad: [CODE=cpp] #include <iostream> #include <ctime> #include <cstdlib> using namespace std; void createRationalNo (int, int); int RationalInfo (int []); //void printArray (int [], int); const int MAX = 20; const int setArray = 5; int initialArray [setArray][MAX]; …

Member Avatar for Maxwell175
0
141
Member Avatar for jobs

When I execute the following sql,select id from people, inside python and print the result, I get this: ((11L,), (12L,), (13L,), (14L,), (15L,), (16L,), (17L,), (18L,), (19L,), (20L,)) Why does python print L beside the numbers. Just to indicate Long type?

Member Avatar for timogoosen
0
3K
Member Avatar for NSBailey

I am getting the following error message and do not know what it means. error: Class names, 'DemoVariables' , are only accepted if annotation processing is explicitly requested.

Member Avatar for extemer
0
112
Member Avatar for babaidebnath

Hello guyz, Recently I am making a system monitoring tool. For that I need a class to monitor print job. Such as when a print started, is it successful or not, how many pages. I know that I can do it using winspool.drv. But dont how. I've searched extensively but …

Member Avatar for Momerath
0
269

The End.