199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NV43

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 …

Member Avatar for nezachem
0
167
Member Avatar for s_r_k
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for toydiaz
Member Avatar for busyaish

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

Member Avatar for WaltP
0
149
Member Avatar for guidely

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

Member Avatar for cse.avinash
0
253
Member Avatar for Uni

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 …

Member Avatar for YAMNA MIDHAT
0
175
Member Avatar for konman795

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 …

Member Avatar for konman795
0
322
Member Avatar for Onlineshade
Member Avatar for Taywin
0
78
Member Avatar for Uni

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 …

Member Avatar for Uni
0
127
Member Avatar for aadi_capri

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.

Member Avatar for aadi_capri
0
118
Member Avatar for AWorkTool

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 …

Member Avatar for NetJunkie
0
189
Member Avatar for davy_yg

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

Member Avatar for davy_yg
0
144
Member Avatar for Jsplinter

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

Member Avatar for mike_2000_17
0
599
Member Avatar for patel28rajendra

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.

Member Avatar for carrieathomer
0
142
Member Avatar for emailcrombiez

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 …

Member Avatar for emailcrombiez
0
119
Member Avatar for marliah

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

Member Avatar for ArtistScope
0
263
Member Avatar for Student no.1

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

Member Avatar for Student no.1
0
278
Member Avatar for kaleeswaranm

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

Member Avatar for shivnal
0
4K
Member Avatar for mazdasa

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 …

Member Avatar for MonsieurPointer
0
107
Member Avatar for virendra_sharma

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 …

Member Avatar for gerard4143
0
157
Member Avatar for ghostdog_alex

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 …

Member Avatar for ghostdog_alex
0
108
Member Avatar for nw240x

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 …

Member Avatar for nw240x
0
425
Member Avatar for maxtrixx

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 …

Member Avatar for concepcionmark
0
215
Member Avatar for guidely

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 …

Member Avatar for guidely
0
414
Member Avatar for jremio

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 …

Member Avatar for codeorder
0
214
Member Avatar for aadi_capri

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 …

Member Avatar for aadi_capri
0
176
Member Avatar for Zssffssz

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 …

Member Avatar for Narue
0
186
Member Avatar for maxelcat

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 …

Member Avatar for maxelcat
0
98
Member Avatar for sunn shine

im studying recursive algos... teacher gave us assignment to write a recursive algo for the tower of honai............. what is TOWER OF HONAI????? :'(

Member Avatar for Fbody
0
149
Member Avatar for Nakeo

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 …

Member Avatar for Nakeo
0
177
Member Avatar for pits
Member Avatar for hfx642
0
99
Member Avatar for RazorRamon

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

Member Avatar for stbuchok
0
196
Member Avatar for jogesh_p

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

Member Avatar for jogesh_p
0
133
Member Avatar for getmet

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 …

Member Avatar for JamesCherrill
0
92
Member Avatar for ashanu

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 …

Member Avatar for sundip
0
185
Member Avatar for vbengcolita

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.

Member Avatar for peter_budo
0
175
Member Avatar for Sharukh

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 …

Member Avatar for Sharukh
0
396
Member Avatar for Misbah khan

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 …

Member Avatar for debasisdas
0
107
Member Avatar for Mehwish Shaikh

Can anyone tell me what this following statement means in C++..[B] return (tos==0?1:0)[/B] where tos is a variable.. Thanks..!!

Member Avatar for peter_budo
0
315
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
118
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
304
Member Avatar for vijaykavin10

[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(' ',' ',' …

Member Avatar for peter_budo
0
408
Member Avatar for davy_yg

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

Member Avatar for davy_yg
0
112
Member Avatar for udayangaS

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 …

0
129
Member Avatar for Onlineshade

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 …

Member Avatar for Onlineshade
0
160
Member Avatar for Shwetha Dali

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

Member Avatar for Shwetha Dali
0
119
Member Avatar for jashbela

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

Member Avatar for phpbeginners
0
1K
Member Avatar for nav07

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

Member Avatar for adam_k
0
444
Member Avatar for tusharbhatia

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 …

Member Avatar for tusharbhatia
0
265

The End.