199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kadence

I'm confused about the use of the dereference operator in the declaring of char arrays. I think I understand that the dereference operator is used to dereference memory addresses to their values, and also in an unrelated function in the declaration of pointers; and that arrays are like special pointers …

Member Avatar for Salem
0
205
Member Avatar for k2k

I know I can do " sed 's/old/new/g' filename to make the change to standard output.... however, is there a way that it would save the change to the file instead of just showing to the screen? Another question on ed, i know i can search by using /target/ , …

Member Avatar for Salem
0
164
Member Avatar for scorpionz

Hi This is Scorpionz... Is there anyone have any idea ...Regarding Work Flow System in Java Web Application.... Any Response Will be highly appreciated with great Thanks Regards ScorpionZ

Member Avatar for scorpionz
0
157
Member Avatar for anandi.sa
Member Avatar for sarehu
0
160
Member Avatar for sheady

[INDENT][/INDENT]I have created a Program that first searches and returns the contents of a file into a richedit then opens up the next file finds the matching record and displays that in the rich edit and then the same again with another file. [INDENT][/INDENT]My problem is that when i search …

Member Avatar for afripino
0
276
Member Avatar for kimbostun

i want Use the 2 text files boynames.txt and girlnames.txt Prompt the user for boy or girl and then for a letter from the alphabet. Open either boynames.txt or girlnames.txt and read each line in – when the name starts with the letter that the user specified then write the …

Member Avatar for Compton11
0
177
Member Avatar for Sawamura

Hi again, I want to print whatever that is written in rtf. Please Help me Thank you very much :)

Member Avatar for waynespangler
0
124
Member Avatar for NuGG

I have created a bat file to launch 3 browser windows with different URL's, to be run at system start up... [CODE] start iexplore http://www.domain.com/dyna.php?domain=ufbsound&tld=co.nr&pass=abcd&dir=ufbsound start iexplore http://www.domain.com/dyna.php?domain=ufblive&tld=co.nr&pass=abcd&dir=ufblive start iexplore http://www.domain.com/dyna.php?domain=ufbftp&tld=co.nr&pass=abcd&dir=ufbftp [/CODE] The URL's contain several "&" so the script opens the browser windows with the URL's up to the …

Member Avatar for afripino
0
203
Member Avatar for lahom

hi Iam creating an application(vc++) which supposed to find the similarity between two programs written in c++ (at SYNTAX and SEMANTICS). in SYNTAX: i used the tokenize method and save it in strings...thats works but the question is here in the SEMANTICS: how can i trace the semantics in the …

Member Avatar for Duoas
0
73
Member Avatar for Kahlia

Hi. Now to start with I'm not asking you to provide me with a solid answer to this, but enough information so that I know where to start looking would be good. I have a project that I am working on which is an Olympic Database. I have several tables …

Member Avatar for Loony064
0
119
Member Avatar for marrrrrrc

Hi, I need to match rows from one table to another table that may or may not have a match on one common column.... the problem begins with bringing back the most recent row in the other table. So, the query I'm starting with is: [code]SELECT * FROM data LEFT …

Member Avatar for tal17
0
112
Member Avatar for Loony064

Hey All! I'm currently creating a database for a payroll system. I have a table consisting of Occupation_ID (primary key), occupation_description, normal_rate and then 3 different overtime rates. I've created a query to calculate the overtime rates for the different overtime rates, i.e. [code]UPDATE Occupation_Rates_Table SET occupation_rate_overtime_1 = Occupation_Rate_normal*1; [/code] …

Member Avatar for Loony064
0
103
Member Avatar for TheWhite

Hi again. I'm trying to get Java to recognize the action of pressing both mouse buttons in the same time. I did some research and I found that Event.getModifiersEx() can help me do what I want, but I can't figure out how to implement it the correct way. Event.BUTTON1_DOWN_MASK is …

Member Avatar for Ezzaral
0
391
Member Avatar for lllllIllIlllI

Hi I have been working on a blackjack program and i have hit a brick wall as one of my Global assignments isn't working for some reason [code] import random class Cards(object): def __init__(self): global cards global player global comp global comp_tot global playert cards = {2:4,3:4,4:4,5:4,6:4,7:4,8:4,9:4,10:16,'ace':4} player = [] …

Member Avatar for lllllIllIlllI
0
181
Member Avatar for TheWhite

Hi again. I'm trying to recreate the digital timer in Minesweeper: Top right ----- [url]http://www.uberreview.com/wp-content/uploads/506x363-minesweeper.jpg[/url] 000 -> 002 -> ... -> 009 -> 010 -> etc... I couldn't think of an easier way to do it except to create an Icon for each number and match it to it's corresponding …

Member Avatar for TheWhite
0
100
Member Avatar for Talianika

Hi! Programing a program with the fibonacci numbers, but having some problems getting the program to work as it should. The problem is that the user which is using the program are going to type a "max value" of how far he wants to count the fibonacci numbers. So if …

Member Avatar for wellibedamned
0
121
Member Avatar for shankhs

hey guys do u know any good on line tutorial of graphs? ya i know there are many but i want the one which has source code to play around...... PLUS a detail description.... Thanx

Member Avatar for shankhs
0
102
Member Avatar for ABSOR

I just downloaded and installed ActivePython on my windows PC (XP). I can bring up the editor and can write very beginner lines of code in the editor and save and run the program. However, when I create any function the interpreter says there is an error, no matter how …

Member Avatar for ABSOR
0
94
Member Avatar for still_learning

Hey guys, I am trying to make a drop down menu that gives options such as (right, left, center) so that I can choose one of those and align the text in one of my layers. I am having trouble figuring out how to make this work so if someone …

Member Avatar for still_learning
0
462
Member Avatar for dangermini

Hey I'm just trying to develp some code for some coursework i've got to do. I am wondering is it easier for me to write the code for what I want to do and then integrate the PyQt GUI after I've written the code, or is it best practice to …

Member Avatar for dangermini
0
144
Member Avatar for saywell

Can anyone help me with a python script I'm writing to change a password in a batch file. I need to replace the old password with the new one. I can do this by getting the old password from the user by raw.input, but I'd really like to just replace …

Member Avatar for saywell
0
81
Member Avatar for a_iyer20

Hello, I have a requirement to fetch data from a database and store into another database. More explanation goes as follows: I have a web application deployed on an application server. The JDBC connection fetches data from a oracle database. Now I have a need to fetch data from a …

Member Avatar for jwenting
0
104
Member Avatar for cyfm

Has anyone ever used or is using Community Server? It's basically a really expensive asp community server that includes forums/blogs/gallerys/downloads and documents. You can I believe download a limited copy for free however prices can go up to $1,899.00 and if you want their top hosted package that will cost …

Member Avatar for mlittkesmith
0
191
Member Avatar for nizuya

I have a normal html document with an iframe pointed to a .php document (with links to other php documents). I would like the iframe height an/or width to change when page in the iframe changes. For example the initial page would generate an iframe height/width of 800/600. When you …

Member Avatar for hivenk
0
109
Member Avatar for NycNessyness

Currently having a problem with adding data so that if someone selects something like an add button, it keeps adding the data, like a person's name, age and grade. Then when they select Enter, all the data they added will display in a data file. The problem I'm having is …

Member Avatar for NycNessyness
0
159
Member Avatar for savinki

I want to split data in a string. The string will consist of several data. Before every element the length ofthe element will come. I want to exract data one by one. e.g. char * abc = "[length ]acsfdnhsjg[len]gvsdgdvheg[len]efgwetrge"; can someone help me!!!!!!!

Member Avatar for Radical Edward
0
169
Member Avatar for mihal

Ok, so far i have 2 strings inputed from keyboars into stringA and stringB, defined as db now i need to count how many times is string B appearing in A and output that number. Max lenght of strings is 29. I think it should be done in 2 loop, …

Member Avatar for mihal
0
105
Member Avatar for wujianwei
Member Avatar for peter_budo
0
88
Member Avatar for venomlash

Like the title sez, does anyone know a good way to take an Image and convert it into a BufferedImage???

Member Avatar for peter_budo
0
98
Member Avatar for riahc3
Member Avatar for suganzeni

Hi all I am working with VB.NET 2003 for mobile application. Here there is no likn label option. But i want to open a html link in my VB.NET form. Like may be on button click event or in form load event. If any idea help me Thanks and Regards …

Member Avatar for aaroe
0
200
Member Avatar for Bulldawg

Can someone help me with this one. I want to show the different images according to the criteria. It only returns the first image `echo $var1` as it is. I guess I am trying to figure out how to do: greater than one number AND less than another number to …

Member Avatar for Ole Raptor
0
164
Member Avatar for jpd727

Hey all, When I write even a hello world script like below [CODE]#include <stdio.h> int main(void) { printf("Hello World!\n"); return 0; } [/CODE] the windows command line flickers when trying to execute it, instead of staying there and showing me ? Is there anyway to refresh or make this start …

Member Avatar for Radical Edward
0
109
Member Avatar for Mackjan

I have a function when I use it outside the class as a function it works perfectly but when I want to use I as a method in a class I get a TypeError massage : [COLOR="Red"]Traceback (most recent call last): File "H:\python\prototyp_01.py", line 122, in <module> manupacians.koor(z) File "H:\python\prototyp_01.py", …

Member Avatar for Mackjan
0
149
Member Avatar for Syakoban

Hi, Full disclosure - I just cut and paste my way through scripting - I don't really know what I'm doing. Some time ago I got help with a little CGI perl script that included a link as a line of code with a variable in the form [ICODE]$page = …

Member Avatar for Syakoban
0
102
Member Avatar for kanjali

Hi, Please suggest me to do FolderBrowserDialog box for "C# Web Application". Thanks a lot, Anjali

Member Avatar for Ramy Mahrous
0
119
Member Avatar for itsense

Hi all I was wondering if there was a way of getting all the data in [code] item[0] [/code] into a mysql db. This is for my website, and i don't want to visit all the site to get the content. The example: [code] $load = new DOMDocument; $load->loadHTMLFile('http://www.website/index.php'); echo …

Member Avatar for itsense
0
111
Member Avatar for Onixtender

Hi , this pr. works with clases but someway it just throws me a error: [code] switch (atoi(i))//yes its an int 1,2,3,... etc... { case 1: R S(r, h);//create new class R object named S,to constructor we give two parameters F * f1 = &S; //yess pointers polymorph.... cout << …

Member Avatar for Onixtender
0
84
Member Avatar for Run.[it]

Basically this Menu works however, when I enter in a string the default does catch it but then the Menu repeats the error so in essence isnt full proof. Would the way around this be to check the 1st entry by the user to see if its an integer, if …

Member Avatar for Run.[it]
0
144
Member Avatar for ivy47469

I am working on the odd number magic square problems. I start the first number in the last row and center column. It worked on the 3x3 square, but not on any other odd numbers. Can anybody check my code? [code] def magic(n): if n > 2 and n % …

Member Avatar for BearofNH
0
141
Member Avatar for javaAddict

I will briefly explain my problem: I have a while-loop and inside I call some methods. Inside one of the methods I have this error: java.lang.[B]NoClassDefFoundError[/B], which is been caught and the while continues. The problem is that a few seconds later as the while keeps running the same method …

0
82
Member Avatar for oku

Hello everyone, I currently have a form that for each question you answer it gives u a score using if/else statements - it works fine this form is split into differnet sections and what i need is for only 1 of the scores to display for example in the first …

Member Avatar for oku
0
102
Member Avatar for TylerTCF

I have commented the problem into the code below. See the Store2 vector in the Write Data function. I get error 0xC0000005: Access Violation with no warnings. Any help figuring out why would be appreciated. [ICODE] #include <iostream> #include <fstream> #include <string> #include <sstream> #include <vector> #include <stdlib.h> using namespace …

Member Avatar for mitrmkar
0
132
Member Avatar for Spartan552

Hi guys ! This has been killing me for 8 hours Things work well I'm compiling this way : [QUOTE] g++ -Wall -o prog prog.cpp -L/usr/local/sesam/lib -Wl,-rpath /usr/local/sesam/lib -Wl,-rpath,/usr/sesam/lib -ldl -lc[/QUOTE] But when I add a link to /usr/local/sesam/lib/libssv.so that i need [QUOTE]g++ -Wall -o prog prog.cpp -L/usr/local/sesam/lib -lssv -Wl,-rpath …

Member Avatar for Spartan552
0
171
Member Avatar for Xokzin

Hi There, I'm learning C++. One of the questions requires a function to do a calculation below. I have no clue how to do this. Can anybody help? [QUOTE]WeTryToHelp gives bursaries to help students with buying their textbooks. The amount of money depends on how many modules the student passed …

Member Avatar for Xokzin
0
127
Member Avatar for sreelatha

Hi, I have a requirement that i have two files, one is input file and another is log file(both will contain the same data mostly). I need to compare these two files and if any difference found then those lines should be write to another file(3rd file). I done googling, …

Member Avatar for sreelatha
0
3K
Member Avatar for conandor

how can i have a automatically check folder size and when the contain of the folder is reach to some limit it will deletes all the contains the files inside.

Member Avatar for conandor
0
87
Member Avatar for zoner7

Typically the code that I have seen uses phrases such as i++ as opposed to ++i. Recently, in a recently purchased book, I have seen the former implemented. As I understand i++ means that the addition takes place after the line is executed and thus with the initial value of …

Member Avatar for Abzero
0
274
Member Avatar for scuba183

So I'm having a bit of a problem with a CGI script. It runs fine, except for the little problem that param(x) doesn't work at all. It will either crash the program or return an undefined value. [code=perl] #!/usr/bin/perl use warnings; use CGI qw(:standard ); $temp=uc(param('class')); $class=chomp ($temp); $temp=uc(param('type')); $type=chomp …

Member Avatar for KevinADC
0
120
Member Avatar for p3_tib2001

Help! Now I study about NAT (Network Address Translator), it is a new way about translate IP local to public. Ok, the point is when I want to install NAT in LINUX, i got error messages like below. I think this is about coding in nat.h. What should I do …

Member Avatar for p3_tib2001
0
170

The End.