199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shaynicb25

I have to create a program that reads the text, outputs the text as is and prints the number of lines and the number of times each letter appears in the text. I have to include an exception, so that if the array index goes out of bounds when the …

Member Avatar for javaAddict
0
444
Member Avatar for Alex Edwards

Is the [X] at the top right corner part of the JApplet or container with the JApplet? I need to make an action happen when the user attempts to close out of the JApplet and I'm not sure of how to properly access the window-closed button within JApplet context. Thanks …

Member Avatar for Alex Edwards
0
173
Member Avatar for ryaninCO

Please help me fix this error - THANKS!!!! Website: [url]www.trumpcardmarketing.com[/url] PHP Form Mail Error is as followed: Parse error: parse error, unexpected '@' in /home/content/r/m/c/rmcrorie/html/trump/PHPformmailer.php on line 21 PHP line in question is as followed: @mail($pfw_email_to, $pfw_subject ,$pfw_message ,$pfw_header ) ; PHP Code is as followed: [code]<?php // Receiving variables …

Member Avatar for ryaninCO
0
98
Member Avatar for Alex Edwards

I'm having a Focus issue when running a Swing application. There are 4 buttons visible on the JApplet. I have an implementation that allows the user to make keyboard and mouse events in the JApplet. The problem is that I can use the keyboard and mouse events when the program …

Member Avatar for Alex Edwards
0
167
Member Avatar for ishlux

Hi all, I am storing check box values with comma separated into db like this , the code given below [code=php] <?php include 'database.php'; $servicec = addslashes(serialize($a1)); $servicet = addslashes(serialize($b1)); $services = addslashes(serialize($c1)); $query1 = "insert into autoalto_contractor( service_category,service_type,services) values ('".$servicec."', '".$servicet."','".$services."')"; [/code] but while retrieving from the db i …

Member Avatar for langsor
0
137
Member Avatar for vulpecula

Hi everyone, I have a opened and read a file in a program that I am working on. I have the following informantion in the file: string intstring intstring intstring intstring intstring int string intstring As you can see, starting with the second string, the string starts right next to …

Member Avatar for Lerner
0
186
Member Avatar for breezyy

Hey there, I have the following problem driving me nuts! I have 2 check boxes and each one is assigned a message (for check 1 say Hi, for check 2 say food). If I click on one of them, it displays its message in a text box, and pressing the …

Member Avatar for breezyy
0
138
Member Avatar for Mylena

Hello, Please, if anyone knows how to pass a Javascript integer variable as a parameter into php mysql_query. Below gg1 is successfully converted to an integer (i checked it using some maths additions), and now i need to pass this value to BirdID. The last line with innerHTML works fine …

Member Avatar for buddylee17
0
169
Member Avatar for sciwizeh

i know that blender has a game engine, but i cannot find anything really good on how to get it to work... i can make physics happen, there are tutorials (like a ball rolling) on that that are easy to understand, but i don't get the event thing that blender …

Member Avatar for sciwizeh
0
128
Member Avatar for kavithabhaskar

i have 2 tables with same fields except that table2 has 1 additional field..but otherwise table1 and table2 have same fields and have different number of records in each and each row in each table could be the same or completely different.. i am trying to add the distinct values …

Member Avatar for kavithabhaskar
0
114
Member Avatar for Clockowl

Hi guys, Could you tell me what's wrong with this code? I don't get why the compiler says it can't find a matching function... [code=cpp]#include <iostream> #include <vector> using namespace std; template <class T> int printVector(vector<T> &x){ for(unsigned int col = 0; col < x.size(); col++){ cout << x[col] << …

Member Avatar for Clockowl
0
109
Member Avatar for Dancealot

Hi all. I am new to java, and trying to get bluetooth communication running on my mobile htc s710. I have heard something about having to initialize the stack before it can work, but I cannot find any information about how to do this, or how to get a package …

Member Avatar for peter_budo
0
263
Member Avatar for rati

Hi all, Can someone tell me in detail what are super global variables and how are they used??

Member Avatar for Demiloy
0
283
Member Avatar for rati

Hi All, I have started learning PHP now. I am unable to find the exact difference between include and require in php?

Member Avatar for JeetRaj
0
192
Member Avatar for ahmbil

Hello i need a help for my barcode scanner project. i want to create a code save it in a DB and be able to read it and decode it with the barcode scanner.

Member Avatar for Ancient Dragon
0
103
Member Avatar for ++C LOVER

guys! please help me to choose language (c++/J2ME) for mobile application! Actually I decided to do in c++ but some of my friends say it is not a good idea to do it! so please tell me which language I should select for S60 mobile phones to do project and …

Member Avatar for peter_budo
0
149
Member Avatar for andrew13d

hi everyone, I am trying to create an inventory using php/mysql. However, I am using a webpage such that the viewer or user indicates or picks their choice by making continous selections on the spry menu. For example, if the first choice is "x", another menu appears with several options …

Member Avatar for andrew13d
0
112
Member Avatar for yasmena

i want to display the results of a sql statement in several pages i have 6 rows .and i set the page limit to 2 rows so i have 3 pages i followed some tutorial online : [url]http://php.about.com/od/phpwithmysql/ss/php_pagination_3.htm[/url] but when i click next i have no results to display !! …

Member Avatar for Shanti C
0
108
Member Avatar for epixca

I've been wondering for the past hour if i could make a custom web extention like, .php. Would it be possible to create a .page ? (default.page) while using the php extension? Basically just renaming the web extention.

Member Avatar for Shanti C
0
113
Member Avatar for Shanti C

Hello friends... I got one error ,when my login page is loading... Fatal error:maximum execution time of 30 seconds exceeded in ../../../login.php What would i do for preventing this.. Thanks in Advance. Shanti..

Member Avatar for Demiloy
0
129
Member Avatar for Clockowl

Hi guys, I'm getting a segfault and I don't really understand why.. Here is the code n, i, quadcount, quadPerVert and quadindex are all (arrays of) unsigned integers. [code=cpp]unsigned int *quadsPerVert = new unsigned int[quadcount * 4]; //(...) vector<vector<unsigned int> > quadsPerVertIndex; quadsPerVertIndex.reserve(quadcount * 4); for (n = 0; n …

Member Avatar for Clockowl
0
119
Member Avatar for yasmena

can anyone heLp me i need to send an id to a page through a javascript function but it wont work he can't read the variable function confirm_delete() { var answer=confirm("Are You Sure You Want to Delete ?"); if(answer==true) { window.location="delete.php?id=$id"; // alert(" Title Deleted"); } else return false ; …

Member Avatar for Shanti C
0
96
Member Avatar for Pgmer

Hai all. In my appliction im having MDI parent form. and i made frm2 as topmost form But problem is whenever i open some other appliction still that frm2 will come on top. whenver my application is open or active then only frm2 should be on top. Thanks

Member Avatar for waynespangler
0
95
Member Avatar for BillyMako

Hey, My code i pretty messed up at the moment but i was hoping someone could help me change it so that when the form is reloaded the 2nd time round that the value in the drop down menu that's selected stays after the reload. [CODE] <!doctype html public "-//w3c//dtd …

Member Avatar for langsor
0
211
Member Avatar for cyberjorge

I am building a website for a real estate. As a designer I started doing the design in Photoshop, I am about to convert it in HTML but before I begin doing that I would like to know some things as this is my major concern. [INDENT] How to make …

Member Avatar for cyberjorge
0
170
Member Avatar for death_oclock

I am making a blitting call on my backbuffer: [CODE=C++] BOOL drawImage(IMAGE *lpImage, LONG x, LONG y) { RECT rect; rect.left = x; rect.top = y; rect.right = x + lpImage->lWidth; rect.bottom = y + lpImage->lHeight; dwVideoErrCode = lpBack->Blt(&rect, lpImage->lpSurface, NULL, DDBLT_WAIT | DDBLT_KEYSRC, NULL); if(dwVideoErrCode != DD_OK) { MessageBox(NULL, …

0
71
Member Avatar for HLA91

Hi all I was trying to make it so my small program that gets user input would first ask for a string and then print out the string that the user entered, then it would ask for a number it would read it in as a string and then convert …

Member Avatar for javaAddict
0
157
Member Avatar for SonxQ7

Is there a Template Class in Java as in C++, or is Object class in Java similar to Template class in C++ or at least the concepts...

Member Avatar for Alex Edwards
0
95
Member Avatar for architact

Hello I am facing a problem in my website development, I am using a html text area on my web page which is used to fill a field in database. The problem is that when I submit the text it converts the multiline text into single line. e.g Hello, I …

Member Avatar for Shanti C
0
106
Member Avatar for brr

[CODE] <input type=text class=text_box2 name=lstMAName"+s+" onchange=showMAName(escape(this.value),"+s+") id=select2> [/CODE] in the above code iam sending the selected value to the ajax function showMAName(str,str1) in select.js but there iam not getting the full value of this.value ( means if any space in the string like "how r u", iam getting only "how") …

Member Avatar for brr
0
141
Member Avatar for anuj_sharma

hey guys, i've installed xampp on my PC but i m nt able to run php files on it. please tell me how to run php fiels on xampp.

Member Avatar for Shanti C
0
71
Member Avatar for yasmena

Heloo, i've just downloaded a template for my site but i dont know how to use it in my PHP code can anyone just state some steps to follow thnx

Member Avatar for nikesh.yadav
0
58
Member Avatar for Mylena

Hi guys, I need to have a list of alphabet letters ABCDEFG...etc, and when I click on each letter, it opens a list of items. How do i do this opening list? I'm working with html/php/sql/etc Thanks a lot! Good night :)

Member Avatar for nikesh.yadav
0
82
Member Avatar for glecymay

hello i hope you can help me :icon_question: i just want to know how to code binary value to decimal value using c++ im willing to wait for your response :) thanks a lot godspeed

Member Avatar for glecymay
0
195
Member Avatar for rk1

Hi, I am not getting any results from stored procedure ,passing a parameter to the stored procedure . My code is [code=asp]<%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient" %> <%@ Import Namespace="System.Web.UI" %> <script language="VB" runat="server"> Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load Trace.Write("This msg is …

Member Avatar for vishakha_ate
0
99
Member Avatar for lich
Member Avatar for JaksLax

[ICODE] /* * Global Tech's employee system */ #include<iostream> using std::cout; using std::cin; using std::endl; #include "Person.h" int main(){ Person employee("Sue" , "Jones"); cout << "Employee Info " << employee.getFirstName() << " " << employee.getLastName() << endl; return 0; } /* * Person Class Definition */ #include <string> using std::string; …

Member Avatar for cikara21
0
112
Member Avatar for bcm
Member Avatar for sharrmee
0
153
Member Avatar for iamoldest

Okay everyone first heres a source page for this module that im having trouble with... [url]http://www.pygame.org/docs/ref/font.html[/url] Anyways my problem is finding out how to use this module to be able to print a variable with font.render....... anyone know how? Heres the code... [ICODE] #! usr/bin/env python import pygame, sys, os …

Member Avatar for sneekula
0
2K
Member Avatar for welbyobeng

I am using mysql and I have a table called "users". how will i get it to show only rows that have duplicate emails in the "email" field. I want the emails in order. what sql query will I use?

Member Avatar for welbyobeng
0
113
Member Avatar for tlc30

Hi, I've just completed my intro to programming class and my last assignment is to write a program for a hangman game. I have started and I think somewhere along the line I've gotten confused, can anyone give me some guidance. We did not do randomize in class but the …

Member Avatar for Duoas
0
106
Member Avatar for guest7

Hi, I am trying to read the file (f1.txt) which contains : 3 0 -6 0 4 0 -8 0 ... I wish to read the first number from consecutive 2 lines and process them. Following is my code: std::vector<int> row; std::vector<std::vector<int> > two_node; int main() { string line1, line2; …

Member Avatar for Radical Edward
0
239
Member Avatar for veledrom

Hi, Code below returns true for (.). It should return false like it returns false for (,). Is there any other way to check (.) and (,). I simply want validate money. Thanks [code] if (isNaN(form1.paid.value)) { alert ("Syntax is not right."); return false; } return true; [/code]

Member Avatar for veledrom
0
138
Member Avatar for coveredinflies

Hi, sorry if this has been asked before I did a search but couldn't find it. How do I define a pointer to a 2D array? (I am trying to pass it into a function). Thanks.

Member Avatar for ArkM
0
456
Member Avatar for matt_hates_code

Ok I'm using the GCC compiler in C . I have a tree style of menu that has been designated function "Manager". I want to return to the top of the tree so basically what I do is at some point from within the "Manager" function I make the call …

Member Avatar for matt_hates_code
0
119
Member Avatar for Dukane

I'm trying to process a text file saved in the directory below where the PHP script is running. First, it lists all of the files in the directory, skipping over . and .. Finally, it attempts to get a file handle for each file one at a time and then …

Member Avatar for Dukane
0
1K
Member Avatar for CoolGamer48

Hey, I'm learning Objective-C, and they use [ICODE]#import "File.h"[/ICODE] instead of [ICODE]#include "File.h"[/ICODE]. The tutorial I'm using says that import is like an include once thing, and it basically implements the #ifndef blocks that's normally done manually in C++. I was just wondering if this is something specific to Objective …

Member Avatar for Radical Edward
0
148
Member Avatar for robertmacedonia

Hello, I was just looking up the threads and I must say I saw a lot of codes with "std::string", "std::cout", etc... I just wanna ask, wouldn't it be better if you just wrote "using namespace std" instead ? I am doing it all the time, but if it's wrong …

Member Avatar for William Hemsworth
0
256
Member Avatar for NekoGráfico

Once the object is copied to the vector the pointer isn't updated. If I use a copy constructor to fix this problem I get awkward results. Could anyone please help me find a solution? Thanks in advance. [code=C++] #include <iostream> #include <vector> using namespace std; typedef struct { void *map; …

Member Avatar for NekoGráfico
0
107
Member Avatar for JRM

Hello all, I got involved with a Joomla CSS project, but I know very little about the properties of CSS. I have found out the hard way, that it works by it's own rules which may or may not necessarily be a subset of the HTML tag that I am …

Member Avatar for essential
0
193

The End.