199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for castajiz_2

Hi, I was wondering if anybody is willing to share some information on how much can you earn from implementing add ons to your application? I know that I can not find such info on the web so I want to ask people who actually earn from app advertising. And …

Member Avatar for Dennis Sheil
0
182
Member Avatar for Trle94

Hello everyone, I need small help with arrays, been smashing head whole night getting it work, so if anyone know solution for this please let me know here or post example snippet. So i have example code: Dim housing() As String = {"House", "Flat"} Dim people() As String = {"01", …

Member Avatar for hericles
0
113
Member Avatar for Simon180

Am trying to look the code below so it will loop the current items already in the list and display them all plus any new onces added but am having a bit of trouble doing this what am I missing or doing wrong? Gallery.Duplicates := dupIgnore; Gallery.Sorted := True; // …

Member Avatar for SalmiSoft
0
132
Member Avatar for wgdbatman

I am having a reall issue with an assignment I am on. Here is the Assignemnt and attached are what I have for the .html and .php files. My .html is displaying as code on a web page vice the desired formatting. Any advice? Write a PHP script that obtains …

Member Avatar for matrixdevuk
0
569
Member Avatar for Lacrecen

Good day!~ May i know the difference between creating database using Visual Data Manager and using MS Access. which is better?

Member Avatar for Lacrecen
0
257
Member Avatar for ali11

import java.util.ArrayList; import javax.swing.JOptionPane; public class ClientList { private ArrayList<Client> clientData; private final String NEW_LINE = "\n"; private int cursor; //manager mode public ClientList ( ) { clientData = new ArrayList<Client> ( ); buildClientList ( ); if (clientData.size ( ) != 0) cursor = 0; //not empty, place cursor at …

Member Avatar for Slavi
0
182
Member Avatar for theashman88

Hi I got a quick question. Is there any way i can change the background color and the text color within my compiler of dev-c++. I'm not trying to change the color of the output when I run the program, I'm talking about the actual code itself and its compiler. …

Member Avatar for nullptr
0
7K
Member Avatar for chubbyy.putto

I try to it. it still have junk char on it. The thing I try to do is decrypt byte key that w/o using the key. When i test is show me a junk when this code is detele any char that over the 0 to 127 but it not …

Member Avatar for Slavi
0
292
Member Avatar for COKEDUDE

I am having issue with jmenu popup in netbeans. It only sometimes works. Sometimes I don't get a java popup at all. Sometimes my File and Edit options are completely missing. This is what my code looks like. import javax.swing.*; public class menu { /** * @param args the command …

Member Avatar for Slavi
0
125
Member Avatar for ceeandcee

Good Morning, I am trying to run a mysql query to see if the field 'Date' is within 7 days of the current date or not. If it is less than 7 days old, I want to echo an image called current.jpg. If it is more than 7 days old, …

Member Avatar for diafol
0
337
Member Avatar for arashe

I need an algorithm that check some arrays and if the condition was true * all of them at -1 // Otello.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> using namespace std; static int bazi[8][8] = { 0 }; int turn = 1; …

Member Avatar for arashe
0
151
Member Avatar for raliot

I need a help , to make this code to sort data from text file.Any help is appreciated! file: 50 72 10 30 90 4 23 #include<iostream> #include<conio.h> void mergesort(int[],int,int); void merge(int[],int,int,int); void main() { int a[20],p,q,r,i,n; cout<<"Enter the number of elements"; cin>>n; p=0; r=n-1; cout<<"Enter the array"; for(i=0;i<n;i++) { …

Member Avatar for Maritimo
0
331
Member Avatar for marlyana

Write a program that has an array of integers as below: -12, 3, -12, 4, 1, 1, -12, 1, -1, 1, 2, 3, 4, 2, 3, -12 The program should counts the number of occurrences of each array element. Output a two-column list where the first column is a list …

Member Avatar for shayan_doust
0
149
Member Avatar for Khan2014

Hi All, I was wondering if anyone could tell me a better doing this. I have a thousand image in each folder going from 0 to 999 and i want to be able to select an image in any folder and load it. Thanks in advance for the reply. if …

Member Avatar for Khan2014
0
157
Member Avatar for gedas

hey, i am creating a web service but the problem is when i try to deploy that web service it gives me error below: [ICODE]init: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Building jar: D:\Documents\NetBeansProjects\EmployeeWebService\dist\EmployeeWebService.war D:\Documents\NetBeansProjects\EmployeeWebService\nbproject\build-impl.xml:684: Deployment error: Starting of server GlassFish Server 3 is not supported. Please, start the …

Member Avatar for ajithoop
0
158
Member Avatar for goha1414

Write a program in object code that will convert a 3-bit binary number to a decimal number,For example, if input is 101, output should be 5; if input is 011, output should be 3. that is what I have to do,this is what I have so far but its not …

Member Avatar for saifali110
0
1K
Member Avatar for punna.udaykumar

A series of different parts of sentences will be randomly put together to come up with new interesting sentences. using with Random, Integers, Print, Strings, Breaks, Functions, For, Range

Member Avatar for sneekula
0
487
Member Avatar for ao_py

I am trying to write a program that graphically presents three doors and ask the user to choose the “special” door (randomly selected by the program). If the user correctly chooses the special door, it’s a win. If either of the other two non-special doors is selected, it’s a loss. …

Member Avatar for sneekula
0
892
Member Avatar for jorwill.harion

Good day! I am currently working on this code. My problem is that the delete option don't function. It gets the error "There has been a fatal error." as stated in the code, so please help me to fix this code. Thank you <html> <head> <title>Buyer's Profile</title> </head> <body> <?php …

Member Avatar for hericles
0
253
Member Avatar for liphoso

i am running PHP Version 5.2.9, i want to create a barchart from data in mysql. i got this sumple and tried running it. am having a bit if trouble with json_encode(). i have an array that has numbers and strings but the numbers get printed back as strings. how …

Member Avatar for liphoso
0
583
Member Avatar for jigglymig

This is not an assignment, teacher wants us to do this as a prereq for an assignment and his instructions are not clear enough for me to follow. I am using C: instead of E: I made the directory C:\sql and coppied the cmd.exe and pasted it. When I right …

Member Avatar for deceptikon
0
139
Member Avatar for OMER AHMED

hi all ... i am designing a software where i am using login and password. the user and password is store in notepad which is connected with listview . now i dont know i mean i need something when user enter user and password it should search and if details …

Member Avatar for OMER AHMED
0
820
Member Avatar for dancks

I was testing this in prompt mode: import re def checkurl(url): check = re.match(r'^(:?https?://)?[^\/#?&]+\.[^\/#?&]+.*$',url) if check == None: print “NNOOOOOO!!!!” else: print “YESSSS!!!!!” checkurl("javascript:void(0);") checkurl("/account/general?ru=https%3a%2f%2fwww.bing.com%3a443%2fsearch%3fq%3dukraine%2bcrisis&FORM=SEFD") checkurl("/?FORM=Z9FD1") checkurl("http://choice.microsoft.com") I have no idea why this won't work. Ignore the regex its only supposed to weed out relative paths and fragments of strings. …

Member Avatar for Gribouillis
0
995
Member Avatar for ravi142

Hi I make **FPDF output** of data in 3 simple columns with word wrap content. For E.g Like Table Structure. Title-1 | Title-2 | Title-3 Coln-1,Coln-2 | Coln-1,Coln-2 | Coln-1,Coln-2 If you given help with some snippets then better to understand. Thank you.

Member Avatar for ravi142
0
2K
Member Avatar for shahera.arafat

(node.h) This is the code and it gives me these errors >>which confused me alot >>what are these errors ?!! and what is the problem ?!! Error 3 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 12 graph.h Error 4 error C2660: 'graph::create' : …

Member Avatar for tinstaafl
0
211
Member Avatar for lewashby

[Linux] Mint I wrote the following code from an SDL book I have and it seems to be building just fine but when I go to run the program I get this error -> "Launch failed, Binary not found." I used Eclipse as my IDE and the setting are adjusted …

Member Avatar for tinstaafl
0
272
Member Avatar for jorwill.harion

Good day! I have 3 tables name property, personal and spouse, they have all the same id. I want to join the 3 of them, I had already join property and personal table but I can't join the spouse table. $userquery = mysql_query("SELECT * FROM property, personal WHERE property.id=personal.id") or …

Member Avatar for jorwill.harion
0
319
Member Avatar for grakovski

Hello there :) I got this json: http://steamcommunity.com/id/spekat/inventory/json/730/2 In place of "spekat" - has different account names with different information. I want to get "classid" index with information (like numbers) Now my code is like this: <?php $urljson2 = file_get_contents("http://steamcommunity.com/id/$steam_acc/inventory/json/730/2/"); $json_decode2 = json_decode($urljson2); $inventory = $json_decode2->rgInventory->classid; ?> But not work, …

Member Avatar for gabrielcastillo
0
483
Member Avatar for younes.keraressi

hey, i have a virtualbox with a guest install on it windows 2008 r2 server where i put my web site and i can ping both side, from main to virtual machine, and from mv to host but the problem is when i try to tape in browser the ip …

Member Avatar for veedeoo
0
639
Member Avatar for akuma_reen

hello i had trouble in finding out whats wrong with my code I want to sort the data's from my text file and it somehow did but some of the words did not appear. word.txt hello apple hi banana mango the output I get is : hello hello hi hi …

Member Avatar for akuma_reen
0
2K
Member Avatar for chumli

I have finally got the game running but it ends too early. I need to make the game continue until there are 4 in a row but it ends after the first turn and no disk is dropped. do { cout << "Drop a " << (player == 'R' ? …

Member Avatar for chumli
0
159
Member Avatar for tanklessgunit

I'm trying to solve a problem which I've now for 2days. But with any kind of success I want to create something where people can track their progress, so if somebody 'creates a progress' certain information need to be selected from the DB and inserted into other table. for now …

Member Avatar for veedeoo
0
288
Member Avatar for MasterHacker110

I recently read about the Ackerman Function and thought I would do my own implementation of it: #include <stdio.h> long long int ackermann(long long int m, long long int n) { if (m == 0) return n + 1; if (n == 0) return ackermann(m - 1, 1); return ackermann(m …

Member Avatar for Moschops
0
268
Member Avatar for senait.kifle.127

I am running into problems reading in a csv file. I have an inventory.csv file with three columns and around 10,000 rows. The last column is supposed to be ignored. The csv format looks like this Shelf number; item name; item number. (So here item number shall be ignored). After …

Member Avatar for Moschops
0
2K
Member Avatar for Johnny Blaz
Member Avatar for soomro_moon

hello, can anyone please help me with this piece of code, is not showing combobox value, why ??? its urgnt <tr><td>TERM</td><td><select name="term" ><option value="t_1">FIRST TERM</option><option value="t_2">SECOND TERM</option><option value="t_3">THIRD TERM</option><option value="t_4">FOURTH TERM</option><option value="t_5">FIFTH TERM</option><option value="t_6">SIXTH TERM</option><option value="t_7">SEVENTH TERM</option><option value="t_8">EIGHTH TERM</option></select></td></tr> <tr><td><?php if(isset($_POST['term'])) { echo $_POST['term'];} ?></td></tr>

Member Avatar for pclfw
0
245
Member Avatar for usmanjani

please help me identify the objects,their relations (Association, aggregation and Composition) of a university ?

Member Avatar for usmanjani
0
161
Member Avatar for chumli

Ok so I completed my hangman code but now I have to read the words from a .txt. I have looked at numerous codes and examples but cant get it to work at all. Any help I would be grateful. #include <iostream> #include <string> #include <vector> #include <algorithm> #include <ctime> …

Member Avatar for chumli
0
147
Member Avatar for N S K

help me to solve this . how to compare virus signature with file to detect virus in java? whether file content or file signature is compared for virus scanning?

Member Avatar for stultuske
0
209
Member Avatar for Florian_2

Hey, guys! Newbie here. =) I try to reverse an image but an error came and i don't know why :/ This is the error: Traceback (most recent call last): File "C:/Users/Florian/Documents/ISN/S10/défi11.py", line 10, in <module> im.putpixel((x,600-y),(p[0],p[1],p[2])) File "C:\Python27\lib\site-packages\PIL\Image.py", line 1267, in putpixel return self.im.putpixel(xy, value) IndexError: image index out …

Member Avatar for vegaseat
0
785
Member Avatar for UK-1991

Hello guyz, I have created a security on a page like there are several password issued to the users like on join us page if the person click on it the prompt box and user enters the password users are on that page and password is wrong it redirects to …

Member Avatar for diafol
0
297
Member Avatar for bonzo2008

Hi the line with image4.picture don't work the rest of the code is printing out as it shall do. The image4.picture is in hidden position and the path is Okej.( can see it when the image4 is vissible=true) How or where is the problem ?? Help is use full with …

Member Avatar for bonzo2008
0
1K
Member Avatar for shahera.arafat
Member Avatar for Ryujin

Greetings. Trying to scrape data from search results in [a library catalog](http://pilot.passhe.edu:8042/), but cannot return anything at all. The same script below works fine pulling from *another* catalog, but not with this one. (It's a Voyager catalog by ExLibris, in case that helps.) Below for simplicity is a boiled-down version …

Member Avatar for cereal
0
982
Member Avatar for aluhnev

//This is my code,how do i find & print max value namespace StartCSharp { class Program { static void Main(string[] args) { int [, ] a = new int [4,4] {{2,3,4,5}, {34,56,25,67}, {22,44,55,77},{45,80,22,13}}; foreach (int x in a) Console.WriteLine(x); } } } ///Thank you.

Member Avatar for ZER09
0
239
Member Avatar for Akhila_1

HI, VB.net i drew a circle and an arc in the form (resolution to my laptop screen size) I want timer one to be switched on when the mouse hoves in that particular circle and turn off when it moves off the circle.And Second timer will be switched on when …

Member Avatar for Akhila_1
0
449
Member Avatar for aluhnev

//HI All what is wrong with this code,i try to declare 4 dim. array int [, , ,] a = new int [3,4] = {{2,3,4,5}, {34,56,25,67}, {22,44,55,77}}; //how do i declare it an assign values to it?Thanks.

Member Avatar for aluhnev
0
162
Member Avatar for David_14

Is there software around that will update a cell or table (or iframe) on a web page via email? Therwe used to be Send2Page that worked great, but i don't think they are around anymore.

Member Avatar for Brandon_8
0
105
Member Avatar for juanpa_2510

Is it valid to use an integer variable as a condition? I mean: int var = 20; if (var) { //code here } I know that when var == 0 it's equivalent to false and true if 1, but otherwise could it be a valid question?

Member Avatar for deceptikon
0
175
Member Avatar for James_41

I have to complete a project which have an text file and finds path between 2 actors(kevin bacin game) that you input by going through the movies in the text file. For example if the text file is: Apollo13 Kevin Bacon Tom Hanks Gary sinise HollowMan Elisabeth Shue Kevin Bacon …

Member Avatar for juanpa_2510
0
3K

The End.