199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bleedsgreen33

Hello everyone. I'm coming to you again because you all seem to be much more on the spot answering my questions than my professor. The long story short, we are being introduced to structs in my c++ class, and for the first assignment we are to do a simple Student …

Member Avatar for bleedsgreen33
0
144
Member Avatar for maddie87

I am making a magic squares game with javascript. When I click on an image and the function move is invoked I get the following error: Message: 'target.id' is null or not an object Line: 32 Char: 2 Code: 0 As you can see in my html the images do …

Member Avatar for Airshow
0
464
Member Avatar for BirdaoGwra

Hi, Here is my code. [CODE]# class DefaultTamplate import wx import Image BUFFERED = 1 class FourByTwo(wx.Window): def __init__(self, parent, id=-1, image="JPEGImage", size=wx.DefaultSize): wx.Window.__init__(self, parent, id, image, size=size) self.SetBackgroundColour("white") self.W = 384 self.H = 272 self.photo = image # wx.Image("Test.jpg", wx.BITMAP_TYPE_JPEG) self.FrameSize = 96 self.SetVirtualSize((self.W, self.H)) if BUFFERED: self._Buffer = …

Member Avatar for BirdaoGwra
0
296
Member Avatar for Muhammad Sumair

Please figure out the error in the code and how to correct it ? Actually i want to use a 2d dynamic array. # include <iostream> using namespace std; int main() { int number_of_rows = 0; int number_of_cols = 0; int a=0; cout<<"Please enter the no. of rows : "; …

Member Avatar for template<>
0
150
Member Avatar for lsvife

Hi, I am beginner in java programming. I want to create a program that will enable the user to input data? I want to check if the input is numeric or not. How to do it? thanks!!!

Member Avatar for mKorbel
0
122
Member Avatar for javaAddict

Hi, I recently decided to learn how to program and distribute applications for iPad. After some research I have some questions. I found similar threads in this forum but none where exactly what I wanted. 1) Do I have to buy a Mac to develop my iPad program? After reviewing …

Member Avatar for javaAddict
0
253
Member Avatar for markdean.expres

Can anyone help me how to display records in my crystal report control? I followed the steps I found in the Internet but when I run my application the crystal report does not display anything. What might have been causing this? Anyone, please? Our defense is getting closer...

Member Avatar for felixcomp
0
188
Member Avatar for Lapixx

Hi, I was reading a few articles about secure login systems without SSL, as it looks a bit difficult to set up a server to accept HTTPS connections, create a certificate etc. Anyway, the main problem would normally be that when a user logs in, the password is sent to …

Member Avatar for Stefano Mtangoo
0
241
Member Avatar for Ghostenshell

Keep getting Attribute Errors with my code any suggestions? There are two files attatched [code] from string12 import * from root import * def main(): tree1 = raw_input("enter numbers: ") print buildParseTree(tree1) def buildParseTree(fpexp): fplist = fpexp.split() pStack = Stack() eTree = BinaryTree('') pStack.push(eTree) currentTree = eTree for i in …

Member Avatar for Gribouillis
0
120
Member Avatar for ady_1

Tried running ant on some example source and keep getting this error.. Does anyone know as I'm assuming i'm maybe missing the ejb libs but am pointing to the glassfish/jdk which should have them? I also thought JSE compiles JEE code? thanks. [CODE]Z:\My Desktop\ejb3-samples\chapter1>ant Buildfile: Z:\My Desktop\ejb3-samples\chapter1\build.xml common: [echo] BuildName: …

Member Avatar for ady_1
0
125
Member Avatar for Xemintirre

Hello - I'm fairly new to RoR, and after installing version 2.3.9 and trying to run a sample app, I get the errors below. I've been trying to find solutions for the past two days, but no luck. Has anyone run across this error before and/or know how to resolve …

Member Avatar for Taywin
0
123
Member Avatar for vegaseat

I am afraid, I am starting to like C#, despite the somewhat bloated .Net Framework requirements. Mister Bill's Microsoft is very supportive though. The language has a nice flow compared to GUI programming in C++. Here we are looking at a standard ListBox, add some items, sort them and select …

Member Avatar for anucom
0
714
Member Avatar for andrewliu

Hello, I'm building an ecommerce site and I was wondering if developers usually use mysql to store credit card information? Or do they use some other service to store credit card information? I want my website to be secure for my users. Thank you

Member Avatar for andrewliu
0
551
Member Avatar for devin2203

Hi all Am trying to Truncate the end of a linear list in java. so that: [CODE] // reduce the size of the list to s by removing all elements // with indices greater or equal to s; return the number of removed // elements; // for example, if the …

Member Avatar for devin2203
0
461
Member Avatar for lolztear
Member Avatar for anucom
0
97
Member Avatar for shinsengumi

Hi, What command/technique is needed in a C program to receive image bytes through socket programming from an HTTP response? I want to develop a program that requests for an image from a server, then upon receiving the bytes comprising the image, it should write these bytes into a newly …

Member Avatar for shinsengumi
0
271
Member Avatar for theUserMan

Hello, So i'm new to C#, but I know c++ well. I'm having problems inputting data into a two dimensional array Here is how I initialized the array [CODE] int[,] temps = new int [12, 2];[/CODE] And I attempted to write the input function and i have this so far.... …

Member Avatar for theUserMan
0
772
Member Avatar for iwannalearn

i am begineer in java and i want to know what are the fields in java and for what they are used??? plz explain in detail

Member Avatar for JamesCherrill
0
88
Member Avatar for paulablanca

Hello! Can someone help me? I have to add item "Final Grade" to my cboQuarter. The thing is, my cboQuarter already has a datasource and I can't add the item "Final Grade" during drop-down. The error says, "cannot modify or insert (can't remember word by word) when it already has …

Member Avatar for Jx_Man
0
113
Member Avatar for hanifa

Hi, I am writing a code to get pixels value of the entire image and store it into a array. But i am facing the problems, as outlined below. I would be grateful if someone could help me in sorting this out.. Cheers :) [code=syntax] File inputFile = new File("one.jpg"); …

Member Avatar for rinky khan
0
1K
Member Avatar for efficacious

Hello all, I'm trying to write a binary to decimal conversion program. I'm stuck at the very beginning here because I can't figure out how to allow the user to input the entire binary string while allowing me to break it apart and process it.. I've tried [CODE] int BinInput[*]; …

Member Avatar for pseudorandom21
0
168
Member Avatar for carlo0133

i badly need a hand on this. i have an assignment on my subject, it says that i have to put an MP3 on my C++, so how is it possible??

Member Avatar for template<>
0
151
Member Avatar for caltech

All was good and properly aligned until I changed the variable type from int to double for GrossPay, GrP and totGrP. After the Hours column (from Gross Pay on), in all the rows where there are fewer digits, the Gross Pay, Tax, and Net Pay columns are left aligned, totally …

Member Avatar for Dingbats
0
156
Member Avatar for jashmin

hey i m jashmin, i m making project on c#.net VS2010. i want backup to excel from c#............will u give some tips or stuff plz i want to make report from database...........

Member Avatar for Momerath
0
136
Member Avatar for codemonkey88

Hello, I have been developing a cms system using php and for some reason it has suddenly started printing a Æ’ character at the top of the page. There are no errors returned, and the page has all expected functionality but it is pushing my layout down, skewing the design. …

Member Avatar for codemonkey88
0
114
Member Avatar for BleepyE

Im trying to right my first php script. Im trying to get the script to look at a defined site's source to see if a length of code is present. Ive been given this by a friend but im not sure its working as I get this error, and it …

Member Avatar for BleepyE
0
342
Member Avatar for dorothy.v

at - arrival time bt - burst time I - idle for example the user input 3 process process 1 - at = 5 bt - 5 process 2 - at - 2 bt - 2 process 3 - at - 12 bt - 3 I P2 P1 P3 0 …

Member Avatar for codeorder
0
273
Member Avatar for andrew85

Hi !!!!! I have to filter the input for a geniric string with some operations. for example : [CODE] char buf [] ="25+2;44+1;8-2." char op1[20]; char op2[20]; char operazione[20]; char en[20];//in this varible i put ";" for the next operation , I put "." becouse the operations are end sscanf(buf,"%[0-9] …

Member Avatar for andrew85
0
156
Member Avatar for dorothy.v

If p1at.Text = 0 Then p1ts = p1at.Text p1tc = p1bt.Text t1.Text = p1ts t2.Text = p1tc If p1tc > p2at.Text Then p2tc = Val(p1tc) + Val(p2bt.Text) t3.Text = p2tc Else p2tc = Val(p1tc - p2bt.Text) + Val(p2bt.Text) t3.Text = p2tc If p2tc > p2at.Text Then p3tc = Val(p2tc) + …

Member Avatar for dorothy.v
0
123
Member Avatar for gedas

hey, i am using the value returned from the accelerometer. it returns me the "roll" value which is between -180 to 180 that adds up to 360. what i want to do is just simply produce this on the screen by drawing a line (g1.drawLine();) that would rotate in the …

Member Avatar for JamesCherrill
0
133
Member Avatar for george61

This is a fragment of a program for finding palindrome numbers.Every checked number is a string which is reversed...and I'm using array of strings which isn't done right. Any help will be greatly appreciated. [CODE]#include <stdio.h> #include <string.h> void isPalindrome(char *str1[],int l){ int str1size = strlen(str1[l]); int n; int misMatch …

Member Avatar for b56r1
0
110
Member Avatar for mjv89

I would like to modify this program so that it also prints out the location of the element in the array that contains the maximum, so in System.out.println("The maximum is " + maximum ); it will be more like -- System.out.println("The maximum is " + maximum + "its location is …

Member Avatar for mjv89
0
193
Member Avatar for RenanLazarotto

Hey guys! There is some way to open a file and fill it with randon information until it reach a determined value? Like a dumb file (; Thanks!

Member Avatar for RenanLazarotto
0
758
Member Avatar for jashmin

hey my topic name is sanitaryware and pipefitting system... i dntknw how to make system diagrams and how to connect............ i have 1 module wich is purchase....nw when customer will come definately he will buy more than 1 parts.than i kept list box...nw how to store that information of parts …

Member Avatar for jashmin
0
90
Member Avatar for hanvyj

Hello everyone. I'm a bit new to c++. I'm trying to write a game loop (see the code below) and I'm getting some weird behavior with the GetSystemTime(). I ran through it with the debugger and I get things like this: startTime = 452 endTime = 210 And nothing seems …

Member Avatar for hanvyj
0
198
Member Avatar for b56r1

int c; while ((c = getchar()) != EOF) In the above code, why it is prefereble to use variable 'c' as integer datatype rather than character datatype eventhough we are assigning characters to 'c' ? Can any one explain clearly??

Member Avatar for b56r1
0
119
Member Avatar for DaniwebOS

So I need to program a code which will display the values of all my objects which currently are "Monday and Tuesday." I am getting two errors under my printDay function. Error c2275 'DayOFTheWeek': illegal use of this type as an expression Error c2228: left of '.printDay' must have class/struct/union …

Member Avatar for template<>
0
289
Member Avatar for muze

hello guys.... I have time in char[] format but I need to convert it to CString. Here is what I have but it does not work [CODE] GetSystemTime(&t); char time[60] = ""; char y[20],mon[20],d[20],h[20],min[20],s[20]; sprintf(y, "%d", t.wYear); sprintf(d, "%d", t.wDay); sprintf(mon, "%d", t.wMonth); sprintf(h, "%d", t.wHour+5); sprintf(min, "%d", t.wMinute); sprintf(s, …

Member Avatar for Ancient Dragon
0
450
Member Avatar for mitrious

My book asked me to create a simple version of a list that held strings. Here's what I did. [CODE]class String_list{ public: typedef std::string* iterator; typedef std::string* const_iterator; typedef size_t size_type; String_list(){ data = limit = 0; }; String_list(size_type, std::string); size_type size() const{return limit - data;}; bool empty() {return data …

Member Avatar for vijayan121
0
677
Member Avatar for Lalita_shah

Hi, I have to go back to specific page(html page) using backspace button in javascript n html.plz help me.

Member Avatar for Lalita_shah
0
179
Member Avatar for smandape

Hello Seniors, I am trying to extract an element from a string using the delimiter ';' in case it is in the middle of the string or nothing if it is the only element in the string..i am coding a generalized code that can extract the element from any such …

Member Avatar for smandape
0
116
Member Avatar for Beginner.net

Hey I need some help to program a little begginner project. So I want to create a program that displays an image when you press the start button. When you press the "Next button" it will display a new image. My problem is, I want the image to change EVERY …

Member Avatar for codeorder
0
71
Member Avatar for arezz09

first i create 1 form, 1 picture box and 1 button.. i name button like upload...when i click upload button, i can browse picture..so after i click a picture,automaticly picture will set in picture box and 1 folder like mypicture will be create on C:// and that picture will be …

Member Avatar for Jx_Man
0
1K
Member Avatar for HesterSuma2007

our assignment is we are going to create a calculator(console based) in JAVA but my problem is how could I make equal sign as a terminator.. for example i'll add 5+10. if i press equal.. the answer will come out instead of pressing enter key..

Member Avatar for HesterSuma2007
0
165
Member Avatar for haresh2906

I am getting an Error that Glassfish server starts fails.....I dont knw why? Here is my server file.. Mar 4, 2011 5:57:08 PM com.sun.enterprise.glassfish.bootstrap.ASMain main Welcome to Felix ================ INFO: Launching GlassFish on Felix platform INFO: Perform lazy SSL initialization for the listener 'http-listener-2' INFO: Starting Grizzly Framework 1.9.18-o - …

Member Avatar for ~s.o.s~
0
253
Member Avatar for Kirielson

I have a question about programming Java into HTML using the latest version of Tomcat. I'm trying to get the option values from the HTML to go inside the Java program and print out said values. A friend of mine suggested that I create an array of strings and then …

Member Avatar for mandy011
0
1K
Member Avatar for sirkido

C:\My Documents\sprayproject.java:100: <identifier> expected JOptionPane.showMessageDialog("\nTotal fees charged: R"+total+"\nCost exceeding R3000: "+count); ^ 1 error Guys please assist me in rectifying the above error? Following below is my coding... import javax.swing.*; public class sprayproject { public static void main(String[]args) { String name, temp, temp2; int option, acres, farmno, count=0; double cost, …

Member Avatar for JamesCherrill
0
183
Member Avatar for eng.mina

hello every one i was looking for some help in this php code i have php code for gallery flash required file >> data.php to show pic and thumbs and categories can any one help me in the code if there was some thing wrong [CODE]<? include('init.php'); define('LF', chr(10)); print …

Member Avatar for eng.mina
0
195
Member Avatar for Tinee

I am making a program to calculate the distance between 2 location by inputting the latitude and longitude of the locations using DMS, then convert the given DMS to angular measurement. I have made the program using functions but when it finally calculate for the distance, it always goes to …

Member Avatar for Dingbats
0
226
Member Avatar for end3r

Hy, I have a JPanel within a JFrame. In the menu bar of the frame I have a check button that would show/hide a toolbar within the JPanel. The toolbar is a JToolBar type and is added in the NORTH region of the layout. It occupies the whole region but …

Member Avatar for end3r
0
439

The End.