132,726 Archived Topics
Remove Filter ![]() | |
Hi i got many files which look like this: relation: xxxxxx birthday: xxxxxx age: xxxxxx livingsituation: xxxxxx place: xxxxxx school: xxxxxxx job: xxxxxxx but i also got other files which look like this: relation: xxxxxx age: xxxxxx livingsituation: xxxxxx place: xxxxxx job: xxxxxxx in which xxxxxx is variable My problem … Software Development shell-scripting | |
Hey all, Erm given the problem Write a program that will read in a line of text and output the number of words in the line and the number of occurrences of each letter. Define a word to be any string of letters that is delimited at each end by … Software Development c++ | |
I would like my program to execute some code using random variables. Whether this happens is dependant of three conditions: 1) a variable (first) should be bigger than an other (second) 2) a variable (third) should be equal to an other (fourth) 3) it should check these thing maximum 5 … Software Development c | |
i'm wrting a basic C program which the user "talks" to the program, you know the sort. well my main menu looks like this: [code] int main() { char name[50]; char mood; printf("hey there, .. whats your name?\n"); gets(name); printf("%s is it? Well how are you today?\n a.Good\n b.Ok\n c.Bad\n", … Software Development c | |
Hi all, i'm making a client-server concurrent in C. the client send me 2 binary number and an operator. I'll must send him the result and if there's overflow, underflow. i have made all the initial part of setting the server, children pool and so on. i receive 2 binary … Software Development c client-server | |
I'm trying to compile some rather trivial code in C++ and i keep getting "Warning: [FUNCTION] was declared deprecated" Now this is on some of the more useful functions such as: sprintf strtok why is this? Here is a sample of my code if you are interested: [CODE]if(IsChatting()){ char chat[256]; … Software Development c++ visual-studio | |
ok, i don't know anything of java and somehow managed to DL NetBeans the sun program that creates Java apps... apprently.. (wasn't what i intended to DL but hey :mrgreen: ) A friend wants a card game made, so i searched these forums and found [URL]http://www.daniweb.com/techtalkforums/showthread.php?t=68640&highlight=card+game[/URL] i took the coding … Software Development java java-netbeans | |
Basically I'm trying to take a Template String and store it in a variable for later use. I'm new with Python and programming languages in general so I'm finding difficulty in doing this. This is the code I'm using to generate the string: [code]from string import Template s = Template('$who … Software Development python | |
hi all , I like to write a program which I input the dates and amounts of say 10 checks , and print out the total amount of checks and number of days thet are apart from each other on another entry widget . the code I have done sofar … | |
| |
[COLOR=#941edf] [/COLOR][COLOR=#941edf]Hello, im new. And I'm kinda stumped. We were given an exercise to do in which the user enters a number in roman numerals and the program converts it to decimal numbers. I have no problem convert if the number given is in the right order from the largest … Software Development java | |
How would onw send a message to another program? I googled it, but it came up with stuipd text messaging. I want to send a false message to another program. Something like sending Windows Media player the "Play" message, or the "stop" message, etc. (yes, this is for vb.net... :D) Software Development vb.net | |
Any help would be greatly appreciated. Does not recognize cat's game also goes into infinate loop when you try to use the same box twice? I have spent hours trying to figure it out. I know it something simple. Any ideas? [code=cplusplus] //Board Display Class - Tic-Tac-Toe Program #include <iostream> … Software Development c++ ![]() | |
Hi I am new to Perl scripting I want to know , how the .pm extension files differ from the .pl files that are perl scripts . And what are the .pm files used in the perl files , are they just the subrotines that are used in the .pl … Software Development perl | |
[COLOR=#444444]write a program which take a string give it permutations and combination should not repeat any letter [code=c] [/COLOR] [COLOR=#444444]#include<conio.h> #include<stdio.h> #include<iostream.h> #include<stdlib.H> void main(void) { clrscr(); char a[3] //cout<<"ent int "<<endl; > //cin<<a; atoi(a) for(a=1;a<=3;a++) { for(b=1;b<=3;b++) { for(c=1;c<=3;c++) { cout<<a<<b<<c<<endl; } } } getch(); [/COLOR] [COLOR=#444444]} [/code] [/COLOR] … Software Development c++ | |
Hi there Guys i've learned J2SE (standard) version of java nad i enjoy it a lot and i lately wanna to learn Mobile Programming (J2ME) , is this King of programming alike to J2SE , help me if you can , i'll scratch Yours later:p Software Development java | |
:eek: hi, Im new here, anyway i'm trying to work out how to get the smallest number from the user's input of four numbers, n1,n2,n3, and n4.. im a novice @ this so i'll copy the section of the program here and you can see whats going wrong with it..i … Software Development pascal | |
[code=c] #include<stdio.h> #include<conio.h> #include<iostream.h> void main(void) { clrscr(); int nr,nc,i,j,s; int mat1[10][10],mat2[10][10],mat3[10][10]; cout<<"Enter The Number Of Rows"; cin>>nr; cout<<"Enter The Number Of Column"; cin>>nc; for(i=0;i<nr;i++) { for(j=0;j<nc;j++) { cout<<"No. of rows"<<(i+1)<<"No. of column"<<(j+1)<<endl; cin>>mat1[i][j]; } } cout<<"matrix 2"; for( i=0;i<nr;i++) { for( j=0;j<nc;j++) { cout<<"No. of rows"<<(i+1)<<"No. of column"<<(j+1)<<endl; cin>>mat2[i][j]; … Software Development c++ | |
Before I start, is Borland C++ free? Or do you have to pay money for it? Second, I found a Borland C++ 4.5.2 CD in my dad's old computer bag. If I install it on XP, will it have any compatibility errors? Software Development c++ | |
wtie a program which take as tring and arrange in alphabetic order [code=c] #include<stdio.h> #include<conio.h> #include<iostream.h> void main (void) { clrscr(); char b[7]={98,120,97,113,122,121,101},temp=0; while (!(b[0]<b[1]&&b[1]<b[2]&&b[2]<b[3]&&b[3]<b[4]&&b[4]<b[5]&&b[5]<b[6]&&b[6]<b[7])) { if (b[0]>b[1]) { temp=b[0]; b[0]=b[1]; b[1]=temp; } if (b[1]>b[2]) { temp=b[1]; b[1]=b[2]; b[2]=temp; } if (b[2]>b[3]) { temp=b[2]; b[2]=b[3]; b[3]=temp; } if (b[3]>b[4]) { … Software Development c++ | |
Hi, I have used C# in vs 2003, in my application i have to read text file, pick data from text file and insert into database, but the text file have some garbage value (garbage value "Ú" ) , so i should replcace this garbage value to single space, i … Software Development c# file-stream file-system | |
hi, im am wondering if the is a way to make a 2D array of variable length. I have tried making a variable and assigning it a value and then used that variable to define the size of the array, but i cannot seem to get that to work. Is … Software Development c++ | |
hi Guys this is my problem : a) what should i have to show to Proove that a sort algorithm work well b)what is the order of this algorithm : [code=c] void mySort(int[]A , int n){ int t,i; for (i=1 ; i<=n; i++){ while(A[i] != i){ t = A[i]; A[i] … Software Development algorithm c++ data-structure | |
I'm writing a Java ME app that will access servlets on a tomcat server, (version 5.5) and I'm having a problem. In my client I'm trying to use a HTTP connection to the servlet, like so: [code] if (command == select && currentForm == login) { HttpConnection connection = null; … Software Development client-server java | |
I am having a problem in sorting by name. for eg: if given two names Sameer and Sean, I want to print Sameer and not Sean. It needs to check character by character. I have to extend this to a greater no. of names but I need to get the … Software Development c | |
I'm new to perl (and actually not even really trying to develop this skill - I inherited some code and am trying to enhance it). Basically, I want to get the text between parts of a text string. How do I get the parsed variable to contain "WHATEVER IT IS"? … | |
I'm somewhat new to Python and want to clear a few things up regarding running scripts. Alright, so here's what I want to do: I want to run a script inside of a script, and then have the first "parent" script continue running normally. I have tried using both execfile() … Software Development first-post python | |
How Do I create a login file and use VB 6.0 to open it. I need to code it differnetly so that the cd when burned login file won't be recognized. Can someone help me out thanks Software Development visual-basic | |
Hi, Im having trouble with the piece of code below, i want to have the image change every time you press the button. This code is from a larger project but this is the bit that i cant get to work. Any ideas? [code=python]import Tkinter import random import Image, ImageTk … | |
It works. I'm having a problem trying to display the greater number to the output. For example what ever number is greater the first or the second it still displays the first number. Couse that is what is coded in the cout. But I dont know what to put in … Software Development c++ | |
How would one go about generating a set of tones (frequencys) on the sound card? What i mean by this is, how would a person generate tones at the same time? (I.E. 62hz, 100hz, 432hz, and 1000hz at the SAME time?) Thanks. Software Development vb.net | |
Hi, I have been looking all over google for a freaking tutorial on code caving. The problem however, 1,000 results shown are crap (I'm sure everyone's shared the same experience). Anyone know of a published tutorial on the concept? Thanks. | |
i have the following problem:: i have ofstream object (i call it fout) belonging to a class{it a field of that class}, where should i initialize it... i write the following test-code but it gives me strange compile errors{in visual studio05} FoutTest.h [code=c] #pragma once #include <fstream> #include <string> class … Software Development c++ | |
i got this prime no. code for analysis. and i hav not been able to understand it completely. [code] #include<iostream.h> #include<conio.h> void main() { int x, y, c = 0; clrscr(); cout<<"\nPrime Numbers upto 100 :\n "; for( x = 2; x < 100; x++ ) { if( x % … Software Development c++ first-post | |
Hi all, you may have read my post regarding bars and values and stuff, well I've got that bit figured out now but as my programme is expanding, so is the number of records being parsed into it! I'm working out a percentage of 2 groups of people: Number of … Software Development first-post | |
{ srand((unsigned)time(0)); int random_integer; int lowest=-10, highest=10; int range=(highest-lowest)+1; for(int index=0; index<8; index++){ random_integer = lowest+int(range*rand()/(RAND_MAX + 1.0)); cout << random_integer << endl; } Hi there, I'm just getting back into c++ after a 2 year break. I'm just wondering how I go about using the numbers generated here later … Software Development c++ | |
I have the following file as the input APPLE 0 118 1 110 1 125 1 135 2 110 3 107 3 115 3 126 ORANGE 0 112 1 119 2 109 2 119 3 112 4 109 4 128 MANGO 0 136 1 143 2 143 3 143 4 … Software Development apple c file-system | |
Can somebody show me how to search and count for the string. If i have a set of data,i.e. "0012", "0034", "0055"' "0099" "0013", "0032", "0012","0099" let's say i chose the 1st string(at the 1st line),"0012", and based on this string, i would like to [B][U]search and count[/U][/B] that string … Software Development c | |
Hi just wondering how i can convert ascii to binary then into hex then print it to the screen. The user will input 5 chars then do the conversion and print Software Development c | |
Title should read "search a string for ',' " Afternoon folks. I visit this site a bit, especially when searching google for help on a particular problem. This is my first post, so let me get right to the point. I won't go into the gory details of the program, … Software Development c++ first-post google | |
Can anyone help me with this code? Most of it was written by me for homework. The switch portion was written by my instructor, and it is just pain confusing to me! I beleive I can write a TTT program from scratch (Won't be accepted) easier than cobbling this together. … Software Development c++ first-post user-interface | |
I need a function that will populate a multidimensional array with a fixed amount of elements. So that only some of the locations contain a distinguishing number for identification. Software Development c | |
I hit a stumbling block. I am working on a ancestral research type database and I want to link different records together. Here is my scenario so far: datPrimaryRS is an adoc that is pointing to the Person table. datNameSourceRS is also pointing to the Person Table. This is used … Software Development visual-basic | |
How to initialise rs232 serial port and send a byte in assembler language? Software Development assembly | |
![]() | need help! what's wrong with my code? it compiles but outputs nothing. it requires the user to create a "word.txt" text file for it to start counting the frequency of occurrence of words. i'm a newbie here in daniweb and a novice in C++ programming. i really appreciate any help. … |
[I]I need to do something like Play MIDI voice (in the C++ code Snippets page 5), actually, that's exactly what I need, but I would like to make it work in Visual C++ 2005... can someone help me with the configuration steps to make the project work? TYVM [/I] Software Development c++ |
The End.