199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gregkawere

i am very keen to learn how to develop mobile apps, but i want to master one programming language. i hear you can design mobile apps for android, windows & ios using Java. Is this true, if you can someone explain the details of doing this in each platform

Member Avatar for Andrew_35
0
637
Member Avatar for jouwa

What is the best platform to use in developing mobile application? Should I set up internal storage?

Member Avatar for Andrew_35
0
450
Member Avatar for surfingturtle

Please expound on get() function mentioned in the following code.....am not able to understand the output of this program. #include "stdafx.h" #include <iostream> using namespace std; int main() { char ch; cout<<endl<<"Enter a character:"; cin.get(ch); cout<<ch; cin.putback(ch); cin.get(ch); cout<<endl<<ch; int count=cin.gcount(); cout<<endl<<"Characters extracted in last get()= "<<count; //stuff stream with …

Member Avatar for surfingturtle
0
163
Member Avatar for savedlema

Hi! So, I have a dataset which is filled with data after a mysql SELECT Statement, I'll call the dataset dsResults.Tables("Results") Inside the dataset is data that I want to be filled into their respective text boxes. The columns in the dataset are expected to vary, for example, sometimes it …

Member Avatar for tinstaafl
0
299
Member Avatar for janicemurby

hi i have the following error [09-Nov-2016 16:22:28 America/Chicago] PHP Notice: Undefined index: HTTP_REFERER in /home/matureco/public_html/index.php on line 224 [09-Nov-2016 16:22:28 America/Chicago] PHP Notice: Undefined index: email in /home/matureco/public_html/index.php on line 225 ive checked and they are in the php block see code below can anyone tell me why this …

Member Avatar for diafol
0
358
Member Avatar for Sujan_1

I am learning php from w3school and I am trying to run this code but there is shown an error when I click submit button without filling the form. Here goes my code which is in a file named "**form.php**" <html> <body> <style type="text/css"> </style> <h2>PHP Form Validation Example</h2> <form …

Member Avatar for Taywin
0
342
Member Avatar for Roger_2

**below is the problem i am given, after this i explain where i am at so far and the code i have created, **Write the following functions in Scheme: 1.a "digitinc4" -takes as input a 4-digit integer, and returns another 4-digit integer constructed of the original input integer's digits, each …

Member Avatar for Taywin
0
461
Member Avatar for WpExplorerr

Hello :) Around a month ago, i got a custom bookmarklet coded for my wordpress blog and on top of the bookmarklet .js code there is this line var token = 'QzEJ5PJ3/RRO4cubQQiKKNg5au6SESUSkQOK5w9HKFgH6GxVu1NNilA5TYqoMBbz6sKdZP6eQ4GeLyZ1Ht5S/VrHIISvHXKFPxXNUZmRp1M='; I think this is some sort of API key or something that’s specific to a wordpress installation right? …

Member Avatar for Taywin
0
355
Member Avatar for lauruskamj

I have to use a class that converts number (2-9) to words ie; 368253 is double. I have a file of 100,000 words that I have to "bounce" the string of numbers off of to form any possible string of words. It also has to be able to convert a …

Member Avatar for Daren_2
0
681
Member Avatar for TrueCoding

First of all-I will guarantee I will mark the thread as solved when you kind people have helped me to solve the problem. Ok well Ive got a project which is to make a Quizzing System for my school using a database. It is a multiple choice quiz (so only …

Member Avatar for Ailan
0
2K
Member Avatar for zachattack05

I've asked this on SO *AND* Reddit without so much as a peep...was hoping DW would turn up the answer! I have an ascx user control that has a custom event added to it. I can get the event to work without problem, but the event doesn't show up in …

Member Avatar for rproffitt
0
534
Member Avatar for Ahmed_78

I want to convert this VB 6 code If Len(Text1.text) <> 0 Then Text1.text = Left(Text1.text, Len(Text1.text) - 1) To visual basic.net 2010 pro This code is used for making textbox delete only one number when you click on button .

Member Avatar for Ahmed_78
0
111
Member Avatar for AntonyRayan
Member Avatar for DavidB

I am trying to translate an old FORTRAN program to C++ and appear to have hit a brick wall. I do not understand how one of the variables returned by a sub-routine can ever take a particular value. I am not a FORTRAN master; maybe somebody here is more familiar …

Programming c c++
Member Avatar for rubberman
0
496
Member Avatar for wine_1

Hi, I am using the following code segment to input image from file. The code itself works fine. However, I have a question regarding line 7 img=img/255 I understand that it aims to scale the img value to 0 and 1. But I am not sure whether I should add …

Member Avatar for Gribouillis
0
250
Member Avatar for bandar_1

Hi Yall, could anyone help me to make xslt transformation of the the **following xml input** <?xml version="1.0" encoding="utf-8"?> <lifeExpectancyTable> <lifeExpectancyRow> <country>Afghanistan</country> <male> <Y1990>42</Y1990> <Y2000>44</Y2000> <Y2009>47</Y2009> </male> <female> <Y1990>46</Y1990> <Y2000>48</Y2000> <Y2009>50</Y2009> </female> <bothsex> <Y1990>44</Y1990> <Y2000>46</Y2000> <Y2009>48</Y2009> </bothsex> </lifeExpectancyRow> <lifeExpectancyRow> <country>Albania</country> <male> <Y1990>65</Y1990> <Y2000>68</Y2000> <Y2009>72</Y2009> </male> <female> <Y1990>71</Y1990> <Y2000>73</Y2000> <Y2009>75</Y2009> </female> …

Member Avatar for rproffitt
0
226
Member Avatar for sandman64

i'm trying to use the elif statement but every time i try to use it it gives a syntax error. here's the code: [code] n = input() while n != 2: n = n - 2 print "number is even" elif: n < 2: print "number is odd" [/code]

Member Avatar for Swathi_4
0
222
Member Avatar for Aeonix

`exampleArray.push("this is an item");` I a thing. But there are also 10 other items within. So I never truly know where that item is (which enumeration). Is there a way of saying `exampleArray.delete("this is an item");` where it will remove item with "that" content? (JavaScript question)

Member Avatar for diafol
0
228
Member Avatar for Aeonix

I don't know if I'm even posting in the right section. When I open a new tab (after closing all other tabs) and I input address of project site. Elements pops out of parent element (it's 50% of bottom is visible, while rest is through the top of the window). …

Member Avatar for diafol
0
263
Member Avatar for Waqas_4

/** * A statement class that implements DB_IStatement_1 * NOTE: in most cases, you should be type-hinting for DB_IStatement_1 * @author Andrew Minerd <andrew.minerd@sellingsource.com> */ class DB_Statement_1 extends PDOStatement implements DB_IStatement_1 { } i am getting following error . Strict Standards: Declaration of DB_Statement_1::execute() should be compatible with PDOStatement::execute($bound_input_params = …

Member Avatar for cereal
0
481
Member Avatar for Viasur

Hello to everyone! Yes, Im a newbie and I have a problem that is kind of a pain. I receive an error "Invalid Syntax", when trying to run this. The file mesaure.csv has been created and it is locate on the correct folder with the .py file. Whe I try …

Member Avatar for Gribouillis
0
4K
Member Avatar for Nether_1

Firstly, I would like to apologize for the massive number of nooby crap questions that come out of my account. I'm an emerging programmer that doesn't always know what he's doing, so I'm sorry. Secondly, the problem. I'm writing this code: class Object(): def __init_(self, vertices, color, name): self.color = …

Programming oop python
Member Avatar for Gribouillis
0
538
Member Avatar for Aeonix

`<input id="aaa" onclick="scrollTo('registerBox'); return false;" formaction="register.php" type="submit" value="Register" />` If JavaScript is enabled (which it is, and it's working on other functions and triggers). Shouldn't it execute `scrollTo("registerBox");` and don't do anything (`return false;`). Am I missing something? I don't want it to `formaction` if JavaScript is enabled.

Member Avatar for gentlemedia
0
374
Member Avatar for Anmol_4

Hello everyone,I am having no experience in android or mobile app develpment but having some questions is it possible to have app which works offline without internet(devices can be connected LAN) where in each device have data stored of main stock of items which will be updated once in month.Now …

Member Avatar for rproffitt
0
410
Member Avatar for pasta

Hello, i recently learned Pig Latin and how it works (some stupid hard shakespeare language in Python lol) and in CodeAcademy it says "print Pig Latin" in pig latin which i do not know how and i need some help, here is the code i entered for the program on …

Member Avatar for Gribouillis
0
535
Member Avatar for Nether_1

Hey everybody. I'm currently working on making a simple 2D "engine" of sorts in which I can assign certain objects to certain coordinates and it will render them out there. It's mainly to be about 2D animation and the like, but that's besides the point. I'm working on a coordinate …

Member Avatar for Nether_1
0
9K
Member Avatar for javaAddict

Hi All. This is my first code snippet. I don't know how practical it is, but I came up with the idea, so I wanted to do it. Assuming you have an array. You use a for loop to display its data. For 2D arrays you use 2 for loops. …

Member Avatar for JamesCherrill
0
931
Member Avatar for Waldek

I wonder if anyone has solved this problem already. I have a fully populated datatable (ado.net datatable) containing about 3000 rows of data with 53 fields. I want to copy the contents of the data table into an access database table ready prepared and empty which has the identical structure …

Member Avatar for Daniele_1
0
6K
Member Avatar for Frank_16

I'm a bit stuck. I've tried googling but my google-fu appears to be lacking I've finished almost everything I need to do in this program, I'm just stuck and don't know the formula/code for this one thing three forms. form1 is the parent form, form2 and form3 are child forms …

Member Avatar for tinstaafl
0
380
Member Avatar for SimonIoa

I want to make a script that changes pictures depending on the type . I am getting a error on Sql but i dont know what i am doing wrong this is the script function Pic($profilePic) { if($profilePic) { $profile_pic=BASE_URL.UPLOAD_PATH.$profilePic; } else { $sql = "SELECT type FROM messages WHERE …

Member Avatar for cereal
0
452
Member Avatar for Felix_2

Warning: mysql_affected_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\Timetable\timetable.php on line 90

Member Avatar for diafol
0
85
Member Avatar for berserk

Hello All, i have run into an issue with my little project that i cannot seem to find much on and im at a lose for resources to check through. I am trying to get and use data that is being pulled from a json echo to my other php …

Member Avatar for berserk
0
452
Member Avatar for yumyam09

Below are my current codes that will run a .VBS file. When I run the code it will open an CMD app to show the process. Now how can I run the .VBS file and the process will be shown in Textbox/Richtextbox. Private Sub Button1_Click(sender As Object, e As EventArgs) …

Member Avatar for Reverend Jim
0
577
Member Avatar for Stefce
Member Avatar for bryann

I'm a beginner with databases and I'm trying to design a database in Microsoft Access that will allow users to make bookings for fitness classes. There are two slots per day that these classes can be booked for and each session can cater for 10 people. What I am struggling …

Member Avatar for Oleg_3
0
778
Member Avatar for Nunix

Hey guys I need help because I am with difficulties on showing the arrays in my website screen. There is an attachment with my website screen so you can see what kind of error is. Here it is my **UserController.php** where I call the translation: <?php class UserController extends \Phalcon\Mvc\Controller …

Member Avatar for diafol
0
599
Member Avatar for Sashika_1

I find something related to this topic and found. But I can't satisfie with this. The code is below. Imports System.Runtime.InteropServices Public Class Form1 Private Const SB_BOTH As Integer = 3 Private Const WM_NCCALCSIZE As Integer = &H83 <DllImport("user32.dll")> _ Private Shared Function ShowScrollBar(ByVal hWnd As IntPtr, ByVal wBar As …

0
279
Member Avatar for Sashika_1

I had mysql database and had many tables in database. For this problem we need details only about two tables. These tables are customer and guarantor. For each customer had two guarantors. In Customer tables it's primary key is Customer_id In Guarantor table it's primary key is Guarantor_id Then I …

Member Avatar for Oleg_3
0
387
Member Avatar for Shahid_9

I am working on an Android app in which I am submitting some variables in url in order to save the data in database what ever user enter in the text fileds but I am unable to do so as I am getting an error called "com.android.volley,Server error". I have …

0
173
Member Avatar for tcon

consider the following classes (similar to the ones i am working with): [CODE] namespace Project { public class Person { public Person() { } private string name; public string Name { get { return name; } set { name = value; } } private List<Pet> myPets; public List<Pet> MyPets { …

Member Avatar for Garr
0
1K
Member Avatar for janicemurby

Hi all im currently updating a script and repairing it after a page full or errors most ive done through searching but im stuck on this on if anyone can help be much appreciated jan PHP Notice: Only variables should be passed by reference on line 16 the piece of …

Member Avatar for ryantroop
0
756
Member Avatar for savedlema

Hi! I have two tables, I will call them first-half and second-half (of the year) Table: first id jan feb mar apr ----------------------- 2 80 90 70 60 3 50 40 60 30 Table: second id jan feb mar apr ----------------------- 2 50 70 60 90 3 80 60 50 …

Member Avatar for savedlema
0
391
Member Avatar for Ashley_12

I am using the Ionic framwork for the mobile app and Bootstrap for the web app, this has been set by my University as what we have to use, so we can't change them, but is there a way to link the data base to both services? Thanks in advance …

Member Avatar for rproffitt
0
423
Member Avatar for Mushfik

Hi, Can someone guide me on how to have php code echoing inside javascript <script> var cc1 = '<?php $_GET['cc1'];'; </script> <script type="text/javascript" language="javascript" > $(document).ready(function() { var dataTable = $('#employee-grid').DataTable( { "processing": true, "oLanguage" : { "sProcessing": "<img src='https://mir-s3-cdn-cf.behance.net/project_modules/disp/585d0331234507.564a1d239ac5e.gif'height='130' width='130'>", "sLengthMenu": "Show _MENU_ Records", "sZeroRecords": "No matching records found", …

Member Avatar for diafol
0
1K
Member Avatar for Fola_1

We have a client who needs to make the cash withdrawal option of their ATM's Inactive once the ATM runs out of cash or if there is a cash jam. Can anyone help with this?

Member Avatar for JamesCherrill
0
213
Member Avatar for Aeonix

<?php $not_an_int = "sa';';';'sd12340asd"; $actual_int = "12341234"; var_dump(is_int((int)$not_an_int)); echo "<br />"; var_dump(is_int((int)$actual_int)); echo "<br />"; echo "<br />"; var_dump(is_int($not_an_int)); echo "<br />"; var_dump(is_int($actual_int)); ?> Returns: true true false false Without casting, real integer is seen as false. With casting, a non-integer is seen as true. What would be a real …

Member Avatar for diafol
0
328
Member Avatar for Rajesh8367

I am trying to generate a random image everytime someone clicks spin. I am not able to generate a random picture. Some help would be really nice. Thanks in advance. Here's my code so far : import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Random; import javax.swing.*; public class Gui { …

Programming gui java java-swing
Member Avatar for Reverend Jim
0
833
Member Avatar for Nunix

Hello guys, I am here to ask for help, which it is a very problematic (for me) question: I went to the phalconPHP references and put it inside the controller (I don't know if I had to create a new controller or not, maybe yes) but I put it inside …

Programming php ui-ux
Member Avatar for Nunix
0
465
Member Avatar for nadiam

Visual Basic 2010 and Microsoft Access 2013 I have a product table in MS with fields : fld_id,fld_name,fld_img,fld_price,fld_type fld_img i set it as attachment and of course attached the corresponding image to it - is this wrong? this is my code to get the data into the datagridview. my form …

0
211
Member Avatar for Anmol_4

i have a array like array(2) { [0]=> array(18) { [0]=> array(8) { ["attandance_id"]=> string(3) "162" ["entry_date_time"]=> string(19) "0000-00-00 00:00:00" ["attandance_date"]=> string(10) "2016-04-06" ["class_id"]=> string(5) "11232" ["user_id"]=> string(5) "53697" ["status"]=> string(1) "3" ["timestamp_key"]=> string(27) "99b2f75ac6de8a52_1460025757" ["create_by"]=> string(1) "0" } [1]=> array(8) { ["attandance_id"]=> string(3) "163" ["entry_date_time"]=> string(19) "0000-00-00 00:00:00" ["attandance_date"]=> …

Member Avatar for ryantroop
0
215

The End.