199,114 Archived Topics
Remove Filter ![]() | |
I have a table of names that have done something on a certain date, now this could be over and over again yet of course on different dates but never the same. I need to update a field called last_time that corresponds to the previous date that they occur and … | |
Hello I'm a freshly new Graduate student of computer technology engineering, i'm interested in C++ as my first step into learning computer science, what books other than Bajarni books do you recommend, i don't like book that are 1000+ pages long, and prefer ones that are straight to the point … | |
#include <iostream> #include <string> #include <cmath> using namespace std; int main() { string Choice; string On, off; char a = 'A'; int i = 0, j= 0 , NUM = 2 , z = 1; cout << "Please enter 'start' to start the program\n"; cin >> On; if (On == … | |
just a question what are the advantages that C# as a general purpose programing language has over other web development programming languages such as HTML 5 CSS and so on | |
public class Test { public static int f1( int m1 ) { return ( m1 + 1 ); } public static double f1( double m1 ) { return ( m1 * m1 ); } public static void main( String[] arg ) { double x1, x3; x1 = 2.0; x2 = … | |
hi guys! Im hertz.. s computer science student from the philippines.. and this is my final year, so ive gotta start my thesis... ^^ I need ur help! Im interested in making research/implementation about mobile computing, multimedia, and Artificial Intelligence.. Im hoping that u can give me some possible thesis … | |
Hello Everyone, I have a task that invlolve two or more comboboxes, simply put I want a combobox that is populated with state of a country and another with cities in the state.I know I have to populate from Database which isnt a problem. Now to populate the state combobox … | |
I'm working on file delete function. I want to delete image from both database and folder. Image is deleting from database but not from the folder. But i want to perform delete image both from database and folder. Here is my code. public function dodelete() { { $contact = Contact::find(Input::get('id')); … ![]() | |
Here are my codes, I want to get access token after user login, but I don't know where am I wrong guys. I know to get access token in PHP SDK v4 but I think It's quite different in PHP SDK v5. Please help me guys <?php session_start(); require_once("Facebook/autoload.php"); use … | |
I'm saving data with the help of ajax and laravel. In the form the text field data is saving but the file is not saving with the help of ajax. This is my script. <script> $(document).ready(function() { $('#ajax').submit(function(event){ event.preventDefault(); $.ajax({ type: 'POST', url: 'post_contact', data: $('form#ajax').serialize(), dataType: 'json', }) .done(function(data) … | |
Hello to everyone i have a databse made up of 5 table, where 4 of the tables are linked to the fifth one by foreign keys. the tables are as follows. 1. **Client** - ClientID, ClientName 2. **Brand** - BrandID, BrandName 3. **Currency** - CurrencyID, CurrencyType 4. **RegisterShipments** - RegShipmentID, … | |
Hi to everyone, i am trying to display certain data onto some labels depending on the selection the user does from a combobox. The database consists of two tables, RegisterShipment and Shipments, where the RegisterShipmentID is linked to the Shipment Table by a Foreign Key. On the form i have … | |
this is a code for an input window that takes in data from users i tried to save whatever data the user put in in axml file but it is giving me errors...what is wrong with it...help /* * To change this license header, choose License Headers in Project Properties. … | |
I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form … | |
Hiii, I need very urgent help.i have developed one wordpress site,now i want to move that site to server.please any body help me, how to move wordpress site **from localhost(using xampp) to server(using Godaddy)**. | |
Hello to all! I have learnt VB.net and used IDE Visual studio 2012. Know I have started learning java. But I have a confusion that can Java be used with .NET frame Work? If Yes then which IDE is required for this. As we know that for VB.Net, C#.Net and … | |
I have followed all the tutorials, but still I have a problem that I can't get an object from a form to the controller using Spring MVC. What might be the case? I am using Thymeleaf to format my jsp pages. <!DOCTYPE HTML> <html xmlns:th="http://www.thymeleaf.org"> <head> <title>Getting Started: Handing Form … | |
Hello, i am trying to plot X,Y coordinate of a location on a map used in a pictureBox in a windows form using vb.net 2008. when i use the complete UTM grid and load it in the Picturebox, the coordinate plots correctly, but when i use a portion of the … | |
Recently in an interview I was asked to design a "send invitation for an appointment to multiple contacts in a company". (Something similar to creating an Appointment in Outlook) Here is what I came up with, I would really appreciate some feedback, suggestions, questions. So, after asking few questions, the … | |
I am creating a couponing app where coupons are stored in a database and compared to local ads to let users know when to use the coupons. I have created a database that holds all of the coupons and also one for the user's personal library. I am having difficulty … | |
Hello, For some reason javac errors when I import any of the Apache-Spark classes. I've gone through a number of setup guides to see if there's some environment variable I'm missing, but most don't have a step where an environment variable is set. Anyone have a clue what I'm missing? … | |
User input 1234 567 scanf("%2d %2d",&value1,&value2); scanf("%3d %2d",&value1,&value2); scanf("%4d %3d",&value1,&value2); scanf("%-5d",&value1,&value2); How does all these work actually?? Iam confused.. | |
redo (or do for the first time) programming project 2 from chapter 11. define your ADT class in separate files so that it can be compiled separately. I need help with that!!! | |
Q 1) In this small snippet #include <stdio.h> void passingAddressOfConstants(const int* num1 , int* num2) { *num1 = num2; } int main(){ const int limit = 100; int result = 5; passingAddressOfConstants(&limit,&limit); } Error : error: invalid conversion from 'const int*' to 'int*' Here I defined "limit" is of type … | |
Create a class Candy with the following data: weight of one candy bag, price of one candy bag. There are three types of candy in the store. Find the weight and price of heaviest candy bag. What is the price of 1 candy bag with minimum weight? Extend the … | |
Ok guys ! I'm trying to study operator overloading. which i found the toughest article in OOP :( I tried a code for == operator overloading to check whether both arrays have same elements or not but it isn't working. Can anyone help? Here is my code: #include<iostream> using namespace … | |
hello guys i need a real good ideas from u i want to create social networking program for c++ like instagram,facebook etc my general q: how to implement the coorect DSA structure on building profiles and mangae post comments message from other freinds and user? | |
hi im new to javascript and im attempting it for the first time. im using framework 4.5, asp.net, c#. i need help in with the javascript. i need calculate quotation and display the information. heres my code so far model.cs public class QuotationView { [Display(Name = "Pickup Address")] [Required(ErrorMessage = … | |
Just wondering. Exploring Google's Go language, a modern day C with the Google in it. | |
Dear All, I have learned to use the shutil.move to move files from one folder to another but I need to also do the following . Would appreicate any help. Perhaps a template so I can fill the gaps and learn along the way. I have a folder with sub … | |
Hi Im using framework 4.5, asp.net, c# to caculate quote instantly. The quote for a delivery has be calculated using the kilometres between the pickUp point and DropOff Point, the diesel cost, wear and tear, and labourCost. The formula im using is total= (kilometres * DieselCost)+ wearAndTear + labourCost. the … | |
hi i want to add an instant quote calculator on the about page and i want to know the steps on how to do it. im using asp.net mvc5 | |
Hi al you wonderful daniweb peoplez :) I am currently on a mission to write some cool javascript / jquery / ajax controls and now i realised that if I call the control multiple times it seems to lose scope. I realise that this is a small design flaw, and … | |
Hi all, I need to obtain the fractional part of a double. AFAIK C# and .NET has no such function. Have a few options here:(x is a double) `x - (int)x` `x - Math.Truncate(x)` Convert to a string and extract the fraction... Perhaps someone knows other options? Which should I … | |
import java.util.*; class occult { public static void main(String[] args){ int n = 2; for (int i = 0; ; i++){ if(Integer.toString(i).contains("666")){ if ( n == 1 ) System.out.println(i); n -= 1; } } } } I have written the above java code into c++ . i wanted to know … | |
Hi, Actually, I want to make one Singleton class which will create one instance for one thread. I mean if we have 10 threads, then Singleton will create only one object for one thread. IF same thread will ask for one more instance it will return the same instance. Basically, … | |
I want to resize my caroseul on click of a button. Below is the code that needs to be changed. Width: 100% needs to be changed to width 50%. I am using JQuery maybe there's a way using that but nothing works so far other than changing the CSS itself … | |
Hi, I searched example for multiple dates selecting at a time in a calendar, its working in online., but not in local. Can anyone help me for multiple datepicker to select multiple dates from a single calendar ? ![]() | |
Hi, I have the a file which contains information as mentioned in the below format. IP:20.20.20.50 DLBytes:0 IP:0.0.0.0/0 DLBytes:0 IP:20.20.20.52 DLBytes:0 IP:0.0.0.0/0 DLBytes:0 IP:20.20.20.53 DLBytes:187329 IP:0.0.0.0/0 DLBytes:17176 IP:0.0.0.0/0 ULBytes:0 IP:20.20.20.50 ULBytes:0 IP:0.0.0.0/0 ULBytes:0 IP:20.20.20.52 ULBytes:0 IP:0.0.0.0/0 ULBytes:187329 IP:20.20.20.53 ULBytes:17176 I am using below commands to extract entries which have proper … | |
Hello, I tried to verify if users or record already exist in the database so to do that I used a concept of in array fucntion but this was not successfull here is my code function adduser($connect) { $uname = $_POST['uname']; $pass = $_POST['pass']; $email = $_POST['email']; $query_get = mysqli_query($connect, … | |
i have a jtable calendar program and i want the user to be able to click on the dates and i wrote a mouse listener and added it to the jtable nut its not firing .....what should i do my deadline is tomorrow.... | |
Hi everyone, am trying to save and display the text color after select change in php and html. After selecting Selfrating1 ie "Good", the textbox T11 suppose to change to "Green" color. After submit button the text color supposed to be save in mysql and display on the form. The … | |
Hi i have an assignment I’m working on. I have to let the user input their date of birth and then the program will print its age. I don’t know a lot about VB so if there is an easy way to do this. Thanks for the help. From looking … | |
Was hoping there are some experts on PHP out there that can help me with a specific imageboard software called kusaba X. Specifically version 0.9.3 I am running specific Mods like, post screening 2.0, links open in new tab/page, images open in new tab, staff edits (where staff members can … | |
the GetDesktopWindow() give me the desktop HWND, but how can i get the desktop toolbar HWND? i belive that theres 1 function for get the toolbar on windows, but i don't know how :( | |
hi there everyone this sounds sily but i am trying to make a calendar which will show attendance on the calander what i want is to stop on the todays date txtbox txtboxes are arreys so the name is txtDay(0), txtDay(1), txtDay(2)........... txtDay(41) Dim strDate As String Dim strStartDate As … | |
I'm having trouble applying the javascript necessary to close one set of sub-menus when another set is opened. The tutorial site provided some demo code that works, but I can't get it to work without displaying all the various buttons to activate the other available skins. Up top is the … | |
I have a little confusion in my mind. I know very well the difference between preincrement and postincrement, postdecrement and predecrement. But i wonder how do these operators work during loop. I ,myself, use postincrement or decrement in loop as follows: for(int i=0;i<5;i++) { //code } But in my book … | |
Hi All, in below class i wanted to have two friend function(overloading) one with default argument and other is without default argument. but during compilation it gives error. could you let me know how to fix (overload) this by not changing the function name , argument type or number of … |
The End.