132,726 Archived Topics
Remove Filter ![]() | |
Is it possible? Because I want to convert my Mario by Utter Chaos into Java to put on my website. Software Development java | |
Hi, all I'm trying to do is have my program request a name then after name is inputted, ask if there are any more names to add [Y/N]. Problem is program keeps displaying 'add name' and 'any more names to add' on the same line without giving the option to … Software Development c | |
I need to create an app that will run an executable at 3 given time (8am, 12pm, and 4 pm). Can anybody tell me how to start? Thanks!!!! Software Development visual-basic | |
I am tring to get the real time data [B][COLOR=#7f0055]for[/B][/COLOR] almost 200 subjects [B][COLOR=#7f0055]and[/B][/COLOR] store it in a file. But then I get the each subject data in four different subject codes in the sense four rows from the real time data which I want to store all of it … Software Development c++ data-structure | |
Please can anyone help me to get the time zone between GMT & New York including the daylight saving. I am able to get the timezone between GMT & localtime including the daylight saving. My program goes like this [code=c] time_t t = time(0); struct tm* data; data = localtime(&t); … Software Development c | |
The differences are listed here [URL]http://www.geocities.com/karthika_79/diff.html[/URL] hope this helps, karthika Software Development c++ | |
Hello, I'm trying to read in a txt file that looks like: AAAA BBBB 1234 CCCC DDDD 4321 .... and here's what I've done so far: [code] char a[4]; char b[4]; int c; FILE *input= fopen("input.txt", "r+"); if (input==NULL) perror ("Error opening file"); else{ while(feof(input)== 0){ fscanf(input,"%4s",a); fscanf(input,"%4s",b); fscanf(input,"%d",&c); } … Software Development c | |
Hey friends , Is there any way to change textcolor in C? I am not able to find any method... Software Development c | |
Hi Guys, I have an aspx page called Main.aspx which has several text boxes and a button. When I click on this button, it opens up a popup window called SubMain.aspx I want to drag and drop those text boxes from the Main.aspx page to this new popup window. Is … | |
Hi, I had almost completed my program of Analog clock with tC++. but i got stuck, when any arm of the clock is over another arm it erase the other arm when it passess by. I try to redraw that arm but it looks very bad as it start blinking … Software Development c++ | |
I'm looking for a C++ certification course, but there seems to be about 1001 offerings on the net, and the last thing I want to do is spend my money on something that employers won't recognise as legitimate. Could anyone please recommend some of the courses/companies out there that I … | |
hi, OVer the last few days, I've bee having serious issues trying to check input from the user and making sure its numeric, I recently found this function like many others but I cannot get it to work. [code] #include <cstdlib> #include <iostream> using namespace std; bool IsNumeric(const char *p) … Software Development c++ ![]() | |
Hi Does anyone know how to insert data into a database from a website? I have created a Registration form for users to register to my web site. With this I would like the data they have entered to be stored in a MySQL database. I have created the a … Software Development first-post java | |
Hi, I was wondering if anyone knew of a good memory leak checker (like valgrind's memcheck) for c++ win32 apps. Software Development c++ | |
[code] #include <iostream> using namespace std; // structs/Classes /*********************************************************************/ struct Key { char* data; // string Key () {this->data = NULL;} Key(char* data) { this->data = new char[strlen(data)]; strcpy(this->data,data);} bool operator== (Key& key) { return 0 == strcmp(this->data,key.data);} // is this == to that key bool operator< (Key& key) { … Software Development c++ | |
[B]Here it goes: 1. Write a C program to calculate the value of x for the given formula of quadratic equation. 2. Write a C program to calculate the petroleum consumption. It should assign the distance travelled in km. and the amount of petroleum used in litres and compute the … Software Development c | |
Hi, Would really appreciate if someone can help me. Need to generate 10 random numbers such that their sum is less than 1. thanks so much in advance manu Software Development c | |
This is a skeleton of my full assignment attached. Can anyone please help me out and provide me with guidelines or comments to the assignment??? | |
:!: [U][COLOR=#000000]Minimum-weight Path.[/COLOR][/U] [COLOR=#000000] [/COLOR] [COLOR=#000000]An agent is required to move from the top row to the bottom row of a m × n grid, (i.e. from start position (0,j) 0<=j<n to end position (m - 1,j) 0<=j<n). On each move, the agent may only take one step rightward, diagonally … | |
Hi all, I need help with an old C program, making it work in C++, and changing it a little bit. For now, can someone help me change this line of code to the new function in C++? Thanks and God Bless. Jonn. [CODE]cp = (char *) malloc(strlen(tbuff));[/CODE] Software Development c++ | |
I have the following C++ code: [code=cplusplus] class A { private: long num1; }; class B : public A { private: void f1(); }; class C: public B { private: virtual void f2(); }; int main() { cout <<sizeof(A)<<endl; cout <<sizeof(B)<<endl; cout<<sizeof(C)<<end; }[/code] Would someone please help me with the … Software Development c++ | |
Hi all My first time with this forum:). I'm running python 2.4.4 and unicode enabled wxPython on Windows XP. I'm writing a gui application which requires users to be able to type accented characters easily into a TextCtr. To this end I have built a set of tools on a … Software Development data-structure gui python | |
i tried to find some delphi tutorials or usefull links on the site, and i couldn't(the truth is that i'm a newbie and probably i don't know how to find what i want so easily) so i will make a post with some usefull links. i'm asking administrators to move … Software Development delphi first-post google ide pascal | |
Hi guys, just wondering, how would i go about joining numbers together to form one integer.. example.. number 70 54 34 would end up being 705434.. thank u for your ideas... Software Development c | |
I want to write a flash player by using python,can someone help me . Thanks a lot. | |
Hi!!! Does anybody knows something about masm 8.0, does exist something like manual for this,or some good site which describe this program. Can anybody give me some exaple in masm,part of code... I know that masm for instalation requires visual studio c++ express edition,I have that and I installed masm,but … Software Development assembly microsoft visual-studio | |
Hi, I just came across this list of some of the popular applications on the market today which were developed using the C++ language. [URL]http://www.research.att.com/~bs/applications.html[/URL] I am sure that programmers who love this language would be happy to know about this. Please correct me if I am wrong. I would … Software Development c++ | |
OK, this is the problem: my original file has only one line and that line contains a sentence. I'm supposed to create a new file that will put each word from the sentence in its own line. For example, original file: [code=c]The quick fox jumped over the lazy dog[/code] output … Software Development c file-system | |
I need to Construct a program that inputs the entries of two matrices and multiplies them. Construct the program so that it gives an error message if they cannot be multiplied. What I have done so far I need to Construct a program that inputs the entries of two matrices … Software Development c++ matrix-multiplication | |
Hello everyone ... : ) i'm studying data structure and i'm trying to collect all the point in this course . what I have now is a question about sorting . I want to learn how can I do it and code it in the right way .. [quote] The … Software Development algorithm c data-structure | |
I want to read a file which contains a list of integers. The first 4 bytes( or whatever sizeof(int) is ) indicates how many numbers the file has. Suppose I check the file size before reading so that I know I won't encounter EOF. Do I still need to check … Software Development c file-system ios | |
am having problem on how to load a photograph from a folder to the form,through the picture control box in vb6 am a newbie to vb Software Development visual-basic | |
Is this code compiling [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] <iostream>[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] std;[/COLOR] [COLOR=#008000]//Define the Matrix3X3 type.[/COLOR] [COLOR=#0000ff]typedef[/COLOR][COLOR=#0000ff]struct[/COLOR] { [COLOR=#0000ff]float[/COLOR] index[3][3]; } Matrix3X3; [COLOR=#008000]//Function prototypes (functions are defined below main())[/COLOR] [COLOR=#0000ff]void[/COLOR][COLOR=#000000] printMatrix( Matrix3X3 a );[/COLOR] Matrix3X3 inputMatrix(); Matrix3X3 addMatrices( Matrix3X3 a, Matrix3X3 b ); Matrix3X3 subtractMatrices( Matrix3X3 a, Matrix3X3 b ); Matrix3X3 scalarMultiply( Matrix3X3 … Software Development c++ | |
im trying to read a file has many lines but after reading it every time i tried to printf it, but it always print just the last line???/ f = fopen("text.txt","r"[IMG]http://www.free2code.net/plugins/forums/images/smilies/icon_wink.gif[/IMG]; if(!f) return 1; while(fgets(s,1000,f) != NULL) sprintf(value,s); fclose(f); printf("%s",value); [URL="http://www.free2code.net/plugins/forums/reply.php?f=3&p=48130&q=48130"] [/URL] Software Development c | |
Hi all, I looking for somebody to help me through a final class program. I would be happy to pay somebody to tutor me through this or make a donation. I am not looking for somebody to just give me the answer, but I DEFINITELY need help. It is due … Software Development c++ | |
[code=java] public static final String SEPARATOR = System.getProperty("file.separator"); String code = "test.foo.bar"; String fix = code.replaceAll("\\.", SEPARATOR); [/code] I'm keep getting a StringIndexOutOfBoundsException. If I replace SEPARATOR with "[URL="http://www.daniweb.com/techtalkforums/"]\\\\[/URL]" then it'll work as I want. Is there a safe way to replace the periods with the file separator associated with … Software Development java | |
I'm writing a win32 app that re-paints the client area everytime the user clicks inside of it. Unfortunately after about 25 or 26 clicks the window gets painted white, but the black grid lines still appear. The WM_PAINT case goes through a for loop and asks another class what should … Software Development c++ | |
Hi everyone! I am having some difficulty with my code here. I wrote a prgraom that is supposed to receive a non-determined number of fields from an HTML form and return their values back to a browser. I feel like I am almost finished but when I open up the … Software Development c++ data-structure web-browser | |
Hi All,As usual. I am a silent member until I have passed my exam. Recently, I passed my exam with 95% for 1Z0-042. Meaning 95% of the questions are from certmagic.com guide. There a few new questions, which I am not familiar with. These questions would be remaining 5% of … | |
Does anyone know how to play an already made midi file in QBasic? I have downloaded several peoples programs but they do not seem to work. Does anyone know of any code to play a midi file? Thanks TP :mrgreen: Software Development qbasic | |
hello my name is asif i want simple c program of transpose of matrix plz help me Software Development c | |
Hi I am a newb but I am an AS student who has tried with the assignment that follows: A program that will allow examination scores (out of 100) to be typed in and will display the grade for each score, in descending order. Grades are awarded as follows: Between … Software Development vb.net | |
I am trying to finish up this program but it wont compile. I am getting some error messages but don't understand them. Can anyone take a look at my program and see if you can find anything wrong with it? THank you so much in advance this is my final … Software Development c++ | |
[B]Hey,[/B] [COLOR=black][/COLOR] [B][COLOR=black]does anyone happen to know which method is called by the garbage collector on an object when garbage collection determines that there are no more references to the object? [/COLOR][/B] [COLOR=black][/COLOR] [B][COLOR=#ff99cc][COLOR=black]and does anyone happen to know which class contains the definition of this method?[/COLOR] [/COLOR][/B] [B]Thanks :) … Software Development java | |
Hello everyone. I'm a newbie in shell scripts. I'm trying to write a simple script that will archive a file from one directory to another directory I'm using sqlplus to generate the correct file name. The problem is when I try to use the paremeter from sqlplus it adds a … Software Development shell-scripting | |
O.K. This is what I have changed in my [URL="http://www.daniweb.com/techtalkforums/thread65045.html#"]program[/URL]: import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) self.qpoints = float(qpoints) def getName(self): return self.name def getHours(self): return self.hours def getQpoints(self): return self.qpoints def gpa(self): return self.qpoints/self.hours def addLetterGrade(self, LetterGrade, credits): … Software Development python | |
grep -v "connected" filename > newfile With regards to the use of grep and then output to a file as it was done in the sample above, are there any limitation to its use especially when the file is big? I have experience record truncation when it is output to … Software Development shell-scripting | |
import java.math.*;//*loan calculator import java.text.*;//*formats numbers public class MultipleMortgageLoans { public static void main(String args[]) // ** added { // declare class variable array double mortgageCalculator1[] = new double[6]; double mortgageCalculator2[] = new double[6]; double mortgageCalculator3[] = new double[6]; double payment = loan/discountfactor; double discountfactor = discountfactor; //construct the array … Software Development java ![]() |
The End.