199,114 Archived Topics
Remove Filter ![]() | |
Hey guys im trying to work on this assignment i have. I am new to programming and this is my third assignment. Any help would be appreciated. Im not sure if im on the right track or not. here is what i have to do: allow the user to enter … | |
Hi everyone, i am interested to learn php, where is the best place to learn it? | |
Hello , why am I taking : > > *** glibc detected *** ./run: double free or corruption (out) #include <stdio.h> #include <stdlib.h> void func1(int **A ) { *A = (int*) malloc( 2 * sizeof(int)); for (int i = 0; i < 10; i++){ (*A)[ i ] = i; //printf("\nA … | |
I can't see to wrap my head arround the meaning of this error. Its becouse im converting integer functions to character functions. src/dataio.cpp: In function ‘char* getName(char)’: src/dataio.cpp:118:17: error: invalid conversion from ‘char’ to ‘char*’ [-fpermissive] readUser(uid); ^ src/dataio.cpp:60:6: note: initializing argument 1 of ‘void readUser(char*)’ void readUser(char* uid) ///Reads … | |
here my script, please help me to resolve it :D thanks #include<stdio.h> #include<stdlib.h> #include<string.h> #include<float.h> int main() { /* KAMUS */ /* volume gas ideal = V=nRT/P -R= 8.314 P: tekanan (Pa/ N/m^2) = 8.5 V: volume ruang (m^3) n: jumlah mol gas (kmol) = 1.5 R: tetapan umum gas … | |
Hi everybody im a little bit confused about how routers (ethernet and wireless) and data cables such as RJ45 could handle and manage the huge data and requests at same time thank u for answering ^^ ! | |
Hello I am an absolute begginer and am working on a paint calulator program. I am trying to return the price from the paintformula ex: price = paintFormula(wallArea,price,height,length,width); or paintFormula(wallArea,price,height,length,width);. When I call the method I keep getting errors like: PaintCalculator2.java:33: error: variable price might not have been initialized. import … | |
Hi Guys I have a major issue in my Asp.net 4.0 Application, i have created a tree View And (SelectedNodeChanged event) Does n't Execute on my IIS Server(Windows Server 2008 R2 Standard), I have Created few Drop Downs Lists (SelectedIndexChanged) Doesn't Execute , i have this Issue Only on my … | |
Hello After two days of struggling I have come for some help. I have a listview of contact names that I want to search with text added into a textbox. It can either filter these as the text is entered or by a button search ... I haven't got anywhere … | |
Hello, I got an animation on my form, which is done using the onpaint method and invalidate (with constant updating of the moving object's position ofcourse). Later on, i put a background image on the form and since then im having performance problems with my animation. If im not mistaken … | |
Hi to all, I have to preview dataset data using printdoc and my code is below. Upon clicking the Preview button the preview dialog displays fine with data. when I close the preview dialog then click the preview button the data is not diplayed. weird behavior to me. what should … | |
Hello, I have been learning SDL through a set of tutorials [here](http://lazyfoo.net/tutorials/SDL/index.php). The program was able to bring up the image for each key that I had added. After adding code to omptimize the images the window pops up but shows no image and if I press a key it … | |
I'm trying to send an e-mail using the PHP mail function and having two issues in regard to the below code: 1) When I get the e-mail - it is not formatted in HTML - instead I get just the actual HTML code in the e-mail - I get all … | |
a program to count the number of occurrences of words in a passage. The program will read white-space separated words from a file, convert all words to a single case, and remove any non-alphanumeric characters from both ends of the words. It is to count the number of each word, … | |
![]() | Hi I have a problem with converting a struct.. I got 2 different structs but they have the "same" data. Struct1: struct sStruct1 { BYTE Base1; WORD Base2; float Base3; } Struc2: struct sStruct2 { BYTE* Base1; WORD* Base2; float* Base3; } Now I the problem: I have data inside … |
![]() | Hi how can i arrange these numbers in acending and descending order? #include <iostream.h> #include <conio.h> main(){ int n1=0; int n2=0; int n3=0; int n4=0; int n5=0; int n6=0; int n7=0; int n8=0; int n9=0; int n10=0; int sum=0; float ave = 0.0; int highest; int smallest; float mean = … |
Hello, I got implementation of Data Encryption Standard implementation in java (internet code) but the only part that I cannot understand is the S-Box which shown below. I know how S-Box works but I don't understand this code especially &0x20 and stuffs like that. The S-Box takes a 6 bit … | |
$.ajax({ url: "/Configuration/AddServersAdvancedSelect", type: "POST", data: { selectedOUs: that.getByDataSelected() }, async: false, dataType: "html", success: result => { cont.setTabContentFromHtmlString(result, 1); cont.tabClicked($("td[data-value='1']").get(0)); }, error: (xhr, ajaxOptions, thrownError) => { // } }); This is my ajax request towards the server. For some reason the data doesn't get selected. The getByDataSelected function … | |
I have a problem with concatenate strings in pyhton. I need to concatenate the string clave and cadena_aleatoria(x) while cadena_inicio is minor than 256. This is my script: Any help? .Thanks! import sys import random x = random.randint(0,9) def cadena_aleatoria(x): cadena = [] cadena.append(x) while len(cadena)<10: x = random.randint(0,9) cadena.append(x) … | |
Hello, I am building a web registration form using RSForms for Joomla. I need the form to create a QR code with some of the data provided in the form and store it with the user's data. I know this can be achieved using Javascript, but my knowledge on it … | |
I think some of you have come across these articles: http://blog.nexcess.net/2014/07/25/recent-exploit-using-fake-magento-extensions/ http://www.thewhir.com/web-hosting-news/nexcess-uncovers-magento-exploit-allows-hackers-skim-credit-card-data-checkout They talk about a Magento exploit that allows hackers to skim credit card data during checkout. Although the articles were published 2 months ago, it’s surprising that there are still a lot of websites using Magento affected by … | |
Hi I have a code in java to generate a sitemap xml, and to get the last modified date using the following line of code: `oPrint.println(" <lastmod>"+ doc.getLastModified().toString()+"</lastmod>");` The output in the browser when calling the xml file is `<lastmod>23/05/2014 16:48:24 ZE4</lastmod>` which is in "dd/mm/yyyy"format. However, from this link, … | |
hi, i create an webapplication with php , i commented the line deny from all in conf file of apache, the users can see the index.php but the problem is: when they click on username and pass therse nothing happens, but on the conexion button it work, its looks like … | |
The problem is when I enter a string or a name in the edittext, it cannot be appeared in the textview after i press the button "Send request". I don't know how to fix it. Please help me! package com.androidexample.httpgetexample; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; … | |
Hello, I have been trying to make contact us works. It appears that it works like I receive a success message but in actual it doesn't work like it suppose to: index.php <form action="contact.php" name="contactform" class="row" method="post"> <h4>Request a FREE TRIAL CLASS!</h4> <div id="input_name" class="col-md-12"> <input id="name" class="form-control" type="text" name="stu_fname" … | |
Hi, guys. Im having this weird thing where the buttons not responding to clicks handled by jquery. i got a page which lists events then when an event names is clicked a table of guest list appears next to it. like this:  the page is handled by ajax: … | |
//HI,need help to extract info from text file and display. //Here is my text file called Report.txt 01 09 2014 john 3.4 12.5 9.5 02 09 2014 freddy 3.4 12.5 9.5 03 09 2014 conor 3.4 12.5 9.5 04 09 2014 mike 3.4 12.5 9.5 05 09 2014 john 3.4 … | |
I HAVE A PROBLEM WITH THIS CODE $('.reply_stdelete').live('click',function() { var ID = $(this).attr("id"); //var X=$(this).attr("my"); var dataString = 'c_id='+ ID ; jConfirm('Sure you want to delete this conversation?', '', function(r) { if(r==true) { $.ajax({ type: "POST", url: "<?php echo $base_url; ?>conversation_delete_ajax.php", data: dataString, cache: false, beforeSend: function() { $("#stbody"+ID).animate( { … | |
Would it possible to get sample build.xml file with imports a properties sheet. Or links to good build file structure and maybe a example of a good file system to maintain? I am dl the ant manual now. Anything that pertains to eclipse and ant would help me get started. … | |
This is my edit page. I can see values in my input boxes retrieved from database. What I want to do is update those values when I click on button. Here is my code plz help <?php require_once ('conn.php'); $id = $_REQUEST['main_id']; $sql = "select * from users, work,home where … | |
Hi there I am trying to add some data from a form into a MySQL database and it doesn't seem to been working. Any help would be appreciated. # PHP # <?php if(isset($_POST['add'])) { $dbhost = 'localhost'; $dbuser = ''; $dbpass = ''; $conn = mysql_connect($dbhost, $dbuser, $dbpass); if(! $conn … | |
Hello I have a VB.NET project in Visual Studio 2013. I am hoping to customise the standard Register.aspx form and want to insert a background image. However, I can't see any 'images' folder in Solution Explorer and I wish to import an image from the desktop and then use something … | |
< Hi All, i'm new to this can u please tell me this how can i retrieve username and password from mysql db using asp.net .... **this is my aspx.cs page** i write this code but it doesn't retreive those things... using System; using System.Collections; using System.Configuration; using System.Data; using … | |
hi i need help with my class assignment we're suppose to create a 4*5 grid, two player and three enemies. the grid is made up of coordinates and i am not allowed to use arrays. To start the game the players must enter their names and then go to (0,0). … | |
Hello! I need some help. I have no idea on PHP and I need to set up a custom validation rule. I have a field which name is IBAN. It is composed of 24 characters, de first 4 are PPXX (2 letters and 2 numbers) and the rest are numeric. … | |
This worked for a txt/zip file download but if i want to save/download video/audio file.How to move ? //Two textboxes used here, //1.to take URL //2.to get saving location on drive private void downloadbtn_Click(object sender, EventArgs e) { WebClient myWebClient = new WebClient(); string path; path = this.savePath.Text; Uri tmp … | |
I have a page where I have 100 combo boxes. I made this bookmarklet : javascript:document.getElementById("hioooo").selectedIndex = 38; It works but only for the first combo box, all the rest combobox remains unchanged although they also have the id="hioooo". What should I do to change all the combobox selection to … | |
Hello, I am trying to build a function that takes the input of the IBAN field (alphanumeric), counts them and compares the to the needed value (24). Then, if don't match it triggers an error message, if they match it does nothing. This is the code: <script type="text/javascript"> function checkIBAN(iban) … | |
Hi Guys, I found a tutorial online on how to build an events calendar using PHP and Ajax. I am however a little stuck, I have ran debuggers and have error messages printed throughout the code and whilst the basic calendar functionality works, it does not actually display any events. … | |
hello everybody.i have made a website about a gym. and it contains a timetable of classes during weekdays. this page is static. and my professor told me to do it dynamic. how it can be done. and thanks. | |
There are no errors when I compile the program, but when I run it and use the "Enter" or "Clear" buttons, they do not work. ----jGRASP exec: java IncomeTax Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at IncomeTax.enterJButtonActionPerformed(IncomeTax.java:182) at IncomeTax$1.actionPerformed(IncomeTax.java:125) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6525) … | |
hey guys, so i just started learning java and had some error in my first array code. Error: Could not find or load main class Being. I use eclipse if that helps, because i read that these problems might be that ecplise cannot find the class, so just making sure … | |
hey guys, -So in case 2, i'm trying to have the user to input elements (N,Y,P,D,G) only with specific Array location. I used switch inside a switch, but how do i re-loop if he enters wrong elements? -in case 3, i'm trying to print the whole 2D array, but the … | |
hello friends i am doing my pre final year b.e in computer stream. i jus need some innovative ideas for my new project to be done in d following year. pls let me knw sum new ideas | |
First of all, the keylogger that i am developing is not at all for offensive and destructive purposes. :) I am developing a client monitoring application in C#.NET. Keylogging is one of the features in my application. Though i have developed the code for the keylogger, i have not been … | |
Hi there everybody. I hope you are all well. I have a question about planning and designing computer programs. Can someone tell me how someone going about a large program would go about this. There would be allot of classes, functions, modules etc. I want to learn how to do … | |
I'm calling a simple e-mail validator in JavaScript as the below shows - this works fine as I'm calling it in my HTMl form as such: <form name="email" action="mail.php" onsubmit="return SubMail_Validator(this)" method="POST"> Then this code does the validation that an e-mail has been entered - however - I need the … | |
Hi. i am trying to show a hidden element using a button. but i want to make it so that everytime the button is clicked the hidden element get shown that same amount as button clicked. example: <input type="button" value="Click me" id="clickme"> <input type="text" id="textbox"> <script> $(document).ready(function() { var element … | |
hello sir,good morning am creating one pos software ,i have done all my designing and coding its working fine in my system ,i kept my db in inside debug-->bin section but after created as a software application and when am using any other system it is showing the db path … | |
Alright i have written my code to reverse a byte string character by character in-place using a loop. We have to utilize the SIZEOF and OFFSET operands and use indirect addressing, However my issue is that I am still getting the string displayed forward and not in reverse. I think … |
The End.