132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for satish.paluvai
Member Avatar for jwenting
0
77
Member Avatar for soso30

hi all, I am trying to build a software application that should update user's phone book from an old phone numbering scheme to a new one . the aim of such application is to automate the phone book updating procedure, and make it easier for the subscriber, rather than doing …

Software Development java
Member Avatar for jwenting
0
103
Member Avatar for varunrathi

i want to clear a string after the prog. has done it`s work. i tried it by using a for loop and assigning a blank, but it didn`t work. the problem is that if i run the program again then the earlier value is displayed again . i`m using Turbo …

Software Development c++
Member Avatar for ~s.o.s~
0
97
Member Avatar for pixrix

[code] #include <iostream> using std :: cin; using std :: cout; using std :: endl; #include <iomanip> using std :: setw; const int rows = 3; const int column = 3; void PrintTicTacToe( char [][3] ); //The function prototpyes for this program void p1( char [][3]); void p2( char [][3]); …

Software Development c++
Member Avatar for ~s.o.s~
0
179
Member Avatar for iw2nhl

Hi, I'm writing a C++ program with Qt4 libs. When I do a particular sequence of operations, my program exits (but does not crash) with this error in the console: [CODE]my_program: symbol lookup error: libqtxml_plugin.so: undefined symbol: _ZN15QXmlInputSourceC1EP9QIODevice [/CODE] The function is inside a plugin I've written to parse XML …

Software Development c++ debian slackware xml
Member Avatar for iw2nhl
0
101
Member Avatar for dude67

Hello all, new to this site and to scripting. I am trying to search for the line with "CALIBRATE" in a file, and remove the leading # from the line with the following lines: cat $F1 | sed -e '/CALIBRATE/s/^#//' > $F1 cat $F2 | sed -e '/CALIBRATE/s/^#//' > $F2 …

Software Development shell-scripting
Member Avatar for pheeror
0
711
Member Avatar for ndeniche

i know i learned it somewhere, but its been a while since i used it... how do you make an user given array size... i mean...[code]int b; cout<<"Input the array size: "; cin>>b; int array[b];[/code] i know this is not hte way of doing it... but just so you get …

Software Development c++
Member Avatar for Bench
0
131
Member Avatar for no1zson

Like many of the posts I see out here I have decided to learn Java. It is a bit more than I bargained for. From what I see every class in the world starts with a payroll program, mine is no different. I have done ok with it up to …

Software Development first-post java
Member Avatar for no1zson
0
165
Member Avatar for onsir

Hi, i have installed Netbean 5.0 with file jdk-1_5_0_09nb-5_0-win-ml , but why my Netbean 5.0 IDE is not MDI Application , JFInternal Frame. while a right clik my Project thanks.

Software Development ide java
Member Avatar for Ezzaral
0
91
Member Avatar for iamthwee

Ok in the application I have, I want to display a little msg "do you want to save" when the users presses 'x'. In other words the user cannot close the window without first choosing one of the two buttons in the msg box. How do I do this. Gimme …

Software Development vb.net
Member Avatar for arjunsasidharan
0
111
Member Avatar for ECETiger

Hi guys. I've been working on some assembly programs for school and I'm having a couple of minor issues that are putting my progress to a halt. My first question: how does one perform something similar to a scanf function in assembly? I just need to scan a single character …

Software Development assembly
Member Avatar for mytime19
0
103
Member Avatar for Kshiteesh

Dear all, I am a Bachelor in Information Management Student(BIM) in Nepal. I have got an assignment to develop an Address management software in my internship. I am a begineer of VB.net. Please suggest me how should I develop it. Should I develop a network or only a desktop program. …

Software Development vb.net
Member Avatar for arjunsasidharan
0
80
Member Avatar for go939

I'm running my program in linux v. 2.6.20 and gcc v. 4.1.2...i got a problem here...when i compile my source code .cpp using gcc there's no error... but when i compile using g++ there's an error "undefined reference". sample: File.cpp: (.text+0xc50): Undefined reference to 'ClassB::Close' what's the problem with this? …

Software Development c++
Member Avatar for Salem
0
149
Member Avatar for hafizg

[code=c]//Writee a program that inputs a3 digit number finds the sumof these digits #include <iostream.h> #include <conio.h> #include <math.h> int main() { int num,num1,num2,num3,num4,s=0; cout<<"Enter the Number: "; cin>>num; num1=num%10; num2=num/10; num3=num2%10; num4=num2/10; s=num1+num3+num4; cout<<"The sum of digits= "; cout<<s; getch(); return0 }[/code] This program I wrote but shows error …

Software Development c++
Member Avatar for Salem
0
80
Member Avatar for praneeth_gunda

Hey, Some one Please help in Completing this code of CRC [code=c] char* substr(char* pra,int strt,int end)//To Evaluate Substring { char pr[5]="\0"; int j,k; for(j=strt,k=0;j<=end&&k<5;j++,k++) pr[k]=pra[j]; return pr; } char* exor(char* pra,char* div)//To Evaluate Mod2 Operation { char out[5]="\0"; int i; for(i=0;i<strlen(pra);i++) { if(pra[i]==div[i]) out[i]='0'; else out[i]='1'; } return out; …

Software Development c
Member Avatar for Aia
0
273
Member Avatar for Ina

Hi everyone. I've been trying to come up with a multiple choice quiz using Visual basic but I havent succeeded yet. I would like to create a suite containing several subjects such as science, history, english etc with each subject comprising of several quizzes. please help

Software Development visual-basic
Member Avatar for debasisdas
0
81
Member Avatar for JRM

I added a line to this program to read the length of the the string , then display the test. strlen() is not cooperating! Am I using the wrong function? the compiler says the arg should be char*. I'm confused! [code] #include <iostream> #include <string> #include <vector> using namespace std; …

Software Development c++
Member Avatar for JRM
0
180
Member Avatar for vij_alok

hi all, i jus executed this code on the borland compiler #include<stdio.h> void main() { char a[20],s[22]; scanf("%s", a); gets(s); } And it only took input from scanf function only whereas when i tried this code #include<stdio.h> void main() { char a[20],s[22]; gets(s); scanf("%s",a); } it took input from both …

Software Development c
Member Avatar for Aia
0
95
Member Avatar for sgentry6

This is probably just due to my quotes, but I'm trying to get the following script up and running: This is my command line: find ./ -type f | xargs grep "#include <some.h>" | awk -F: '{print $1}' | xargs grep "#include <another.h>" I'm trying to find a nested header …

Software Development shell-scripting
Member Avatar for Infarction
0
147
Member Avatar for shivams

i am new to java and i want to learn how to make games i saw some source codes of some games but i dont at all understand wt do the codings mean and how do we make codings to make a game....plz can i get some help.

Software Development java
Member Avatar for ~s.o.s~
0
96
Member Avatar for Ozipto

I am using python 2.3.5 and I just haven't seemed to understand why I get an error that says "SyntaxError: unqualified exec is not allowed in function 'parse' it contains a nested function with free variables". I am trying to develop a scripting language for my operating system that is …

Software Development operating-system python
Member Avatar for Ozipto
0
410
Member Avatar for aasi007onfire

In C the variables are often declared using keywords like auto, extern, static, const etc..... i just want to know what is the function of each.... where are they used and a system level interpretation i.e. how the system interprets these variables.... can somebody help....

Software Development c
Member Avatar for danysabin
0
100
Member Avatar for nalinibh

Deal all,my prob:how can i pass data in a file after reading the file in C. i want to encrypt data of this file after reading the file.i know i cn use f commands to read data but want to pass the data later in second part of my program.sorry …

Software Development c file-system
Member Avatar for danysabin
0
108
Member Avatar for quintoncoert

is there any way that one can place code in C# in a procedure or a function? I have code logic which is going to be executed many times over and instead of recoding it twenty times over I want to put them in functions and procedures so that I …

Software Development
Member Avatar for Ezzaral
0
166
Member Avatar for jonamasa

Hi I downloaded a simple Java application using Spring, which works in Eclipse if I manually add the needed jar libraries. However, I would rather use the existing [I]build.xml[/I], which includes the libraries via [code]<fileset dir=...>[/code] and [code]<include...>[/code] nodes. If I rightclick the [I]build.xml[/I] and click on Run As->Ant Build, …

Software Development java xml
Member Avatar for Ezzaral
0
187
Member Avatar for speedygonzalez

Hi all! I've a pretty naive problem with my applet which is as follows..... [CODE=java] // Wordlist for GRE High Frequency Words import java.awt.*; import java.applet.*; import java.awt.event.*; /* <applet code="Wordlist.class" width=800 height=600> </applet> */ public class Wordlist extends Applet { TextField m1 ,m2 ,m3 ,m4 ,m5 ,m6 ,m7 ,m8 …

Software Development java
Member Avatar for Ezzaral
0
131
Member Avatar for pixrix

what is the different about C++ n C.. i have a program below which my friends say that it is on C.. how do i change to C++.. [code] #include <stdio.h> #include <stdlib.h> char matrix[3][3]; /* the tic tac toe matrix */ char check(void); void init_matrix(void); void get_player_move(void); void get_computer_move(void); …

Software Development c c# c++
Member Avatar for ~s.o.s~
0
300
Member Avatar for Noyeaux

Taking on a pet project to teach myself some things and hone some amateur skills. Wondering if you could help point me in the right direction and assist me with some technical points as i get stuck. I have a basic idea of how i would do this,... but i'm …

Software Development python
Member Avatar for N317V
0
94
Member Avatar for jethfo

Calling All Shell Scripters, I am a web developer needing assistance from someone with shell scripting expertise. Does anyone have a unix shell script that can look into a directory and identify any "*.zip" files and ftp them to a remote server? Upon successful completion of the FTP transfer I …

Software Development shell-scripting unix web-server
Member Avatar for tabish.asm
0
129
Member Avatar for ahmed elweshahy

syntax error in CREATE TABLE statement to create recordset i write the following statement: db.Execute "CREATE TABLE myTable(Sname text (10),Code number (5)) " is this statement true or false Please i want help thank you

Software Development visual-basic
Member Avatar for manoshailu
0
97
Member Avatar for shadwickman

I just started learning Python about 2 days ago, and I threw this program together, just to get the hang of it. The program just creates a file named "PythonTest.txt" in the same directory as the .py file. The user can then enter lines that are written to the .txt …

Software Development python
Member Avatar for katharnakh
0
173
Member Avatar for bm1167

Hi, This is my first post so I hope I explain myself well. I just started learning how to program about three weeks ago. I chose python becuase SPSS now can interface with Python. So this may seem like an obvious question. What I am trying to do is set …

Software Development python
Member Avatar for vegaseat
0
102
Member Avatar for AtomicProGS9

ok i need some help on programming a "delete" button that needs to do the following: it needs to access a server "\\server" and then a sub share on that folder so: "\\server\subshare" then it needs to delete everything in the subshare folder completely. does anyone have any suggestions?

Software Development c++
Member Avatar for dougy83
0
119
Member Avatar for kingIZZZY

Please take some time to read my questions. Thank you. My current C++ exercise project is a win32-console text-only MUD engine. (MUD = "Multi-User-Dungeon" referring to the game genre in which the player wanders around in a 'map' of 'rooms' and can interact with many 'items' and 'characters'. In the …

Member Avatar for ShawnCplus
0
213
Member Avatar for Zarathu

I would like to know what is wrong with this code: [code] [BITS 32] ; Windows XP SP2 32-bit section .text global _main _main: push Command mov eax, 0xAABBCCDD ; address of system() call eax Command: db "echo whatever" [/code]

Software Development assembly
Member Avatar for Zarathu
0
179
Member Avatar for quintoncoert

I am using the system.diagnostics.process command to run a program. the program receives a number of parameters. can someone please tell me if the process command of c# can receive more than one argument? and how do you specify them? when one runs this command from the command-line you seperate …

Software Development
Member Avatar for f1 fan
0
193
Member Avatar for intangir1999

I am trying to write this loop in a simple convert process, but I get all sorts of crazy errors when I try using the "not equals" operators. here is my code: int main() { int i = 5; std::string s; do { cout<<" Enter a string: "; cin>>s; cout<<endl; …

Software Development c++
Member Avatar for intangir1999
0
124
Member Avatar for snakai415

Is there a way to change boolean into integers? Like... making every "TRUE" = 1 and "FALSE" = 0 If there is a way, how will you do it? I tried using this 'cast' thing, but it's confusing :'( - - - - - I'm suppose to make a table, …

Software Development java
Member Avatar for snakai415
0
449
Member Avatar for new_2_java

Hi all, I would like to execute a shell script from my java code. Can some one please tell me if that is possible? Here's what I tried, but with no result. [code] public class RunPDCC { public static void main(String[] args) { try { Process proc = Runtime.getRuntime().exec("./test.sh"); System.out.println("Print …

Software Development java
Member Avatar for new_2_java
0
553
Member Avatar for endsamsara

Hi, How do i create a class called Text that creates an object from a string and that deletes the first word of the text have no idea I was starting like [CODE] public class Text{ public static void main(String[] args) { String str = "this is a little text …

Software Development java
Member Avatar for Ezzaral
0
111
Member Avatar for JRM

I was experimenting with a direct method of dereferencing an iterator. It works OK with numbers, cout gets confused (??) when the derefenced pointer is a string? The code was supposed to stuff a vector, then read it out . I hacked up that original to do some troubleshooting and …

Software Development c++
Member Avatar for JRM
0
120
Member Avatar for t3hfr3ak

I know theres a menu button for it somewhere but i cant seem to remember how to do it. This is for my movie information Database (I dont know if any of you remember when I was asking about storing the data in a txt file. Well now I am …

Software Development visual-basic
Member Avatar for manoshailu
0
142
Member Avatar for samirs79

Hello everyone! Below is a sample flat file (sampleflatfile.dat) i have on UNIX: [COLOR=#000000]AMPS,2324,Subscriber,Unknown,SingleDay,20070413,20070413,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]ALPEnt,4516,AllMember,Unknown,DateRange,20070411,20070419,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]AGLT,2156,Summary,Unknown,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]DUPP,2536,Yes,Unknown,[/COLOR] each line above represents a report to be generated...therefore, the content of the sample flat file above means we need 4 reports (because there are 4 line)... the file above …

Software Development file-system shell-scripting unix
Member Avatar for vishu.awate
0
122
Member Avatar for ad_rulz

Can somebody help me understand what does this function do? And also if there are any logical or syntactic errors in the function. I was told that there are 2 bugs in the code. I can only think of 1 which is below: 1. In the first while loop in …

Software Development c++
Member Avatar for ad_rulz
0
580
Member Avatar for pixrix

What is a two-dimensional char array with 3 rows and 3 columns. Can give me an example of a program. Thanks

Software Development c++
Member Avatar for pixrix
0
4K
Member Avatar for pvozarkar

Hi all, I am using GetChunk() and AppendChunk() in Vb 6.0 methods to retirve the data from image fields in MS SQL 2000, I hav a question , weather the same Methods can be used for retriving or saving the data to the "Text or Numeric or Date " etc …

Software Development visual-basic
Member Avatar for pvozarkar
0
248
Member Avatar for fredzik

Hi, I need to put a time limit on a game, I think it's something like time.sleep() but have forgotten how it works. The game needs two minutes to be able to finish the game, but I have forgotten the formula. Can anybody enlighten me? Thanks for any help.:) fredzik.

Software Development python
Member Avatar for fredzik
0
96
Member Avatar for Catherine Green

I just got a new computer which has windows vista on it. My internet server is Piper which is not compatible with the new windows programme. The guy at piper said it was a common compatibilty problem with alot of software and the new vista programme. Should I just change …

Member Avatar for jbennet
0
275
Member Avatar for gurusamy

hi, i want to convert string into arraylist............... i have a string .......string vaue is str= "12,13,14,15"; now i want convert this string into arraylist.......... like arr={12,13,14,15}; (using c#)

Software Development
Member Avatar for Killer_Typo
0
492
Member Avatar for hinduengg

Hi to all , I wished if any one of you could throw light on [B]mechanism of insertion sorting in C++[/B]. I know what is bubble sorting but I had confusion regarding what is insertion sorting? In school my professor had mentioned about it, but I do not have any …

Software Development c++
Member Avatar for hinduengg
0
200

The End.