199,114 Archived Topics
Remove Filter ![]() | |
Below I have attached my code. The problem I am having is that I do not think it is properly computing the sum. It seems as if its missing a number or something along those lines. The program is supposed to read an input number, n, which must be a … | |
Hi, Is there a way I can access the Exchange Mails/Calendars/Addressbook without .NET or non cross platform thing? I want to access them with C++ but on both MS and Linux I was looking at EWS but it seems it is tied to MS and .NET Please share with me … | |
Anyone know how to install Oracle Sql developer on Mac? | |
Hi all, In c,i want to split string into array. Example: char *string="abcdefgh"; into char arrays like 'ab','cd','ef','gh'. Any suggestions or ideas are welcome... | |
HI how can store multiple array into one array [CODE] int id[5] = { 1,2,3,4,5,6}; int size[5] = {35,76,85,78}; int PerBox[5] = {12,24,44,54}; double Price[5] = {3.32,6.76, 13.45,6.08,7.8}; int item[200],i; for(i=0;i<4;i++) { item[i] = {id, size, PerBox, Price}; } [/CODE] each element should store id, size, perbox, price and output: … | |
From a text file, i should get the necessary information in order to create a beat map, a representation of what we see in music sheets, from this text file: [CODE]3 measures 3 4 time signature 4 beats 4 note, measure 1 3 note, measure 1 1R rest, measure 1 … | |
Hi everybody, I have been having trouble with the output of a set of points for my triangle program. When I run my program, it outputs in the end "triangle1 coordinates: Vertex A is java.awt.Point[x=12,y=13]" and I have no idea how to format it to hide the "[B]java.awt.Point[/B]" part. Any … | |
What is Socket Programming in Java? Please give me some idea about it. | |
I am supposed to read a text file containing "lyrics", then format it out based on special symbols like +,-,[] and spaces. Here's the lyrics syntax: [B]Spaces are significant:[/B] A single space between two words makes the two words go in two successive beats. Each additional space causes the lyric … | |
hello friends [U]how can i disable view state[/U] in vb.net,so that i have the properties of labels as i left,when i return to a page. i am developing a windows application. thanks in advance. | |
I am trying to write a program where a user of my app can change the link location and label name. Is this feasible? At work we have testing scenarios that change at different locations, and instead of me sending updates every week, allow the user to update the link … | |
image_gallery.php [CODE] <?php $i = 0; //while ($data = mysql_fetch_object($result)){ for ($rows = 1; $rows<=3; $rows++){ echo "<tr>"; for ($cols=1; $cols<=4;$cols++){ if ($i >= $numRows) break; echo '<td style="text-align:center;">'; $data = mysql_fetch_object($result); echo '<div style="width:100px;font-family: verdana; font-size: 11px;">',$data->title; echo '<a href="'.$data->path.'" rel="lightbox[roadtrip]">'; echo ' <span style="border:0px;"><img border="0px" class="reflect" src="'.$data->path.'" width="100" … | |
Any idea why declaring a const int inside a data member of a class would cause error C2582: 'operator =' function is unavailable in 'CMyClass'? There is a lot going on in CMyClass and I don't know where to start looking for the error. I am using the default operator= … | |
I have gridview which display images previous and next. i want to popup (display) big image of particular image which is cllicked. Please help me. | |
I have a pretty simple question about RewriteRule. I am using the isset($_GET['p']) function to call pages into my index.html so when you click on a page the address in the address bar appears like this: [CODE]http://site.com/?p=contact[/CODE] I would like to get rid of the ?p= in front of the … | |
i using this system reference beginning e commerce c# when compile button place order..it error say "Procedure or function CreateCustomerOrder has too many arguments specified." this my code checkout.aspx.cs using System; using System.Data; using System.Collections; using System.Collections.Generic; using System.Web.UI.WebControls; using System.Web; using CommerceLib; public partial class Checkout : System.Web.UI.Page { … | |
Hey all im a beginner in c++. Ive written this programme and ive tried to make a calculator using switch statement but its not working like it should.I would be very thankful if u point out whats wrong with it. [CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); float x,y; int choice; … | |
Hi, Can any one tell me how to pass a value from jsp to javascript both being different files.. ie a.jsp , b.js.. I have a hidden value in jsp i want to get its value in the javascript file. thank you, kaleeswaran | |
sorry.. i just wanna ask about the comment for this coding so that I can easily understand how this coding works. can anyone helps me to put the comments on it? [CODE] // array of structures #include <iostream> #include <string> #include <sstream> using namespace std; #define N_MOVIES 3 struct movies_t … ![]() | |
What happens if you inherit multiple interfaces and they have conflicting method names? [CODE]using System; namespace WindowsApplication1 { public interface a { void b(); } public interface c { void b(); } public class Class1:a,c { public Class1() { // // TODO: Add constructor logic here // } #region a … | |
Hello, I have a newoffer php page wich has a form for inserting new data in a mysql database. When the page newoffer.php is opened, a new record will insert with the values NULL. When the form is completed, the record will update with the new information. But if the … | |
Use the Node class. Create a tester module that contains the following function definitions and code for testing them. The function definitions are: 1. A function length (not len) that expects a single linked structure as argument. The function returns the number of items in the structure. 2. Define a … | |
I'm trying to creat a search procedure that will search table game and return all rows where columns title, description, platform, and gameid are LIKE parameter searchtext. This parameter is coming from many different pages as a Session("searchtext"), and I'm using a UserControl to send the Session, all pages in … | |
Hi, Am very very struct is there possible way to multiple variable into one element in array c and is there posible to do case statement with array. What I try to if max capacity of ship is less than max capacity of harbour but I need to check every … | |
![]() | Hi there, I would like to implement a web based UI that allows people to drag and drop "chairs" and "tables" onto a floor layout (grids) and save it to their profile by storing in the database. I am wondering how do I start doing this? I am using vb.net … |
hello friends, i am developing a windows application in which user has to answer 180 questions,through clicking on the labels defined in the windows, the problem which i am facing is, if the user redirects the form to another page and when comes back, i want that the previous choices … | |
Ok I was reading a book on C++09 and saw this vareable auto that determins what kind of vareable it is. When I try to use it this comes up : "auto will change c++x09 plesase remove it" I did the settings stuff and know I have 09 but how … | |
Hi All I am sure this is easy, but I can't make it work I have two variable $sectionID and $categoryID. There are a whole pile of conditions that these could have but I want to pick out two: when $sectionID==4 and $catergory!=21 and $category is !=27 How do I … | |
im studying recursive algos... teacher gave us assignment to write a recursive algo for the tower of honai............. what is TOWER OF HONAI????? :'( | |
So i got my code to compile with no errors but when i try to run it i get a segmentation fault and i am honestly clueless as to why. Any help would be greatly appreciated. [CODE] #include <stdio.h> #include <iostream> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> #include <unistd.h> #include … | |
how to do this?? 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 plis help! ![]() | |
Ok this is as basic a jquery coding as you can get.. Why does div id=tx show on load??? I'm testing this on wamp localhost...www folder. Any help?? Is there anything i need to do to save the jquery.js? jquery.js is in the same folder as this page. [CODE] <html> … ![]() | |
hi i am not clear with the socket connection in php, because before starting a new topic i want to clear with the experts(you all guys), why we use socket connection?? | |
I created a quote generator and when i click on a person's name, it prints out a random quote of theirs. Now the person has 20 quotes all stored in its own array. How do I get it to print out random quotes tat have not been used, once tehy … | |
I am new to C++ coding. I want to know how hash_map and list can work together. My requirement is: I have a structure with address elements, name My hash key should be name of address object. Using the key I should find out structure. I have dynamic list for … | |
for serious thing , I have one question can someone explain or prove this : 22 divided by 16= 10 modulo 23. the answer must be 10. | |
My doubt is that is it possible to create incrementing bill no. such as ABC00,ABC01,ABC02,ABC03,ABC04... etc. in ascending list I already know how to increment with numerical numbers like 0,1,2,3,4,...in ascending list I tried concatenation of numerical part with string part.But it works only once;further run leads to error because … | |
hi i m working on a projct and i want to use images as background ...and i want to load the adobe photoshop image but its not working.. image1.picture = loadpicture("c:\image.PDD") but its not working .. nw what i do.. any other exple to for backgroung image but i make … | |
Can anyone tell me what this following statement means in C++..[B] return (tos==0?1:0)[/B] where tos is a variable.. Thanks..!! | |
style.css [CODE] #footer { height: 120px; width: 985px; float: left; background: yellow; margin-top: 190px; position: relative; } [/CODE] This is just a part of css code. Basically I am creating a footer underneath my web which consist of many pages. I wonder how to set its footer location since each … | |
banner_manager.php [CODE] <?php //require("include/header.php"); //if (!$_SESSION['login']){ // echo "Anda tidak berhak mengakses halaman ini."; // exit(); //} include ("includes/koneksi.php"); //$_REQUEST['simpan'] = isset($_POST['simpan']) ? $_POST['simpan'] : ''; //$_REQUEST['link'] = isset($_POST['link']) ? $_POST['link'] : ''; //$_REQUEST['gambar'] = isset($_POST['gambar']) ? $_POST['gambar'] : ''; //$_REQUEST['id'] = isset($_POST['id']) ? $_POST['id'] : ''; //SIMPAN DATA if … | |
[code]import java.awt.*; import java.applet.*; import java.awt.Event; import java.awt.event.ActionListener; import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; //private Connection connection=null; //private Statement st=null; //private ResultSet rs=null; public class Example extends Applet implements ActionListener,Connection { public void init() { Connection con=null; Statement st=null; ResultSet rs=null; String qa="insert into demo1 values(' ',' ',' … | |
input_berita.php [CODE] //Simpan berita dan konfirmasi kepada subscriber if (isset($_REQUEST['ok'])){ $judul = $_REQUEST['judul']; $news = $_REQUEST['news']; $idKategori = $_REQUEST['kategori']; $tanggal = date('Y-m-d'); if (empty($_REQUEST['id'])) $sqlstr = "INSERT INTO berita(id_kategori, judul, isi_berita, tanggal)VALUES(".$idKategori.",'".$judul."','".$news."','".$tanggal."')"; else $sqlstr = "UPDATE berita SET judul='".$judul."', isi_berita='".$news."' WHERE id=".$_REQUEST['id']; $result = mysql_query($sqlstr) or die(mysql_error()); //Jika mode edit, … | |
hi, Im am new to smack-api and im going to create a xmpp client for voice chat using smack-jingle extension.in here im gonna use ICE transport with customized Jingle media manager. problem is. smack jingle extension doesn't have proper documentation for making voice call using Jingle protocol and also the … | |
I want to do a project on Java. But I do not have any idea net based application in Java. I mainly want to do an application like messenger in Java. I had done a GUI application in Java using My SQL database server. But now how can I start … | |
Hi, In asp.net I have created a page which contains questions and answers..Answer for each question contains 4 radio buttons ..But i'm not able to calculate the total number of correct n wrong answers..Can anybody tell me how to do it?? | |
Hi,This place has solved lot of my problems , so here I come one more time. I have looked at this for long , can't fix this. I am copying my schema my xml and errors if you can help . Please and Thanks. <xs:element name="listings"> <xs:complexType> <xs:sequence> <xs:element name="listing" … | |
[code]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; using System.Reflection; namespace Dashboard { public partial class Form1 : Form { public OleDbConnection con,con1; public OleDbCommand cmd,cmd1; public OleDbDataReader dr; public OleDbDataAdapter db; public string … | |
Hello, I am trying to get a dictionary definition from the Wordnik API. I copied the code below from their example and it's not working. I've played around with it and I can't see what's wrong. I get this error: "Parse error: syntax error, unexpected $end on line 56". If … |
The End.