199,114 Archived Topics
Remove Filter ![]() | |
Hi I was wondering if it is possible to process 2 different files with one function and store the strings/lines I'm searching for in different variables as for instance number1 for file 1 and number 2 for file 2. the code so far: [CODE]import string Name = raw_input("Filename ") infile … | |
online Document Conversion | |
Good Day all it is Probably a long day, i cant think Straight now. i have a table that looks like this [CODE] Nodeid Parent Description Type Curr ========================================================================================== 89 NULL Compulsory 1 10 90 89 B1052 3 10 2820 89 One of 2 10 [COLOR="red"] 4113 89 B1061 3 … | |
hi, can any one tell me how to i use my sql sever's databse itno ms sql 2008 server. I tried to to do dat with the help of mysql backup file & execute it on ms sql server, but there are some syntax related problems. please help me. thanks … | |
Hi All, I have a typical problem. We have established product developed in ASP. Now I want to add security and access cotrol to upload directory and files. I could not find anything that can help me to write code in ASP. But in ASP.net C# and C++ there is … | |
Hi !!! My project runs fine but sometimes it gives some debug error when I click keyboard keys very fast(randomly),backspace key ,delete key etc..... But the error do not occur always but it occur all of a sudden anytime. I do not know why I am getting this error. The … | |
I know a little DirectX 9(I can draw a little, etc.), but i want to learn DirectX 10. I decided to take the tutorial that is provided in the DirectX SDK, so i did. Almost immediately i noticed that it was heavy. My CPU usage shot up and it took … | |
So they forced me to take java despite having no programming background... I'm a web design major, not programming. Anyway, I'm really stuck on the homework problem - if anyone could help me out that would be amazing. I need to write a program (using a loops) so that the … | |
Greetings! I am hoping someone can help me with a MS SQL query/view problem. I am creating a "name my new baby" website where parents can upload a picture of their child and have users cast votes for a good name. Users will see the child's photo and they will … | |
hI ALL MEMBERS I need ur help my app saves the work of program in file , that file has extension .SSD how I can do this , and when I click on that saved file will open by my app ?? | |
Hello everyone! I have only one question. I want to make a simple graphical installation wizard application which will run or not run few other executables (lets say their names are firefox.exe, msn-installer.exe and skype_installer.exe) You will be able to decide which ones to run with checking or unchecking field … | |
hi guys i'm trying to get the sum, average, and the number of values in the array greater than the average... i am new to this and keep getting errors! helllpp.. [code=java]import java.util.Scanner; public class AverageArray { public static void main(String[] args) { final int TOTAL_NUMBERS = 10; int[] numbers … | |
Hi, Basically what im looking to implement is a function where a user performs a search on my site, and is presented with the results and an option to be emailed similar items in future. I have all the search stuff done, but have no idea where to start on … | |
hi, im making a static float method and i couldn't figure out the error i'm getting: invalid method declaration; return required Is there anyone can help with this static calcTaxes(float grossPay) { float netPay ; if (grossPay <= 300) netPay = (float) (grossPay - (grossPay * 0.15)); if (grossPay <= … | |
Hi all, I have a Subscription database running and i am trying to insert values into it from an ASP web form when i click on a button with an id of 'confirm'. The name of the field is 'startdate' (date data type) and i need to enter today's date … | |
I'm new to JAVA and I can't seem to get this thing down I might be totally off. But I need to do a withdraw and deposit method any ideas?? [code=java]public class Account { private int id; private double balance; private double annualInterestRate; private double withdraw; private double deposit; private … | |
I have never used ftp in PHP, but now I 'm there. And I cannot figure out what content I should give to the string "$ftp_server" in ftp_connect($ftp_server). I would appreciate some advice. | |
I've just started started socket programming so there's a few things I'm wondering about: I found a set of socket programming codes here: [URL="http://cs.baylor.edu/~donahoo/practical/CSockets/textcode.html"]http://cs.baylor.edu/~donahoo/practical/CSockets/textcode.html[/URL] And the thing I don't really get is here in TCPEchoClient.c: [CODE]while (totalBytesRcvd < echoStringLen) { /* Receive up to the buffer size (minus 1 to … | |
Hello, I was wondering if I could clarify some recent information I have found on the internet regarding PHP security. Im a self taught PHP/MySQL amateur and therefore have a very skethcy knowledgebase of the coding. lol Im currently developing a website and would obviously like to ensure its as … | |
Hey, I'm working on a College project that means you have to re-do the database each time you work on your assignment. So, what I'm hoping to create is a file called "sql_connect.php" which will check if the table is there, if not.. It will run the function that creates … | |
I want to use the string class in my program but I keep getting the following errors: process.cpp:10: error: 'string' has not been declared process.cpp:10: error: prototype for 'Process:: Process(int, int, int)' does not match any in class 'Process' process.h:14: error: candidates are: Process:: Process(const Process&) process.h:16: error: Process:: Process(int, … | |
Would anyone know how to get command-line arguments in NASM16? I am on a Windows XP. I have tried a great deal of things and spent much time searching for an answer to this. What I ment by command line arguments, something simple like this would be enough. Filename: Hello1 … | |
what is READ_FLT? any thoughts on the question? If a program employs a READ_FLT syscall to input the floating point value 999999999999.0, by how much would the value returned by the syscall differ from the actual value typed in? Explain the error, if any. | |
Hi, I have 2 hexa arrays of 8 bytes and need to do an xor of them, something like this: [CODE=C] unsigned char xorBufferTemp[8]; unsigned char bufferHexas1[8]; unsigned char bufferHexas2[8]; [/CODE] I'd like to make something like that ... [CODE=C] for (i=0; i<8> i++) { xorBufferTemp[i] = bufferHexas1[i] ^ bufferHexas2[i]; … | |
Hello I have created a 2d-vector I have no problems filing this vector. But the issue I am having is that I want to extract a specific row of this 2D vector (say the 2nd) and store it as a 1d vector. What would be the best way to do … | |
th program i made does not work!!! it should input an integer between 1 and 9. and then output a palindrome. for example if i input 5, the output should be 123454321. if i input 1, it should output 1. and so on... this is the program i made: #include … | |
Question Write a program that accepts three even integers and determine the largest of the three numbers. The program should also compute the average of the numbers entered. The program should only compute the average and find the largest if all numbers entered are even. Note that the program should … | |
hello! I just made a palindrome. that inputs an integer between 1 and 9, and should output: for example if i imput 5 output :123454321 if i input 1 output: 1 | |
HELPPPPPPPPPPP!!!!!!!!! ANY CLUE WHAT I HAVE TO DO!!!!!!!!! In the NHL, players are often rated according to how many goals they score per game.In a regular season, the players play 82 games.If a player does not score in more than 7 games, they are often considered to be in a … | |
This is not running in Eclipse but ran in other jvm. Not sure if there is anything missing :( [CODE]import javax.swing.JOptionPane; import java.io.*; public class file1 { static int[][] number=new int[1000][1000];; static int row,column; public static void main(String[] args) { readFile(); /*for(int i=0;i<row;i++) for(int j=0;j<column;j++) System.out.println(number[i][j]); */ String result=""; for(int … | |
Hi! I would like to know what's the way to convert a double to its char[8] (even better string) representation, and vice versa (Char[8] to double) i.e EXAMPLES -> 1.3e-15 (made up that number) In VS debugger you can cast double variables with ",s" to get their representation as string … | |
Hello! I'm a college student who is taking a beginners Java programming class. For the first time, I really need some assistance figuring out the latest assignment, which involves static methods. I have 5 such assignments, but I only need helping figuring out 1, because then I can do the … | |
Please I need a help only in ansi c. I have an array of hexa values, for example: int N=3; char myHexas[N]; myHexas[0]=0x12; myHexas[1]=0x34; myHexas[2]=0xAB; I need to have a new array with the following: myStrings[N*2]; myStrings[0]='1'; myStrings[1]='2'; myStrings[2]='3'; myStrings[3]='4'; myStrings[4]='A'; myStrings[5]='B'; Any ideas should be great. Thanks in advance, … | |
How do you call Subs/Functions inside a User-Control? Modules and Forms does not recognize the public subs/functions inside a user control. | |
i am working on the output from the stack and list but i got 2 errors and i dont know how to fix it, hope some1 can help me to figure it out thank you header.h [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; class Lexeme { private: string … | |
I have the following code which I have been trying get to output ALL capital letters using the toupper function. My code will build successfully, however all the letters are still lower case when ever I type. PLEASE HELP ME UNDERSTAND WHAT I AM DOING WRONG! The following is the … | |
Hi! I searched but no luck :S anyone can help me.. i want to fill a table with 3 collumns and [I]n[/I] Row's, with all my database latitude and longitude parameters and date from when it happen... i think i need to make it with a [I]for[/I] .. but i … | |
I'M reading a book on Python and my very first object/constructor program isn't show the output that the book is showing. I lacks the two lines "A new critter has been born!" [CODE]# Constructor Critter # Demonstrates constructors class Critter(object): """A virtual pet""" def _init_(self): print "A new critter has … | |
The codes our instructor provided for us has been giving me a "no such file" error message for the line #include <mutex.h> in the following code: [CODE]/* * mutex.cpp * scheduling * */ #include <mutex.h> Mutex::Mutex() { } Mutex::~Mutex() { } int Mutex::Lock() { } int Mutex::Unlock() { }[/CODE] The … | |
Alright, I didn't get this one quite right on the homework, but I am trying to figure out exactly how to solve this thing. The answer was n log n , but how do you total this up when going through the loop [CODE] i = n 1 while i … | |
can someone remind me how to loop a character please. I'm begging you all. my output must be this: *********************************************** * * * * * * * * *********************************************** i know how to set the color attribute for a character, my problem is I for got now on how to … | |
I am trying to read data from a bloodpressure meter that has a usb interface that windows recognizes as a HID device. The BloodPressure meter comes with no documentation or software for its USB port. but other meters similar to this one allow you to download data from it about … | |
Is that possible to execute all the command available in cmd prompt by a java program? all that i know is there are .exe files corresponding to commands in windows>system32 folder, those are only executable by Runtime().exec command.what about other commands not having corresponding .exes?is it possible to pipe commands? … | |
![]() | I was wondering if there was a way to only allow myself to access certain pages on my website? Is there a way to do this by using my ip address? And if someone with a different ip try's to access the page they are denyed or forwarded back to … |
Hey im quite new to java and my friends have been helping me out however ive stumbled upon a question im not quite sure how to solve. i need to find the max,min and avg of the total 'responses' im not quite sure how to bring the values from the … | |
Hello! I am trying to read a value from the registry, but I can't get it to work. Everything compiles, but RegQueryValueEx keeps producing an error. this is the code: [code lang="cplusplus"] #include "stdafx.h" #include <windows.h> #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { HKEY hKey = … | |
Hi i am writing a program to convert a user entered integer number into its binary representation, the aim is to repeatedly ask the user to enter a value then output the number in binary and when 9999 is entered end program, i've managed to make it work with positive … | |
How can I create a SQL Script using MySql? I already created a database and tables. I populated the tables and wrote queries to solve the questions in my homework. But the professor want me to submit the SQL script. Can anyone help me? | |
hi everyone ,,, i have done this coding in C++, i want to change it from pseudocode to flow chart,,, here is the coding: int main(void) { int a, b, b2, a2, b3, b4; {for (a=4; a>=1; a--) { for (b=1; b<=a; b++) { cout<<a; } for (b2=1; b2<=a; b2++) … | |
As the title suggests, there are some major flaws in my new program, though it still functions nonetheless. Here's the code: [CODE] POS = 1 try: import Tkinter as tk except ImportError: import tkinter as tk import os def clear(): if os.name == "nt": os.system("cls") else: print ("\n"*40) def key(event): … ![]() |
The End.