199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kotachari

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 …

Member Avatar for L7Sqr
0
408
Member Avatar for cambalinho

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 …

Member Avatar for cambalinho
0
138
Member Avatar for rehpolin
Member Avatar for Cesar_3
0
51
Member Avatar for Muzaffer_Ali

`use the button click event ` then type the following codes opendialog dp= new opendialog.show(); dp.location=dp.flielocation

Member Avatar for JOSheaIV
0
164
Member Avatar for Diellza

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++) …

Member Avatar for Diellza
0
310
Member Avatar for satyanani40
Member Avatar for Stefce

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 …

Member Avatar for peter_budo
0
2K
Member Avatar for Kwasi Sefah

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>

Member Avatar for Kwasi Sefah
0
172
Member Avatar for Ventech_IT

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 …

Member Avatar for Ventech_IT
0
327
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
356
Member Avatar for lewisy95

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 …

Member Avatar for ddanbe
0
143
Member Avatar for koneill

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 …

Member Avatar for koneill
0
302
Member Avatar for Luiz Eduardo

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, …

Member Avatar for darkagn
0
350
Member Avatar for engrjd91

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 …

Member Avatar for darkagn
0
241
Member Avatar for notywq

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) > …

Member Avatar for zolymo
0
651
Member Avatar for Blueie

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 …

Member Avatar for JorgeM
0
125
Member Avatar for adishardis

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 …

Member Avatar for adishardis
0
5K
Member Avatar for jean_5

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?

Member Avatar for Airshow
0
278
Member Avatar for ziarashdi26

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

Member Avatar for NathanOliver
0
139
Member Avatar for andreas.petrou.967

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; …

Member Avatar for andreas.petrou.967
0
202
Member Avatar for mxwarning

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 …

Member Avatar for mxwarning
0
435
Member Avatar for Dieter_1

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 …

Member Avatar for Dieter_1
0
10K
Member Avatar for Killakia

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 …

Member Avatar for Santanu.Das
0
250
Member Avatar for Rokas.Rud

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 …

Member Avatar for lorenzoDAlipio
0
189
Member Avatar for Dani

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 …

Member Avatar for lorenzoDAlipio
0
315
Member Avatar for sciwizeh

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 …

Member Avatar for sciwizeh
0
198
Member Avatar for phfilly

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({ …

Member Avatar for jstfsklh211
0
297
Member Avatar for kidkardel

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 …

Member Avatar for kidkardel
0
234
Member Avatar for COKEDUDE

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 = …

Member Avatar for L7Sqr
0
953
Member Avatar for fabregas42

<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> …

Member Avatar for JOSheaIV
0
429
Member Avatar for josh187

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 …

Member Avatar for rubberman
0
136
Member Avatar for COKEDUDE

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 …

Member Avatar for Banfa
0
1K
Member Avatar for rchawdhari

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 …

Member Avatar for rchawdhari
0
217
Member Avatar for Dani

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 …

Member Avatar for pritaeas
0
431
Member Avatar for alex.alekan

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?

Member Avatar for ddanbe
0
470
Member Avatar for nadiam

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 …

Member Avatar for AleMonteiro
0
344
Member Avatar for vani krishnan

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 …

Member Avatar for pritaeas
0
1K
Member Avatar for inspire_all

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 …

0
136
Member Avatar for pushkar honey

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???

Member Avatar for dhanushdee24393
0
9K
Member Avatar for Bensirpent07

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 …

Member Avatar for Bensirpent07
0
387
Member Avatar for davy_yg

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>&nbsp;</p> <p>&nbsp;</p><center> …

Member Avatar for davy_yg
0
347
Member Avatar for sammry

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 …

Member Avatar for matrixdevuk
0
2K
Member Avatar for janicemurby

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 …

Member Avatar for veedeoo
0
107
Member Avatar for SumTingWong59

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 …

Member Avatar for SumTingWong59
0
209
Member Avatar for hdreyer

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 …

Member Avatar for Herman_1
0
229
Member Avatar for mvd3

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, …

Member Avatar for kemal.eksi.7393
0
230
Member Avatar for SumTingWong59

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? …

Member Avatar for AndrisP
0
181
Member Avatar for sabri1990

#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 = " …

Member Avatar for sabri1990
0
649
Member Avatar for mattsheets

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 …

Member Avatar for Troy III
0
130
Member Avatar for silverdust

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 …

Member Avatar for vegaseat
0
2K

The End.