199,113 Archived Topics
Remove Filter ![]() | |
Hey, I'm having trouble with this piece of code. Basically, it's meant to look at a map file (which basically is a bunch of URLs paired to an ID) and then go through another file and replace each URL with it's corresponding ID. The code seems to work fine, but … | |
When I run my switch, choose option 3, my program crashes. Would anyone know how to solve this? I want option 3 to [ICODE]delete node[/ICODE] from my [ICODE]linked list[/ICODE]. I do not know how to do classes. Please don't suggest a fix using classes. --------------------------------------------------------------------------------------------- my text file looks similar … | |
I need to store date from my application in to my database which created in MS Access now i use datetimepicker in my application created in VB.net 03 what shuold be the necessary code required for it plz help me with code snippet... | |
Hi, I am trying to get my python program to download ftp files directly in the program. Connection stuff is done. I managed to download through the command line, but now I want get the same thing done using a python program. Can anyone help me (all kinds of solutions … | |
hello all, can someone help me in calculating the time complexities of the following algorithms: 1) for i ← 1 to n^2 for j ← i to i^3 k ← k + 1 2) i ← n while i > 0 for j ← 1 to i^2 x ← (x … | |
I have been held up with this for about a week now and have searched all over for an answer to no avail. I'm sure it is a simple something I am missing but I'm still learning and obviously have a long way to go. Hope this is posted in … | |
Hi, I'm new to Javascript and I'm having trouble with my function to check for missing information in the code. Any ideas? Thanks | |
I need to finish this assignment by tonight. I have been working on it for the last five hours and I am completely stuck. Any help would be greatly appreciated! I have already talked to my teacher, but she is awful. No help at all. This is what I have … | |
Im doing an application that runs on vb.net using oracle database. The function that i did is to select 3 combo boxes for the information to come out. The problem is i can only retrieve the records from the first selectedindex=0 of the ifelse statement and not from the others. … | |
I've got 3 date fields on a form, each is set using the standard datetimepicker.js, however I have set the resulting text field to readonly to prevent users entering silly date formats into the field. However the 3 fields must be in the correct order i.e. datetime1 must be before … | |
Header file provided by instructor [code=cplusplus] #ifndef BIGSTACK_H #define BIGSTACK_H #include "ministack.h" struct ListNode // Description of a ListNode struct { MiniStack* stackPtr; // Pointer to a MiniStack object ListNode* nextPtr; // Pointer to next ListNode }; class BigStack // Description of BigStack class { private: int num; // Total … | |
I am reading Comma delimited Large .txt files(About 50 Mb). Currently I am using the method below to step through the lines in the file. I have one other application that Read the exact same .txt file that I do. That application will reach the end of the textFile in … | |
yet again right? Ok, so this time, the task is to write an application that asks the user for his or her birth date and replies with the day of the week on which they were born. So here is the code i have. [ICODE] package Ch2Scanner; import java.text.SimpleDateFormat; import … | |
Hi, I am trying to compile several files but I get this error... [rbaena@palautordera programs]$ make -f Makefile gcc acorr.c -o ../bin/acorr ../subroutines/postape.c ../subroutines/getframe0.c \ ../subroutines/getframe1.c ../subroutines/getat0.c ../subroutines/getat1.c \ ../subroutines/decode0.c ../subroutines/decode1.c -lm; /tmp/ccDVaRlH.o: In function `getframe0': getframe1.c:(.text+0x0): multiple definition of `getframe0' /tmp/ccIvJbx6.o:getframe0.c:(.text+0x0): first defined here /tmp/ccQc0KM1.o: In function `main': acorr.c:(.text+0xc41): … | |
Hi, I am atempting to make a time scroll bar (like the bar one would find at the bottom of video where you can jump to a specific time). I am currently using a TTrackBar, with a TTimer that keeps updating the possition. The problem I am stuck with now, … | |
i am trying to mod my input but i got an error : invalid operands of types 'double' and 'int' to binary 'operator%' i would also like to noe top/60 how do i not show the remainder. i am using dev c++ this is my code : [CODE]int main() { … | |
I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it … | |
how do i declare a scanner object, filescan publicly so that i may use filescan in varios functions i found this statement in a forum----> private static Scanner scanner = new Scanner (1 3 4 4"); when I modified it to-----> public static Scanner filescan = new Scanner(new File("inputdata.txt")); //declared … | |
I have a programming assignment for assembly and am having a bit of trouble figuring out where i've gone wrong. This is the assignment: I. Write an assembly language program with a data segment that creates the following labels and values (values in angle brackets are descriptions of the value … | |
You are required to write a program which will: · Fetch inputs from the user · Ask the user how many words that he want to insert · Append the original inputs to the screen (and save to a file called as string.txt) · Append the scrambled inputs to the … ![]() | |
I am writing a simple application in VB.NET to view JPG files. I have a slide show option, and can only get my PictureBox1 to display the last photo. ComboBox1 contains the directory and file information for each file. Here is my code. Thanks for your help! Private Sub cmdSlideShow_Click(ByVal … | |
Hi, In a function of my program, I open and close the file once every recursion...and the recursion is very large....I've made sure im not writing when its closed or not opening when its open or any of those trivial issues.Will this be a problem with the operating system?...because I'm … | |
Hi I have this code and a problem that i don't understand. In [I]image_matrix[/I], a PixelArray object where there is a image. I want to separate this image in frames then I capture pixel by pixel in a double [I]for[/I] with the dimensions of frame. The variable [I]h[/I] represents each … | |
I need it in descending order and also the ability to use decimals I tried to put double in everything but it wouldn't work it says that the array doesn't match with int. Help PLEASE!!! [code] #include <iostream.h> void selectionSort(int *array,int length)//selection sort function { int i,j,min,minat; for(i=0;i<(length-1);i++) { minat=i; … | |
Hi, I'm having trouble with one last part of finishing my basic level C++ class. The program requires you to enter your 3 cards so that it can program the total of the cards. Everything seems to be in order so far, but I do not know how to set … | |
Hi how do I flush a specific number of bytes in the Input buffer? I don't want to use flushInput() because it removes all bytes. I just want to remove a certain size. What command can be used? Thanks, Bryan | |
Hi ... [ Need ur suggestion NOT code .... ] This is one part of my assignment .. I need your help on how to do this . Below is my short description of my problem ... I have two classes Named Passenger class and container class . Passenger class … | |
help. I do everything in C++ with STL but I have to utilitize legacy C functions within my member functions (methods). The legacy C function signature is... extern int UF_DRF_create_label( int num_lines_text, [B]char text_string[ ][132+1][/B] , double origin_3d[3], UF_DRF_leader_attach_type_t leader_attach_type, UF_DRF_object_p_t object, double model_pos_3d[ 3 ], tag_t * label_tag); My … | |
Hi, Im not really sure if this is in the right forum but it is about MS Access so i thought here was as good as anywhere. Basically i am trying to make a front end for an ms database - and to be totally honest i dont know where … | |
what is ISO C++ forbids comparison between pointer and integer? | |
I have made a function that detects F1 key at the end of the program and starts it again. But what I wanted was that even if user is in the middle of the program when the user presses F1 it immediately restarts the program. Here is my code: [code] … | |
Hello everyone, On my webbrowser when it displays webpages the text is larger than normal and the whole page doesn't fit into the webbrowser and requires scrollbars eg google homepage. This doesn't happen when I view the same page in Internet Explorer. Does anyone have any suggestions as to how … | |
Hi Everyone. I'm kind of new. For some weeks I've been studying cpp using devcpp and it worked just fine. I changed my PC and now I am trying to program in Builder c++. I am reading a Builer tutorial and Im doing OK with the frames and all of … | |
Can anyone fix my code especially in the updateRecord function because instead of updating,data remains the same. [CODE]int newRecord( FILE *fPtr ) { /* create clientData with default information */ struct clientData client = { 0, "", "", 0.0 }; int accountNum; /* account number */ /* obtain number of … | |
hello. I'm b-tech final year student and making final year on "Network Monitoring System",my platform is C#.net ,i have basic knowledge of C# and my query to all experts that... what are the basic feature that i must include in my project and i want technical support... I'm very dedicated … | |
There are two versions of my application. First runs on a local server and the second version runs on a client machine. The application on the local server performs that following tasks 1. Pulls data from an online Mysql database and stores it in a DataSet 2. Makes changes in … | |
any recommendation for a good reciprocal link exchang script? should be able to organize links into categories, search engine friendly web pages, etc.... Pls. advise. | |
Hy.... I am trying to read the boot sector of my C: drive formatted with NTFS...but i am not getting the right information....can any1 help me finding the reason behind it..thanx here is the code: [CODE=cplusplus]#include "stdafx.h" #include "sunday_version.h" #include <conio.h> HANDLE h; #ifdef _DEBUG #define new DEBUG_NEW #endif #define … | |
Hi All, PLease can anybody suggest, how we can convert documents to PDF format in C# without using any third party controls. Please suggest. Thanks, Suyog V | |
Hello, Thanks for checking this out. Basically I have a form that uploads an image and stores it in a folder. I then run a thumbnail function on it and store a thumbnail version of it in a sub folder. That all works but the bit I'm getting stuck on … | |
Differentiate switch and if statements in java. Explain nested switch with example. how can we use break as a form of GOTO statements | |
:'( please help.... can you give me a full program of a game using java? i don't know it... please give me some idea... give me game program, the important is it is a game... please thank you and God bless!! | |
Hey Guys, im a fairly novice programmer I would just like to hear some views / opinions on how you would go about implementing the following: I need my program to save data to a textfile giving the file a name and adding a number to the end eg filename_1.txt. … | |
I have to create a program to calculate the number of years it will take to become a millionaire if i invest a certain amount and receive interest on it. I need a little help on how to start it, the only thing i have so far is we have … | |
Hi I can loginto a site like [url]http://www.abc.com/profile/[/url] with WebRequest.Create and network credentials and capture html code. But i cannot loginto for [url]http://www.abc.com/some.php?id=123&name=abc[/url] with WebRequest.Create and network credentials to capture html code. How can I do it. My problem is with query string .. ?id=123&name=abc | |
Good day. I am using python for quite some time now and i decided to advance a little. I want to write a little extension, or add some C modules for my python. I use Active version. What i want to do is write some wrappers for a game library, … | |
my class has an enum definition as property, and an enums type array as property like this: [CODE=java]public class GameBoard implements Serializable , Cloneable { private final int N = 8; public State[][] Board = new State[N][N]; public enum State { empty,player1,player2; }[/CODE] i want to write a clone method … | |
Hi, i am facing a problem with storing data into linked list. I have previously store the data read from the text file into an array but now my assignment require me to store all this record into a linked list. Can anyone help? May i know how to do … | |
Hi, I am a newbie here. I have some wondering thing. Can all friends give me your comment, what do you think about the programmer who keep all their backup files on the server? For example: We use osCommerce to make our shop but every time when make a change … | |
hi, i am creating a program that reads input from a file into a sudoku square. and my program is supposed to check all rows, columns, grids for any repeat numbers, and if there are repeat numbers, the program is supposed to tell me which number is being repeated in … ![]() |
The End.