199,113 Archived Topics
Remove Filter ![]() | |
Hello again, got myself stuck again with my lack of time between coding c. Gotten myself lost with pointers this time i'm pretty sure. Declaration in header file [code=c] extern DiskRequest proc_new_disk_request(int procnum, int sectornum, ReadOrWrite rw); [/code] Where i'm calling it from and some code around it to make … | |
good day everyone! how can i distribute the exe application w/o using package and deployment wizard? i just made it executable. the problem is the the database path changes because i did not use the App.Path. I know how to use App.Path using ADODB, but with ADO Data Control, you … | |
Hi everyone, working on a class project where we spider some patents from the USPTO (Patent office) and eventually map out our findings. Our teacher provided a script and expected us to hardwire directly to a modem, not a router. That is asking a lot since I need to provide … | |
I need major help, I'm trying to create three functions to search through a list container: one is to search, one is to flip and the other is to modify. It's an information manager which has card that contains information such as first name, last name, address, occupation and phone … | |
If you look at the end, i try to store some values in a few arrays. When i try to print these out, I receive complete junk. any thoughts? [CODE=C++] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define MAX 122 #define MIN 48 char GetRand(); void RC4(char *realpw, char … | |
I am working on an application in Visual C++. I needed to generate a message box so I went to the help files and found the C++ example to do this task. I copied and pasted it into my code. When I built the application this code from the help … | |
I'm trying to create a cipher that eventually will read an entire .dat file then re-write it encrypted and as of now I am using code blocks. Right now I’m just working on being able to do it one word at a time, but I get a really big error … | |
Hello! So, I have a problem with the following code... I'd like to know, why the variables pid and ppid are not initialized? Inside the if scope, if I print them out, they are initialized to getpid() and getppid() value, but when I want to print them out in else … | |
How can I check if an event is user generated? When the user clicks on a combo box and changes the displayed/selected content, I want the code in the itemStateChanged method to be executed. But I only want this code to be executed if the method call was due to … | |
for example you have a: string test; [CODE] void ExampleWindow::on_clicked(){ ofstream myfile; string test; myfile.open ("/home/ws14/Desktop/trunk/minisip/minisip/share/test.txt"); mydialfile << test; mydialfile.close(); } [/CODE] how can I just add or insert a value on the file(test.txt). not just overwrite the file(test.txt) when the function(on_clicked) is being called. All I need is if … | |
I'm attempting a reduction from the vertex cover problem to the guard cover problem guard cover: [B]instance[/B]: a graph G and a bound k [B]question[/B]: is there a subset S of at most k vertices such that every vertex of G is separated from a vertex of S by a … | |
Hi there, I need to know how to get the hard disk serial number, in windows. Thank you in advance. | |
Hi, I have been spending several weeks figuring this out but couldn`t find way to it. Here is what I am planning to do, I have a text file with several data in it, and I have to extract part of the data into a 2 dimensional array. Here is … | |
Hi. I want to know how it is possible to export data through php to an already available template excel and word, and then how to read from those template? regards, | |
Hello, ive got a quick question about changing characters within a .asciiz. Here is a snippet from the code im working with: [code] ## This is 300004D2 ## la $a0,value # Initialize the value lw $a0,0($a0) ## This is equal to 8## la $a1,count # Initialize the loop counter lw … | |
Hi there!! My first Post :) My problem is as follows: I have multiple text files in a folder, and I need to automatically format these text files to an CSV format. At the same time I need to add different Data to accommodate it to the MySQL database. so … | |
For example you want two tables that have a column that has an identical id and that id you want to print out in another table. how will you code it? | |
Hi all. Could anyone please put comments on each command that Ancient Dragon posted? It's just to be sure what each of them means. I'm having trouble compiling this (it's not what Ancient Dragon wrote!!): [code=c++] //blabla char OutFile[100]; FILE* fp; sprintf(OutFile,"wind%d", date); fp = fopen(OutFile,"w"); OutFile << "Longitude\tLatitude\tDirection\tVelocity\n";//here appears … | |
So I'm trying to create an easy Trig-Functions calculator where you plug in an angle and a sig and it'll give you the other sides and angles back. In c++ is there a way to use sin, cosin, and tangent? I havent started this project yet but i was wondering … | |
Hi, I got two files a php file to process and record data to a text file Now when a visitor visits a page on my website.... it records some information about them and it is sent to process.php and then process.php then records the data in a .txt file. … | |
ok....so i have code that will return whether or not the string im searching for is found. Which is fine and dandy, but i also need the array index, for where the match was found. (names are read from a txt into an array, then the array is searched with … | |
Hi, Can someone please help me!I just want to setup a chat between me and my friends over the internet.I found this project but can only get it to work over a network,but need it to work over the internet.please help: [URL="http://www.geekpedia.com/tutorial239_Csharp-Chat-Part-1---Building-the-Chat-Client.html"]http://www.geekpedia.com/tutorial239_Csharp-Chat-Part-1---Building-the-Chat-Client.html[/URL] thank! | |
could anyone help me how to use a date function for reservation on ASP.NET.... thanx | |
[I][/I]Hi Everybody I am writing a socket program on a smart device. What I am trying to write is when client connect wit server, server send the file name that cllent can download. Then client must choose one file name and send that file name to server. Then the server … | |
I am using GetWindowText to take user entered data, then seperate it out into variables, then finally use the one variable I need. .The only problem is that when debugging, I am seeing 2:00 pm listed as "2:00 pm", '\0' <repeats 17 times> it should just be 2:00 pm or … | |
I am new to .Net and I am having some problems. I have read the Kate Gregory book for visual C++ .net and successfully implemented her application to look up employees in a database table. I followed the same format to write an application I am working on. The adapter … | |
hello every1..... i need ur help........im looking 4 a program which uploads a picture of the galaxy....then detects and counts the total number of stars in it.......can any 1 help me with this........ its really urgent.......its my assignment n i need to submitt it very soon........ waiting 4 ur replies........ | |
I am having trouble converting a string, stored as input, to all lower case.....and save the lower case in a string, search. perhaps my idea is flawed? [code] search = tolower(input); [/code] | |
Could anybody help me to create a QReport in Delphi. I use My Sql as my database. | |
[CODE=Java]java.util.Vector<EmergencyContacts.ContactInfo> contacts = Application.getPatient().readEmergencyContacts().readContactInfos(); for (int i = 0; i < contacts.size(); i++){ EmergencyContacts.ContactInfo info = contacts.get(i); } public Vector<ContactInfo> readContactInfos(){ return contacts; } private Vector<ContactInfo> contacts = new Vector<ContactInfo>(); [/CODE] As you can see, it returns a Vector of ContactInfo. Why would I be getting an error saying, "Exception … | |
public class QRYExecuter: SqlDataReader { } class is defined as above while building this, i get exception below: The type 'System.Data.SqlClient.SqlDataReader' has no constructors defined pls, can u solve it? | |
hi, my front end is flex and back end is C# in .NET. How can i get the value from flex(eg: name) to a variable in .NET ? | |
I am having trouble running some test code using SOAP::Lite for perl. The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net. It should be relatively simple test code, the only complication being the internal proxy server, but that seems to … | |
I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> … | |
Hi all, I need a help from u... Please help me... Is it possible to have more than 1 servlet for an J2EE application... I have 2 JSP's (index & display page) 1 Servlet (myServlet) - Db Connectivity(insertion & selection) In index.jsp, i have 2 fields and a button, while … | |
Hi guys, I am trying to create an windows application. What I need to do at this stage is I am trying to read a tab delimited file and the that same tab delimited file to go to another text file on my C drive. I have written some code … | |
This i the background to my problem, which is stated in bold text. I am currently working with a SAFEARRAY. I've declared a two dimensional array in VB6 and I'm trying to store data from a C++ dll in it. I have used the resources listed below to learn how … | |
Hi All. Please I need your help. I have just started work as a Software Engr. I have a project at hand which includes placing different image icons on a JLabel component depending on which element of a JList is selected. I used single selection model. I tried using if-else … | |
Hi there ever1. I have written a bracket checker program using stack, seems to me its working ok, but still I have one problem with it.Well, it compiles ok,but when you are entering value, it just doesn't show you any results, but it supposed to give you the results.Any help … | |
Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates … | |
I have made an application with access database using Adodc and it works fine. However, I have set the ConnectionString and RecordSource in the Properties window in VB6. But now I want to write it in the Code. I need some help. I have written the code and need someone … | |
Hello I think this is easy for experienced C++ users. I want to define and initialize a [512][512] matrix. The problem is that when I do int matrix[512][512] I get an error and the program it shuts down. I think this has to do with max reserve memory. What can … | |
I am in a beginners programming class for visual basic and i have to build a game, a simple hangman game... but the only problem is i don't know how too... My teacher hasn't taught us anything, he simply gives us the book and says go.. so i don't know … | |
I have aseries of textboxes namely txtAlpha1, txtAlpha2, txtAlpha3 etc and txtBravo1, txtBravo2, txtBravo3 etc. I am trying to loop thro these by doing the following but of course it does not work. [code] For i = 1 To 25 If txtAlpha & i & .Text = txtBravo & i … | |
hi to all my fellow programmers, i'm creating now an attendance system. how to create a count down timer that will minus in the system time? it is possible and how? i have a 3 textbox 1 is for the hour, minutes and seconds. and 3 label for the count … | |
I'm reading in a file and I need to skip any lines of length zero or starting with '#'. But I keep getting null pointer exceptions later in the code because it can never tokenize. What am I doing wrong? Thanks in advance. Below is the relevant method: [code] static … | |
Hai, I want to print only the content of datagrid from php web page. Anyone help me from this problem. Please send me the code to resolve it. thanks, | |
I have a file with a table with movie titles. When I wish to edit I click on a link which is represented in this following code: [code=PHP]<a href="edit.php?autoid='.$row['autoid'].'"> edit</a> [/code] This redirects me to an edit file where I can change the name, year and category. After updating it … | |
[TEX]I[B] am having a problem with my code it seems to endlessly loop with user input of two temps never ending. As I am a newbie at this could someone take a look at what I've got so far and fix what's wrong here are my two classes This is … |
The End.