132,726 Archived Topics
Remove Filter ![]() | |
Here file abc.txt contents name designation salary ----------------------------------- pritish am 15000 animesh pm 20000 asutosh ceo 30000 Write a shell script to find the name whose salary greater or equal t0 20000 Software Development shell-scripting | |
Hi, I am using a dialog box where user selects a .txt file from the local drive. The selected file along with the folder path is displayed in a textbox on the form. The user can now edit the textbox. On click on 'Proceed' button, I am saving that path. … Software Development file-system python | |
does any1 have any idea about how to,when i press a button,print out 1 line of text written by me and when i press it again another replaces the old? i already got the saving working so u dont have to worry about that Software Development c++ | |
hi all, i have to save the screen using the print screen key. i.e when i press the print screen key on the keyboard, the snapshot of the screen should be saved as a jpeg image.. how i can i do this on windows application Software Development | |
Im just trying to figure out why I have a array out of bounds that all can somebody help? [code=java] public class Life2 { public static void main(String[] args) throws Exception{ boolean dead; int winsX = 0; int num = 1; int count = 0; int countL; int countD; char … Software Development java java-swing | |
Hi, I have a string like "The quick brown fox jumps over the lazy dog" (or longer) I have to search through this string using boolean operators like "quick AND brown OR fox" mantaining the logical order, so "quick AND (brown OR fox)". (consider that the search string can be … Software Development perl | |
i know this sounds a bit n00b but can anyone tell me how to open a web browser in "c" because i am doing this project and i have to make a program that opens a web browser.. i need it to open the default internet explorer web browser and … Software Development c web-browser | |
Hi everyone, I'm new to posting, but I've been coming here to search for help for some time now. I'm working on some homework and have come to an impasse. I'm not here for straight-up solutions, just a little help, as I've already got the program 99% complete. In the … Software Development python | |
Is there someone that could answer questions concerning the HibernateTravelApp tutorial. I have written it a couple times per the tutorial and I am presently remodeling it to fit my own MySQL database. If there is a convenient way to transfer this data base along with the .zip of the … Software Development data-structure html-css java java-jsp java-netbeans session xml | |
I'm creating a multiplayer game using winsock, but I've been having several problems with winsock. I've been searching for an alternative to it, but I haven't found anything. If anyone could point me to something I could use in place of winsock (a free something), I would greatly appreciate it. Software Development c++ | |
Can anyone explain me pointers to 2D array ?? I have to input array of string using and read them in another function but I am having a REALLY TOUGH time with pointersan anyone explin it to me or refer good guide to pointers ?? I am using borlnd c++ … Software Development c++ | |
ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able … Software Development java | |
I would like to ask your opinion[s] about how to approach the problem of generating Swing application UIs at runtime. And, to start: I am writing a Swing client application - not an applet and not a browser-based application. My IDEAL user experience would be to simply display DHTML in … Software Development adobe gui java java-swing javascript open-source web-browser xml | |
hi I keep getting the segmentation fault thingie and i think i know the line that is causing the problem, but i dunno how to fix it. please take a look at the code. [CODE] ... class AnotherClass{ ... }; ... class AClass{ private: list<AnotherClass> listName; list<AnotherClass>::iterator it; ... public: … Software Development c++ | |
Hi i am in a trouble please help me. in my program i had an array [CODE] int Maxwordcount[127]; int index=0; char ltr; char *typedword; char word[127][300][30] = { {............................................................}, // index = 0 {........................................................} // index = 1 ............ ................... ............................ {"a", "and", "apple","adobe","anvira","avast"}, // index = 65 {"boat", … | |
i made a project. i want to release it. but i want to release a trail version of it for 15 days. any proses. please help Software Development visual-basic | |
Hello. Is there a way in bash to call a function by it's name? For example, I have: MODULE_NAME='test' FUNCTION_NAME='execute_run' How do I call the function with name test_execute_run? I need this to solve the problem of modularizing my bash script. Thank you. Software Development shell-scripting | |
How do you read and display a 2d array? the input text is below i just really have no idea of tried everything :( any sort of help would be appreciated [ICODE]* . . . . . . . . . . . . . . . . . . … Software Development c++ | |
I recently completed a small console app that accepts input from the user and places it in a floating point array, which was implemented through a for loop. I have not spent much time studying error handling and was wondering if anyone could refer me to a useful error-handling tutorial. … Software Development app-store c++ operating-system | |
hello! is there a method or class that lets you assign events to the keys of your keyboard (spacebar to fire gun)? and is there a way to measure how long the key was held down? thanks!!! any help is greatly appreciated.. ive tried google-ing it but i had no … Software Development java | |
hello All, I am trying to write a multi threaded program in C++ , but it suddenly exits and i can not understand what happens , it actually do not get any error message or exceptions error , just get out of the program. need your help, thanks . [code=c++] … Software Development c++ multithreading | |
I have a text file say log file. i have to extract all the characters between "<" sign and ">" sign. i.e. between <> and put it into the database and log file is of kind Sun, 24 Jun 2007 21:49:49 GMT: Received request </abc/abc.gif>, from <111.1.11.11>:<1111> at domain <localhost/abc.net> … Software Development asp asp.net dataset file-system | |
I wanted to add a loading screen to my program. My code is [code] Private Sub Timer1_Timer() Dim x As Integer x = 1 If Me.ProgressBar1 >= 10 Or x >= 10 Then Unload Me MDIForm1.Show Timer1.Enabled = False Else x = x + 1 x = Me.ProgressBar1 End If … Software Development visual-basic | |
Hey guys. After the great help i received with my previous thread of reading in a file, i thought id post up my next trouble. This is my code for my ISBN search function which works fine after the information has been read in to the 'book's. [code]int BookStore::findISBNRecord() { … Software Development c++ | |
I'm working on a school project and I need some help. The below works, but when I click on the "Report" button I want my data to print to a new frame. I'm not sure how to do this. Do I use a JFrame? if(arg=="Report") { try { DataInputStream readinput … Software Development java | |
![]() | Hey guys, Do you know of any codes that automatically creates a file? Whenever I use open/get etc, I need to manually create the file, or otherwise I get a bad file name error. Thanks in advance Software Development visual-basic |
hi all, for a button click event, 1. how to navigate for another form, while existing form is invisible? 2. how to navigate for another form, with the values of previous form? Please help me. I'm a new programmer Software Development c# | |
Hi there! Let me start by saying this-- I have no experience with regular expressions. Simply put, I want a function that turns an array [eg: func(array)] into... an array, but add ONE space on both values. Meaning: [code=Python] array = ['red','blue'] #returns ['red','blue'] array = func(array) # returns [' … | |
Hi, Could anyone explain me above error? [CODE=cpp] // friend overload + operator function #include<iostream> using namespace std; class Distance { private: int feet; float inches; public: Distance() { feet = 0; inches = 0.0; } Distance(float f) { feet=int(f); inches = 12*(f-feet); } Distance(int ft, float in) { feet … Software Development c++ | |
I am trying to read in a group of numbers from a users input through a console after the sentinel value of 0 is entered then I need to output the largest integer put in and the next largest. I can get the largest but not the next largest. What … Software Development java | |
Hello there, I'm trying to compile a project in Visual Studio 2005 and the compiler finds errors in the file fstream.h. Some of them are: c:\program files\microsoft visual studio\vc98\include\fstream.h(88) : error C2872: 'streambuf' : ambiguous symbol c:\program files\microsoft visual studio\vc98\include\fstream.h(89) : error C2872: 'streampos' : ambiguous symbol c:\program files\microsoft visual … Software Development c++ visual-studio | |
Hi, recently I decided to download py2exe, but for some reason it's not working. I downloaded the all purpose version, and am sure that the scripts I am using are fine. I keep on getting an import error saying that there's no module named py2exe_util. Maybe I didn't install it … Software Development python | |
Dear Friends, I have a report which columns given below. Sno Project Name Project No Bill Raise Amount 1 abc 0213 YES 123.33 2 xyz 0232 NO 23.33 3 asd 0365 YES 125.65 4 rty 0325 254.52 5 hjkg 0254 NO 236.22 and i am using dataenvironment->command1 My requirement is … Software Development visual-basic | |
In this program, I cannot in put - integer. It outputs wrong result. What should I do to make it possible? Thanks heaps !!! [CODE=c] #include<stdio.h> int main(){ int num; int max=0; printf("Enter +/- integers or enter 0 to Exit \n"); while(1){ scanf("%d",&num); if(num==0) break; if(num>max) max=num; } printf("Max is … | |
I'm trying to find information on how to import selected data from one SQL database to another using C# (or any language for that matter) or the cmd line. aka: I dont want to use the wizard. I could export to a CSV file, then import... but that seems needslessly … Software Development sql | |
Hi All, new to this, and i havnt done much python programming, i have written a program to write data to a text file. each time i use the program, it appends the data to the file and leaves two lines between the sets of data however, i want to … Software Development file-system gui python tkinter | |
Could someone give me a detailed explanation or give me a resource that explains something like how if I created my own custom 3D model that had 8 vertices would that be the same as saying 8 polygons because I always here talk about things like game developing companies throw … Software Development c++ | |
this is just a simple question about the codings of the VB 6.0 what is the right syntacs: Private Sub Form_Load() i just forget it... i really need to know it. thnks! Software Development visual-basic | |
I recently searched google for a code snippet for creating a ftp uploader and i found this code-> [code]Dim ftp As New Chilkat.Ftp2() Dim success As Boolean ' Any string unlocks the component for the 1st 30-days. success = ftp.UnlockComponent("Anything for 30-day trial") If (success <> true) Then MsgBox(ftp.LastErrorText) Exit … | |
Hi I am trying to get some images (10 frames per second) from a webcam so that later I can detect the moving objects.. My code is the following but I dont know how to change it so that I can get 10 frames per second.Any help? package video; import … | |
Is there a way, in Assembly, to convert a string to an int (number)? Software Development assembly | |
Hi guys, I'm about to make a choice for my career and I want to know your opinion about it. I just graduated CS in Romania and I now have 2 distinct employment possibilities: 1. Junior Java Developer- one of the clasic paths for the fresh CS graduates 2. Junior … | |
I have a windows form box that is supposed to just display a message. Unfortunately, whenever the box pops up, it has all the text selected. I cannot figure out how to stop that. Any ideas? Software Development | |
Is there any real different between using an union between two types and a reinterpret_cast between two types, for example-- [code=c++] #include <iostream> int main(){ union{ unsigned short *a; float *b; }; float value = 0.6f; b = &value; std::cout << *a << std::endl; unsigned short *s; float *f; f … Software Development c++ | |
i need help with this program im getting this 1>selections.obj : error LNK2019: unresolved external symbol "void __cdecl displayArray(int * const)" (?displayArray@@YAXQAH@Z) referenced in function _main 1>D:\Documents and Settings\ERIC\Desktop\Projects\selections\Debug\selections.exe : fatal error LNK1120: 1 unresolved externals please help [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" #define size 4 void sortArray (int … Software Development c | |
i need help writing a program where i input a Cent vaule and it should give me a value in how many ways can u create change for it in half dollars,quarters, nickels, dimes, pennys. for example if i typed 100 which is one dollar it should say 292. this … Software Development java | |
I have the following code that when compiles with my test program gives me a segmentation fault, I hope you guys can help me with this. I am compiling on a gcc compiler using: [quote] g++ a3test.cpp screen.cpp dtio.c -lncurses [/quote] screen.h header file: [code=c++] extern "C" { #include "dtio.h" … Software Development c++ | |
I'm new in c++ programming. I have to do a program to save data from classes (Student, Teacher and Statistics). What may i use to save that values? (File, sql...) and how to use. If some one show me a litle program....:icon_smile: Software Development c++ |
The End.