64,152 Solved Topics
Remove Filter ![]() | |
I was just hoping to get some advice before I start writing my program, I need to put two columns of data into some sort of data structure, and each number has about 25 decimal places. Can anyone recommend the best one? Would storing them as a vector work? Thanks … | |
Hi All, I'm a student who really need help in this problem...what I need to do is to call/run/execute a subroutine using a varaible name from a subroutine. [code] Public Sub Main(ByVal subName as String) Call subName ' subName may be contain the value AAA or BBB End Sub '=========================== … | |
hi all, i am really stuck with c++ pointer issues. what my program is supposed to do is to take input from user and recognize whether the entered string is a valid word from the grammer S::= a|(S) hence grammer should accept words like... a, (a), ((a)),(((a))).... i have done … | |
Hey all I'm trying to create a program that takes a predetermined number (monthly salary in this case) and rather than printing as a number it prints it as text. However when I input a number all I get is random stuff that makes no sence. I will include the … | |
Hi All, Help if you can, The following script wont insert a row into my table. There is an auto increment field at the start of the table called "ID". [code] <?php // this is processed when the form is submitted // back on to this page (POST METHOD) if … | |
I have a homework assignment to instructs me to play around with functions and exceptions, but one seciton I'm stuck with is a certain condition it tells me to write o if x is not "So sue me!", but x is still not convertible to an int (by calling int(x)), … | |
Hey, I was just wondering, but what code do you need to be able to press a few buttons on your keyboard. Like, if I want to type "Cheese is yellow on the moon!" I'll just run the program. Or if i want to do ctrl+alt+del to go to task … | |
I am writing a tic-tac-toe program and whenever my game gets to here it generates the following error: [CODE]# Display board function def display_board(board): """Display game board on screen.""" print "\n\t", board[0], "|", board[1], "|", board[2] print "\t", "------" print "\t", board[3], "|", board[4], "|", board[5] print "\t", "------" print … | |
I have created a function that is supposed to go through a text file (csv) and read the information in it and then add it do a dataobject (which just holds the info in textfields and a combobox) which when filled adds itself to the jpanel. The issue I am … | |
hello can you help me on this i have gel compiler then i want to debug my program but the debug button is not highlighted then it can't be click...ahm can you help me on this or please suggest me if what is the best compiler for java?...thanks in advance … | |
hello all, can anyone tell, how can i make an mdi form borderless. i don't want the user to click on the close button present in the title bar. i want them to exit the way i directed them. thanks in advance. Sayen | |
[CODE=c] #include<stdio.h> #include<math.h> main() { int i=0,j,c,s[100]; double t=0; while((c=getchar())!='\n') { s[i]=c; ++i; } for(j=i;j>0;--j) { t=t+(s[i-1]*(pow(16,(4-((double)i))))); --i; } printf("%d",(int)t); return 0; } [/CODE] HI, i need to write a program that converts an hexadecimal number into integer form (for convenience i'm only considering hexadecimal no. without alphabets from a … | |
Hi I have a ASP.Net code below that need to query with MS SQL database. [code] "select SUM(ShopCartItem.Price-OfferedPrice) As Discount from ShopCartItem " & _ "Inner Join Product " & _ "On ShopCartItem.ProductID = Product.ProductID " & _ "Where(ShopCartItem.ShopCartID = @ShopCartID) And ShopCartItem.ProductID != @ProductID" [/code] The MS SQL query … | |
can you kindly help me load my gridview with data from appsetings.xml . the gridview must have the following three columns(key,value and description) here is my appsettings.xml. [code] <?xml version="1.0"?> <configuration> <Global> <FromEmail value="test@uiplay.com" description="From Email Address Name" /> <AdminEmail value="cmckowen@gmail.com" description="Admin Email Used for Admin Test and Unsubscribe Comments" … | |
iam currently on a program that reads two integers values, with the second has to be a non-zero integer. here is my codes so far: Does it look ok ? PLEASE HELP !:( [CODE]public class Lab2App { public static void main(String[] args) { // Calculate 5 and 3 with relation … | |
are there any simple softwares, ways or techniques on how to make a graph??? simple only.,just plot the x and y axis, then draw a line to connect them..that easy only./.please could you help me, thanks..^_^ | |
hai I am planning to use some instrumentation controls available [URL="http://www.codeproject.com/KB/cs/Industrial_Controls2.aspx?msg=3340682#_top"]here[/URL] as far As i understand that project can create a dll file and it cn be used in our projects. but when I added as reference this dll file into my project those controls are not available in tool … | |
I'm having difficulty writing my xml schema (.xsd) file. My xml file contains a recursive element para which in turn has mixed elements within. The element para contains either text only or it contains 0 or more sub-elements para and/or it contains 0 or more element footnotes or/and it contains … | |
I would just like to start by saying hi. I am a new user here. I have read the forms for a long time but have never joined. I am new to C# but I will try to answer any questions I can on the form. My question is, is … | |
Good day. I just want to ask on how to make a textbox accept positive & negative numbers but will not accept string that was entered.. Ill try to use [code=vb] if not isnumberic(text1.text) then msgbox"error' else end if [/code] But if negative numbers is entered it will not read … | |
i need to know if there is a member whose enrollment date is earlier than a specified date. If this case, the specified date = $Monday [CODE] $Monday = 12-30-2009; $result = mysql_query("SELECT COUNT(*) FROM agents WHERE (sponsor = '$parent') and (lft between $leftlft AND $leftrgt) and (enrollment_date >= '$Monday')"); … | |
Hi, I'm trying to create a multilingual site and I've decided to go with the example shown [URL="http://www.phpsimplicity.com/tips.php?id=15"]here[/URL]. The problem is that I'm also trying to build the site with a method I've never used before. The navigation is done through the get-method. All content gets loaded into the index … | |
hi all does any 1 here know how to save a Gnatt Chart to png file? thanks! | |
hi does any 1 can show me a simple code how to show a picture on a j2me cellphone? what i want to do is: i have a tcp server based on j2se. i want it to send a png/jpg to a cell phone via the socket and then show … | |
Hi, i'm trying to create a program so i can log every person I meet, which i have done quite easily with databases. However i would also like to be able to log each time i meet that same person which is where i can't figure out what to do. … | |
Hi!!! I am developing an intranet web project using asp.net c# 2008 and i want to integrate crystal report XI, I wonder if anybody here have this two programs working correctly because i have two days trying to fix it, i have read a lot of posts nothing help. anyway … | |
[CODE=c] #include<stdio.h> void astrcat(char s[], char t[]); //to concatenate two string main() { int i=0,p=0,q=0,c; char s[100],t[100]; while((c=getchar())!='\n') s[p++]=c; while((c=getchar())!='\n') t[q++]=c; astrcat(s,t); while(s[i]!='\0') printf("%c",s[i++]); return 0; } void astrcat(char s[],char t[]) { int i, j; i = j = 0; while (s[i] != '\0') /* find end of s */ … | |
When I run this code: [code]class C(object): print("Hello from inside class C") [/code]It gives the same result as if I had used this code: [code]print("Hello from inside class C") [/code]However when I use: [code]class B(object): def __init__(self): print("Hello from inside class B") [/code]The class behaves like I had expected. Does … | |
Hi, I have a task where I programatically will open 2 Explorer Windows in a minimized mode. I have searched and the code I have come up with looks correct to me but what happens is that these 2 browser windows do open in a Normal mode. That will be … | |
Hi, I need some assistance in how to count the number of lines in a given file. It is a small part of a homework assignment I have and I am having problems figuring it out. I am to assume that in each line there will be a maximum number … | |
This is a coursework help *Just so its clear im playing by the rules* A question on my coursework is to "Put a structure within a structure and show how this can be addressed". I understand regular structures, and *hopefully* this code is correct. But im having trouble working out … | |
Hello, I would like to list items from a database into a list but like to make it look clean. For example if database contains Column1, Column2 John,Smith Joe, Bloggs I want to list them like this John Smith Joe Bloggs Not like this (currently) John Smith Joe Bloggs Any … | |
Forgive me I am still really new to Java. I have this swing application which creates a small JFrame that when clicked, counts down from 2 minutes and stops at zero. I build a GUI in netbeans IDE and I read that in order to place this timer code into … | |
Hi, I have a resultset which is an array with either 1 or 2 or 3 or 4 ... dimentions. How can I find out how many dimentions are returned? Thanks ![]() | |
Hi, I have one MDIApp running, at this time I need to create some configuration windows to ajust some parameters that provides to the childwindow contents some ajusts. My problem is, which is the best way to create this config windows? How can I store the information for a next … | |
In a button click event I need to send 5 different commands recieve each output one by one. My code for only one command is (its works): [CODE]TcpClient socketForServer; socketForServer = new TcpClient("127.0.0.1", 2211); NetworkStream networkStream = socketForServer.GetStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(networkStream); System.IO.StreamWriter streamWriter = new System.IO.StreamWriter(networkStream); string command … | |
hi to all, anybody know MVC mens what and how to use it in asp.net..? | |
Hi and I am writing a small program but need to make a function that converts an integer to a hex. Below is an example of a similar function but need the result stored in a std::string variable. [CODE]printf("%x%x%x%x%x",h0, h1, h2, h3, h4);[/CODE] Does anybody know how to create a … | |
Hello Sqlserver MyTable has following data Vou---------date---------qty 1-------25/12/2009------5 2-------25/12/2009------4 1-------26/12/2009------8 2-------26/12/2009------3 3-------26/12/2009------2 [CODE] str = "SELECT date, SUM(Qty) AS Qty, FROM mytable GROUP BY Date" dt = GetTable(str) [/CODE] These codes display following result date--------------qty 25/12/2009------9 26/12/2009------13 Now I want to add sno column in result as Sno--------date---------qty 1------25/12/2009------9 2------26/12/2009------13 … | |
Hi, I am running 3 threads that each start an ffmpeg process to extract 3 snapshots form a video file. I need to be able to call this method multiple times, with different video files. It writes the three snapshots to the system. However If I try to delete these … | |
Hi, I am creating a website where a user has to register to access the site features. Once the user registers, his registration has to be confirmed by the admin guy, who is maintaining the site. The thing is I wanted a way to send an email automatically, once a … | |
Hey guys :) I am stuck on this piece of code i am about to give below. What happens, is the server sends a "ping" to the client, the client sends "pong" back, but when the server sends "pong" back to the client (i KNOW this is sent) the client … | |
I am pulling a list of 3 items with a list price from a text file, I ask for the percentage off and calculate it against the list price then I update to file with revised price. The program compiles correctly, but it never displays the info in the console … | |
Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert … | |
hello... anybody give suggestion.. i am doing one task what it zzz means my site is in english. i have dropdown list having multiple languages. if anybody changes language option site all pages change to that language. any body knows how to do it? | |
i have this problem, i want to have a data grid which functions like in vb6...now, whenever the user will click on any part of the table, the program will get the value of that specific row being selected. now, using clickable tables, i can get the value but in … | |
is it possible to have a clickable table wherein once you click that specific row, a dialog box will appear to display the entire row. could you help me with this one..thanks in advnce ^^ | |
Pleasew help me.. I never learn about C++ before.Since i'm study abroad in japan,everyone had learnt evrything.So i feel like crazy because i didn't know anything..My lecturer give us assignment about calculator function programming..what should i do..how to make thats programming....:( Please anybody can help me |
The End.