199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Farhad.idrees

Hi i want to read xml.. i have two combo boxes one is showing Prgorrames Name and 2nd will show Semester No with respected to Programme.. For example if I select Programme BBa so another combobox will show all the semesters of BBa...and when i select semester 5 so data …

Member Avatar for CsharpChico
0
140
Member Avatar for pdenman

Hi all I am a total newbie and am self teaching myself. I worte a program that lets the user guess a random number and then asks if if they want to play again.\ Here is the code: [CODE]#include <iostream> #include <cstring> #include <stdlib.h> #include <ctime> #include <conio.h> using namespace …

Member Avatar for pdenman
0
2K
Member Avatar for denonth

Hi all... I am developing one program but i just came to one obsticle that I really dont know how to pass it. on my form i will have some options that user needs to enter after that im puting it and drawing it in printpreview eventhandler. So user can …

Member Avatar for abelLazm
0
173
Member Avatar for hawx

Hi, I am trying to implement a customer records page, where you can modify and save the changes on one page. What I am trying to do is, post a action using a link (or better button) and then execute a function depending on the action posted. My code is …

Member Avatar for TechySafi
0
172
Member Avatar for zachattack05

[COLOR="Red"]Disclaimer: [I]First, I'm aware that this is C++ code and this is a C# forum, I'm not all that familiar with C++ and was hoping someone here could explain the example below in C#.[/I][/COLOR] I was browsing the very complex source code of the open source project MySQL and saw …

Member Avatar for CsharpChico
0
798
Member Avatar for sharma.rahul375

I was concerned about how threads can be used in Coldfusion. Actually I am using 'cfmail' tag to send a mail with an attachment and I am storing the attachment file in a directory. What happens to be in the code is that, After using the cfmail tag I am …

Member Avatar for arrgh
0
201
Member Avatar for chris7197

A requirement of a program I am making is that it can 'print' a given URL into a PDF - the server has a PDF printer installed (and is the default printer), so it's just a matter of printing the page programmaticly, and it seems the best way is to …

Member Avatar for CsharpChico
0
346
Member Avatar for Arjun_Sarankulu
Member Avatar for wishesqq
0
240
Member Avatar for spe_eddy

[CODE]testingdays = testingData.getMeasurements() for day in testingdays: dayValues = [] dayValues[0].append(day.tempMean) dayValues[1].append(day.tempMax) dayValues[2].append(day.tempMin) dayValues[3].append(day.dewPoint) dayValues[4].append(day.humidMean) dayValues[5].append(day.humidMax) dayValues[6].append(day.humidMin) dayValues[7].append(day.pressure) dayValues[8].append(day.meanWindSpeed) dayValues[9].append(day.maxWindSpeed) dayValues[10].append(day.maxGustSpeed) dayValues[11].append(day.visibility) [/CODE] this is my code and when i try to run it i get the error message: "Traceback (most recent call last): File "main.py", line 166, in <module> …

Member Avatar for TrustyTony
0
3K
Member Avatar for satti

hi there, i have created reports through Data reporting, problem is that the data shown in reports it continues, like 2 entries in 1 page ,half entry on next page,, in simple it is unorganized. i want data report to show data separately ..kindly tell me what is the process..to …

Member Avatar for debasisdas
0
102
Member Avatar for darshini.dayal

Ihave used the following to save the users data in the the SQL table.But the data is not been save.Can anyone pls suggest what is the error? [code] { string Name = TextBox4.Text; String Telephone = TextBox3.Text; String Email = TextBox2.Text; String enquiry = TextBox1.Text; SqlConnection conn = new SqlConnection(); …

Member Avatar for MamathaS
0
231
Member Avatar for CrumbledCookies

Would somebody please assist me? I have been consistently been doing trial and error with my counter. You see, when the program cannot locate an item (which is typed at the bottom) it displays "Sorry, no such item number exists, please enter another one or 0 to stop." Every time …

Member Avatar for CrumbledCookies
0
360
Member Avatar for Jalwes

If I posted this is the wrong place, I apologize. I couldn't find an area for ActionScript. I am completely new at this and our assignment was to make a Madlibs game. I think I am very close, but for some reason I can't access my text inputs. So when …

Member Avatar for Jalwes
0
112
Member Avatar for simagen

Hi, can anyone tell me how the below three logic gates work: AND Gate NOT Gate OR Gate Basically all I need to know is, if the logic gates is an AND gate: when provided with inputs A and B, the user must calculate the output C. I am trying …

Member Avatar for abelLazm
0
201
Member Avatar for BobTheLob

Hey, so I'm working on the game set-cubed in Scheme (for those who know the game). Currently, i have a csv file of all the possible dice with dice faces. I'm trying to read this into scheme, and managed to do that with a csvreadermaker. Currently, i can get it …

Member Avatar for rotflcopter
0
215
Member Avatar for NYCrealist

[CODE]int main () I have this question how would find the headers for the five functions that are below without supplying the blocks for them, i dont quite understand it { int x, c; double r; x = readData (); for (c = 0; c < 5; c++) printValues (x, …

Member Avatar for rubberman
0
102
Member Avatar for garber

[CODE]#include <iostream> #include <string> using namespace std; int main() { // Variable declarations allowing us to calculate string fullName; int weeklySalary; int weeks; string age; int option; int actualage; int earnings; double savingsPercentage; double percentage; int retirementage; double total; cout << "What is your name? "; getline(cin, fullName); cout << …

Member Avatar for rubberman
0
143
Member Avatar for gabanxx

ai guys need a little help here..i create an interface where user can store their information like name, hobbies, DOB and phone number...the info is stored in sql server..now i want to call back all data that have being stored in sql to excel..when i say all i mean all …

Member Avatar for NanaYee
0
529
Member Avatar for ritu143

Hi, I am new to c++, facing difficulty in compiling the following code [CODE]#include <iostream> #include<string.h> using namespace std; class myclass { public: int i, j, k, *l; // accessible to entire program static int *m; }; int myclass::*m = NULL; int main() { myclass a, b, *p; a.i = …

Member Avatar for rubberman
0
2K
Member Avatar for maxstoto

please guide me....i didnt know how to implement its... my situation is like this :- let say that i have 11111010..... And i want to move the left most side of binary number and add with the 4 bits in the right side, so its can be like this . …

Member Avatar for rubberman
0
150
Member Avatar for amatech

Hi, Can someone tell me If my code is right? It compiles ok, but I am not sure if the implementation is right. I am trying to write a singly circular linked list class with insert, getfirst, getNext, delete and empty methods. Can someone help me with this? Thank you …

Member Avatar for amatech
0
141
Member Avatar for adrianSigamoney

The code runs through without errors. However my controls, LinkButton01, Image01 and Button01 do not appear on my web page. I have added the code as code behind and in front. Both times they did not appear. I am sure there is a trick I am missing here. Please assist …

Member Avatar for adrianSigamoney
0
128
Member Avatar for jmk5

Hi all, I'm posting about an error I guess is pretty common, and I've done a Google and forum search before posting, and have spent ages trying to sort this myself. Just thought I'd clear that! I have a program program that runs off the terminal, adds two numbers together …

Member Avatar for jonsca
0
5K
Member Avatar for Phesojon

I can't run my program using this code. Please help me to edit it with the same function. Thanks in advance. [CODE]#include<stdio.h> #include <stdlib.h> main() { FILE * fp; int bmenu,amenu,an; float balance=0,deposit=0,withdraw=0; char c,quit,name[50],address[50]; clrscr(); printf("**********BANK MENU**********\n"); printf(" ---- ---- \n"); printf("What do you want to do?\n"); printf("[1] Log-in …

Member Avatar for rubberman
0
229
Member Avatar for red_ruewei

Hi, I try to search related title but can't find any match. Here my case. I'm planning to allow user to insert record. If user put 3, mean 3 row of table will expand. Each row have textfield, select menu. Can refer to attachment. I'm using javascript to do that. …

Member Avatar for metalix
0
684
Member Avatar for Blackiey

#include<iostream> #include<stdio.h> #include<string> #include<stdlib.h> #include<time.h> using namespace std; void printBoard(); void fillBoard(); void checkWin(); string board [9][9]; bool gameOver = false; int main() { fillBoard(); printBoard(); }//end of main void printBoard() { cout<<board[0][0]<<" | "<<board[0][1]<<" | "<<board[0][2]<<" "<<board[0][3]<<" | "<<board[0][4]<<" | "<<board[0][5]<<" "<<board[0][6]<<"| "<<board[0][7]<<" | "<<board[0][8]<<endl<<"--------- --------- ---------\n";//1st line cout<<board[1][0]<<" …

Member Avatar for VernonDozier
0
923
Member Avatar for isumasama

Hi all, I have a table where it stores Process. The Process has each processNumber which is unique, & the processNumber indicates the step of a procedure. My problem is, user request to add a Process in between existing processes. In other word the new Process overwrite the existing process …

Member Avatar for isumasama
0
114
Member Avatar for vn412

Hi, I have a form where I generate a report on some button click. I need help with the code to show another Form in Modal Form, And Place Progress bar on that and Increment the status, from calling form so that when progress bar is running user cannot close …

Member Avatar for grine amine
0
635
Member Avatar for Neversleepin

Hello, i try the tutorial Get Attachment File Name from Java2s.com. What i'm doing is to read email from the Outlook Web Access Light. If i put the url address of the Outlook Web Access Light, i have the error: [CODE]Exception in thread "main" javax.mail.NoSuchProviderException: No provider for http at …

Member Avatar for Mr Chips
0
183
Member Avatar for QuantuMechanic

Greetings all, I have written the following code to calculate the solution to a system of ODEs, called the Matsuoka equations, by using the Runge-Kutta 4th order method. I am trying to implement this code on an Arduino microcontroller. The output of the equations, IC[0] - IC[2], should oscillate but …

Member Avatar for QuantuMechanic
0
399
Member Avatar for lochnessmonster

i am currently using the writefile() windows api function in my program, i want to store the follow in 1 buffer but i'm unsure on how to do this exactly [CODE] "===================================" '\n' "Date: " localTime->tm_mon "/" localTime->tm_mday "/" localTime->tm_year '\n' "Time: " localTime->tm_hour ":" localTime->tm_min "." localTime->tm_sec '\n' "===================================" …

Member Avatar for maybnxtseasn
0
2K
Member Avatar for pallavibhoite

I have problem with SQL query. I have table in my database which stores attendance of students. It has fields Teacher_Id, Roll_No, Date, Present('0' if student is absent on that date and '1' if present). I wrote following query SELECT count(Present ) , sum( Present ) FROM attendance_info WHERE Teacher_Id …

Member Avatar for BitBlt
0
104
Member Avatar for aaraf

[B]HI everyone I am very new to java Script and I have a calendar written in JavaScript:?: I want to take the values from it[Clicking in an input field activates the calendar. The date format is "%m/%d/%Y %I:%M %p". The calendar defaults to "single-click mode".] and using php insert it …

Member Avatar for tinymark
0
100
Member Avatar for Shamail

Please tell me what i am doing wrong, all i want is to print this xml file with the xslt file i have. <?xml version='1.0' encoding='UTF-8'?> <?xml-stylesheet type="text/xsl" href="../App_themes/videoPlayer.xslt"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <title>Exam Security Whats OK and whats Not</title> <location>https://s3.amazonaws.com/arrtstreaming/ExamSecurity.mp4</location> <images>https://www.arrt.org/svideo/images/movieThumb.jpg</images> <annotation> ARRT takes the confidentiality of its …

Member Avatar for tinymark
0
138
Member Avatar for billmudry

With over 15,000 wood names in the wood knowledge base I am building (at [url]www.prowebcanada.com/taxa[/url]) it has become practically essential to add a versatile search engine to extract queries from the MySQL files. I started with an online template and have brought it quite a way along but some things …

0
164
Member Avatar for himgar

I want to print the following sequence. __* _*** ***** _*** __* Here _ denotes space. I have written half program to print upto 5 stars and not able to get for down. [CODE] #include <stdio.h> void main() { for(int i=1;i<=3;i++) { for(int j=1;j<=3-i;j++) printf(" "); for(int k=1;k<=(2*i-1);k++) printf("*"); printf("\n"); …

Member Avatar for L7Sqr
0
89
Member Avatar for NewOrder

i made two arrays..belonging to an object that i created Pieces. that object holds more objects (chess pieces). now i gave it two references.. 1) Pieces[,] temp = new Pieces[9, 9]; 2) Pieces[,] pieces = new Pieces[9, 9]; now if i do this: temp[1, 1] = null; the same change …

Member Avatar for ddanbe
0
119
Member Avatar for jacob07

Hello, i'd like to make a program which reads input until end of file on standard input and when i press ctrl-d (or i'm not sure how to end it) it writes out the lines which contain a string. so if i start with : ./a.out cond First line Second …

Member Avatar for jonsca
0
157
Member Avatar for m_wylie85

Hi all i am havin a problem with my Jet oleDB connection i am getting an error and i am not sure if my code is completly wrong or it is a small problem any help would be great. This is the erorr i get: An unhandled exception of type …

Member Avatar for m_wylie85
0
198
Member Avatar for Howdydoody

Im making a separate chaining hash table for dictionary words. In my insert method i use find to make sure there isnt a duplicate. Every thing compiles but my program stops at the find statement and quits working. If i omit the find method, which ok for the first word …

Member Avatar for Howdydoody
0
134
Member Avatar for ninjatalon

So I just started reading about serialization of class and how I can save them into a binary file. But after I define my class as <serializable()> and try to save the object it keeps throwing me this exception. [COLOR="Red"]"An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll Additional information: …

Member Avatar for ninjatalon
0
180
Member Avatar for ppohlmann

Hello folks, i need help for a query.. I have 2 tables .. user table: useridid city and another table, the reward table : userid reward points , I want to sum up the points according to the city and list them.. Any ideas ? I am loooooost .. Thank …

Member Avatar for ppohlmann
0
108
Member Avatar for jdm

I'm working on a java program in netbeans and I have it working except to run it I have to right click the main file and tell it to run instead of just clicking the run button. Any help would be appreciated. Sincerely yours; jdm [CODE] /* * To change …

Member Avatar for jdm
0
179
Member Avatar for raf11

Hi I have looked around the forum but cant find anything about rss feed links. I have managed to get my rss feed working but i want users to be able to click on the title of the rss to take them bk to the orignal website can anyone tell …

Member Avatar for raf11
0
175
Member Avatar for samp4ever

Hi everybody. I'm implementing an application that use FileSystemWatcher to monitor the events of a local File System with C#. The problem is that I should also know for my application even the user or the process who made a change, an access, created, deleted and so on a file …

Member Avatar for makman99
0
114
Member Avatar for aaronmk2

I am trying to combine the string NCards and Scards into one string called Tcards. I am using # include <cstring> and I get an error. How would I fix this. All the variables are strings. [CODE] void deck::deal() { Tcards=strcpy(Scards, Ncards); }[/CODE]

Member Avatar for Lerner
0
110
Member Avatar for vineeshvs

1.[ICODE]#include<stdio.h> #include<math.h> #include<stdlib.h> double **memalloc(int M,int N); main() { int i,j; double **a; a=memalloc(2,2); printf("a\n"); for(i=0;i<2;i++) { printf("\n"); for(j=0;j<2;j++) { a[i][j]=i+j; printf("%f\t",a[i][j]); } } } //FUNCTION-memalloc double **memalloc(int M,int N) { int i; double **y; y = malloc(M* sizeof(double *)); if(y == NULL) { printf("out of memory\n"); return 0; } …

Member Avatar for vineeshvs
0
259
Member Avatar for gl7

i am new to c++ and learning about vectors now and vector member functions, so my question is more a logical question. my question is dealing with the .begin() member function, i now it sends the iterator to beginning of vector but i am confused on what it returns. i …

Member Avatar for gl7
0
206
Member Avatar for xanawa
Member Avatar for mKorbel
0
70
Member Avatar for lochnessmonster

whenever u create a string like this... std::string name = "HELLO THUR"; what size buffer does the constructor store the string in when instantiating this string object? im curious thx!

Member Avatar for WaltP
0
168

The End.