199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vasthor

Hey guys, probably no programming for a long time (around 3 days), I lost myself on this, the `dent_space1(max_space1, ' ')` just not compiling, for its format. if so, how can I 'delete space' for the sake of this task? 4-2. Write a program to calculate the squares of int …

Member Avatar for deceptikon
0
193
Member Avatar for raj.mscking

Hi gentles! jest i am creating one stand aloe application by using JDK-1.6 Netbeans.7 Mysql i can run in net beans well and the database also working well with this, if i "clean and build" the project as jar file it working well in it's specific location (eg:D:\Raj\Gui\WorkersData\dist) But! if …

Member Avatar for NormR1
0
349
Member Avatar for mehnihma

Is there any free CRC Cards generator? I found just for UML but nothing on CRC Cards? Thanks

0
67
Member Avatar for gdp_87

Firstly, Hello, The purpose of this post is to get some advice/recommendations from some other developers on what path to pursue next to progress and improve. I am trying to decide what programming language to learn next, and currently im edging towards C++ but considering some dialect of LISP maybe …

Member Avatar for gdp_87
0
172
Member Avatar for marino07

i have to make a two players snake and ladder game in c++, in which i have to display the board aswell. i donot know should i use set(w) statment and cout my board or should i go for arrays? n if i do it using arrays, how to show …

Member Avatar for marino07
0
278
Member Avatar for rotten69

Hey everyone, I am having trouble accessing the web pages on my online server. On my local server, I access them using this URL(localhost/mvc/users/index) But this doesn't allow me to access the pages except for the config page which is on mysite.com/mvc Any help please?

Member Avatar for veedeoo
0
92
Member Avatar for shafeequeom
Member Avatar for ashiiiish

I am not able to set php session for starting the session I am using below code session_start(); $_SESSION['username'] = $username; For checking the session I m using <?php if (!isset($_SESSION['username'])) { header('Location: index.html'); } ?> But the session is not being set as I am not able to grep …

Member Avatar for IIM
0
216
Member Avatar for Majestics

Any About this error run: Exception in thread "AWT-EventQueue-0" java.lang.VerifyError: (class: stockinventoryforecast/productEntries, method: <init> signature: (Ljava/sql/Connection;)V) Constructor must call super() or this() at stockinventoryforecast.mainPage.actionPerformed(mainPage.java:226) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) …

Member Avatar for Majestics
0
137
Member Avatar for themenucha

Hi! I'm trying to emplement the job queue. Somehow i can't initialize it: the queue is empty `Inline Code Example Here` //INCLUDES #include <stdio.h> #include <stdlib.h> #include <semaphore.h> #include <pthread.h> //GLOBALS pthread_mutex_t job_queue_mutex = PTHREAD_MUTEX_INITIALIZER; int i; #define N_threads 10 int val=0; //STRUCTURES typedef struct job { int data; struct …

Member Avatar for histrungalot
0
422
Member Avatar for mitchfizz05

Hello all. I love iPod touches. I love iPads. I love iPhones. I love Windows PCs... I **HATE** macs! Is there ANY way to make an app for iOS without a mac? (I don't want to make a web app though, but even if you find a way for that …

Member Avatar for mitchfizz05
0
115
Member Avatar for patk570

I am running into an error on a javascript problem I have it display if the math problem is wrong, and an alert box that pops up, but when you hit OKAY on the alert box it still submits the form. I am wondering if there is an easy fix …

0
150
Member Avatar for ChaseRLewis

long FileSize(FILE* f) { if(f) { long size; long initpos = ftell(f); fseek(f,0,SEEK_END); size = ftell(f); //Get End Position Which fseek(f,initpos,SEEK_SET); //Go Back To Initial Position return size; } return 0; } Only 183 characters in text file but reports 197. Reason for this?

Member Avatar for ChaseRLewis
0
108
Member Avatar for KeithMon

I've created a **login script** using **PHP** that connects to a `users` table from a **MySQL** DB. It's very simple and currently is not encrypted (it will be before I take the site live...I'd love some suggestions on current password security features too). **My issue is that the username-check is …

Member Avatar for dschuett
0
4K
Member Avatar for djokerfan20

Hi everyone! This is the code that I have made, however, when I enter a date for example if I type : 12/12/2012 then the date for tomorrow displays a list of dates. I am unsure how to get it to only display the date of tomorrow. #include <stdio.h> int …

Member Avatar for djokerfan20
0
254
Member Avatar for katherinedamon

Hey guys , I am curently fallen in an adverse situation . I am at the end of my website and this situation occurs as follows:- I got 2 tables named "userdata" and "userresult" such that when user registers himself to the site , his information is inserted to both …

Member Avatar for katherinedamon
0
153
Member Avatar for dschuett

I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a …

0
141
Member Avatar for rotten69

Hey everyone, Does anyone know if there is a possible way of using an online Database without uploading the website files onto the server? Cheers,

Member Avatar for rotten69
0
240
Member Avatar for svcj92
Member Avatar for pendo826

Hey i keep gettin syntax errors with my header file can someone please help me. //****************************************************************************************** //Header file for LinkedList.cpp. //****************************************************************************************** #ifndef LINKEDLIST_H #define LINKEDLIST_H //****************************************************************************************** //Declaring templates for classes. //****************************************************************************************** template<class Datatype> class LinkedListNode; template<class Datatype> class LinkedList; template<class Datatype> class LinkedListIterator; //****************************************************************************************** //Class: LinkedListNode. //Description: This is a …

Member Avatar for majorawsome
0
411
Member Avatar for balagod

In below code using i try to upload multiple files to remote URL. but only 1 file data only i am receiving. please help any one to resolve issue. Remotepage.php i am not getting sign,cheque file details [CODE]<?php function do_post_request($url, $postdata, $files = null) { $data = ""; $boundary = …

Member Avatar for albivl91
0
1K
Member Avatar for luckynisarg

actually i want to make history of my sofware use...!! and i want to store that history in a textbox. can anyone help me????

Member Avatar for Sahil89
0
85
Member Avatar for zachattack05

Is this possible? I am trying to modify how the CheckListBox works when a user clicks on an item. By default there are two options. One requires the user to "select" the item first and then they can check it, meaning 2 clicks. The other is they click the item …

Member Avatar for zachattack05
0
124
Member Avatar for evamshi88

I am trying to generate random points on the canvas. So i want to the random point on the screen to move to a new random location, when mouse touches it. How do i do this?? this is not happening with any of the mouse events. An example would be …

Member Avatar for Sahil89
0
916
Member Avatar for samytaqq

Write a C++ program that asks the user to enter an integer n followed by n numbers. The program will use 2 stacks to enter the numbers entered by the user. In every iteration the program will balance the total of the numbers stored in every stack. For example, if …

Member Avatar for m4ster_r0shi
0
140
Member Avatar for ChaseRLewis

Whole purpose of learning C++ over C# and whatnot is for performance and working at a lower level for more control. Since I've been learning a little SIMD I figured a good project to test myself and make stuff better would be to program a basic scripting language that handles …

Member Avatar for mike_2000_17
0
191
Member Avatar for Twin802

**I would like the player after he/her makes it to the end of the map to go to the next level. Here is an example of a code that I would like you to change so the player will close and open another level... blah = unimportant coding and whatever …

Member Avatar for Twin802
0
105
Member Avatar for jdm3

zipc = "47408" url = "http://watchdog.net/us/?zip=" conn = u.urlopen(url+zipc) content = conn.readlines() for line in content: line = line.decode("utf-8") So I am working on a CGI/Python project that requires input of a zipcode to then find the name of a certain politician. Right now I am trying to find a …

Member Avatar for jdm3
0
218
Member Avatar for maverick420

#**Can anyone please tell what are the differences between Microsoft Access and traditional DBMSes (i.e. SQL Server, Oracle, Postgres, and MySQL) in reference to how they handle record-locking, rollbacks, and database updates? **#

Member Avatar for maverick420
0
147
Member Avatar for studentabc

I am not able to post the new article on the website thats why i am directly contacting you if you can able to help me out with the following problems. I am student. I have a very simple assignment and I did do the assignment but the requirement is …

Member Avatar for broj1
0
2K
Member Avatar for alaa sam

hi everyone I'm asked to implement malloc and free as my project in operating system course , but the big problem is that i have searched a lot about it and still have no idea about it , if anyone can tell me what are the main functionalities of the …

Member Avatar for alaa sam
0
317
Member Avatar for mobeen89

Hello I'm relatively new to Microsoft Visual Studio. Now, the project that I am working consists of a GUI class and two separate classes (lets call them A and B). I am working on the GUI and one of the other classes (A). Basically, these classes interact woth some hardware …

Member Avatar for mobeen89
0
178
Member Avatar for Valiantangel

hi in C if someone says printf(%d,x); is x int and double or just int? I know %d is decimal . Will this be the same for printf(%d,&x);? Also cin>>x.Can x be any arithematic type? Thanks

Member Avatar for Ancient Dragon
0
122
Member Avatar for faizal_123

hi...... projot here I am facing a problem in the code i have to populate the combo box from datagrid view from database just help me in doing it this code is giving me an error my contact no is 9049776416 Imports System.Data Imports MySql.Data.MySqlClient Public Class supplier_update Dim con1 …

Member Avatar for artemix22
0
373
Member Avatar for zaken5000

Hi everyone, I want to excess a operate according to a wide range dimension or perhaps tips. Ex: int calc(int a[]); int calc(int a[][]); as well as int calc(int *a); int calc(int **a); *a ought to be &a however i don't realize how to encounter any research of an reference …

Member Avatar for TrustyTony
0
91
Member Avatar for hawkeyeviewonu

Sorry for my english.. Im trying to make a program that show the shortest route of this nodes using BFS algorithm.. ![115](/attachments/large/3/115.JPG "115") i tried to print the prev array which shows the shortest route but somehow it doesnt appear on console when running.. how to fix it? btw, is …

Member Avatar for histrungalot
0
985
Member Avatar for userct

Stack-based Evaluation and Simple Subroutine Linkage Hello, I have to Write a program that evaluates 3x2 – 2y2 – 5xy + 20x – 16y + 100 for integers x and y that the user enters. Prompt the user for x and y. Use pread from chapter 26 for this. Use …

0
107
Member Avatar for timosoft

Hello, I have below code that set customised form border color and title. the form is missing icon though. kindly asist me on the below on how to add icon to the form as well. thanks Code blocks are created by indenting at least 4 spaces ... and can span …

Member Avatar for codeorder
0
206
Member Avatar for samytaqq

Let us suppose that we have 3 books (see table below), each of which contains a number of chapters and every chapter contains a number of sections. For example the book Data Structure contains 3 chapters (Queues and Stacks, Linked‐Lists, Sorting) and the chapter Queues and Stacks contains 2 sections …

Member Avatar for thines01
0
196
Member Avatar for kiail

Okay, so I have a pretty basic form. I'm having quite a bit of trouble though, trying to create an OO program keeping my design etc separate. In other words, having a utility class or something like that. Basically I'm unsure if I should only put my calculations there, or …

Member Avatar for kiail
0
305
Member Avatar for jackbauer24

So now my son is into PHP and so I bought a book for him, Head First PHP and MySQL and my son took the code and tried it. The main page is report.html. report.html:- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" …

Member Avatar for diafol
0
308
Member Avatar for h2so4_2003

<script type="text/javascript"> function dynaBlock(){ var division=document.getElementById("dynamic_block"); var go_btn=document.getElementById("GO"); if(division.style.display=="none"){ division.style.display="block"; return true; } } </script> function not defined says firebug. onclick="return dynaBlock()" in button. block is in DIV tag. what to do?

Member Avatar for h2so4_2003
0
124
Member Avatar for zachattack05

I have a custom control that derives directly from CheckedListBox. If the CheckedListBox subscribes to its own event (ItemCheck for example) and the user of the control also subscribes to it, does the control's event trigger first before the user's? I read on MSDN that if multiple subscribers subscribe to …

Member Avatar for zachattack05
0
183
Member Avatar for vb6play

hi, im using a file1 object for list the files inside a directory. when i set the file1.font.size the file1.height changes. there is a way for keep the file1.height equal to the form1.height even if the font size changes ?? thanks in advance.

Member Avatar for QVeen72
0
100
Member Avatar for hptchen

Hi guys, I have a question **How to create mobile version of our website?** if we browse from smartphone, then will directly go to mobile version for example: m.facebook.com then if we browse from desktop browser, will go to www.facebook.com Thanx....

Member Avatar for hptchen
0
61
Member Avatar for germainelol

Hello, I am rather new to this so bare with me! I am currenlty creating a BlackJack game in Java and attempting to use the MVC design when creating it. I have so far created the following classes: - Card: To hold create a card - Deck: To create a …

Member Avatar for JamesCherrill
0
1K
Member Avatar for alanborder

package edu.edusys.demo.jdbc.dao; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import java.util.ArrayList; import edu.edusys.demo.jdbc.bean.Customer; public class CustomerDAO { private Connection connection; public CustomerDAO(Connection connection) { super(); this.connection = connection; } public boolean addCustomer(Customer customer) throws Exception { String sql = "INSERT INTO Customer" + "(name,address,phone)" + "VALUES (?,?,?)"; PreparedStatement ps …

0
218
Member Avatar for MrEARTHSHAcKER

Hi, I have been playing around with pointers and made a little mistake of this type: class D{ public: int a; }; int main() { D *x; //As you can see I didn't allocate memory at all... x->a=3; // ... but initialized a member variable cout<<x->a<<endl; return EXIT_SUCCESS; } I …

Member Avatar for JasonHippy
0
233
Member Avatar for shravya

hi! guys i just came through this code on Google //encryption public string Encrypt(string plainText) { if (plainText == null) throw new ArgumentNullException("plainText"); //encrypt data var data = Encoding.Unicode.GetBytes(plainText); byte[] encrypted = ProtectedData.Protect(data, null, Scope); //return as base64 string return Convert.ToBase64String(encrypted); } and tried to implement it since i had …

Member Avatar for shravya
0
104
Member Avatar for ThatsSoShaneka

Hi everyone, I'm having this problem with my code and cannot seem to get past it although it was working fine before. The error is "An error occurred creating the form. See Exception.InnerException for details. The error is: Object reference not set to an instance of an object." The code …

Member Avatar for poojavb
0
525

The End.