132,726 Archived Topics
Remove Filter ![]() | |
I have done programs that print themselves on execution,but is it possible for a c program to execute itself or another c program whose path is specified?? Software Development c | |
Could any1 help me plzzzz. PLz teach me how to plot coordinates on a map given the initial lat and lon and the bearing and distance to the destination. thx Software Development ![]() | |
Hi all: Is there any one who can help me out coping up with VB.net basics?? i am a fresh stater of VB.net if some one there to help their efforts are appreciated. Thank you NN Software Development vb.net | |
hi all, Suppose, I have a string stored in a character array. I want this string to be stored in a file. If I do fopen and use the write mode ,the contents of this file will be junk.. How can I store the string as it is inside the … Software Development c | |
Hi, In C++ how do I get information from a configuration file and put it in variables. A file like this one: [CODE] # # The number of inputs for each epoch # Default value if omitted: 60 # InputNumber 60 # # The maximum epochs allowed in the network … Software Development c++ | |
Hi! Im making an applet to graph a quadratic function...now im not going to be rude and say "tell me how to do it!" but i was just wondering if i could get some assistance on making it... Now of course, i've had a go at it, and i've made … Software Development java | |
Hello, I am trying to teach myself C++ and am currently studying file I/O. What I am trying to do is this (and I am sure you have heard this before): open a text file and output each word with the number of occurrences. For example, if the file contains … Software Development c++ file-system ![]() | |
Hi, I'm working on an assignment for school...one of the applets i have to develop is a colour picker...But unfortunately i'm having some trouble with it... I would just like to ask if anyone could help me along a little bit and give me some insight as what to do … | |
Hello, I am trying to figure out this program on [B]how to make it loop if Y is pressed and exit when N is pressed at the end of the program[/B]. The other problem I'm having is that this program can not have any decimals or negatives in it when … Software Development c++ | |
whati s wrong with this loop? procedure TForm1.Button1Click(Sender: TObject); begin var j: Integer; for j:=1 to 5 do begin ShowMessage('Box: '+InToStr(j)); [B]end;[/B] end. i also added one more end; after second last [B]end;[/B] but nothing changed. iam new to Delphi and it is frustrating:mad: i receive the following errors [Error] … | |
hi, have a little problem using fstream. first here is the code... [code] #include<iostream> #include<fstream> using namespace std; int main() { string word; ofstream outl("biscuit.txt", ios::out); cin>>word; outl<<word; system("pause"); return 0; } [/code] using this, i can type a word into the input screen and it saves whatever word i … | |
Hi,everybody.Following is an simple C programm which want to display the content of a file with corresponding hex.If one letter is a undisplayed then replace it with '.' . info and code: info: [root@localhost guai]# gcc disp.c -o disp.exe disp.c:29:9: empty character constant disp.c: In function `main': disp.c:47: wrong type … Software Development c | |
We have True 64 5.1 version of Unix that has c compiler. Also we run informix-4gl. Informix-4gl cannot do http post. But it can call "C" programs. So I need to do http post through "C". Since I am not very good at "C", I couldn't change and compile uday … Software Development c++ first-post unix | |
Hi! As a beginner in Borland C++ Builder I'm facing a Linker Error message which I have no idea of how to deal with. Concretely, my console project called as "my_proj" is calling the function my_func() whose code definition is included in the source file source.cpp (this source file is … | |
I am new to this group. Hello to everyone! I am trying kill a thread by setting up traces in the python code. The thread code is given below: ###################################### class KThread(threading.Thread): """A subclass of threading.Thread, with a kill() method.""" def __init__(self, *args, **keywords): threading.Thread.__init__(self, *args, **keywords) self.killed = False … Software Development python | |
Hello, I am writing a script that is going to ping a remote host but I want the user to be able to enter in the interval and size when he runs the program. For example the user would enter this to initialize the script. [quote] ./mping -i 0.05 -s … Software Development shell-scripting | |
Hi, I am new to vc++. While trying to run the vc++ code i am getting the following errors. I am posting those errors and code lines where i am getting the error. If anyone knows about these errors please help me. 1)Error: Instruction Operands must be the same size … Software Development c++ | |
Hello, When I compile the following code I get this single error: In constructor `Point::Point expected `{' before ':' token ()': I cannot figure out what is wrong. What am I missing? Thanks. Header file [code] #include <iostream> using std::cout; using std::endl; class Point { friend void setX( Point &, … Software Development c++ | |
How can I make it so if the user hits the arrow key that the program will see it as input in a console application? I am using the Dev C++ compiler. Software Development c++ | |
hi, when i try to run an applet, it tells me "connection refused". on some computers, the code works, and on others (like mine) i get this error message. can someone please tell me what could be the problem? thanks for replying! Software Development java | |
[code] from Tkinter import* okno=Tk() okno.title('Pomoc please') platno=Canvas() platno.pack() def volana_funkce(event): print event.widget oval1=platno.create_oval(10,20,30,40,fill='red',tags='klik') oval2=platno.create_oval(50,70,80,90,fill='blue',tags='klik') platno.tag_bind('klik','<1>',volana_funkce) mainloop() [/code] how to get a name of widget if click on them?e.g i klik on oval1 and function volana_funkce will return oval1.. thanks | |
Helo friends!! I m having problems in understanding that how every node is added at last.Could anyone explain me this in much better manner. Well here it is.... we use a local "reference pointer" which always points to the last pointer in the list instead of to the last node. … Software Development c linked-list | |
Hi I'm writing an application that should have when the aplication start working, I'm using the function of C++ "GetTickCount()", the problem is that I read that this function has a 'BUG' that after '49.7' days the function return '0'. So I'm trying to write a Custom function, I thoug … Software Development c++ | |
Hi all I have a problem in my application when load a form, I get runtime error 7 out of memory, the applicaton works in my computer (P4 2.8 Ghz 736RAM) until yesterday, today i got that error, i did uninstall styleXP from my computer and after restart it the … Software Development visual-basic | |
I have to design a program that uses Basic Math class. With the following functions and imput commands Add (Add), Substract (Sub), Multiply (Mult), Divide (Div), Exponents, ie. 2^3 (Exp), and Factorial, ie. 3! (Fact). So far I have this, i just can't figure out how to add the functions. … Software Development java ![]() | |
[FONT=Comic Sans MS]comic sans ms[/FONT][SIZE=7]12[/SIZE] Software Development visual-basic | |
guys,i am just a java newbie and i am really interested in studying this.i am currently using java development kit 5 and i am working on the exercises in sam java 24 hours.[url]http://www.samspublishing.com/library/content.asp?b=STY_Java2_24hours&seqNum=29i[/url] cant get to compile Saluton.javabecause when i am trying to typejavac Saluton.java in the ms-dos commandlineits giving … | |
I really need help in computer projects can any one suggest me where to get computer projects please send in my mail .In case you are having one please attach it and send it in my mail. Hey it is dam URGENT my school is going to open within two … Software Development c | |
I can run processes with system or exec, but when i try to start a GUI, the process starts but doesnt show. If i test this on comandline it shows but not on server (am using Apache,) | |
hello people :) found this site via google and its helped me a great deal so far but ive hit a snag. from this topic: [url]http://www.daniweb.com/techtalkforums/thread19672.html[/url] ive managed to create an app that will sit in the system tray and can be minimised and restroed again but the problem is … | |
[COLOR=darkred]good morning[/COLOR] [COLOR=darkred][/COLOR] [COLOR=darkred]i wrote this code to write one column from adatabase to MS Word[/COLOR] [COLOR=darkred]the document opened but nothing written in it ....only new lines[/COLOR] [code][COLOR=#0000ff]Me[/COLOR].DsStaff1.Clear() [COLOR=#0000ff]Me[/COLOR].OleDbDataAdapter1.Fill([COLOR=#0000ff]Me[/COLOR].DsStaff1) [COLOR=#0000ff]Me[/COLOR].applicationWord.Visible = [COLOR=#0000ff]True [/COLOR][COLOR=#0000ff]Me[/COLOR].applicationWord.Activate() applicationWord.Documents.Add() [COLOR=#0000ff]Dim[/COLOR] parra [COLOR=#0000ff]As[/COLOR] Word.Paragraph [COLOR=#0000ff]Dim[/COLOR] r [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]Integer[/COLOR] = 0 [COLOR=#0000ff]Dim[/COLOR] details [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR][COLOR=#0000ff]While[/COLOR] r … Software Development vb.net | |
Recently I installed Visual Studio 2005 .NET on my computer. I wrote a Win32 program. But my program doesn't run on PCs that doesn't have Framework 2 installed on. Is there any settings for VS 2005 .NET to make my code run on all PCs? Or what DLL file should … Software Development c visual-studio | |
I want to generate all size 2 strings from a list of size 1 string e.g featureList = ['a','b','c','d'] gives ['ab','ac' etc] I wrote this code [code] def genC(featureList): for i in range(0,len(featureList) - 1,1): for k in range(1,len(featureList) - 1,1): if i+k <= len(featureList)-1: colocn = featureList[i] + featureList[i+k] … Software Development python | |
Hello I need help I have created a application that pulls data from and is supposed to update and insert data into an access database. I have been successful in pulling data from it using first, last, previous and next buttons. However, I can't get my insert button to work. … Software Development java | |
I am needing to put a pause in between each mortgage calculation and do not know what the C equivalant of getchar() is in Java. Here is the code I have so far, after it is finished with the first mortgage at 30 years I want the user to have … Software Development java | |
hey i need helpin in pipping a file and using those values in the file to work with the program. ive done the program but it doesnt read the file. can someone help me here. [code] #include<iostream> #include<string.h> using namespace std; //the cost of the toll gates const double A_GATE … Software Development c++ | |
Hi All, If the user is to input text - alphabetic or numeric, when is it advantageous to use [I]getline[/I] rather than [I]cin[/I]? It's obviously easier to code something like [inlinecode]cin >> favoriteVacationSpot;[/inlinecode] than something like [inlinecode]getline (cin, favoriteVacatioSpot);[/inlinecode], so I don't see the advantage of using [I]getline[/I]. If anyone … Software Development c++ | |
Hello, I think my problem is a simple one (but probably isn't) and something that I have foolishy overlooked. I have created a class (Time) with a constructor that has as its argument a 3x3 int array. It is defined in a header file as follows: [code] public: Time(int [][columns]); … Software Development c++ | |
I am extremely new to C++, can sum1 tell me a faster way to output stuff than cout? It either outputs too slow or takes too long to automatically scroll or something. I was trying to sort of output and refresh in real time w cout Software Development c++ | |
Hi All, Short story: How do you compile two .cpp files at once? Text excerpt: "Step-by-Step 4-1: 1. Open [B]apstring.cpp[/B] and [B]stringex.cpp[/B] into a project in your compiler. The file [B]apstring.h[/B] must also be available to your compiler." All three files are downloaded from the Instructor's Text Resources of my … Software Development c++ | |
Hi All, The program below is returning the following data... A 1 AB (empty line) 3 9 ...when it should be returning... A 1 AB 2 ABCDEFG 7 I've tried changing the assignment code statements to read [inlinecode]MyString = MyString + "B\n"';[/inlinecode] and [inlinecode]MyString = MyString + "CDEFG\n";[/inlinecode], but that, … Software Development c++ | |
> I am trying to code an assignment that calculates the > payments for a mortgage of a loan amount using 3 > separate rates and term years. I have it working but > it wants to calculate each loan 3 times with all > three rates and with the … Software Development java | |
I've got a 2 tricky questions for u. Can anyone write: 1). A "Hello World" program in 'C' without using any semicolon. 2). A 'C' program without using any loop (if, for, while,etc...) to print numbers. A friend gave me those questions but up till now i have not been … Software Development c | |
I am having a nightmare time with an assessment task. I am only a newie at Java and I am not sure what I am doing. In the program I need to create a investment calculator that will enable the user to input a payement amount, how many payments and … Software Development java | |
i want to make a reservation system for my DataStructures Project. THE main requirement is that the complete data file has to be loaded in the memory and then any processing ( entry, deletion, sorting or searching ) has to be performed in the memory ? where am i going … Software Development c | |
HI , i have some errors about linked list,when i made print it only shows characeters like 'ô¼'... plz help; :lol: // lets assume wordCount is 10 and vayArray is {"lower",upper}; :cool: Thank you very much Here is code:[code] struct for_char_5 { char vh5[80]; for_char_5 *next; }; for_char_5 *p, *start, … Software Development c linked-list | |
ok iam new to programming software,so iam a bit confused.is visual basic the same thing as c++.iam guessing it isnt. does visual basic show you what your creating or??what? -thanks Software Development visual-basic |
The End.