132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pritishs

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
Member Avatar for dave_nithis
0
66
Member Avatar for dinilkarun

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
Member Avatar for dinilkarun
0
141
Member Avatar for hobonator912

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++
Member Avatar for Nick Evan
0
242
Member Avatar for sancti

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
Member Avatar for vckicks
0
84
Member Avatar for arupa

Can you help me to check a number is even or odd without using any conditions.

Software Development
Member Avatar for arupa
0
180
Member Avatar for Dio1080

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
Member Avatar for Alex Edwards
0
143
Member Avatar for Vandithar

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
Member Avatar for raul15791
0
91
Member Avatar for the reaper

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
Member Avatar for the reaper
0
281
Member Avatar for tortoiseman

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
Member Avatar for tortoiseman
0
82
Member Avatar for ceyesuma

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 …

Member Avatar for sciwizeh
0
258
Member Avatar for Evan M

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++
Member Avatar for dmanw100
0
586
Member Avatar for atish00

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++
Member Avatar for Salem
0
324
Member Avatar for llemes4011

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
Member Avatar for llemes4011
0
145
Member Avatar for sparis

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 …

Member Avatar for sciwizeh
0
124
Member Avatar for TheGhost

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++
Member Avatar for Sky Diploma
0
130
Member Avatar for vijaysoft1

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", …

Software Development adobe apple c
Member Avatar for vijaysoft1
0
358
Member Avatar for abu taher

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
Member Avatar for Jx_Man
0
95
Member Avatar for FractalizeR

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
Member Avatar for FractalizeR
0
92
Member Avatar for timb89

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++
Member Avatar for Sky Diploma
0
102
Member Avatar for dmanw100

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
Member Avatar for dmanw100
0
102
Member Avatar for esy928

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
Member Avatar for esy928
0
155
Member Avatar for ehsan_op

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
Member Avatar for ehsan_op
0
146
Member Avatar for bhavna_816

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
Member Avatar for Muhammad Afnan
0
173
Member Avatar for iamnoangel26

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
Member Avatar for Jx_Man
0
124
Member Avatar for alpine89

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++
Member Avatar for ArkM
0
200
Member Avatar for amrita.r

please help me.. m in final year MCA student.. i have to do a project on c-quiz application in Java[/U][/B] as front end and Oracle as back end.. if anyone can send me the source codes to <email snipped>

Software Development c c# c++ java oracle
Member Avatar for stephen84s
0
100
Member Avatar for erinr

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
Member Avatar for stephen84s
0
108
Member Avatar for breezyy

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
Member Avatar for aktharshaik
0
81
Member Avatar for ash-always-win

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#
Member Avatar for selvaganapathy
0
102
Member Avatar for Dekudude

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 [' …

Software Development python regex
Member Avatar for Dekudude
0
132
Member Avatar for zawpai

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++
Member Avatar for anilopo
0
396
Member Avatar for mwg9119

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
Member Avatar for sciwizeh
0
72
Member Avatar for floros

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
Member Avatar for VernonDozier
0
190
Member Avatar for dromias

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
Member Avatar for dromias
0
206
Member Avatar for pardeep3dec

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
Member Avatar for dspnhn
0
102
Member Avatar for J-son

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 …

Software Development c display
Member Avatar for ArkM
0
88
Member Avatar for mayzebra

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
Member Avatar for AmirBedair
0
177
Member Avatar for J3STER

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
Member Avatar for J3STER
0
106
Member Avatar for cam875

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++
Member Avatar for cam875
0
89
Member Avatar for Karla

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
Member Avatar for Jx_Man
0
130
Member Avatar for scrypt3r

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 …

Software Development vb.net xml
Member Avatar for scrypt3r
0
202
Member Avatar for mimiru83

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 …

Software Development java video webcam
Member Avatar for mimiru83
0
71
Member Avatar for matiome

Is there a way, in Assembly, to convert a string to an int (number)?

Software Development assembly
Member Avatar for Salem
0
102
Member Avatar for Dan_AlfaRomeo

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 …

Software Development career cobol java
Member Avatar for Salem
0
93
Member Avatar for toadzky

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
Member Avatar for LizR
0
80
Member Avatar for Alex Edwards

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++
Member Avatar for vijayan121
0
2K
Member Avatar for plike922

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
Member Avatar for Aia
0
84
Member Avatar for rkp803

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
Member Avatar for jwenting
0
192
Member Avatar for edouard89

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++
Member Avatar for Salem
0
129
Member Avatar for sonicmas

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++
Member Avatar for sonicmas
0
166

The End.