199,114 Archived Topics
Remove Filter ![]() | |
Hi , any one can help me code for how to parse the below file. -*: M V3.1SP0010*20140925 #-+: 131854 # PROLIM Package V20.02 { FILE = "54377948"; COMM = "U:fe "S; { COMM = "FE_slt"S; SEQ = "FE_crt"; SEQID = "FE_slt"; MEMO = " "S; SA = HEAD; PORI … | |
i did the Get macro and works fine: #define Get(x) [this]()->x (like you see it's a lambda function header) but i see 1 problem(sample): Get(int) like you see the type is inside of the macro function :( but i need it: int Get() can anyone advice me for do these … | |
hi i need K-means cluster algorithm for documents in c#.plz send the code to my mail id .... | |
`use the button click event ` then type the following codes opendialog dp= new opendialog.show(); dp.location=dp.flielocation | |
I want to addtiming execution in java code but I don't know how? Here is the code of Bucket sort import java.util.*; public class BucketSort{ public static void sort(int[] a, int maxVal) { int [] bucket=new int[maxVal+1]; for (int i=0; i<bucket.length; i++) { bucket[i]=0; } for (int i=0; i<a.length; i++) … | |
Hello i have a little problem with moving ball around screen, also i'm confused why i cannot put this variables `double x = 0, y = 16, muvx = 0, muvy = 0;` at the public class MainActivity to be local variables and also i don't know how to set … | |
please am now a biginner in learning c++ programming. I want to know when do we use include <cmath> apart from the normal include <iostream> | |
Hi Guys i am currently building an app and using codeigniter as my framework and bootstrap to handle the Site so my question will be prashed in two parts. Im new to Codeigniter so please bear with me. Part One: Codeigniter Here is my current website header and i would … | |
Hello, I am trying to troubleshoot this problem using codeigniter. I am following a tutorial and getting this error after installing the ready-to-use-uncomplete-ci-script. Therefore, I still have to edit things out to make it work, which not all of them is being taught in the tutorial. ---------------------------- // all of … | |
Hi, I'm looking to make a log form, for a car park at a hotel, where I have to enter the plate, customer names and the space it has been assigned to. Program Requirements When a guest arrives, the valet will take or note the following details and enter them … | |
All, I have one question and one issue with my below php email script - the script currently has the two images side by side when displayed in the e-mail - I'd like the CSS z-index values as well as the transformation to be picked up in the HTML e-mail … | |
I'm with a problem for show my Form1 and listen the active url in on browser. In code following, after the test with showmessage function, apper an Acess violation in my project as on following images: [IMAGE_1](http://prntscr.com/51vh96) [IMAGE_2](http://prntscr.com/51vkdn) Here is my code: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, … | |
I am having the following errors after running this code for my login. **Notice: Undefined index: user_name in C:\xampp\htdocs\fyp\cms\cms.php on line 52 **Notice: Undefined index: user_id in C:\xampp\htdocs\fyp\cms\cms.php on line 54**\ login.php <?php session_start(); ?> <?php include_once("../includes/connection.php"); ?> <!DOCTYPE html> <html lang='en'> <head> <meta charset="UTF-8" /> <title> HTML Document Structure … | |
I'm fairly new to java, so forgive my incompetence. This program is pretty simple, I'm trying to take the string that a user inputs and return the vowels in the string. The error I'm getting is as follows: > VowelsA3.java:16: error: cannot find symbol > if (isVowel(letter) == true) > … | |
Hello I am attempting something like this: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click If FileUpload1.HasFile Then Try FileUpload1.SaveAs("C:\Uploads\" & _ FileUpload1.FileName) Label1.Text = "File name: " & _ FileUpload1.PostedFile.FileName & "<br>" & _ "File Size: " & _ FileUpload1.PostedFile.ContentLength & "<br>" & _ "Content … | |
I need to get the earliest date and the latest date in the below query. Not sure if the while loop is necessary to achieve this though? I don't need min/max for every tbl_type but the lowest of them all and the highest of them all. // get min and … | |
I have this code: isTinyInt: function () { var val = $(this).val(); if (val >= 0 && val <= 255) return true; else return false; } Can I make sure with this that the number is in the tinyint range? | |
have to write a program using array that asks the user to input any 10 numbers the program than sorts the numbers in ascending order and displays the sorted numbers, kindly help | |
I have write this program,how to sort the numbers? // ddd.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include<iostream> using namespace std; struct nodeType { int data; nodeType *link; }; nodeType *head; int main() { // // Init the list // nodeType *first; nodeType *last; … | |
Hello, I am having trouble with my inventory program. I made the first part last week and thought I did a good job. Come to find out I did not and the feedback I recieved from my instructor was not very helpful. Is there anyone that can help me fix … | |
I have just installed xampp on a windows 7 os and downloaded my working web application into C:/xampp/htdocs/myweb calling the website with localhost/myweb brings up the home page try calling a specific page like localhost/myweb/about.html is redirected to localhost/xampp/ calling a specific page with localhost/myweb/index.php?include=about shows the correct page I … | |
Hello all I'm learning VB and I've hit a road block. I've tried looking in books and searching the web but I can't seem to find an answer at all. I've been trying to get the streamreader to read my text file and display it in a list box. Hever … | |
Hello. So I wrote A-star pathing algorith. It is working fine, however it is to slow, if distance between start and finish is big. This "big" isn't really that big. It may take even 30seconds in 11x11 grid... I am looking for some optimization ideas of proffesionals here. Code: <?php … | |
Is the check: if (!isset($_SERVER['HTTPS']) OR empty($_SERVER['HTTPS'])) { // We are NOT using SSL } a fool-proof way of checking if we are NOT using SSL with PHP/Apache? I understand that IIS sets to 'on/off' but that's irrelevant for me. I am just wondering if I additionally need to check … | |
I'm trying to list currently online users on a pet project I'm working on. I've found a few ways to do it, but I'm having difficutly getting the one I chose to work properly. The basic idea was to use an HttpSessionBindingListener on the users information to add it to … | |
Hi all, I'm not too familiar with Ajax but I believe I grasp the basics. So I'm sending an id which I retrieve from an element to a php page but I can't seem to retrieve the id being send. My javascript: function ListPart(part) { var imgdata = part; $.ajax({ … | |
HI again!!!!!!!!! so i have this button where if i press it words will be typed on my richtextbox but my problem is i want the half part to be centered and the half part would be aligned to the left. how can i achieved that. i have already done … | |
I have this if block that is supposed to be creating a pipe then forking and I would like to combine the while loop below it with it. How would I do that? p = pipe(pipe1); if (p < 0) { printf("pipe error"); exit(0); } else { printf("successful pipe1 = … | |
<item> <HaberKodu </HaberKodu> <Kategori</Kategori> <Sehir</Sehir> <title</title> <description></description> <pubDate></pubDate> <images> <image> 1 </image> <image> >2 </image> <image> 3 </image> <image> 4 </image> <image> 5 </image> <image> 6 </image> </images> <small_images> <small_image>1 </small_image> <small_image> 2 </small_image> <small_image> 2 </small_image> </small_images> <Aciklamalar> <Aciklamala>1 </Aciklamala> <Aciklamala> 2 </Aciklamala> <Aciklamala> 3 </Aciklamala> </Aciklamalar> <link> </link> … | |
I'm creating a program that holds three arrays: one for the person's last name, one for the points scored and one for the player number. Now, Ive got all the arrays and everything done but My ProcessDelete method isn't removing the items in the array and I can't figure out … | |
I started off reading a file with fscanf. I figured I could use fscanf since the file was consistent with just two columns. I got very strange output when using fscanf. Can someone please explain why? When I switched over to fgets with sscanf it worked perfectly. I am curious … | |
Hi all, I have two db, one db "latestdb" which have latest six months records second db "backupdb" which have oldest records of "latestdb" and this records deleted from "latestdb" I have a query which should return records from both db. Query will return new records from "latestdb" and old … | |
So I currently am trying to insert a row into a MEMORY table but only if the primary key doesn't already exist. I'm using INSERT IGNORE but I was reading, much to my surprise, that INSERT IGNORE is actually slower than INSERT ... ON DUPLICATE KEY, but that letting the … | |
I have an xlsx file consisting of 10 sheets.How can i read and import these sheets to a textbox in a c# winform project? | |
hi. i have a page that submits data without refreshing and it does work. but i m having trouble with arrays. as it is im submitting the form data using `$.post` . if i was working with just php id just do a for loop which i actually already have … | |
The API was working fine for the past few months ago..But now I'm getting a notice in that output and message is not delivered. The notice is -" Undefined offset: 1 in C:\wamp\www\sms\sms trial.php on line 90" line 90 in my code is $userID = $match[1]; please help me to … | |
Hello everyone,i think i know quick sort algorithm.But i need help in figuring out its worst case. Lets look at the below quicksort code----> void quicksort(int arr[],int low,int high) //low and high are pased from main() { int m; if(low<high) { m=partition(arr,low,high); quicksort(arr,low,m-1); quicksort(arr,m+1,high); } } int partition(int arr[],int low,int … | |
when i try to call a .c file in antother i got a error for multidecalaration of main file.i prepare for a medical shop management using c language what can i do??? | |
I'm trying to make my button change from saying "Submit" to "Submitting" when it's clicked. But it's for a form so if something like e-mail validation fails I want it to change back to saying "Submit". Here is the code I already have if you would like to take a … | |
Hello, I am trying to create a table which has a sort feature. I mean whenever someone click the table header, the table content must be sorted based on the header. how to do so? Here is my table codes: index.php <!-- Insert New --> <br><br><br><br> <div id="inputberita"> <p> </p> <p> </p><center> … | |
Hi, I use the following code from phpmyadmin to reset one of my table's auto increment value from 1. SET @count = 0; UPDATE `mytable` SET `mytable`.`id` = @count:= @count + 1; ALTER TABLE `mytable` AUTO_INCREMENT = 1; But I want to run this query from PHP file and set … | |
hya i have a website built in php html and javascript and at the moment when a couple registers they go straight to a single persons profile page and i want to going to a couples profile page where both there information is stored how can i do this any … | |
So basically we'll just say that, for example, the user inputs 'As' and it is set to variable 'A'. I have an input .txt file that has a list of these characters (it's for figuring out molecular geometry) so somewhere in the text file it says 'Arsenic As 5' I … | |
Good day, Can anybody help me with this question please? I want to know how to write info back to a program line. In other words to be able to search for a file and put it into the xslt.Load(".....") This is the source code to transform XML to HTML … | |
I have a big dilemma, so I need some additional info. I need to choose a specialization, so I have two main candidates : Artificial Intelligence and Data Science. I like both of the degrees, but If you could help me by writting from your experience what are the positive, … | |
http://pastebin.com/WBvMuQvH my code has become somewhat of a mess from trying to move things around and figure out what isn't working. Basically, what i want it to do is, say the user enters 3, i want it to print out: 1 212 32123 Could you guys give me some help? … | |
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <time.h> #include "GCoptimization.h" #include "opencv/cv.h" #include "opencv/highgui.h" #include "opencv/ml.h" using namespace cv; #include <vector> #include <iostream> #include <limits> using namespace std; #define __PI 3.14159265 void graphcut(Mat& featureVec, Mat& im, int num_lables) { Mat lables, centers; cout << "Kmeans: #centers = " … | |
Hello! I am needing a "non-realtime" framework for collaboration on a website with content, think of it this way. You make a Google search and want to make some notes on the content of that page, save them and send them to me so I can also make notes on … | |
I have this as my major code #!/usr/bin/env python # # @author: Joseph Rex # @website: http://josephrex.me # @repository: http://github.com/bl4ckdu5t/registron # # # import sys, webbrowser from PyQt4 import QtGui, QtCore from ui_registron import Ui_MainWindow try: import pyttsx except ImportError: raise ImportError, "pyttsx module is required for speech features of … |
The End.