199,114 Archived Topics
Remove Filter ![]() | |
Good evening all. I have a quick quick problem in my code. The build is successful but my debug shows up the errors: First-chance exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. Unhandled exception at 0x013c43e6 in week2_project1_gamephysics.exe: 0xC0000005: Access violation writing location 0xcccccccc. The program '[9888] … | |
In php delete the row in html table: Hi to everyone, I have a problem in deleting the single row in html table.In html table each row has a delete link and auto_increment id.if u click the delete link the particular row has been deleted in both the html table … | |
Hello, I want to do something with my link. And by this I mean. I want to do this: [url]www.example.com/mypage.php?id=10000[/url] But is there a way to do that samething but display it like [url]www.example.com/10000[/url] or [url]www.example.com/mypage.php/10000[/url] ?? Would this have to be done through a .htaccess file? | |
input_berita_static.php [CODE] $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $isiBerita = isset($_POST['isiBerita']) ? $_POST['isiBerita'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page = isset($_POST['page']) ? $_POST['page'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = … | |
hi.! Im niño morata. Can you plz solve my problem. I have a assignment datagrid search.. when I click search command botton to my program...there is problem, but when I try to click a search command botton again the msgbox say that "no record found" [ code of search command … | |
This is a ridiculously simple function that I just can not seem to get to work. I am getting a segmentation fault error for this every time I run it. [code] // LargestUsingPointers: receives an n-element integer array and returns // a pointer to the largest element; the function uses … | |
So I need to write a program that will approximate PHI (the golden ratio) using Fibonacci Numbers. It has to be within a negative power of 10 (between -1 and -16) oh PHI. So for example, if I put -2 into the input, the approximation of PHI would have to … | |
i have code using method yet i could not make it work.. Can someone help me.. Thank you. package scsiaug10; import java.io.*; public class Main { public static void main(String args[])throws IOException{ BufferedReader read = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter a Word:"); String s = read.readLine(); char c[] = new char[s.length()]; … | |
I was recently creating a program and trying to convert a string to an int (similarly to Integer.parseInt(x) in java) and wasn't sure if there was a c++ equivalent that i could use? | |
I don't get why ISO don't include VLAs in C++ standard. C++ is supposed to be a C extension, and C99 clearly supports VLAs. It is not hard to implement and does not break any existing C++ code. It is useful for beginners, who do not yet know pointers, and … | |
I am trying to insert one file at the end of another but the first file's formatting gets messed up. It's lines start bleeding into the later pages. [code]Dim oWord As Word.Application Dim oDoc As Word.Document Dim oDoc2 As Word.Document Dim oDoc3 As Word.Document Dim oSelection As Word.Selection oWord = … | |
I have most of my code written but I need some help with a part of it, I need to get in one more variable and not positive how to go about it. I need to enter I as a variable for Industrial use: $1000.00 is usage does not exceed … | |
Anyone can help me with this code? I try to make it upload the photo but its cannot save and get this error.. Warning: fopen(Waterfall.jpg) [function.fopen]: failed to open stream: No such file or directory in C:\AppServ\www\pqs\hra\data_entry.php on line 13 Warning: filesize() [function.filesize]: stat failed for Waterfall.jpg in C:\AppServ\www\pqs\hra\data_entry.php on … | |
I have an app I wrote in Python/wxPython. When I click a button, the action that is taken will depend on whether or not a modifier key (such as CTRL) is currently pressed. I can't toggle a swich based on a keypress event (eg ctrldown = True or False) because … | |
Hello daniweb! Yes, I'm another amateur coder who needs a little assistance getting some code to work, I hope it's alright :?: A little background is necessary I suppose, so the deal is I'm a self taught noob who's working on a pet project of crafting a little program that … | |
Here is the code I have so far and when I compile it I get errors import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Bible2a { public static void main ( String [] args )throws FileNotFoundException { Scanner dataFile=new Scanner(new File("test.txt")); /*int colonPosition = verse.indexOf(':');*/ while(dataFile.hasNextLine()) { String verse = … | |
Hello I have a problem to convert a String to double. I use the below code but the messageBox show 11,07 with a Comma(",") instead of a dot(".") I beleive this depends on any regional settings on the computer. On my other computer I get the result "11.07" which is … | |
Hi Everyone, Is there anyone who can help me with Ordered Binary Decision Diagrams in Java. Do you know how to draw a simple Ordered Binary Decision Diagram usinh Java? Any help will be appriciated. Thanks | |
The problem is as follows. When I enter to some page from my site clicking the link (FF browser), I am redirected to an unwanted site. And some window pops-up where you can choose whether to stay or leave the site. When you click I want to stay, the window … | |
OK, here is what I want to really do: I need to write a single SQL query to do the following: select count(1) from TableA where [condition1]/ select count(1) from TableA where [condition2] One way of doing it is: [CODE] select (t.numerator/t.denominator) as ratio from (select (select count(1) from TableA … | |
I have an xml file document and I am trying to display the xml contents in a datagridview. Can I please get some help with this? what am I doing wrong? I had it working when I pull one column at a time [CODE] Dim gridtable As DataTable = New … ![]() | |
This calculator performs two digit task successfully but what do i need to alter it i want it to evaluate 3 digits [CODE] public class Calculator { private long currentInput; //current input private long previousInput; // previous input private long result; // result of calculation private String lastOperator = ""; … | |
I'd like to take values between a date range and enter into a table I have a date range @startdate and @enddate i'd like my user to enter the date range and then for the system to take the date range entered and insert them into a table, however, my … | |
Hi there. I am trying to make a program that outputs the word "MATRIX" on every line, with the past line being cleared and making some kind of falling word effect. I am beginning learning assembly, and I need some ideas as to how to make this happen. I am … | |
Hi guys, I'm quite new to C++, I have just recently gone through 3/4 of SAMS teach yourself C++ in 21 days and I am hoping to start programming my first object-oriented game. I have created a few games in the past (you can check them out on my site … | |
Hi, New user here. I recently got into developing a simple communications application for client-server model over the internet. I am using winsock in VB6 and trying to send text based messages just to get me going. However, i have been unsuccessful. I am able to connect on same computer, … | |
Hey guys, Im having a little problem with adding textbox.Im generating unique key with OrderNumber+ProductId+Series. OrderNumber:18501 ProductId:2100 SeriesNumber:01 Series starts at "01" and gets added one everytime I hit button1,so next time I press button1,it will be "02".When I add them up this is the result I get: Result:18501-2100-1 But … ![]() | |
hey, I have a text box that is written in it a sentence like that for example ( vsdgv hsch hjscbfhs bsh hgfg shjgfug hfudgf ) & I have a list box what i want is that once I press the command button, the sentence get splited into its words … | |
Here unsystematic play with linked list structure Object Oriented style. If you have performance critical code, please do not use this but use the superb faster than list [URL="http://pypi.python.org/pypi/blist/"]blist module[/URL] (including sorted versions of main data structures). As OO newbie (though with some 30 years of other programming), I wanted … | |
i do an exercise and i have 2 questions. the exercise is to take an array example from my c++ book and make it template. for start my code is this: [CODE]#include <iostream> #include <iomanip> #include <cstdlib> #ifndef ARRAY_H #define ARRAY_H using namespace std; template<typename T,int elements> class Array { … | |
This is what I have so far. I have to create array of 10 int values as local variable then iterate through the array elements using pointer, print address, and value of the each item. But this is my output. It should print values from 0 to 10, but mine … | |
some times i connect to the localhost via Windows Authentication and i loggin normally, sometimes i get this error and after i restart the problem solve, now even if i restart always the same error :/ | |
um, I'm using Turbo C++ IDE with the blue screen thingy. but it won't run. i mean, whenever i try to run it to show output, it says "Error not an exe FILENAME.LIB" um, im kinda new at this, i just need it for school. how do i fix it?...:'( … | |
It pretty much works fine...except for the fact that it wont output the total amount of withdrawals and deposits. I have no idea how to make it do that. Can anyone help? [CODE]#include <iostream> using namespace std; float userInput() { float balance; cout << "Please enter your current checkbook balance..." … | |
Having trouble trying to read characters from a file into a 2D array. I know this topic has been discussed before but your help will be greatly appreciated. I know there is more efficient ways of writing the entire code but im not that familiar with programing. Any suggestions are … | |
I am exporting data to excel but inserting rows is very slow about 2 seconds per row pls help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using System.Data.SqlClient; using System.IO; using Microsoft.Office.Interop.Excel; namespace Dashboard { public partial class Form1 … | |
i want to do a project in c programming.. what topic should i choose and what all should i include to make it look decent? | |
Hello, I want to implement a 3d environment, at first will start with a cube. And i want to implement a click event for this object, like Click event for a button. The problem is i don't know how to implement this, or where to start. Can someone give me … | |
![]() | In the code below, when I try to output out_phrase_char, I get a message that says "The Debugger has exited due to signal 10 (SIGBUS).The Debugger has exited due to signal 10 (SIGBUS)." Please help me as soon as possible. This is due at 11:59pm. [CODE]// classes example #include <iostream> … |
Hi I have an website. Where people may write short messages. Now I want that home page will display 10 recent messages from those posts. So I want that New message will be shown and one oldest will be remove. All this will be down by ajax. Can anybody help … | |
Hi guys, am having an issue with a mssql query an running in mssql 2005 server. I have two tables debttable (customer, subcat, drugs, form, total, paid, date, balance qty and amount as columns) and debtsum(customer, subcat, total, paid, date, balance). Now since both tables have some columns in common, … | |
Hey, everyone. My goal here is to be able to load a 3x4000*4000 multidimensional array, modify it, save it, and QUICKLY access it (as if accessing a 100x100 array). I'm not really sure how this works in the JVM but...I mean I'm at a loss. Would making a single int[] … | |
please people i am just looking for tutorial that will guide me through on how to handle graphics designs and photoshop designs in asp.net. please help for any good link. thank you. | |
Dear all, I have problem i have table name "WO" in oracle db i want "Whenever I start my program, I want it it look at all the works orders, and if any works order has a date that is exactly one month before today's date, then I want the … | |
please solve my problem Parse error: syntax error, unexpected T_STRING in /home/vhosts/www.changs.tk/index.php on line 8 [CODE]<?php if ($NoTemp) { $CONFIG; Return (1); } $EXTRA_ENGINE="exchange_box.php"; $PAGE_TEMPLATE="index.html"; $PAGE_TEMPLATE="login_page.html"!!session_active()$CONFIG$_GET$CONFIG$CONFIG; $_GET("do_login")$page; $LANG_msg$LANG_msg; $page("LANG",$LANG_msg); $_GET$_GET; Return (1); ?>[/CODE] | |
I really want someone to tell me on FREE web hosting site that i can upload my project in order to TEST it before i do the final hosting. I appreciate your usual efforts. | |
Hello , i have read the manual page of alloca , it is documented there that "alloca works similar to the malloc but it allocates memory from stack and frees automatically. i can't get how can i use that in a program . if i'm not wrong can i use … | |
when i am trying to use delete button on my frame it is showing such exception and stack trace is here java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer at MyFrame.actionPerformed(AcctHld.java:225) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253) at java.awt.Component.processMouseEvent(Component.java:6099) at javax.swing.JComponent.processMouseEvent(JComponent.java:3287) at java.awt.Component.processEvent(Component.java:5864) at java.awt.Container.processEvent(Container.java:2109) at java.awt.Component.dispatchEventImpl(Component.java:4460) … | |
I want the to calculate the value of user input by multiplying the number by it the increment i.e. if input is 5 then calculation should be 5*1*2*3*4=120, I have tried but so far not successful any help will be appreciated. The code is below: [CODE] import java.util.Scanner; public class … | |
Okay so me and a friend of mine are discussing the following: If you have 1. a table with 10 fields, each a varchar(255) or 2. a table with 10 fields, each a varchar(1billion) [B]Which would be better, performance wise?[/B] I say it won't matter, because MySQL reads the field … |
The End.